get_alert_summary
Summarize OSSEC alerts over a specified time period with counts by severity, group, and top rules.
Instructions
Get a summary of OSSEC alerts over a time period.
Provides counts grouped by severity level, rule group, and top triggered rules.
Args: time_range: Time range to summarize. Examples: '1h', '24h', '7d'. Default: '24h'.
Returns: JSON summary with alert counts by level, group, and top rules.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_alert_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_range | No | 24h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |