forked from felixmosh/bull-board
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.05 KB
/
security.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: security-check
on:
push:
branches:
- master
- sicurezza
jobs:
veracode:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Veracode Agent Based Scan
env:
SRCCLR_API_TOKEN: ${{ secrets.AS__VERACODE_AGENT_TOKEN }}
uses: veracode/veracode-sca@v2.1.12
with:
debug: true
- name: Veracode (create zip)
run: zip -r src.zip . -x ".git/*" ".github/*" ".env*"
- name: Veracode Upload and Scan
uses: veracode/veracode-uploadandscan-action@0.2.7
with:
appname: '${{ github.repository }}'
version: '${{ github.head_ref || github.ref_name }} - ${{ github.sha }}'
filepath: './src.zip'
vid: '${{ secrets.AS__VERACODE_API_ID }}'
vkey: '${{ secrets.AS__VERACODE_API_KEY }}'
scanallnonfataltoplevelmodules: true