Skip to content

[New] DaC VCS Sync Workflow - #29

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

[New] DaC VCS Sync Workflow#29
eric-forte-elastic wants to merge 2 commits into
elastic:mainfrom
eric-forte-elastic:dac_promotion_workflow

Conversation

@eric-forte-elastic

@eric-forte-elastic eric-forte-elastic commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new workflow called dac-vcs-rule-sync, Detection-as-Code sync to version control. With this enabled, rules tagged with vcs in a configurable space, defaulting to dev are exported through a detection-rules fork and opened as pull requests against main, with unit tests reported on the PR.

This would be used in a Kibana as authoritative or a dual sync governance model.

Given the added complexity and requirements of having a fork of detection rules with a custom rules config setup, a direct setup guide is added in the file examples/security/detection/dac-vcs-rule-sync/DEPLOY_AND_TEST.md

See example PRs generated from this workflow:

image image

Note

DaC workflows in general are somewhat restricted in that they cannot interact with Github Action workflows directly as these are not present in the current version of the Github Connector. If support for these are added, the workflow can be notably simpler with a similar result.

@eric-forte-elastic
eric-forte-elastic requested a review from a team as a code owner July 28, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant