|
19 | 19 | }, |
20 | 20 | { |
21 | 21 | "resource_type": "AWS::EC2::VPC", |
22 | | - "policy_statements": ["cloudformation:GetResource", "ec2:DescribeVpcs"], |
| 22 | + "policy_statements": [ |
| 23 | + "cloudformation:GetResource", |
| 24 | + "ec2:DescribeVpcs" |
| 25 | + ], |
23 | 26 | "service": "ec2", |
24 | 27 | "identifier": "VpcId" |
25 | 28 | }, |
|
31 | 34 | "ecr:BatchGetImage", |
32 | 35 | "ecr:DescribeRepositories", |
33 | 36 | "ecr:GetAuthorizationToken", |
34 | | - "ecr:GetDownloadUrlForLayer" |
| 37 | + "ecr:GetDownloadUrlForLayer", |
| 38 | + "ecr:GetLifecyclePolicy", |
| 39 | + "ecr:GetRepositoryPolicy", |
| 40 | + "ecr:ListTagsForResource" |
35 | 41 | ], |
36 | 42 | "service": "ecr", |
37 | 43 | "identifier": "RepositoryName:<ImageTag[Optional]>" |
38 | 44 | }, |
39 | 45 | { |
40 | 46 | "resource_type": "AWS::IAM::Policy", |
41 | | - "policy_statements": ["iam:GetPolicy"], |
| 47 | + "policy_statements": [ |
| 48 | + "iam:GetPolicy" |
| 49 | + ], |
42 | 50 | "service": "iam", |
43 | 51 | "identifier": "Arn" |
44 | 52 | }, |
45 | 53 | { |
46 | 54 | "resource_type": "AWS::IAM::Role", |
47 | | - "policy_statements": ["cloudformation:GetResource", "iam:GetRole"], |
| 55 | + "policy_statements": [ |
| 56 | + "cloudformation:GetResource", |
| 57 | + "iam:GetRole" |
| 58 | + ], |
48 | 59 | "service": "iam", |
49 | 60 | "identifier": "RoleName" |
50 | 61 | }, |
51 | 62 | { |
52 | 63 | "resource_type": "AWS::KMS::Key", |
53 | | - "policy_statements": ["cloudformation:GetResource", "kms:DescribeKey"], |
| 64 | + "policy_statements": [ |
| 65 | + "cloudformation:GetResource", |
| 66 | + "kms:DescribeKey" |
| 67 | + ], |
54 | 68 | "service": "kms", |
55 | 69 | "identifier": "KeyId" |
56 | 70 | }, |
|
0 commit comments