Update detected secret resolution status
Updates the resolution status of a secret detected in a workspace.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
secretId
The secret's ID.
Request
This endpoint expects an object.
resolution
The secret’s resolution status:
ACTIVE— The secret is active.FALSE_POSITIVE— The discovered secret is not an actual secret.REVOKED— The secret is valid, but the user rotated their key to resolve the issue.ACCEPTED_RISK— The Secret Scanner found the secret, but user accepts the risk of publishing it.
Allowed values:
workspaceId
The ID of the workspace that contains the secret.
Response
Successful Response
secretHash
The SHA-256 hash of the detected secret.
workspaceId
The ID of the workspace that contains the secret.
resolution
The secret’s resolution status:
ACTIVE— The secret is active.FALSE_POSITIVE— The discovered secret is not an actual secret.REVOKED— The secret is valid, but the user rotated their key to resolve the issue.ACCEPTED_RISK— The Secret Scanner found the secret, but user accepts the risk of publishing it.
Allowed values:
history
The history of the secret's resolution status changes.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error