ci: add sast-ruleset.toml
This commit is contained in:
parent
f9e2bd2448
commit
d4f1e06535
1 changed files with 25 additions and 0 deletions
25
.gitlab/sast-ruleset.toml
Normal file
25
.gitlab/sast-ruleset.toml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
[nodejs-scan]
|
||||||
|
description = "Custom njsscan ruleset"
|
||||||
|
|
||||||
|
[[nodejs-scan.passthrough]]
|
||||||
|
type = "raw"
|
||||||
|
value = '''
|
||||||
|
---
|
||||||
|
- nodejs-extensions:
|
||||||
|
- .js
|
||||||
|
- .mjs
|
||||||
|
- .cjs
|
||||||
|
|
||||||
|
ignore-paths:
|
||||||
|
- .git
|
||||||
|
- .config
|
||||||
|
- .gitlab
|
||||||
|
- .vscode
|
||||||
|
- ci
|
||||||
|
- custom
|
||||||
|
- dev
|
||||||
|
- docs
|
||||||
|
- locales
|
||||||
|
- node_modules
|
||||||
|
- target
|
||||||
|
'''
|
Loading…
Reference in a new issue