Checkmarx / ast-cli

A CLI project wrapping application security testing (AST) APIs
Apache License 2.0
41 stars 26 forks source link

Fix GitLab dashboard, Dependency Scanning 0 vulnerabilities error. (AST-63985) #842

Closed sarahCx closed 2 months ago

sarahCx commented 2 months ago

By submitting a PR to this repository, you agree to the terms within the Checkmarx Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

Returning an empty array instead of NULL, to meet the requirements of the git lab results schema

References

https://checkmarx.atlassian.net/browse/AST-63985

Testing

Added an integration test to test the report file with the GitLab schema

Checklist

github-actions[bot] commented 2 months ago

Logo Checkmarx One – Scan Summary & Details44fb9cc6-1e1c-4c76-b946-3ddc88c019a7

Policy Management Violations

Policy Name Rule(s) Break Build
[SAST-ML0] Not allowed NEW Sast vulnerabilities true

No New Or Fixed Issues Found

AlvoBen commented 2 months ago

Great job!