Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement rule loading mechanics #751

Open
ekneg54 opened this issue Jan 31, 2025 · 0 comments
Open

Reimplement rule loading mechanics #751

ekneg54 opened this issue Jan 31, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request refactoring only refactoring, no change in behavior

Comments

@ekneg54
Copy link
Collaborator

ekneg54 commented Jan 31, 2025

Currently the mechanics to load rules are implemented here in the processor abc class: https://github.com/fkie-cad/Logprep/blob/main/logprep/abc/processor.py#L246

This Code Fragment should be extracted and rewritten to reuse it in the auto-rule-tester and to mitigate the issue #749 .

Perhaps we could rewrite it as isolated class RuleLoader which is able to load rules from a given directory recursively or from a single file or from a given dict.

@ekneg54 ekneg54 added enhancement New feature or request refactoring only refactoring, no change in behavior labels Jan 31, 2025
@ekneg54 ekneg54 self-assigned this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring only refactoring, no change in behavior
Projects
None yet
Development

No branches or pull requests

1 participant