Queries the information about a core file monitoring rule based on the ID of the rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Id | long | No | The ID of the rule. | 245 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "C0DF9057-67C5-574D-A2D2-0CA9AC74C4D3",
"Data": {
"Action": "pass",
"RuleName": "test-000",
"SwitchId": "FILE_PROTECT_RULE_SWITCH_TYPE_0000",
"Id": 44616,
"AlertLevel": 0,
"FileOps": [
"CHMOD"
],
"FilePaths": [
"/usr/*"
],
"ProcPaths": [
"/usr/local/*"
],
"Status": 1
}
}
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.