PaladinCloud / CE

Paladin Cloud is an extensible, cloud security platform for developers. Join the community at https://discord.gg/xvCFD29Jj4
https://paladincloud.io/
Apache License 2.0
564 stars 52 forks source link

Filter out polices with no matching violations #2218

Closed kevin-paladin closed 3 months ago

kevin-paladin commented 3 months ago

Description

The Rapid7 'medium' severity policy was showing as having failed when it was empty (there were no associated CVE's). This filters empty CVE's out which results in the 'medium' policy as succeeding.

Fixes # (issue if any)

PLG-534

Type of change

How Has This Been Tested?

Checklist:

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud