Set Asset Violations
Select
SaaS
Customer Managed
Set Asset Violations
Responses
- 200
- 400
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorCode RemediationPolicyErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
POST /v4/remediation/policy/assetviolationcount
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Remediation/Policy/AssetViolationCount' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'