Code Audit

Starts a scan of the production branch of a connected repository. The first scan of a repository is a free preview. Answers 202 with the scan once the workflow has created it, or with the scan request to poll when that takes longer than a few seconds. Requires code-audit.write, a user token, and an admin or owner role.

post/v1/code-audit/scans

Request

  • Base URL
    https://api.inth.com
  • URL
    https://api.inth.com/v1/code-audit/scans
  • Auth
    HTTP bearer

Request body

repositoryIdstring required

Repository ID from the connected repositories list.

requestIdstring

Idempotency key. Repeating a request with the same key does not start a second scan.

Response

The scan was accepted.

successtrue required

Changes