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

Policy Rule Application Refactor #154

Closed
zimventures opened this issue Aug 15, 2023 · 1 comment
Closed

Policy Rule Application Refactor #154

zimventures opened this issue Aug 15, 2023 · 1 comment

Comments

@zimventures
Copy link
Contributor

The existing Policy and PolicyVersion models will not be modified. What's changing here are the Rule's that belong to a policy. A new BaseRule class will contain the name, severity and policy fields.

A new RegexRule model will be created to move regular expression specific values out of the existing Rule model. It will contain query_string, query_embedding, and regex_test fields.

Additional rule types will be crafted to support the new LLM Scanning and DDOS Vulnerability functionality.

@alex-nork
Copy link
Contributor

Closed by #169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants