aws-account-can-put-contact
match (effective permission)
{
"action": "account:PutContactInformation",
"resource_type": "AWS::Account::Account"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <Account node> |
| permissions | account:PutContactInformation |
Narrative
{principal.name} can change the primary contact information of {account.name} (account:PutContactInformation).
Raw rule rules/explicit/aws-account.yaml
id: aws-account-can-put-contact
emits: HasPermission
applies_to:
- aws
match_effective_permission:
action: account:PutContactInformation
resource_type: AWS::Account::Account
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <Account node>
api_source: iam:SimulatePrincipalPolicy | policy evaluation
permissions:
- account:PutContactInformation
narrative: '{principal.name} can change the primary contact information of {account.name} (account:PutContactInformation).'