Post /policy/endpoint-compliance/scan/copy
Description
Copies all content from the supplied Scan to a new Scan.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
policyName | Required | String |
newPolicyName | Required | String |
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/policy/endpoint-compliance/scan |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
policyName: "xxxxxxx" newPolicyName: "xxxxxxxx" |
Sample Response
{
"status": "string",
"errorMessage": "string",
"html": "string",
"script": "string",
"scans": [
"string"
]
}