get_rule_details
Retrieve the complete definition of any OSSEC rule by its ID, including matching criteria, parent rules, frequency, and group affiliation.
Instructions
Get the full details of a specific OSSEC rule by its ID.
Returns the complete rule definition including all matching criteria, parent rules, frequency settings, and associated group.
Args: rule_id: The rule ID to look up (e.g., '5710').
Returns: JSON object with the complete rule definition.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rule_id": "<rule_id>"
},
"name": "get_rule_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |