1. 更新安全扫描执行条件

This commit is contained in:
黄昕 2024-04-09 15:38:29 +08:00
parent 60b69e4e23
commit f9c8d505b4
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ security-scan:
stage: scan stage: scan
tags: tags:
- linux-maven - linux-maven
only:
- master
script: script:
- echo "=============== 开始安全扫描任务 ===============" - echo "=============== 开始安全扫描任务 ==============="
- $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -proj "" -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json - $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -proj "" -out $CI_PROJECT_DIR/results/result.html,$CI_PROJECT_DIR/results/result.dsdx.json