Skip to main content

Remediation Policies

Select

SaaS
Customer Managed

Create/Update/Delete/View Remediation policies

Request Body
  • policyId int32

    Unique identifier for policy

  • policyName string

    policy name

  • policyDescription string

    policy description

  • rule string

    Query or Rule criteria for policy

  • systemGenerated boolean

    Indicating if policy is system generated or custom

  • criticality string

    Possible values: [HIGH, MEDIUM, LOW]

    Criticality level

  • creationTime int32

    creation time of policy

  • modifiedTime int32

    modified time of policy

  • remedialAction RemediationActionEnum

    Possible values: [Move, Delete]

  • owners object[]

    List of users with ownership on policy

  • id int32
  • name string
  • assignees object[]

    List of users assigned to take action on policy

  • id int32
  • name string
  • category RemediationPolicyCategory

    Possible values: [EXPIRATION, PRIVACY, REDUNDANT]

Responses

OK


Schema
  • errorCode RemediationPolicyErrorCode

    Possible values: [NO_ERROR, INVALID_INPUT, UNKNOWN_ERROR, INTERNAL_SERVER_ERROR]

  • errorMessage string
POST /v4/remediationpolicy    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body
{
"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"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/RemediationPolicy' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"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"
}'