Skip to main content

DetectedSecretsQueriesRequest

Properties

NameTypeRequiredDescription
resolvedbooleanIf true, return secrets with a resolved status.
secretTypesstring[]A list of secrets types to query. For a list of valid IDs, use the GET /secret-types endpoint.
statusesStatuses[]A list of the types of resolution statuses to query.
workspaceIdsstring[]A list of workspaces IDs to query.
workspaceVisiblitiesWorkspaceVisiblities[]A list of workspace visibility settings to query. This currently supports the team and public settings.

Statuses

The secret resolution status type: - 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.

Properties

NameTypeRequiredDescription
FALSEPOSITIVEstring"FALSE_POSITIVE"
ACCEPTEDRISKstring"ACCEPTED_RISK"
REVOKEDstring"REVOKED"

WorkspaceVisiblities

The type of visibility setting.

Properties

NameTypeRequiredDescription
TEAMstring"team"
PUBLIC_string"public"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →