分页查询自动响应规则
接口说明
发送通知有频率和时间的限定。 每天每个用户在 08:00-20:00 点最多收到两次通知,其余时间不会发送。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NextToken |
string |
否 |
标记当前开始读取的位置,置空表示从头开始 |
AAAAASLVeIxed4466E0LVmGkzwS6hJKd9DGVGMDRM6Lu**** |
| MaxResults |
integer |
否 |
本次读取的最大数据记录数量 |
50 |
| RegionId |
string |
否 |
威胁分析的数据管理中心所在地。您需要根据资产所在地域,选择管理中心所在地。取值:
|
cn-hangzhou |
| Lang |
string |
否 |
返回消息的语言类型。取值:
|
zh |
| ResponseRuleName |
string |
否 |
自动化响应规则名称。 |
Send Notification When Generating Urgent Incident |
| ResponseRuleType |
string |
否 |
响应规则类型。
|
custom |
| ResponseRuleStatus |
integer |
否 |
自动化响应规则状态。
|
0 |
| ResponseActionType |
string |
否 |
自动化响应规则动作类型。
|
doPlaybook |
| ResponseTriggerType |
string |
否 |
自动化响应规则触发类型。
|
event |
| PageNumber |
integer |
是 |
分页参数:当前页码。 |
1 |
| PageSize |
integer |
是 |
分页参数:每页显示条数。 |
10 |
| RoleFor |
integer |
否 |
管理员切换成其他成员视角的用户 ID。 |
173326******* |
| RoleType |
integer |
否 |
视图类型。
|
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| TotalCount |
integer |
TotalCount 本次请求条件下的数据总量,此参数为可选参数,默认可不返回 |
57 |
| RequestId |
string |
Id of the request |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| NextToken |
string |
表示当前调用返回读取到的位置,空代表数据已经读取完毕 |
AAAAASLVeIxed4466E0LVmGkzwS6hJKd9DGVGMDRM6Lu**** |
| MaxResults |
integer |
MaxResults 本次请求所返回的最大记录条数 |
50 |
| PageNumber |
integer |
分页参数:当前页码。 |
1 |
| PageSize |
integer |
分页参数:每页显示条数。 |
10 |
| ResponseRules |
array<object> |
自动化响应规则列表。 |
|
|
object |
|||
| ResponseRuleId |
string |
自动化响应规则 ID。 |
403235 |
| ResponseRuleType |
string |
响应规则类型。
|
custom |
| ResponseRuleStatus |
integer |
自动化响应规则状态。
|
0 |
| ResponseActionConfig |
string |
自动化响应规则执行动作配置。 |
[{"actionType":"doPlaybook","playbookName":"block waf IP","playbookUuid":"system_aliyun_waf_whole_process_book","disposeParam":{"period":"7d"}}] |
| ResponseActionType |
string |
自动化响应规则动作类型。
|
doPlaybook |
| ResponseExecutionCondition |
string |
规则触发条件配置。 |
[{"left":{"value":"threat_level"},"operator":"equals","right":{"value":"suspicious"}}] |
| ResponseRuleName |
string |
自动化响应规则名称。 |
Send Notification When Generating Urgent Incident |
| ResponseTriggerType |
string |
自动化响应规则触发类型。
|
event |
| ResponseRulePriority |
integer |
自动化响应规则执行优先级。 |
1 |
| UpdateTime |
integer |
更新时间。 |
1769843323000 |
| CreateTime |
integer |
创建时间。 |
1769843323000 |
示例
正常返回示例
JSON格式
{
"TotalCount": 57,
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"NextToken": "AAAAASLVeIxed4466E0LVmGkzwS6hJKd9DGVGMDRM6Lu****",
"MaxResults": 50,
"PageNumber": 1,
"PageSize": 10,
"ResponseRules": [
{
"ResponseRuleId": "403235",
"ResponseRuleType": "custom",
"ResponseRuleStatus": 0,
"ResponseActionConfig": "[{\"actionType\":\"doPlaybook\",\"playbookName\":\"block waf IP\",\"playbookUuid\":\"system_aliyun_waf_whole_process_book\",\"disposeParam\":{\"period\":\"7d\"}}]",
"ResponseActionType": "doPlaybook",
"ResponseExecutionCondition": "[{\"left\":{\"value\":\"threat_level\"},\"operator\":\"equals\",\"right\":{\"value\":\"suspicious\"}}]",
"ResponseRuleName": "Send Notification When Generating Urgent Incident\n",
"ResponseTriggerType": "event",
"ResponseRulePriority": 1,
"UpdateTime": 1769843323000,
"CreateTime": 1769843323000
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。