Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Refactor IAM policy Auditor #856

Merged
merged 9 commits into from
Nov 4, 2017
Merged

Refactor IAM policy Auditor #856

merged 9 commits into from
Nov 4, 2017

Conversation

scriptsrc
Copy link
Contributor

@scriptsrc scriptsrc commented Oct 26, 2017

Refactor IAM policy Auditor to use categories and PolicyUniverse parsing logic.

TODO:

  • - Update tests.
  • - Update IAM User Auditor to use Categories.
  • - Refactor load_policies() into auditor.py so that it doesn't need to be in both iam_policy.py and resource_policy_auditor.py
  • - Use PolicyUniverse's IAM Action Categories to create alerts.
  • - Deploy and verify proper function.

Depends on Netflix-Skunkworks/policyuniverse#5

(Tests will likely break until that PR is merged and a new version pushed to pypi.)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 9e642c5 on iam_auditors_refactor into ** on develop**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling cf8e6a9 on iam_auditors_refactor into ** on develop**.

@scriptsrc
Copy link
Contributor Author

This fixes #361 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants