securitylake:GetDataLakeSources

Read

securitylake:GetDataLakeSources is a Read access-level action in the securitylake service. Grants permission to get a static snapshot of the security data lake in the current region. The snapshot includes enabled accounts and log sources

Resource types

ARNs that securitylake:GetDataLakeSources can be scoped to in an IAM policy.

arn:${Partition}:securitylake:${Region}:${Account}:data-lake/default
data-lake

Condition keys

Keys you can use in the Condition block of a policy that grants securitylake:GetDataLakeSources.

aws:RequestTag/${TagKey} String

Filters access by tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

A minimal policy that allows securitylake:GetDataLakeSources. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecuritylakeGetDataLakeSources",
      "Effect": "Allow",
      "Action": "securitylake:GetDataLakeSources",
      "Resource": "*"
    }
  ]
}

Related actions in securitylake

View all securitylake actions →