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

feat(aws): add custom exceptions class #4847

Closed pedrooot closed 2 weeks ago

pedrooot commented 2 weeks ago

Description

This PR adds custom exceptions for AWS:

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

Codecov Report

Attention: Patch coverage is 71.32867% with 41 lines in your changes missing coverage. Please review.

Project coverage is 89.03%. Comparing base (fc155e8) to head (51394b3). Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
prowler/providers/aws/aws_provider.py 43.54% 35 Missing :warning:
prowler/providers/aws/exceptions/exceptions.py 92.15% 4 Missing :warning:
prowler/exceptions/exceptions.py 89.47% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4847 +/- ## ========================================== - Coverage 89.13% 89.03% -0.11% ========================================== Files 935 937 +2 Lines 28591 28704 +113 ========================================== + Hits 25485 25556 +71 - Misses 3106 3148 +42 ```

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

github-actions[bot] commented 2 weeks ago

You can check the documentation for this PR here -> Prowler Documentation

github-actions[bot] commented 2 weeks ago

You can check the documentation for this PR here -> Prowler Documentation