I created a repo to manage Rules and Exceptions/Lists in Terraform.
Working with detection-rules repo , I needed to somehow keep a source of truth on what is deployed in the SIEM. So I created a Terraform Provider for Elastic SIEM  and a template repository for handling Rules and Exception connections , complete - with Sample Github Workflows and Example Pull Request.
 : GitHub - elastic/detection-rules: Rules for Elastic Security's detection engine
 : GitHub - operatorequals/terraform-provider-elastic-siem
 : GitHub - operatorequals/elastic-siem-terraform-template: Keeps Elastic SIEM Rules, Exception, Lists as Code