Updated on 2025-11-06 GMT+08:00

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

Table 1 Path Parameters

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.