Modifies the content of 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 |
---|---|---|---|---|
RuleName | string | Yes | The name of the rule. | test-rule-1 |
ProcPaths | array | Yes | The paths to the monitored processes. | |
string | Yes | The path to the monitored process. | /usr/local/* | |
FilePaths | array | Yes | The paths to the monitored files. Wildcard characters are supported. | |
string | Yes | The path to the monitored file. Wildcard characters are supported. | /usr/* | |
FileOps | array | Yes | The operations performed on the files. | |
string | Yes | The operation performed on the file. Valid values:
| WRITE | |
RuleAction | string | No | The handling method of the rule. Valid values:
| pass |
AlertLevel | integer | No | The severity of alerts. Valid values:
| 0 |
Status | integer | No | The status of the rule. Valid values:
| 1 |
Id | long | No | The ID of the rule. | 1062 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "339227F4-C9E1-526F-8347-1099C11F65FB"
}
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.