ci: edit sast config
This commit is contained in:
parent
96cbc6799c
commit
6f6333f094
2 changed files with 2 additions and 25 deletions
|
@ -239,6 +239,8 @@ sast:
|
||||||
stage: scan
|
stage: scan
|
||||||
services: []
|
services: []
|
||||||
before_script: []
|
before_script: []
|
||||||
|
variables:
|
||||||
|
SAST_EXCLUDED_PATHS: .git,.config,.gitlab,.vscode,ci,custom,dev,docs,locales,node_modules,target
|
||||||
|
|
||||||
container_scanning:
|
container_scanning:
|
||||||
stage: scan
|
stage: scan
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
[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