Skip to main content

DetectedSecretsQueriesOkResponse

Properties

NameTypeRequiredDescription
dataDetectedSecretsQueriesData[]
metaDetectedSecretsQueriesMetaThe response's meta information for paginated results.

DetectedSecretsQueriesData

Information about the secret finding.

Properties

NameTypeRequiredDescription
obfuscatedSecretstringThe secret's obfuscated value.
occurrencesnumberThe number of times the secret was found in the workspace.
resolutionDataResolutionThe secret's current 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.
secretHashstringThe SHA-256 hash of the detected secret.
secretIdstringThe detected secret's ID.
secretTypestringThe type of the secret.
detectedAtstringThe date and time at which the secret was first detected.
workspaceIdstringThe ID of the workspace that contains the secret.
workspaceVisibilityDataWorkspaceVisibilityThe workspace's visibility setting.

DataResolution

The secret's current 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.

Properties

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

DataWorkspaceVisibility

The workspace's visibility setting.

Properties

NameTypeRequiredDescription
PERSONALstring"personal"
PRIVATE_string"private"
TEAMstring"team"
PUBLIC_string"public"

DetectedSecretsQueriesMeta

The response's meta information for paginated results.

Properties

NameTypeRequiredDescription
limitnumberThe maximum number of records in the paginated response.
nextCursorstringThe pagination cursor that points to the next record in the results set.
totalnumberThe number of records that match the defined criteria. This will only be present if the include query parameter is specified with the meta.total value.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →