Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
nasbench committed Aug 11, 2024
1 parent c6033cd commit 32c8a95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sigma/validators/sigmahq/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class SigmahqUnsupportedRegexGroupConstructIssue(SigmaValidationIssue):
unsupported_regexp: str


class SigmahqUnsupportedRegexValidator(SigmaDetectionItemValidator):
class SigmahqUnsupportedRegexGroupConstructValidator(SigmaDetectionItemValidator):
"""Checks if a rule uses a an unsupported regular expression group constructs."""

def validate_detection_item(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_validator_SigmahqUnsupportedRegexGroupConstruct_valid():
category: process_creation
detection:
sel:
field|re: "a\w+b"
field|re: 'a\w+b'
condition: sel
"""
)
Expand Down

0 comments on commit 32c8a95

Please sign in to comment.