Skip to content

Print policy violations only if any rule was violated (AST-66024) #3616

Print policy violations only if any rule was violated (AST-66024)

Print policy violations only if any rule was violated (AST-66024) #3616

Triggered via pull request September 22, 2024 10:53
Status Failure
Total duration 3m 15s
Artifacts

ci.yml

on: pull_request
unit-tests
16s
unit-tests
integration-tests
5s
integration-tests
lint
3m 7s
lint
govulncheck
2m 43s
govulncheck
scan Docker Image with Trivy
18s
scan Docker Image with Trivy
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 15 warnings
integration-tests: internal/wrappers/container-resolver.go#L4
missing go.sum entry for module providing package github.com/CheckmarxDev/containers-resolver/pkg/containerResolver (imported by github.com/checkmarx/ast-cli/internal/wrappers); to add:
integration-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L12
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
integration-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L13
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
integration-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L14
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
integration-tests: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L13
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
integration-tests: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L14
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
integration-tests: internal/wrappers/grpcs/client.go#L10
missing go.sum entry for module providing package google.golang.org/grpc/credentials (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
integration-tests: internal/wrappers/grpcs/client.go#L11
missing go.sum entry for module providing package google.golang.org/grpc/credentials/insecure (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
integration-tests: internal/wrappers/grpcs/client.go#L12
missing go.sum entry for module providing package google.golang.org/grpc/health/grpc_health_v*** (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
integration-tests
Process completed with exit code ***.
unit-tests: internal/wrappers/container-resolver.go#L4
missing go.sum entry for module providing package github.com/CheckmarxDev/containers-resolver/pkg/containerResolver (imported by github.com/checkmarx/ast-cli/internal/wrappers); to add:
unit-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L12
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
unit-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L13
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
unit-tests: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L14
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
unit-tests: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L13
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
unit-tests: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L14
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
unit-tests: internal/wrappers/grpcs/client.go#L10
missing go.sum entry for module providing package google.golang.org/grpc/credentials (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
unit-tests: internal/wrappers/grpcs/client.go#L11
missing go.sum entry for module providing package google.golang.org/grpc/credentials/insecure (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
unit-tests: internal/wrappers/grpcs/client.go#L12
missing go.sum entry for module providing package google.golang.org/grpc/health/grpc_health_v1 (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
unit-tests: internal/wrappers/container-resolver.go#L4
missing go.sum entry for module providing package github.com/CheckmarxDev/containers-resolver/pkg/containerResolver (imported by github.com/checkmarx/ast-cli/internal/wrappers); to add:
scan Docker Image with Trivy
Process completed with exit code 1.
govulncheck: internal/wrappers/container-resolver.go#L4
missing go.sum entry for module providing package github.com/CheckmarxDev/containers-resolver/pkg/containerResolver (imported by github.com/checkmarx/ast-cli/internal/wrappers); to add:
govulncheck: internal/wrappers/container-resolver.go#L4
could not import github.com/CheckmarxDev/containers-resolver/pkg/containerResolver (invalid package name: "")
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L12
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs); to add:
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L13
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L14
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L13
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L14
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/checkmarx/ast-cli/internal/wrappers/grpcs/protos/asca/managements); to add:
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L13
could not import google.golang.org/protobuf/reflect/protoreflect (invalid package name: "")
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management.pb.go#L14
could not import google.golang.org/protobuf/runtime/protoimpl (invalid package name: "")
govulncheck: internal/wrappers/grpcs/protos/asca/managements/management_grpc.pb.go#L12
could not import google.golang.org/grpc (invalid package name: "")
integration-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@4d34df0c23***6fe8***22ab82dc22947d607c0c9***f9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node***6-by-default/
unit-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scan Docker Image with Trivy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598, docker/setup-buildx-action@cf09c5c41b299b55c366aff30022701412eb6ab0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
scan Docker Image with Trivy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598, docker/setup-buildx-action@cf09c5c41b299b55c366aff30022701412eb6ab0, docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
scan Docker Image with Trivy
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
govulncheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4.0.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/