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

chore(iam): Improve status extended adding the resource type #4378

Closed puchy22 closed 1 week ago

puchy22 commented 1 week ago

Context

Actual status_extended for inline policy does not include the type of resource attached in the status extended.

Description

Changed the status_extended in checks and tests.

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 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.45%. Comparing base (e6ae539) to head (3778ff8). Report is 1 commits behind head on master.

Files Patch % Lines
.../iam_inline_policy_no_administrative_privileges.py 88.88% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4378 +/- ## ========================================== - Coverage 87.45% 87.45% -0.01% ========================================== Files 853 853 Lines 26591 26598 +7 ========================================== + Hits 23256 23262 +6 - Misses 3335 3336 +1 ```

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