forked from IGDEXE/NodeGoat-JS
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (41 loc) · 1.17 KB
/
veracode-basic.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
42
43
name: Veracode_Basic
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Empacotamento dos arquivos
uses: thedoctor0/zip-release@master
with:
filename: 'veracode.zip'
path: .
- name: Publicando Artefato
uses: actions/upload-artifact@v2
with:
name: pacoteVeracode
path: veracode.zip
Veracode_UploadAndScan:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download Artefato
uses: actions/download-artifact@v2
with:
name: pacoteVeracode
- uses: veracode/veracode-uploadandscan-action@master # Faz a analise da Veracode
env:
VeracodeID: ${{ secrets.VeracodeID }} # Lembrar de criar as credenciais no Secrets
VeracodeKey: ${{ secrets.VeracodeKey }}
AppName: ${{ github.repository }}
with:
vid: '$VeracodeID'
vkey: '$VeracodeKey'
criticality: 'VeryHigh'
appname: '$AppName'
createprofile: true
filepath: 'veracode.zip'
version: ${{ github.run_id }}