prowler icon indicating copy to clipboard operation
prowler copied to clipboard

feat(IAM): Add inline policies checks and improve custom policy checks

Open puchy22 opened this issue 8 months ago • 1 comments

Context

This PR is due to #3833

There are some checks related to custom policies that should be covered with inline policies too.

Description

Added new inline checks and changed custom checks to reuse functions inside new checks. The new checks are:

  • [x] iam_policy_no_full_access_to_cloudtrail
  • [x] iam_policy_no_full_access_to_kms
  • [x] iam_policy_allows_privilege_escalation

License

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

puchy22 avatar Jun 17 '24 11:06 puchy22