detective:BatchGetGraphMemberDatasources is a Read access-level action in the detective service. Grants permission to retrieve the datasource package history for the specified member accounts in a behavior graph managed by this account
ARNs that detective:BatchGetGraphMemberDatasources can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants detective:BatchGetGraphMemberDatasources.
Filters access by specifying the tags associated with the resource
A minimal policy that allows detective:BatchGetGraphMemberDatasources. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDetectiveBatchGetGraphMemberDatasources",
"Effect": "Allow",
"Action": "detective:BatchGetGraphMemberDatasources",
"Resource": "*"
}
]
}