Remediation Get Policies
Retrieves all rules from the remediation model.
Request
URI
GET
https://{api_host}/tcsa.host.com/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
{
"errorCode": "string",
"message": "string",
"detailedMessage": "string"
}
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
Remediation Rest Operations
POST
Create Remediation Connection
GET
Get All Remediation Connections
GET
Get Remediation Connection By Id
POST
Get Remediation Servertools
PATCH
Patch Remediation Connection By Id
POST
Remediation Create Action
POST
Remediation Create Policy
DELETE
Remediation Delete Action
DELETE
Remediation Delete Connection By Id
DELETE
Remediation Delete Policy By Id
GET
Remediation Get Action
GET
Remediation Get Actions All
GET
Remediation Get Policies
GET
Remediation Get Policy
POST
Remediation Run Action
PUT
Remediation Update Action
PUT
Remediation Update Policy