Expand description
Typed wrappers for the detection-engine API.
Functions use stable rule_id values, not volatile server-side id values.
Structs§
Enums§
- Bulk
Action - Rule
Source - Which rules an operation acts on, grouped by source.
Constants§
- PREVIEW_
ALERTS_ INDEX_ PREFIX - Where a preview’s alerts land. Kibana names the alias per space.
Functions§
- bulk_
by_ rule_ ids - create
- decode_
bulk_ outcome - Decode a
_bulk_actionresponse summary, refusing a malformed success body. - decode_
find - Decode a
_findresponse into rules and a total. Fixtures use this same path offline. - decode_
preview_ hits - Decode a preview-hits response, tolerating a malformed body as empty.
- decode_
preview_ hits_ checked - Decode a preview-hits response, refusing a malformed success body.
- delete
- existing_
rule_ ids - Which of these rule ids already exist on the stack.
- export
- Export every rule, or exactly the named ones.
- find_
all - Every rule matching the filter.
- find_
by_ rule_ ids - The rules carrying exactly these
rule_ids. - find_
page - get
- import
- patch
- preview
- Run a rule against historical data without writing alerts.
- preview_
hits - Read back what a preview matched.
- update