Remediation Get Policies
Retrieves all rules from the remediation model.
Request
URI
GET
https://{api_host}/remediation-rest/policies
COPY
Responses
200
OK
Returns Array of RemediationPolicy of type(s) application/json
[
{
"action_name": "slack_action",
"created_on": "17 Nov, 2022, 15:43:44 UTC",
"description": "slack auto policy",
"last_updated": "17 Nov, 2022, 15:45:10 UTC",
"path_type": "remediation",
"policy_name": "slackAuto",
"policy_type": "automated",
"state": "enable",
"events": [
{
"name": "Down",
"class": "WirelessAccessPoint",
"type": "problem",
"condition": null
}
],
"paths": []
},
{
"created_on": "17 Nov, 2022, 15:43:44 UTC",
"description": "sample escalation policy",
"last_updated": "17 Nov, 2022, 15:45:10 UTC",
"path_type": "escalation",
"policy_name": "escalationRule",
"state": "enable",
"events": [
{
"name": "Down",
"class": "WirelessAccessPoint",
"type": "problem",
"condition": null
}
],
"paths": [],
"policy_type": ""
}
]
500
Internal server error
Returns ErrorDetails of type(s) application/json
"ErrorDetails Object"
string
errorCode
Required
Error code for the failed request
string
message
Required
Short summary of the error occurred
string
detailedMessage
Optional
Detailed message with probable solution
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/remediation-rest/policies
Remediation Rest Operations
GET
Remediation Get Policies
GET
Remediation Get Policy
PUT
Remediation Update Policy
DELETE
Remediation Delete Policy By Id
POST
Remediation Create Policy
GET
Remediation Get Actions All
POST
Remediation Create Action
GET
Remediation Get Action
PUT
Remediation Update Action
DELETE
Remediation Delete Action
GET
Get All Remediation Connections
POST
Create Remediation Connection
GET
Get Remediation Connection By Id
PATCH
Patch Remediation Connection By Id
DELETE
Remediation Delete Connection By Id
POST
Get Remediation Servertools
POST
Remediation Run Action