Skip to content

feat: Sigma rules pt.3 - #197

Merged
MichaelThamm merged 14 commits into
feat/sigma-rules-2from
feat/sigma-rules-3
Jun 26, 2026
Merged

MichaelThamm merged 14 commits into
feat/sigma-rules-2from
feat/sigma-rules-3

Conversation

@MichaelThamm

@MichaelThamm MichaelThamm commented May 8, 2026

Copy link
Copy Markdown
Contributor

Issue

We need to test the feature for confidence that it works.

Solution

Add testing for Sigma rules using Pytest-bdd. With some reference Sigma rules, we have an idea of what the rules look like and can assert against them in the tests.

Builds on:

Checklist

  • I have added or updated relevant documentation.
  • PR title makes an appropriate release note and follows conventional commits syntax.
  • Merge target is the correct branch, and relevant tandem backport PRs opened.
  • This change warrants a release, so I have updated the project.version field in the pyproject.toml file.

Context

Testing Instructions

Upgrade Notes

Co-authored-by: Copilot <copilot@github.com>
@MichaelThamm
MichaelThamm changed the base branch from main to feat/sigma-rules-2 May 8, 2026 20:31
@niwamo niwamo mentioned this pull request Jun 18, 2026
4 tasks
Comment thread tests/test_rules_sigma.py
tags = sigma.rules[0]["tags"]
assert "juju_model_uuid.deadbeef" in tags
assert not any(
tag.startswith("juju_model_uuid.") and tag != "juju_model_uuid.deadbeef" for tag in tags

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

update name deadbeef

@MichaelThamm
MichaelThamm merged commit a662255 into feat/sigma-rules-2 Jun 26, 2026
@MichaelThamm
MichaelThamm deleted the feat/sigma-rules-3 branch June 26, 2026 15:09
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