Ignores or unignores baseline risk items in batches.
This API has been deprecated. We recommend migrating to Sas(2018-12-03) - IgnoreCheckItems for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:IgnoreHcCheckWarnings |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
192.168.XX.XX |
| CheckWarningIds |
string |
No |
The ID of the alert that is triggered by the check item. Separate multiple IDs with commas (,). Note
You can call the DescribeCheckWarnings operation to query the IDs of alerts that are triggered by check items. |
98146905,98146907 |
| CheckIds |
string |
No |
The ID of the check item. Note
You can call the DescribeCheckWarnings operation to query the IDs of check items. |
21313 |
| RiskId |
string |
No |
The ID of the risk item to ignore or unignore. Note
You can call the DescribeCheckWarningSummary operation to query the IDs of risk items. |
51 |
| Type |
integer |
Yes |
The operation type. Valid values:
|
1 |
| Reason |
string |
No |
The reason for this operation. |
ignore |
| Source |
string |
No |
The data source. Defaults to server baseline results if not specified. Valid values:
|
agentless |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Used to locate and troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B113119F |
Examples
Success response
JSON format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B113119F"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ConsoleError | The error message is %s %s. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.