[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

Remediation Get Policies

Description

Retrieves all rules from the remediation model.

Request

Request

URL

URL


get
https://{api_host}tcsa.host.com/policies
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of RemediationPolicy of type 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",
	"policy_name": "SlackAuto",
	"policy_type": "automated"
}
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

Errors

ErrorDetails
500

Internal server error

Code Samples

Code Samples

cURL Command

curl https://{api_host}tcsa.host.com/policies


Feedback

Was this page helpful?