Skip to content

Secrets check

Scan a zip of code for exposed secrets. Not available yet.

Start a secrets scan (not available yet). Operation id: postSecretsCheck.

Not available yet. The secrets check runs on a separate scanner backend that is switched off. Until it is enabled this endpoint answers 503 to every request, whatever the body.

When enabled, the body will be a zip file of the code (application/zip, up to 25 MB), with an optional x-kytheos-filename header, and the answer will be the scanner’s job record. The job shape is not part of this version of the specification because it is not live.

Name In Required Type Description
x-kytheos-filename header no string Name of the zip file, shown in the report subject. Reserved for when the endpoint is available.

Content type application/zip: binary file.

The secrets check is not available yet. This is the only answer today.

Body: Error.

Example:

{
"error": "The secrets check is not available yet. It is being built on our scanner backend."
}

Read a secrets scan (not available yet). Operation id: getSecretsCheckJob.

Not available yet. Answers 503 to every request until the scanner backend is enabled. When enabled, id is the 32 character hexadecimal job id returned when the scan was started.

Name In Required Type Description
id path yes string The job id.
Terminal window
curl "https://api.kytheos.com/v1/secrets-check/{id}"

The secrets check is not available yet. This is the only answer today.

Body: Error.

Example:

{
"error": "The secrets check is not available yet. It is being built on our scanner backend."
}