alibabacloud-waf-checkresponse-intercept-query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWAF CheckResponse Intercept Query
WAF CheckResponse拦截查询
Prerequisites
前提条件
Pre-check: Aliyun CLI >= 3.3.3 required
Runto verify >= 3.3.3. If not installed or version too low, runaliyun versionto update, or seecurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bashfor installation instructions.references/cli-installation-guide.md
Pre-check: Aliyun CLI plugin update required
[MUST] runto enable automatic plugin installation. [MUST] runaliyun configure set --auto-plugin-install trueto ensure that any existing plugins are always up-to-date.aliyun plugin update
At the start of the Core Workflow (before any CLI invocation):
[MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution.
Run the following commands before any CLI invocation:
bash
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query"[MUST] Disable AI-Mode at EVERY exit point — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed.
AI-mode is only used for Agent Skill invocation scenarios and MUST NOT remain enabled after the skill stops running.
bash
aliyun configure ai-mode disable[MUST] CLI User-Agent — Every CLI command invocation must include:
aliyun--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryBefore execution, you must collect the following information from the user:
| Parameter | Description | Required |
|---|---|---|
| Request ID | The traceid obtained from the HTML body of WAF's block (intercept) response, or the Request ID shown on the 405 block page displayed in the browser | Yes |
Optional: WAF Instance ID, SLS Project name, SLS Logstore name (will be auto-discovered if not provided)
Notes:
- Request ID (traceid) is obtained from the HTML body of WAF's block response, or from the 405 block page displayed in the browser
- Uses Alibaba Cloud default credential chain for authentication (ECS RAM Role, ~/.alibabacloud/config, etc.)
预检查:需要Aliyun CLI >= 3.3.3
运行验证版本是否>=3.3.3。若未安装或版本过低,运行aliyun version进行更新,或查看curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash获取安装说明。references/cli-installation-guide.md
预检查:需要更新Aliyun CLI插件
[必须] 运行启用自动插件安装。 [必须] 运行aliyun configure set --auto-plugin-install true确保所有现有插件始终保持最新。aliyun plugin update
在核心工作流开始时(执行任何CLI调用之前):
[必须] 启用AI模式 —— Agent Skill执行需要AI模式。
在执行任何CLI调用前运行以下命令:
bash
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query"[必须] 在所有退出点禁用AI模式 —— 无论因何种原因返回最终响应前,务必先禁用AI模式。这适用于所有退出路径:工作流成功、工作流失败、错误/异常、用户取消、会话结束,或任何其他不再执行CLI命令的场景。
AI模式仅用于Agent Skill调用场景,Skill停止运行后必须禁用。
bash
aliyun configure ai-mode disable[必须] CLI用户代理 —— 每个 CLI命令调用必须包含:
aliyun--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query执行前,你必须从用户处收集以下信息:
| 参数 | 描述 | 是否必填 |
|---|---|---|
| Request ID | 从WAF拦截响应的HTML体中获取的traceid,或浏览器显示的405拦截页面上的Request ID | 是 |
可选:WAF实例ID、SLS项目名称、SLS日志库名称(若未提供将自动发现)
注意:
- Request ID(traceid)可从WAF拦截响应的HTML体或浏览器显示的405拦截页面中获取
- 使用阿里云默认凭证链进行身份验证(ECS RAM角色、~/.alibabacloud/config等)
Region Information
地域信息
| RegionId Value | Region | Description |
|---|---|---|
| Chinese Mainland | WAF instances within mainland China |
| Outside Chinese Mainland | WAF instances in overseas and Hong Kong/Macao/Taiwan regions |
| RegionId值 | 地域 | 描述 |
|---|---|---|
| 中国大陆 | 中国大陆区域内的WAF实例 |
| 中国大陆以外 | 海外及港澳台区域的WAF实例 |
Query Workflow
查询工作流
Step 1: Information Collection
步骤1:信息收集
Confirm the Request ID (traceid) with the user. If the user has not provided one, guide them to obtain it from:
- The 405 block page displayed in the browser, which shows the Request ID directly
- The HTML body of WAF's block (intercept) response, which contains the traceid
与用户确认Request ID(traceid)。若用户未提供,引导他们从以下途径获取:
- 浏览器显示的405拦截页面,该页面直接显示Request ID
- WAF拦截响应的HTML体,其中包含traceid
Step 2: Auto-Discover WAF Instances and Verify Log Service
步骤2:自动发现WAF实例并验证日志服务
If the user has not provided WAF Instance ID and SLS configuration, perform auto-discovery:
若用户未提供WAF实例ID和SLS配置,执行自动发现:
Step 2a: Discover WAF Instances
步骤2a:发现WAF实例
bash
undefinedbash
undefinedQuery WAF instances in both regions in parallel
并行查询两个地域的WAF实例
aliyun waf-openapi DescribeInstance --region cn-hangzhou --RegionId cn-hangzhou --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
aliyun waf-openapi DescribeInstance --region ap-southeast-1 --RegionId ap-southeast-1 --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
undefinedaliyun waf-openapi DescribeInstance --region cn-hangzhou --RegionId cn-hangzhou --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
aliyun waf-openapi DescribeInstance --region ap-southeast-1 --RegionId ap-southeast-1 --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
undefinedStep 2b: Check Log Service Status (Mandatory Before Querying Logs)
步骤2b:检查日志服务状态(查询日志前必须执行)
Before retrieving SLS configuration, you MUST first verify that the WAF instance has log service enabled by calling :
DescribeSlsLogStoreStatusbash
aliyun waf-openapi DescribeSlsLogStoreStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query- If the response indicates log service is already enabled (is true/enabled), skip the enable operation and proceed directly to Step 2c (idempotent: no redundant writes).
SlsLogStoreStatus - If log service is not enabled, inform the user that WAF log service must be activated before log queries can proceed. With user consent, call to enable it:
ModifyUserWafLogStatus
bash
aliyun waf-openapi ModifyUserWafLogStatus \
--region <region-id> \
--InstanceId '<instance-id>' \
--Status 1 \
--RegionId '<region-id>' \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryConstraint: This skill only supports enabling log service (). Disabling log service is not permitted. Never call this API withStatus=1.Status=0
After enabling, wait a moment and re-verify with to confirm activation.
DescribeSlsLogStoreStatus获取SLS配置前,必须先调用验证WAF实例是否已启用日志服务:
DescribeSlsLogStoreStatusbash
aliyun waf-openapi DescribeSlsLogStoreStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query- 若响应显示日志服务已启用(为true/enabled),跳过启用操作,直接进入步骤2c(幂等操作:无冗余写入)。
SlsLogStoreStatus - 若日志服务未启用,告知用户必须激活WAF日志服务才能进行日志查询。获得用户同意后,调用启用:
ModifyUserWafLogStatus
bash
aliyun waf-openapi ModifyUserWafLogStatus \
--region <region-id> \
--InstanceId '<instance-id>' \
--Status 1 \
--RegionId '<region-id>' \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query约束:本Skill仅支持启用日志服务()。禁止禁用日志服务,切勿使用Status=1调用该API。Status=0
启用后,等待片刻,再次调用验证是否激活成功。
DescribeSlsLogStoreStatusStep 2c: Retrieve SLS Configuration (Mandatory After Confirming Log Service is Enabled)
步骤2c:获取SLS配置(确认日志服务启用后必须执行)
Once confirms that log service is enabled, you must immediately call to obtain the WAF log Project and Logstore information:
DescribeSlsLogStoreStatusDescribeSlsLogStorebash
aliyun waf-openapi DescribeSlsLogStore --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryKey fields in the response:
DescribeSlsLogStore| Field | Description |
|---|---|
| SLS Project name associated with the WAF instance |
| SLS Logstore name for WAF logs |
| Log retention period (in days) |
Cross-region note: The SLS log storage region may differ from the WAF instance region (e.g., WAF in but SLS logs stored in ). When querying SLS in Step 3, always use the region where the SLS Project is located, not the WAF instance region.
ap-southeast-1ap-southeast-5一旦确认日志服务已启用,必须立即调用获取WAF日志的Project和Logstore信息:
DescribeSlsLogStoreStatusDescribeSlsLogStorebash
aliyun waf-openapi DescribeSlsLogStore --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryDescribeSlsLogStore| 字段 | 描述 |
|---|---|
| 与WAF实例关联的SLS项目名称 |
| WAF日志对应的SLS日志库名称 |
| 日志保留时长(天) |
跨地域注意:SLS日志存储地域可能与WAF实例地域不同(例如,WAF位于但SLS日志存储在)。在步骤3查询SLS时,务必使用SLS项目所在的地域,而非WAF实例地域。
ap-southeast-1ap-southeast-5Step 3: Query SLS Logs
步骤3:查询SLS日志
Use the , and SLS region obtained from Step 2 to query block logs (prefer using the Python script):
ProjectNameLogStoreNamebash
undefined使用步骤2获取的、和SLS地域查询拦截日志(推荐使用Python脚本):
ProjectNameLogStoreNamebash
undefinedQuery using script (recommended, supports automatic time range expansion)
使用脚本查询(推荐,支持自动扩展时间范围)
python3 scripts/get_waf_logs.py
--project <project-name>
--logstore <logstore-name>
--request-id <request-id>
--region <sls-region>
--project <project-name>
--logstore <logstore-name>
--request-id <request-id>
--region <sls-region>
Or use CLI directly:
```bash
TO_TIME=$(python3 -c "import time; print(int(time.time()))")
FROM_TIME=$((TO_TIME - 86400))
aliyun sls get-logs \
--project <project-name> \
--logstore <logstore-name> \
--from $FROM_TIME \
--to $TO_TIME \
--query "<request-id>" \
--region <sls-region> \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryImportant: The here must be the SLS log storage region, which may differ from the WAF instance region. Check the response from Step 2 to determine the correct SLS region.
--regionDescribeSlsLogStorepython3 scripts/get_waf_logs.py
--project <project-name>
--logstore <logstore-name>
--request-id <request-id>
--region <sls-region>
--project <project-name>
--logstore <logstore-name>
--request-id <request-id>
--region <sls-region>
或直接使用CLI:
```bash
TO_TIME=$(python3 -c "import time; print(int(time.time()))")
FROM_TIME=$((TO_TIME - 86400))
aliyun sls get-logs \
--project <project-name> \
--logstore <logstore-name> \
--from $FROM_TIME \
--to $TO_TIME \
--query "<request-id>" \
--region <sls-region> \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query重要:此处的必须是SLS日志存储地域,可能与WAF实例地域不同。请查看步骤2中的响应确定正确的SLS地域。
--regionDescribeSlsLogStoreStep 4: Query Rule Details
步骤4:查询规则详情
Extract and from the logs to query the rule configuration:
rule_idfinal_pluginImportant: The API requires the parameter. Common defense scenes include:
DescribeDefenseRuleDefenseScene- - Custom access control rules
custom_acl - - Custom rate limiting rules (CC rules)
custom_cc - - WAF protection rules
waf_group - - Anti-scan rules
antiscan - - Data leakage prevention
dlp - - Anti-tampering
tamperproof
You can determine the defense scene from field in the logs:
final_plugin| final_plugin | DefenseScene |
|---|---|
| customrule | custom_acl or custom_cc |
| waf | waf_group |
| scanner_behavior | antiscan |
| dlp | dlp |
bash
undefined从日志中提取和以查询规则配置:
rule_idfinal_plugin重要: API需要参数。常见防护场景包括:
DescribeDefenseRuleDefenseScene- - 自定义访问控制规则
custom_acl - - 自定义限流规则(CC规则)
custom_cc - - WAF防护规则
waf_group - - 防扫描规则
antiscan - - 数据泄露防护
dlp - - 防篡改
tamperproof
你可以从日志中的字段确定防护场景:
final_plugin| final_plugin | DefenseScene |
|---|---|
| customrule | custom_acl 或 custom_cc |
| waf | waf_group |
| scanner_behavior | antiscan |
| dlp | dlp |
bash
undefinedQuery rule details with DefenseScene
使用DefenseScene查询规则详情
aliyun waf-openapi DescribeDefenseRule
--region <region-id>
--InstanceId '<instance-id>'
--TemplateId <template-id>
--RuleId <rule-id>
--DefenseScene '<defense-scene>'
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
--region <region-id>
--InstanceId '<instance-id>'
--TemplateId <template-id>
--RuleId <rule-id>
--DefenseScene '<defense-scene>'
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
**Note**: If you don't know the `TemplateId`, first use `DescribeDefenseTemplates` to list templates:
```bash
aliyun waf-openapi DescribeDefenseTemplates \
--region <region-id> \
--InstanceId '<instance-id>' \
--DefenseScene '<defense-scene>' \
--RegionId '<region-id>' \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryaliyun waf-openapi DescribeDefenseRule
--region <region-id>
--InstanceId '<instance-id>'
--TemplateId <template-id>
--RuleId <rule-id>
--DefenseScene '<defense-scene>'
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
--region <region-id>
--InstanceId '<instance-id>'
--TemplateId <template-id>
--RuleId <rule-id>
--DefenseScene '<defense-scene>'
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
**注意**:若不知道`TemplateId`,先使用`DescribeDefenseTemplates`列出模板:
```bash
aliyun waf-openapi DescribeDefenseTemplates \
--region <region-id> \
--InstanceId '<instance-id>' \
--DefenseScene '<defense-scene>' \
--RegionId '<region-id>' \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryStep 5: Output Analysis Report
步骤5:输出分析报告
Output using the following template:
markdown
undefined使用以下模板输出:
markdown
undefinedWAF Block Analysis Report
WAF拦截分析报告
Request Information
请求信息
- Request ID: {request_id}
- Block Time: {time}
- Client IP: {real_client_ip (masked, e.g. 192...***)}
- Request URL: {host}{request_path}?{masked_query_params}
- Request ID: {request_id}
- 拦截时间: {time}
- 客户端IP: {real_client_ip (已脱敏,例如 192...***)}
- 请求URL: {host}{request_path}?{已脱敏的查询参数}
Block Details
拦截详情
- Rule ID: {rule_id}
- Rule Name: {rule_name}
- Action: {action}
- 规则ID: {rule_id}
- 规则名称: {rule_name}
- 执行动作: {action}
Recommendations
建议
{Provide recommendations based on rule type, refer to references/common-block-reasons.md}
undefined{根据规则类型提供建议,参考references/common-block-reasons.md}
undefinedTroubleshooting
问题排查
No Logs Found
未找到日志
-
Re-check global log service status (should have been verified in Step 2b, but re-confirm):bash
aliyun waf-openapi DescribeSlsLogStoreStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-queryIf not enabled, prompt the user and enable with(see Step 2b). Only enabling (ModifyUserWafLogStatus) is allowed.Status=1 -
Check protection object log switch:bash
aliyun waf-openapi DescribeResourceLogStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query -
Enable protection object log collection (check-then-act: only ifshows log collection is disabled for the target resource; skip if already enabled):
DescribeResourceLogStatusbashaliyun waf-openapi ModifyResourceLogStatus \ --region <region-id> \ --InstanceId '<instance-id>' \ --Resource '<resource-name>' \ --Status true \ --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
See references/common-block-reasons.md for protection object naming conventions.
-
重新检查全局日志服务状态(步骤2b已验证,但需再次确认):bash
aliyun waf-openapi DescribeSlsLogStoreStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query若未启用,提示用户并使用启用(见步骤2b)。仅允许启用(ModifyUserWafLogStatus)。Status=1 -
检查防护对象日志开关:bash
aliyun waf-openapi DescribeResourceLogStatus --region <region-id> --InstanceId '<instance-id>' --RegionId '<region-id>' --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query -
启用防护对象日志收集(检查后执行:仅当显示目标资源的日志收集已禁用时执行;若已启用则跳过):
DescribeResourceLogStatusbashaliyun waf-openapi ModifyResourceLogStatus \ --region <region-id> \ --InstanceId '<instance-id>' \ --Resource '<resource-name>' \ --Status true \ --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
防护对象命名规范请参考references/common-block-reasons.md。
Permission Denied Errors
权限拒绝错误
If you encounter permission errors, check the following:
-
Verify CLI profile configuration:bash
aliyun configure list -
Check RAM policy permissions: Required permissions:
waf-openapi:DescribeInstancewaf-openapi:DescribeSlsLogStoreStatuswaf-openapi:DescribeSlsLogStore- (optional, for enabling log service)
waf-openapi:ModifyUserWafLogStatus - (for rule details)
waf-openapi:DescribeDefenseRule - (for log queries)
sls:GetLogs
-
Try specifying a different profile:bash
aliyun waf-openapi DescribeInstance --profile <profile-name> --region <region-id> --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
若遇到权限错误,检查以下内容:
-
验证CLI配置文件:bash
aliyun configure list -
检查RAM策略权限: 需要的权限:
waf-openapi:DescribeInstancewaf-openapi:DescribeSlsLogStoreStatuswaf-openapi:DescribeSlsLogStore- (可选,用于启用日志服务)
waf-openapi:ModifyUserWafLogStatus - (用于查询规则详情)
waf-openapi:DescribeDefenseRule - (用于日志查询)
sls:GetLogs
-
尝试指定不同的配置文件:bash
aliyun waf-openapi DescribeInstance --profile <profile-name> --region <region-id> --user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
Request ID Not Found
Request ID未找到
If the Request ID is not found in the logs:
- Verify Request ID format: Should be 32 characters without hyphens
- Check time range: The script automatically expands search up to 90 days
- Verify the correct region: Try both and
cn-hangzhouap-southeast-1 - Check log retention (TTL): Default is 180 days, use parameter if different
--ttl
若日志中未找到Request ID:
- 验证Request ID格式:应为32位无连字符的字符串
- 检查时间范围:脚本自动扩展搜索范围至90天
- 验证正确地域:尝试和
cn-hangzhou两个地域ap-southeast-1 - 检查日志保留时长(TTL):默认180天,若不同使用参数
--ttl
Multi-Instance Scenarios
多实例场景
If both Chinese Mainland and non-Chinese Mainland instances exist, determine based on query results:
- Logs found in only one region -> use that region directly
- Logs found in both regions -> ask the user for clarification
- No logs found in either region -> ask the user for the expected region, check protection object log switch
Note: Follow the same discovery commands as in Step 2, then query logs across all discovered SLS projects until the Request ID is found.
若同时存在中国大陆和中国大陆以外的实例,根据查询结果确定:
- 仅在一个地域找到日志 -> 直接使用该地域
- 两个地域均找到日志 -> 询问用户确认
- 两个地域均未找到日志 -> 询问用户预期地域,检查防护对象日志开关
注意:按照步骤2中的发现命令执行,然后查询所有已发现的SLS项目的日志,直到找到Request ID。
Rule Operation Constraints
规则操作约束
Warning: Rule Disabling Policy
警告:规则禁用策略
When the user requests to disable a rule:
- Check current rule status first — call to query the rule's current status. If the rule is already in the target state (e.g., already disabled), skip the write operation and inform the user (idempotent check-then-act pattern)
DescribeDefenseRule - Only perform disable operations (with
ModifyDefenseRuleStatus)RuleStatus=0 - Never delete rules
- Never modify rule content
- Must confirm with user before executing
bash
undefined当用户请求禁用规则时:
- 先检查当前规则状态 —— 调用查询规则当前状态。若规则已处于目标状态(例如已禁用),跳过写入操作并告知用户(幂等检查后执行模式)
DescribeDefenseRule - 仅执行禁用操作(使用
ModifyDefenseRuleStatus)RuleStatus=0 - 切勿删除规则
- 切勿修改规则内容
- 执行前必须获得用户确认
bash
undefinedDisable a rule (only after confirming it is currently enabled)
禁用规则(仅在确认当前为启用状态时执行)
aliyun waf-openapi ModifyDefenseRuleStatus
--region <region-id>
--InstanceId '<instance-id>'
--RuleId <rule-id>
--RuleStatus 0
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
--region <region-id>
--InstanceId '<instance-id>'
--RuleId <rule-id>
--RuleStatus 0
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
See [references/rule-operations.md](references/rule-operations.md) for detailed instructions.aliyun waf-openapi ModifyDefenseRuleStatus
--region <region-id>
--InstanceId '<instance-id>'
--RuleId <rule-id>
--RuleStatus 0
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
--region <region-id>
--InstanceId '<instance-id>'
--RuleId <rule-id>
--RuleStatus 0
--RegionId '<region-id>'
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-waf-checkresponse-intercept-query
详细说明请参考[references/rule-operations.md](references/rule-operations.md)。References
参考资料
- RAM Policy Requirements
- Rule Configuration Details
- Rule Operation Policy
- Common Block Reasons
- WAF OpenAPI
- RAM策略要求
- 规则配置详情
- 规则操作策略
- 常见拦截原因
- WAF OpenAPI