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.46k forks source link

chore(iam): Remove unnecesary attached policy in a inline policy #4359

Closed puchy22 closed 1 week ago

puchy22 commented 1 week ago

Context

Ensure if a inline policy is attached when they are always attached.

Description

Removed the unnecessary verification from iam_inline_policy_no_administrative_privileges check.

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

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.40%. Comparing base (fb49fb8) to head (203f040). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4359 +/- ## ========================================== + Coverage 87.12% 87.40% +0.28% ========================================== Files 848 849 +1 Lines 26492 26495 +3 ========================================== + Hits 23081 23158 +77 + Misses 3411 3337 -74 ```

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