DetectedSecretsQueriesRequest
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| resolved | boolean | ❌ | If true, return secrets with a resolved status. |
| secretTypes | string[] | ❌ | A list of secrets types to query. For a list of valid IDs, use the GET /secret-types endpoint. |
| statuses | Statuses[] | ❌ | A list of the types of resolution statuses to query. |
| workspaceIds | string[] | ❌ | A list of workspaces IDs to query. |
| workspaceVisiblities | WorkspaceVisiblities[] | ❌ | 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
| Name | Type | Required | Description |
|---|---|---|---|
| FALSEPOSITIVE | string | ✅ | "FALSE_POSITIVE" |
| ACCEPTEDRISK | string | ✅ | "ACCEPTED_RISK" |
| REVOKED | string | ✅ | "REVOKED" |
WorkspaceVisiblities
The type of visibility setting.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| TEAM | string | ✅ | "team" |
| PUBLIC_ | string | ✅ | "public" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs