prowler-cloud / prowler

Prowler is an Open Source Security tool for AWS, Azure, GCP and Kubernetes to do security assessments, audits, incident response, compliance, continuous monitoring, hardening and forensics readiness. Includes CIS, NIST 800, NIST CSF, CISA, FedRAMP, PCI-DSS, GDPR, HIPAA, FFIEC, SOC2, GXP, Well-Architected Security, ENS and more
https://prowler.com
Apache License 2.0
9.99k stars 1.47k forks source link

tests: add for empty findings and little renamings #4388

Closed jfagoagas closed 1 week ago

jfagoagas commented 1 week ago

Description

Add more tests for HTML, OCSF, ASFF and CSV to cover empty findings and cleanup some tests cases.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 10.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 87.64%. Comparing base (bf83f38) to head (1c93193). Report is 4 commits behind head on master.

Files Patch % Lines
prowler/__main__.py 0.00% 9 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4388 +/- ## ========================================== + Coverage 87.62% 87.64% +0.02% ========================================== Files 851 851 Lines 26600 26596 -4 ========================================== + Hits 23307 23309 +2 + Misses 3293 3287 -6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.