Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/tasks/requestScanAgentKey
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Request a Secure Scan Agent Key. This key is used to request scan agent tasks and prevent multiple scan agents from interacting with the same task. |
Required Permission | Read Access (Any Role) |
Version Introduced | 2.4.0 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Call:
Code Block | ||
---|---|---|
| ||
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" http://localhost:8080/threadfix/rest/tasks/requestScanAgentKey |
Sample Output:
Code Block | ||
---|---|---|
| ||
{ "message": "", "success": true, "responseCode": -1, "object": "yMFCvtcmBtAARYS5QX8x54zvMruNLIvNMzqMI44K4JG8" } |
Page Tree | ||
---|---|---|
|