Configure 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 |
---|---|---|---|---|
Config | string | No | The configurations of the custom check rule. The value is in the JSON format. Valid values of keys:
| [{\"classKey\": \"password\", \"ruleList\": [\"huaweicloud_ak\", \"ak_leak\"]}] |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"Id": 44616
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF4****"
}
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.