v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1481826573.7 KB

Retrieves information about a specific code security scan.

post/codesecurity/scan/get

Request body

scanIdstring required

The unique identifier of the scan to retrieve.

Response

Success

scanIdstring

The unique identifier of the scan.

accountIdstring

The Amazon Web Services account ID associated with the scan.

status'IN_PROGRESS' | 'SUCCESSFUL' | 'FAILED' | 'SKIPPED'

The current status of the scan.

statusReasonstring

The reason for the current status of the scan.

createdAtstring date-time

The timestamp when the scan was created.

updatedAtstring date-time

The timestamp when the scan was last updated.

lastCommitIdstring

The identifier of the last commit that was scanned. This is only returned if the scan was successful or skipped.