Queries the check rules of sensitive files.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"Id": 44616,
"RuleCount": 100,
"SelectedCount": 99,
"RuleTree": [
{
"ClassKey": "password",
"ClassName": "password",
"RuleList": [
{
"RuleKey": "huaweicloud_ak",
"RuleName": "huaweicloud_ak",
"Selected": true
}
]
}
]
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.