ci: edit sast config

This commit is contained in:
naskya 2024-05-11 08:50:13 +09:00
parent 96cbc6799c
commit 6f6333f094
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
2 changed files with 2 additions and 25 deletions

View File

@ -239,6 +239,8 @@ sast:
stage: scan
services: []
before_script: []
variables:
SAST_EXCLUDED_PATHS: .git,.config,.gitlab,.vscode,ci,custom,dev,docs,locales,node_modules,target
container_scanning:
stage: scan

View File

@ -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
'''