Get Policy Details
Select
SaaS
Customer Managed
Get Policy Details
Responses
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyInfo object
- violatedDatastores string
comma seperated list of datastored ids
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyInfo": {
"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"
},
"violatedDatastores": "string",
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyInfo object
- violatedDatastores string
comma seperated list of datastored ids
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyInfo": {
"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"
},
"violatedDatastores": "string",
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyInfo object
- violatedDatastores string
comma seperated list of datastored ids
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyInfo": {
"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"
},
"violatedDatastores": "string",
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
remediationPolicyInfo object
- violatedDatastores string
comma seperated list of datastored ids
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"remediationPolicyInfo": {
"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"
},
"violatedDatastores": "string",
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
GET /v4/remediationpolicy/policydetails
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy/PolicyDetails' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'