Skip to main content

GetSecretsLocations

Properties

NameTypeRequiredDescription
dataGetSecretsLocationsData[]
metaGetSecretsLocationsMeta

GetSecretsLocationsData

Information about the secret finding locations.

Properties

NameTypeRequiredDescription
isResourceDeletedbooleanIf true, the resource in which the secret was found was deleted.
leakedBynumberThe ID of the user who exposed the secret.
locationstringThe location where the secret was found.
occurrencesnumberThe number of times the secret occurs in the location.
parentResourceIdstringThe parent resource's unique ID. If the resource is a request, folder, or example, this value is a collection ID. If the resource is a collection, globals, or environment, this is the resource's ID.
resourceIdstringThe unique ID of the resource where the secret was detected.
resourceTypeDataResourceTypeThe type of resource in which the secret was detected.
detectedAtstringThe date and time at which the secret was detected.
urlstringThe URL to the resource that contains the secret.

DataResourceType

The type of resource in which the secret was detected.

Properties

NameTypeRequiredDescription
COLLECTIONstring"collection"
FOLDERstring"folder"
REQUESTstring"request"
EXAMPLEstring"example"
ENVIRONMENTstring"environment"
GLOBALSstring"globals"
APIstring"api"

GetSecretsLocationsMeta

Properties

NameTypeRequiredDescription
activityFeedActivityFeed[]The history of the secret's resolution status changes.
cursorstringThe pointer to the first record of the set of paginated results.
limitnumberThe maximum number of rows to return in the response.
nextCursorstringThe Base64-encoded value that points to the next record in the results set.
obfuscatedSecretstringThe secret's obfuscated value.
secretHashstringThe secret's SHA-256 hash.
secretTypestringThe type of thesecret.
totalnumberThe total number of discovered secret locations.

ActivityFeed

Properties

NameTypeRequiredDescription
resolvedAtstringThe date and time at which the resolution status was last updated.
resolvedBynumberThe ID of the user that updated the secret's resolution status.
statusActivityFeedStatusThe 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.

ActivityFeedStatus

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.

Properties

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

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →