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
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Path parameters
secretId
The secret's ID.
Request
This endpoint expects an object.
resolution
The secret’s updated resolution status:
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.
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 current 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.
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