You need to enable JavaScript to run this app.
Web Application Firewall

Web Application Firewall

Copy page
Download PDF
Vulnerability protection
UpdateCustomSystemVulRule
Copy page
Download PDF
UpdateCustomSystemVulRule
Update the status of each rule in the custom mode.​
HTTP request​
  • Method: POST​
  • URL: https://waf.volcengineapi.com/?Action=UpdateCustomSystemVulRule&Version=2023-12-25​
Request parameters​
Only the specific request parameters for this interface and some common parameters are listed below. For more information, please see Common Parameters.​
Query​
Action string required Example value: UpdateCustomSystemVulRule​
The operation to be performed, value: UpdateCustomSystemVulRule.​
​
Version string required Example value: 2023-12-25​
The version of the API, value: 2023-12-25.​
​
​
​
Body​
Host string required Example value: example.volcwaf001.com​
Corresponding protected domain of the website.​
​
ProjectName string Optional Sample value: default​
The name of the project to which the domain belongs.​
​
SystemRuleSwitch object[] required Sample value: --​
Custom rule switch.​
RuleID integer Optional Sample value: 5407​
Rule ID. To obtain the corresponding rule ID, you can refer to ListVulnerabilityRule - View vulnerability rule details.​
​
CustomSystemRuleSwitch integer Optional Sample value: 1​
Custom rule switch.​
  • 0: Disabled​
  • 1: Enabled​
​
​
​
​
Response parameters​
This interface does not have specific response parameters. For more information, please see Return structure.​
Sample request​
​
POST https://waf.volcengineapi.com/?Action=UpdateCustomSystemVulRule&Version=2023-12-25​
X-Date: 20230711T035055Z​
Authorization: HMAC-SHA256 Credential=AKLTNGU0OGEyMT***/20230711/cn-beijing/waf/request, SignedHeaders=content-type;x-content-sha256;x-date, Signature=da4fac562d00f41ad8***​
​
{​
"Host":"example.volcwaf001.com",​
"SystemRuleSwitch": [​
{​
"RuleID":5407,​
"CustomSystemRuleSwitch":1​
}​
]​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20231016092533DB7F24697ABA111D****",​
"Action": "UpdateCustomSystemVulRule",​
"Version": "2023-12-25",​
"Service": "waf",​
"Region": "cn-beijing"​
},​
"Result": null​
}​
​
Error codes​
You can visit Public error codes to get more error code information.​
Last updated: 2025.06.30 16:25:34