TopMatchedRulesDto
TopMatchedRulesDto
Rules ranked by matchCount DESC then ruleId ASC over [windowStart, windowEnd] on event ingest time. An empty items list is valid.
JSON Example
{
"window": "string",
"windowStart": "string",
"windowEnd": "string",
"asOf": "string",
"limit": 0,
"items": [
{
"ruleId": 0,
"ruleName": "string",
"ruleAction": "string",
"ruleDeleted": false,
"matchCount": 0
}
]
}
window
Required
Time window for the top-matched-Rules ranking, counted back from the request time
24h: The last 24 hours; the default when no window is given7d: The last 7 days30d: The last 30 days
Enumeration:
24h,
7d,
30d
string As date-time
As date-time
windowStart
Required
Inclusive window start (UTC)
string As date-time
As date-time
windowEnd
Required
Inclusive window end (UTC)
string As date-time
As date-time
asOf
Required
Time the ranking was computed (UTC)
integer As int32
As int32
limit
Required
Applied item limit
array of
TopMatchedRuleItem
items
Required
Ranked Rules, most matched first (ties by Rule identifier), at most limit entries