Skip to content

Add SigmaHQ rule repository parsing integration test to CI#6

Merged
thomaspatzke merged 3 commits intomainfrom
copilot/add-test-script-for-sigma
Feb 19, 2026
Merged

Add SigmaHQ rule repository parsing integration test to CI#6
thomaspatzke merged 3 commits intomainfrom
copilot/add-test-script-for-sigma

Conversation

Copy link

Copilot AI commented Feb 18, 2026

Adds an integration test that clones SigmaHQ/sigma and parses all rules under rules/ and rules-* directories, then wires it into the GitHub Actions workflow.

  • tests/sigma_rule_parsing.rs: Shallow-clones the repo, collects all YAML files recursively, parses each via SigmaCollection::from_yaml(), and prints a pass/fail summary. Marked #[ignore] to keep it out of the default cargo test run.
  • .github/workflows/test.yml: Added a step to explicitly run the ignored test after the standard test suite.
  • Cargo.toml: Added tempfile as a dev dependency.
# Run locally
cargo test --test sigma_rule_parsing -- --ignored --nocapture

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: thomaspatzke <1845601+thomaspatzke@users.noreply.github.com>
Copilot AI changed the title [WIP] Add test script to fetch and parse Sigma rules Add integration test for parsing SigmaHQ rule repository Feb 18, 2026
Copilot AI requested a review from thomaspatzke February 18, 2026 22:52
@thomaspatzke thomaspatzke marked this pull request as ready for review February 19, 2026 19:44
Co-authored-by: thomaspatzke <1845601+thomaspatzke@users.noreply.github.com>
Copilot AI changed the title Add integration test for parsing SigmaHQ rule repository Add SigmaHQ rule repository parsing integration test to CI Feb 19, 2026
@thomaspatzke thomaspatzke merged commit 1be57c9 into main Feb 19, 2026
2 checks passed
@thomaspatzke thomaspatzke deleted the copilot/add-test-script-for-sigma branch February 19, 2026 19:52
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.

2 participants