aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.65k stars 3.91k forks source link

(cli): Integrate with IAM Access Analyzer policy validation #13649

Open jogold opened 3 years ago

jogold commented 3 years ago

Integrate IAM Access Analyzer policy validation with the CLI, either with a special command or during deploy.

It could also be used as a new "linting" tool in the repo to ensure that IAM policies created by AWS CDK constructs comply with best practices.

See https://aws.amazon.com/blogs/aws/iam-access-analyzer-update-policy-validation/ See https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-policy-validation.html

Use Case

Proposed Solution

To be discussed 😄


This is a :rocket: Feature Request

0xjjoyy commented 3 years ago

How about integrating into the PolicyStatement validate methods?

github-actions[bot] commented 2 years ago

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.