Domain name for API request: waf.intl.tencentcloudapi.com.
This API is used to query DLP rules.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeLLMWafDLPRules. |
| Version | Yes | String | Common Params. The value used for this API: 2018-01-25. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-guangzhou, ap-seoul, ap-singapore. |
| ServiceId | No | String | In SDK mode, pass in ServiceId (either ServiceId or Domain) |
| InstanceId | No | String | Instance id |
| By | No | String | Sorting field. Currently, only UpdateTime is supported. If this parameter is left empty, rules are returned in the default order. |
| Order | No | String | Sorting order: asc (ascending) or desc (descending). Default value: desc. |
| Domain | No | String | In domain mode, pass in Domain (either Domain or ServiceId) |
| Parameter Name | Type | Description |
|---|---|---|
| Rules | Array of RuleDetail | Rule list |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: waf.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeLLMWafDLPRules
<Common request parameters>
{
"ServiceId": "9000002874",
"InstanceId": "waf_2l15d14809yfq9sf"
}
{
"Response": {
"Rules": [
{
"Action": "deny",
"Description": "Detects bank card numbers, covering both debit and credit cards (13-19 digits)",
"DesensitizeSample": "****1234",
"Direction": 1,
"RuleId": "gdl-001",
"RuleName": "Bank Card",
"Severity": "high",
"Status": 1
}
],
"RequestId": "aa87bb50-22c3-4bd8-b734-c583abfdb4a5"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback