Secrets check
Scan a zip of code for exposed secrets. Not available yet.
POST /v1/secrets-check
Section titled “POST /v1/secrets-check”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.
Parameters
Section titled “Parameters”| 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. |
Request body
Section titled “Request body”Content type application/zip: binary file.
Responses
Section titled “Responses”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."}GET /v1/secrets-check/{id}
Section titled “GET /v1/secrets-check/{id}”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.
Parameters
Section titled “Parameters”| Name | In | Required | Type | Description |
|---|---|---|---|---|
id |
path | yes | string |
The job id. |
Example request
Section titled “Example request”curl "https://api.kytheos.com/v1/secrets-check/{id}"Responses
Section titled “Responses”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."}