diff --git a/tests/files/valid/sigma_rule.yml b/tests/files/valid/sigma_rule.yml index 85f937e..40df27b 100644 --- a/tests/files/valid/sigma_rule.yml +++ b/tests/files/valid/sigma_rule.yml @@ -1,5 +1,6 @@ title: Test rule id: 5013332f-8a70-4e04-bcc1-06a98a2cca2e +status: stable level: high logsource: category: process_creation diff --git a/tests/test_check.py b/tests/test_check.py index f3e0d3f..02a091e 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -42,7 +42,7 @@ def test_check_with_issues(): cli = CliRunner() result = cli.invoke(check, ["tests/files/issues"]) assert result.exit_code == 0 - assert "4 issues" in result.stdout + assert "11 issues" in result.stdout def test_check_with_issues_exclusions(): @@ -56,7 +56,7 @@ def test_check_with_issues_exclusions(): ], ) assert result.exit_code == 0 - assert "2 issues" in result.stdout + assert "9 issues" in result.stdout def test_check_fail_on_issues():