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
10.53k stars 1.51k forks source link

fix(ecr): change log level of non-scanned images #4747

Closed sergargar closed 3 weeks ago

sergargar commented 4 weeks ago

Description

Change log level of non-scanned images to WARNING since it is expected for images that have not been scanned:

ScanNotFoundException[172]: An error occurred (ScanNotFoundException) when calling the DescribeImageScanFindings operation: Image scan does not exist

Checklist

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 4 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 89.09%. Comparing base (ae1b114) to head (a60fc7c). Report is 8 commits behind head on master.

Files Patch % Lines
prowler/providers/aws/services/ecr/ecr_service.py 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4747 +/- ## ======================================= Coverage 89.09% 89.09% ======================================= Files 920 920 Lines 28125 28128 +3 ======================================= + Hits 25057 25062 +5 + Misses 3068 3066 -2 ```

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

github-actions[bot] commented 3 weeks ago

💚 All backports created successfully

Status Branch Result
✅ v3
✅ v4.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details