Skip to content

Commit

Permalink
Merge pull request #10 from veracode/addnightlyscanning
Browse files Browse the repository at this point in the history
add new yml for nightly scanning
  • Loading branch information
julz0815 authored Aug 7, 2023
2 parents fdcd2a8 + e88f3e3 commit 7bbcef3
Show file tree
Hide file tree
Showing 6 changed files with 785 additions and 117 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/feature-branch-scan.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/main.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/nigthlySecurityScan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Veracode Security Scan

on:
pull_request:
branches:
- master
schedule:
- cron: 0 4 * * *
workflow_dispatch:

jobs:
veracode-sca-task:
runs-on: ubuntu-latest
name: Veracode SCA scan

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run Veracode SCA
env:
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
uses: veracode/[email protected]

veracode-sast-task:
runs-on: ubuntu-latest
name: Veracode SAST policy scan

steps:
- name: Checkout
uses: actions/checkout@v3
- name: create new package-lock.json
run: npm install
- name: ZIP source folder
run: zip -r app.zip src package-lock.json
- name: Run Veracode Policy scan
uses: veracode/[email protected]
with:
appname: 'GitHub Pipeline Scan Action'
createprofile: false
filepath: 'app.zip'
scantimeout: 30
vid: '${{ secrets.API_ID }}'
vkey: '${{ secrets.API_KEY }}'




Loading

0 comments on commit 7bbcef3

Please sign in to comment.