Get detected secrets locations

GET {{baseUrl}}/detected-secrets/{{secretId}}/locations?workspaceId=<string>

Gets the locations of secrets detected by Qodex's [Secret Scanner]

Request Params

KeyDatatypeRequiredDescription
workspaceIdstring(Required) The workspace's ID.
limitstringThe maximum number of rows to return in the response.
cursorstringThe pointer to the first record of the set of paginated results.

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;isResourceDeleted&quot;:false,&quot;leakedBy&quot;:12345678,&quot;location&quot;:&quot;Headers&quot;,&quot;occurrences&quot;:1,&quot;parentResourceId&quot;:&quot;12345678-14728df4-c7af-424f-b665-5047b7d25866&quot;,&quot;resourceId&quot;:&quot;12345678-e0df25e0-d245-40dd-89b5-68720d186d3f&quot;,&quot;resourceType&quot;:&quot;example&quot;,&quot;detectedAt&quot;:&quot;2023-04-25T08:13:48.000Z&quot;,&quot;url&quot;:&quot;https://go.postman-beta.co/build/workspace/80ab14ae-c17d-4fd6-88d5-99bf13f0b7f0/example/12345678-e0df25e0-d245-40dd-89b5-68720d186d3f&quot;}],&quot;meta&quot;:{&quot;activityFeed&quot;:[{&quot;resolvedBy&quot;:null,&quot;status&quot;:&quot;ACTIVE&quot;,&quot;resolvedAt&quot;:null}],&quot;cursor&quot;:&quot;MTIyNjY5Nw==&quot;,&quot;limit&quot;:2,&quot;nextCursor&quot;:null,&quot;obfuscatedSecret&quot;:&quot;PMAK-644781584627df042afa6655-******ba&quot;,&quot;secretHash&quot;:&quot;0096b35ef6621d7571f106fefee5b10e8ed360cc9bf04f343f267ca4ff65bb5d&quot;,&quot;secretType&quot;:&quot;Postman API Key&quot;,&quot;total&quot;:3}}