Allow filter-only KQL rule exports#6180
Conversation
|
💚 CLA has been signed |
53591d7 to
4463fa3
Compare
4463fa3 to
26ccdef
Compare
|
Noticed the Add PR Guidelines Comment workflow is failing because no appropriate label was found for the PR. The linked issue #6167 has detections-as-code, but I do not have permission to add labels here. Flagging in case a maintainer needs to apply the matching label. |
Enhancement - GuidelinesThese guidelines serve as a reminder set of considerations when addressing adding a feature to the code. Documentation and Context
Code Standards and Practices
Testing
Additional Checks
|
|
@srkyn thanks for the PR, Few things to note. We would only want this for Custom Rules. Updating your filter in Also, you will need to bump the patch version in the pyproject.toml
And given that you will need to update your unit test to handle this using something like: Otherwise, this PR looks good. Let me know if you have any trouble with these updates, and I can make a PR with these and add you as co-author. Thanks! My branch as ref: main...6167-dac-export-rules-fails-on-kql-rules-with-empty-query-filters-only |
|
Thanks for the guidance. Updated this to only bypass KQL validation for filter-only custom rules when Validation run locally:
|

Summary
Validation
Fixes #6167