Updated on 2022-08-15 GMT+08:00

Rule

Table 1 Parameters

Parameter

Type

Mandatory

Description

ruleId

String

No

Blacklist or whitelist ID.

ruleType

String

Yes

List type. Value: WHITE (whitelist) or BLACK (blacklist).

attribute

String

Yes

If the value starts with tag_xxx, the attributes are filtered by Tag. Otherwise, the attributes are filtered by ServiceId, AppId, ServiceName, Version, Description, Level, or Status.

pattern

String

Yes

Matching rule. The value is a regular expression containing 1 to 64 characters.

timestamp

String

No

Rule creation time. This parameter is used only when you obtain a rule.

description

String

No

Description of a rule. The value contains a maximum of 256 characters.

modTimestamp

String

No

Latest modification time (UTC).