Closed minusworld closed 3 years ago
Rule Description
Nginx config rules such as:
Examples or references
PR Checklist
If the rule is my-rule, the test file name should be my-rule.js. True positives are marked by comments with ruleid: <my-rule> and true negatives are marked by comments with ok: <my-rule>.
If the rule is my-rule, the test file name should be my-rule.js.
my-rule
my-rule.js
True positives are marked by comments with ruleid: <my-rule> and true negatives are marked by comments with ok: <my-rule>.
ruleid: <my-rule>
ok: <my-rule>
A description of the pattern (e.g., missing parameter, dangerous flag, out-of-order function calls). A description of why this pattern was detected (e.g., logic bug, introduces a security vulnerability, bad practice). An alternative that resolves the issue (e.g., use another function, validate data first, discard the dangerous flag).
Should also evaluate various existing tools, like https://github.com/yandex/gixy.
https://semgrep.dev/p/nginx
Rule Description
Nginx config rules such as:
Examples or references
PR Checklist