Skip to content

Commit

Permalink
Automated file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jchrisfarris committed Sep 7, 2024
1 parent 35cd28f commit b3dc6ff
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 10 deletions.
18 changes: 10 additions & 8 deletions annotated.json
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,16 @@
"DataAccess"
]
},
"kms:CreateGrant": {
"access_level": "Permissions management",
"description": "Controls permission to add a grant to an AWS KMS key. You can use grants to add permissions without changing the key policy or IAM policy",
"service_name": "AWS Key Management Service",
"risk_category": [
"DataAccess",
"PrivEsc",
"ResourceExposure"
]
},
"lambda:GetFunction": {
"access_level": "Read",
"description": "Grants permission to view details about an AWS Lambda function",
Expand Down Expand Up @@ -2809,14 +2819,6 @@
"ResourceExposure"
]
},
"kms:CreateGrant": {
"access_level": "Permissions management",
"description": "Controls permission to add a grant to an AWS KMS key. You can use grants to add permissions without changing the key policy or IAM policy",
"service_name": "AWS Key Management Service",
"risk_category": [
"ResourceExposure"
]
},
"kms:PutKeyPolicy": {
"access_level": "Permissions management",
"description": "Controls permission to replace the key policy for the specified AWS KMS key",
Expand Down
20 changes: 20 additions & 0 deletions annotated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,15 @@ DataAccess:
- DataAccess
service_name: Amazon Kinesis Video Streams

- kms:CreateGrant:
access_level: Permissions management
description: Controls permission to add a grant to an AWS KMS key. You can use grants to add permissions without changing the key policy or IAM policy
risk_category:
- DataAccess
- PrivEsc
- ResourceExposure
service_name: AWS Key Management Service

- lambda:GetFunction:
access_level: Read
description: Grants permission to view details about an AWS Lambda function
Expand Down Expand Up @@ -1615,6 +1624,15 @@ PrivEsc:
- ResourceExposure
service_name: AWS Identity and Access Management (IAM)

- kms:CreateGrant:
access_level: Permissions management
description: Controls permission to add a grant to an AWS KMS key. You can use grants to add permissions without changing the key policy or IAM policy
risk_category:
- DataAccess
- PrivEsc
- ResourceExposure
service_name: AWS Key Management Service

ResourceExposure:
Actions:

Expand Down Expand Up @@ -2729,6 +2747,8 @@ ResourceExposure:
access_level: Permissions management
description: Controls permission to add a grant to an AWS KMS key. You can use grants to add permissions without changing the key policy or IAM policy
risk_category:
- DataAccess
- PrivEsc
- ResourceExposure
service_name: AWS Key Management Service

Expand Down
4 changes: 3 additions & 1 deletion policies/ALL.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"iam:ResyncMFADevice",
"iam:SetDefaultPolicyVersion",
"iam:UpdateAssumeRolePolicy",
"iam:UpdateLoginProfile"
"iam:UpdateLoginProfile",
"kms:CreateGrant"
],
"Resource": "*"
},
Expand Down Expand Up @@ -502,6 +503,7 @@
"kinesis:GetRecords",
"kinesisvideo:GetImages",
"kinesisvideo:GetMedia",
"kms:CreateGrant",
"lambda:GetFunction",
"lambda:GetLayerVersion",
"lightsail:GetContainerImages",
Expand Down
1 change: 1 addition & 0 deletions policies/DataAccess.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"kinesis:GetRecords",
"kinesisvideo:GetImages",
"kinesisvideo:GetMedia",
"kms:CreateGrant",
"lambda:GetFunction",
"lambda:GetLayerVersion",
"lightsail:GetContainerImages",
Expand Down
3 changes: 2 additions & 1 deletion policies/PrivEsc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"iam:ResyncMFADevice",
"iam:SetDefaultPolicyVersion",
"iam:UpdateAssumeRolePolicy",
"iam:UpdateLoginProfile"
"iam:UpdateLoginProfile",
"kms:CreateGrant"
],
"Resource": "*"
}
Expand Down

0 comments on commit b3dc6ff

Please sign in to comment.