aws-account-can-put-contact

explicit aws emits HasPermission

match (effective permission)

{ "action": "account:PutContactInformation", "resource_type": "AWS::Account::Account" }

emit

source typeIdentity
target type*
source<principal>
target<Account node>
permissionsaccount: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).'
move · open · esc close