1. 更新流水线配置

This commit is contained in:
黄昕 2024-03-21 17:03:04 +08:00
parent 97a1219b1d
commit 89e6e7309c
1 changed files with 3 additions and 4 deletions

View File

@ -13,11 +13,10 @@ security-scan:
- linux-maven
script:
- echo "=============== 开始安全扫描任务 ==============="
- $OPENSCA_CLI -path $CI_PROJECT_DIR -token $OPENSCA_TOKEN -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
artifacts:
reports:
dast:
- results/result.html
paths:
- results/
untracked: false
when: on_success
expire_in: 30 days