{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-update-secret-resolutions-schema.json", "title": "updateSecretResolutions", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/postman-secret-scanner-api-openapi.yml#/components/schemas/updateSecretResolutions", "type": "object", "properties": { "secretHash": { "type": "string", "description": "The SHA-256 hash of the detected secret." }, "workspaceId": { "type": "string", "description": "The ID of the workspace that contains the secret." }, "resolution": { "$ref": "#/$defs/UpdateSecretResolutionsResolution", "description": "The secret's current resolution status:\n- `ACTIVE` — The secret is active.\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n" }, "history": { "type": "array", "items": { "$ref": "#/$defs/UpdateSecretResolutionsHistoryItems" }, "description": "The history of the secret's resolution status changes." } }, "$defs": { "UpdateSecretResolutionsHistoryItems": { "type": "object", "properties": { "actor": { "type": "number", "format": "double", "description": "The ID of the user that updated the secret's resolution status." }, "createdAt": { "type": "string", "format": "date-time", "description": "The date and time at which the resolution status was updated." }, "resolution": { "$ref": "#/$defs/UpdateSecretResolutionsHistoryItemsResolution", "description": "The secret's updated resolution status:\n- `ACTIVE` — The secret is active.\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n" } }, "title": "UpdateSecretResolutionsHistoryItems" }, "UpdateSecretResolutionsHistoryItemsResolution": { "type": "string", "enum": [ "FALSE_POSITIVE", "ACCEPTED_RISK", "REVOKED", "ACTIVE" ], "description": "The secret's updated resolution status:\n- `ACTIVE` — The secret is active.\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n", "title": "UpdateSecretResolutionsHistoryItemsResolution" }, "UpdateSecretResolutionsResolution": { "type": "string", "enum": [ "FALSE_POSITIVE", "ACCEPTED_RISK", "REVOKED", "ACTIVE" ], "description": "The secret's current resolution status:\n- `ACTIVE` — The secret is active.\n- `FALSE_POSITIVE` — The discovered secret is not an actual secret.\n- `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue.\n- `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it.\n", "title": "UpdateSecretResolutionsResolution" } } }