aws-lf-register-resource-permission
match (effective permission)
{
"action": "lakeformation:RegisterResource",
"resource_type": "AWS::LakeFormation::DataLake"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <DataLake node> |
| permissions | lakeformation:RegisterResource |
Narrative
{principal.name} has effective lakeformation:RegisterResource and can register new S3 locations with Lake Formation, optionally specifying an IAM role via iam:PassRole. Derived rule aws-lf-register-resource-passrole resolves the full CanPassIdentity path.
Raw rule rules/explicit/aws-lakeformation.yaml
id: aws-lf-register-resource-permission
emits: CanCreate
applies_to:
- aws
match_effective_permission:
action: lakeformation:RegisterResource
resource_type: AWS::LakeFormation::DataLake
emit:
target_type: '*'
source_type: Identity
source: <principal>
target: <DataLake node>
permissions:
- lakeformation:RegisterResource
narrative: '{principal.name} has effective lakeformation:RegisterResource and can register new S3 locations
with Lake Formation, optionally specifying an IAM role via iam:PassRole. Derived rule aws-lf-register-resource-passrole
resolves the full CanPassIdentity path.'