Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add support for IAM Identity Center in security diff (#1052)
For issue aws/aws-cdk#29835 This is the first of 2 PRs. The other PR will be to the main aws-cdk repository. Notice that AWS::SSO::PermissionSet has a property called `ManagedPolicies`. That's why I add that property check. And judging by the db.json that we create in this package (the service spec), AWS::SSO::PermissionSet is the only resource with that property name: ``` (18:36:39) bergjak@bcd074b101ed ~/workplace/CDK/awscdk-service-spec AwsSsoFix ✔ ➜ cat ~/db.json4 | jq '.schema.resource.entities.[]' | jq '.properties' | grep ManagedPolicies "scrutinizable": "ManagedPolicies" "scrutinizable": "ManagedPolicies" "scrutinizable": "ManagedPolicies" "scrutinizable": "ManagedPolicies" "scrutinizable": "CustomerManagedPolicies" "ManagedPolicies": { "scrutinizable": "ManagedPolicies" ``` AWS::SSO is the IAM Identity Center, and therefore changes to AWS SSO resources are security sensitive. Hence the issue. ### Testing As you'll see in the next pull request, I have integration tests for this change * Here is the PR with all the testing aws/aws-cdk#30009
- Loading branch information