Skip to content

[FR] Managing Multiple Rule Sets - #56

Open
eric-forte-elastic wants to merge 2 commits into
mainfrom
multiple_rule_sets_updates
Open

[FR] Managing Multiple Rule Sets#56
eric-forte-elastic wants to merge 2 commits into
mainfrom
multiple_rule_sets_updates

Conversation

@eric-forte-elastic

@eric-forte-elastic eric-forte-elastic commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Related Issues

Resolves #22

Summary

Some documentation updates to cover managing multiple rule sets using the kibana export-rules filters.

@eric-forte-elastic eric-forte-elastic self-assigned this Jun 24, 2026
@eric-forte-elastic eric-forte-elastic added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 24, 2026
@eric-forte-elastic
eric-forte-elastic marked this pull request as ready for review June 25, 2026 14:32
@eric-forte-elastic
eric-forte-elastic requested a review from a team as a code owner June 25, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DaC reference documentation to explain how to manage multiple rule sets (e.g., custom rules, customized prebuilt rules, and unmodified prebuilt rules) and how to scope Kibana exports using kibana export-rules filters/queries.

Changes:

  • Adds guidance on structuring multiple local rule sets (single config vs. independent configs) and how to export multiple compatible directories into one artifact.
  • Documents recommended Kibana export scoping for custom vs. customized vs. unmodified prebuilt rules (including example --export-query filters).
  • Adds governance-model diagrams and supporting narrative for “multiple rule sets” in VCS-authoritative and dual-sync workflows.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/internals_of_the_detection_rules_repo.md Adds notes on structuring multiple local rule sets via rule_dirs vs separate custom rules directories.
docs/faq.md Adds FAQ entry explaining how to distinguish/export custom, customized prebuilt, and unmodified prebuilt rules.
docs/dac_quick_start_guide.md Introduces a new “Managing multiple rule sets” section with export scoping examples and guidance.
docs/core_components_and_governance_models_of_dac.md Adds narrative + embedded diagrams illustrating multiple rule sets in VCS-authoritative and dual-sync models.
docs/core_component_syncing_rules_and_data_from_elastic_security_to_vcs.md Adds guidance on running multiple intentionally-scoped exports from a single Kibana space.
docs/_static/multiple_rule_sets_vcs_authoritative.svg Adds a new diagram for the VCS-authoritative multiple rule sets workflow.
docs/_static/multiple_rule_sets_dual_sync.svg Adds a new diagram for the dual-sync multiple rule sets workflow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/faq.md

Useful export categories are:

- Custom rules: use `python -m detection_rules kibana export-rules --custom-rules-only`, or filter for internal/non-immutable rules.
config: etc/test_config.yaml
```

For multiple local rule sets, choose whether they should be loaded by one custom rules config or by separate configs. If the rule sets share schema validation, tests, exceptions/actions directories, and versioning strategy, list multiple directories under `rule_dirs`:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add information about managing multiple rule sets

2 participants