Skip to content

Update src/modules/metrics/metrics.controller.ts #7421

Update src/modules/metrics/metrics.controller.ts

Update src/modules/metrics/metrics.controller.ts #7421

Triggered via push November 28, 2024 11:11
Status Failure
Total duration 5m 37s
Artifacts
branch_meta  /  branch_meta
0s
branch_meta / branch_meta
Publish image and scan with trivy  /  Publish image
49s
Publish image and scan with trivy / Publish image
create_branch_identifier_for_deletion  /  convert_branch_name
create_branch_identifier_for_deletion / convert_branch_name
select_helm_version_generation_and_image_tag_generation
0s
select_helm_version_generation_and_image_tag_generation
CodeQL  /  Analyze CodeQL
2m 12s
CodeQL / Analyze CodeQL
Linting  /  Nest Lint
1m 16s
Linting / Nest Lint
Tests and Sonarcloud  /  Tests and Sonarcloud
5m 23s
Tests and Sonarcloud / Tests and Sonarcloud
scan_helm  /  Kics Helm Chart Scan
30s
scan_helm / Kics Helm Chart Scan
Scheduled trivy scan of latest image  /  Trivy Scan
Scheduled trivy scan of latest image / Trivy Scan
create_branch_identifier  /  convert_branch_name
0s
create_branch_identifier / convert_branch_name
Publish image and scan with trivy  /  pre_scan
0s
Publish image and scan with trivy / pre_scan
delete_namespace  /  create_dbildungs_iam_keycloak_db_name
delete_namespace / create_dbildungs_iam_keycloak_db_name
delete_namespace  /  create_dbildungs_iam_server_db_name
delete_namespace / create_dbildungs_iam_server_db_name
delete_namespace  /  create_ticket_nr_variable
delete_namespace / create_ticket_nr_variable
release_helm  /  release
51s
release_helm / release
Publish image and scan with trivy  /  ...  /  Trivy Scan
Publish image and scan with trivy / Trivy scan for uploaded image / Trivy Scan
delete_namespace  /  delete_databases_and_namespace
delete_namespace / delete_databases_and_namespace
wait_for_helm_chart_to_get_published
1m 1s
wait_for_helm_chart_to_get_published
delete_successful
0s
delete_successful
deploy  /  ...  /  branch_meta
deploy / create_ingress_prefix / branch_meta
deploy  /  create_dbildungs_iam_keycloak_db_name
deploy / create_dbildungs_iam_keycloak_db_name
deploy  /  create_dbildungs_iam_server_db_name
deploy / create_dbildungs_iam_server_db_name
deploy  /  ...  /  search_for_helm_tagname
deploy / find_dbildungs_iam_keycloak_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
deploy / find_dbildungs_iam_ldap_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
deploy / find_dbildungs_iam_server_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
deploy / find_schulportal_client_helm_chart_tag / search_for_helm_tagname
deploy  /  determine_playwright_branch
deploy / determine_playwright_branch
deploy  /  ...  /  convert_branch_name
deploy / create_lowercase_ingress_prefix / convert_branch_name
deploy  /  deployment
deploy / deployment
deploy  /  ...  /  run_playwright_end2end_tests
deploy / run_playwright_tests / run_playwright_end2end_tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Publish image and scan with trivy / Publish image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L10
Unsafe call of an `any` typed value
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L11
Unsafe call of an `any` typed value
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L25
'mappingCountToRollenArt' is assigned a value but never used
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L32
Unsafe argument of type `any` assigned to a parameter of type `ArrayLike<unknown> | Iterable<unknown>`
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L33
Unsafe assignment of an `any` value
Linting / Nest Lint: src/modules/metrics/metrics.controller.ts#L33
Unsafe call of an `any` typed value
Linting / Nest Lint: src/modules/personenkontext/persistence/dbiam-personenkontext.repo.ts#L312
'rolle' is defined but never used. Allowed unused args must match /_.+/u
Linting / Nest Lint
Process completed with exit code 1.
Tests and Sonarcloud / Tests and Sonarcloud
Process completed with exit code 1.
[MEDIUM] Container Running As Root: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Containers should only run as non-root user. This limits the exploitability of security misconfigurations and restricts an attacker's possibilities in case of compromise
[MEDIUM] Container Running As Root: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Containers should only run as non-root user. This limits the exploitability of security misconfigurations and restricts an attacker's possibilities in case of compromise
[MEDIUM] Container Running As Root: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Containers should only run as non-root user. This limits the exploitability of security misconfigurations and restricts an attacker's possibilities in case of compromise
[MEDIUM] Container Running As Root: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Containers should only run as non-root user. This limits the exploitability of security misconfigurations and restricts an attacker's possibilities in case of compromise
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/backend-deployment.yaml#L24
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/backend-deployment.yaml#L24
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[MEDIUM] Container Running With Low UID: charts/dbildungs-iam-server/templates/cronjob.yaml#L20
Check if containers are running with low UID, which might cause conflicts with the host's user table.