| Object type: The rule lg filter | ||
|---|---|---|
| The rule lg filter and other rule parameters that need to be validated | ||
| Field | Required | Description |
| actions | false | The list of actions associated with this rule. |
| active | false | The rule is an active rule or not. |
| deployed | false | The rule is deployed or not. |
| rulelg | true | The correlation rule expression that needs to be validated |
| updatetime | false | The time to initiate an action when a rule fires |
| Object type: The validation status for rule lg expression | |
|---|---|
| The validation status for rule lg expression | |
| Field | Description |
| Column | If the rule lg expression is not valid, then this field shows the column number of the error in the expression. |
| Line | If the rule lg expression is not valid, then this field shows the line number of the error in the expression. |
| Valid | Whether the rule lg expression is valid or not. |
POST correlation/validateRuleLG
{"rulelg":"filter(1=1)"}
POST correlation/validateRuleLG
{"rulelg":"filter(1=1"}