Enable Token Validation for Secrets

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Enables the Token Validation for Secrets. To learn more about this feature, see Secrets Scans.Secrets Scans

Since: 3.101.5

Security: Requires a user with admin permissions

Usage: POST /api/v1/configuration/jas

Produces: application/json

Consumes: application/json

Path Parameters: None

Query Parameters: None

Request Body:

Name

Type

Required/Optional

Description

enable_token_validation_scanning

boolean

Required

Default: False

Validate detected tokens by authenticating against the token provider.

Sample Request

POST /api/v1/configuration/jas
{ 
  "enable_token_validation_scanning": true 
}

Sample Response

{
  “info”: “JAS configuration updated successfully”
}

Response Codes

Status Code

Description

200

Success

403

Forbidden

401

Unauthorized