Get All Engine Configurations - GET /sast/engineConfigurations (v8.6.0 and up)

Get the engine servers configuration list. You can use the retrieved configuration Id (id) to get a specific engine server's configuration. To get a specific engine server's configuration use GET /sast/engineConfigurations/{id}.

Usage:

  1. GET /sast/engineConfigurations and get engine server configuration list
  2. GET /sast/engineConfigurations/{id} and get specific engine server configuration

URL

http://localhost/cxrestapi/sast/engineConfigurations

Method:

GET

Media Type (header):

Authorization: Bearer <access token value>
Accept: application/json;v=1.0

Parameters

None

Curl Sample:

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer <access token> 'http://localhost/cxrestapi/sast/engineConfigurations'

Sample Response:

[
  {
    "id": 1,
    "name": "Default Configuration"
  },
  {
    "id": 2,
    "name": "Japanese (Shift-JIS)"
  },
  {
    "id": 3,
    "name": "Korean"
  },
  {
    "id": 5,
    "name": "Multi-language Scan"
  }
]

Success Response:

Code: 200 OK

Error Response:

Code: 400 Bad Request

Notes:

Retrieves engine server configuration list. If the request fails, it returns an error response.