[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Remediation Get Policy
Descriptionpolicy name.
Request
URLURL
https://{api_host}tcsa.host.com/policy/{policy_name}
Path Parameters
Path Parameters
string
policy_name
Required
policy name.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
RemediationPolicy
of type application/json
{
"action_name": "slack_action",
"action_params": "",
"conditions": [
{
"operation": "equals",
"propName": "Active",
"propValue": "true"
}
],
"created_on": "21 Nov, 2022, 00:42:45 UTC",
"description": "check servertools filterset",
"events": [
{
"class": "KubernetesPod",
"name": "Failed",
"type": "event"
}
],
"last_updated": "21 Nov, 2022, 00:42:45 UTC",
"policy_name": "CheckManualFilterPolicy1",
"policy_type": "manual"
}
string
action_name
Required
Name of the remediation action
string
policy_type
Required
either manual or automated
array of
object
events
Required
JSON list of dicts containing class, name and type fields.
string
policy_name
Required
remediation rule name
array of
object
conditions
Optional
JSON list of dicts containing propName, operation and propValue fields.
string
created_on
Optional
rule creation timestamp
string
last_updated
Optional
rule last update timestamp
string
action_params
Optional
optional field for multi event rules
Errors
ErrorDetails
400
Invalid Request sent by the user
ErrorDetails
404
Cannot find requested resource
ErrorDetails
500
Internal server error
Code Samples
cURL Command
curl https://{api_host}tcsa.host.com/policy/{policy_name}
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Remediation Rest Operations
delete
delete