-
Notifications
You must be signed in to change notification settings - Fork 209
[Request] Documentation for Manual Run of Security rules #5264
Copy link
Copy link
Closed
Labels
Docset: ESSIssues that apply to docs in the Stack releaseIssues that apply to docs in the Stack releaseDocset: ServerlessIssues for Serverless SecurityIssues for Serverless SecurityEffort: LargeIssues that require significant planning, research, writing, and testingIssues that require significant planning, research, writing, and testingFeature: RulesPriority: HighIssues that are time-sensitive and/or are of high customer importanceIssues that are time-sensitive and/or are of high customer importanceTeam: Detection Enginev8.16.0
Metadata
Metadata
Assignees
Labels
Docset: ESSIssues that apply to docs in the Stack releaseIssues that apply to docs in the Stack releaseDocset: ServerlessIssues for Serverless SecurityIssues for Serverless SecurityEffort: LargeIssues that require significant planning, research, writing, and testingIssues that require significant planning, research, writing, and testingFeature: RulesPriority: HighIssues that are time-sensitive and/or are of high customer importanceIssues that are time-sensitive and/or are of high customer importanceTeam: Detection Enginev8.16.0
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
What: We introduce manual rule Runs for security solution.
Why: Users will be able to run rule in the past and specify the date range.
Use cases we cover:
There additional issue for UX copy: #5265
A little bit of technical background, how it works, which should help with better naming
Let's say we have rule with 5m interval
rule execution log - it represents the results of a single rule execution. it can be running/succeded/failed.
When the user executes Manual rule runs (14:00-16:00)- it creates the Backfill group (we probably need come up with better naming).
Backfill group - it's something, that contains the start and end date range, status of the whole group, and rule info.
Also Backfill group has scheduled entries - it's a list of tasks of potenial rule executions.
When the task manager is free it starts to schedule those tasks - which execute the rule, and then the result of this execution appears in the rule execution log.
scheduled entry - can be pending/running/error/complete
The whole backfill group also can be pending/running/error - depends on status of scheduled entires.
After all scheduled entries are complete - Backfill group is deleted.
We can Delete/Stop only the whole backfill group, but not individual backfill group.
Background & resources
kibana.alert.intended_timestamp:Add intended timestamp kibana#191717
kibana.alert.rule.execution_type: Execution type field kibana#195884Which documentation set does this change impact?
ESS and serverless
ESS release
8.158.16Serverless release
Monday, July 29, 2024Tuesday, October 14, 2024Feature differences
None
API docs impact
Prerequisites, privileges, feature flags
None
Doc plan
kibana.alert.intended_timestampfield has been added to the alert schema. This field appears in documents of alerts that were generated by manual rule runs. They convey the estimated time range of when the alert was created.Doc updates
NOTE: The feature is being released in Tech Preview in 8.15, so will need to use that label/admonition for ESS and Serverless docs.
Execution results: Make the following updates:
rule-execution-logs.png- new image should show the updatedExecution logtable and the newManual runstable.Execution logtable. The new items are:Source event time rangecolumn. By default, this setting is toggled off.Manage detection rules:
Manual runstable and click Stop run in theActionscolumn.Stop rule run