v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492497398.3 KB

Updates an existing pentest configuration.

post/UpdatePentest

Request body

pentestIdstring required

The unique identifier of the pentest to update.

agentSpaceIdstring required

The unique identifier of the agent space that contains the pentest.

titlestring

The updated title of the pentest.

excludeRiskTypesRiskType[]

The updated list of risk types to exclude from the pentest.

serviceRolestring

ARN of an IAM role that the service can assume to access customer resources.

codeRemediationStrategy'AUTOMATIC' | 'DISABLED'

Strategy for automated code remediation.

disableManagedSkillsSkillType[]

A list of skill types.

Response

Success

pentestIdstring

The unique identifier of the pentest.

titlestring

The title of the pentest.

createdAtstring date-time

The date and time the pentest was created, in UTC format.

updatedAtstring date-time

The date and time the pentest was last updated, in UTC format.

excludeRiskTypesRiskType[]

The list of risk types excluded from the pentest.

serviceRolestring

The IAM service role used for the pentest.

agentSpaceIdstring

The unique identifier of the agent space that contains the pentest.