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

Missing @pmf short alias for @pmFromFile #1283

Open
M4tteoP opened this issue Jan 9, 2025 · 1 comment
Open

Missing @pmf short alias for @pmFromFile #1283

M4tteoP opened this issue Jan 9, 2025 · 1 comment
Labels
good first issue Good for newcomers

Comments

@M4tteoP
Copy link
Member

M4tteoP commented Jan 9, 2025

Initially reported by @prologic, via #1269.
@pmf short alias for @pmFromFile is described in our docs https://coraza.io/docs/seclang/operators/#pmf, but it is actually not implemented.

It is probably enough to add a Register( in pm_from_file.go with the alias, and relative tests.

@M4tteoP M4tteoP added the good first issue Good for newcomers label Jan 9, 2025
@jptosso
Copy link
Member

jptosso commented Jan 10, 2025

It would be nice to add a test for all aliases together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants