aws-lf-update-resource-permission
match (effective permission)
{
"action": "lakeformation:UpdateResource",
"resource_type": "AWS::LakeFormation::DataLake"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <DataLake node> |
| permissions | lakeformation:UpdateResource |
Narrative
{principal.name} has effective lakeformation:UpdateResource and can update the IAM role associated with a registered S3 location (see derived rule aws-lf-update-resource-config for the full CanModifyConfiguration edge).
Raw rule rules/explicit/aws-lakeformation.yaml
id: aws-lf-update-resource-permission
emits: CanModifyConfiguration
applies_to:
- aws
match_effective_permission:
action: lakeformation:UpdateResource
resource_type: AWS::LakeFormation::DataLake
emit:
target_type: '*'
source_type: Identity
source: <principal>
target: <DataLake node>
permissions:
- lakeformation:UpdateResource
note: Full capability (CanModifyConfiguration + CanPassIdentity) requires both lakeformation:UpdateResource
AND iam:PassRole to lakeformation.amazonaws.com. Derived rule aws-lf-update-resource-config checks
both; this record asserts the UpdateResource IAM-layer half.
narrative: '{principal.name} has effective lakeformation:UpdateResource and can update the IAM role
associated with a registered S3 location (see derived rule aws-lf-update-resource-config for the full
CanModifyConfiguration edge).'