Applying Archiving Rules
Function
This API is used to apply archiving rules retroactively to archive existing findings that meet the archive rule criteria.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
AccessAnalyzer:archiveRule:apply |
Write |
archiveRule * |
- |
- |
- |
URI
POST /v5/analyzers/{analyzer_id}/archive-rules/{archive_rule_id}/apply
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
analyzer_id |
Yes |
String |
Unique identifier of an analyzer Minimum: 1 Maximum: 36 |
|
archive_rule_id |
Yes |
String |
Unique identifier of an archive rule Minimum: 1 Maximum: 36 |
Request Parameters
None
Response Parameters
Status code: 200
OK
None
Example Requests
Applying archiving rules retroactively to archive existing findings that meet the archive rule criteria
POST https://{hostname}/v5/analyzers/{analyzer_id}/archive-rules/{archive_rule_id}/apply
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot