Get Policy List
Select
SaaS
Customer Managed
Get Policy List
Responses
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyList object[]
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyList": [
{
"policyId": 0,
"policyName": "string",
"policyDescription": "string",
"rule": "string",
"systemGenerated": true,
"criticality": "HIGH",
"creationTime": 0,
"modifiedTime": 0,
"remedialAction": "Move",
"owners": [
{
"id": 0,
"name": "string"
}
],
"assignees": [
{
"id": 0,
"name": "string"
}
],
"category": "EXPIRATION",
"violations": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyList object[]
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyList": [
{
"policyId": 0,
"policyName": "string",
"policyDescription": "string",
"rule": "string",
"systemGenerated": true,
"criticality": "HIGH",
"creationTime": 0,
"modifiedTime": 0,
"remedialAction": "Move",
"owners": [
{
"id": 0,
"name": "string"
}
],
"assignees": [
{
"id": 0,
"name": "string"
}
],
"category": "EXPIRATION",
"violations": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyList object[]
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyList": [
{
"policyId": 0,
"policyName": "string",
"policyDescription": "string",
"rule": "string",
"systemGenerated": true,
"criticality": "HIGH",
"creationTime": 0,
"modifiedTime": 0,
"remedialAction": "Move",
"owners": [
{
"id": 0,
"name": "string"
}
],
"assignees": [
{
"id": 0,
"name": "string"
}
],
"category": "EXPIRATION",
"violations": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyList object[]
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyList": [
{
"policyId": 0,
"policyName": "string",
"policyDescription": "string",
"rule": "string",
"systemGenerated": true,
"criticality": "HIGH",
"creationTime": 0,
"modifiedTime": 0,
"remedialAction": "Move",
"owners": [
{
"id": 0,
"name": "string"
}
],
"assignees": [
{
"id": 0,
"name": "string"
}
],
"category": "EXPIRATION",
"violations": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
GET /v4/remediationpolicy/policylist
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'