securityagent:BatchGetPentestJobTasks

Read

securityagent:BatchGetPentestJobTasks is a Read access-level action in the securityagent service. Grants permission to retrieve multiple pentest job tasks in a single request

Resource types

ARNs that securityagent:BatchGetPentestJobTasks can be scoped to in an IAM policy.

arn:${Partition}:securityagent:${Region}:${Account}:agent-space/${AgentId}
AgentSpace

Condition keys

Keys you can use in the Condition block of a policy that grants securityagent:BatchGetPentestJobTasks.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Dependent actions

To use securityagent:BatchGetPentestJobTasks you may also need to grant:

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecurityagentBatchGetPentestJobTasks",
      "Effect": "Allow",
      "Action": "securityagent:BatchGetPentestJobTasks",
      "Resource": "*"
    }
  ]
}

Related actions in securityagent

View all securityagent actions →