securityagent:ListPentests is a List access-level action in the securityagent service. Grants permission to list penetration tests with optional filtering by status
ARNs that securityagent:ListPentests can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants securityagent:ListPentests.
Filters access by the tags associated with the resource
To use securityagent:ListPentests you may also need to grant:
A minimal policy that allows securityagent:ListPentests. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSecurityagentListPentests",
"Effect": "Allow",
"Action": "securityagent:ListPentests",
"Resource": "*"
}
]
}