aws-lf-register-resource-permission

explicit aws emits CanCreate

match (effective permission)

{ "action": "lakeformation:RegisterResource", "resource_type": "AWS::LakeFormation::DataLake" }

emit

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