Get Remediation Servertools
This API is used for retrieve the list of remediation rules and actions for a particular notification.
Request
URI
POST
https://{api_host}/remediation-rest/getservertoolslist
COPY
Request Body
RemediationServertoolsList of type(s) application/json
Required
Show optional properties
{
"event_name": "Failed",
"is_problem": false,
"name": "NOTIFICATION-KubernetesPod_KubernetesPod-011da22f-7978-477f-b0c3-057835c3e62b_Failed",
"source": "INCHARGE-SA-PRES"
}
{
"notif_class_name": "Interface",
"event_name": "Down",
"name": "string",
"source": "string",
"is_problem": "string"
}
string
notif_class_name
Optional
remediation notification ClasName
string
event_name
Required
remediation notification EventName
string
name
Required
remediation notification Name
string
source
Required
remediation notification Source
string
is_problem
Required
true or false
Responses
200
success
[
{
"CheckManualFilterPolicy1": "slack_action"
},
{
"CheckManualFilterPolicy2": "jira_action"
}
]
400
Invalid Request sent by the user
Operation doesn't return any data structure
500
Internal server error
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"event_name:"string","is_problem:"string","name:"string","source:"string"}' https://{api_host}/remediation-rest/getservertoolslist
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