mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(ci): fix semgrep rules
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
This commit is contained in:
parent
9846eeb1a4
commit
4ce6e44a58
@ -9,6 +9,8 @@ rules:
|
||||
patterns:
|
||||
- pattern-regex: '(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)'
|
||||
- pattern-not-regex: '10\.\d+\.\d+.\d+'
|
||||
- pattern-not-regex: '172\.\d+\.\d+.\d+'
|
||||
- pattern-not-regex: '169\.\d+\.\d+.\d+'
|
||||
- pattern-not-regex: '192\.168\.\d+.\d+'
|
||||
- pattern-not-regex: '127\.0\.0\.\d+'
|
||||
- pattern-not-regex: '0\.0\.0\.\d+'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user