Remediation Get Policies

Remediation Get Policies

Retrieves all rules from the remediation model.

Request
URI
GET
https://{api_host}/tcsa.host.com/remediation-rest/policies
COPY
Authentication
This operation uses the following authentication methods.
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