Skip to content

veracode/veracode-dast-essentials-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veracode DAST Essentials Action

A Github Action for running a Veracode scan to perform Dynamic Application Security Testing (DAST).

The Veracode DAST Essentials will run a security scan against the scan target that belongs to the given webhook. You can optionally wait for the security scan to finish and download the report as JUnit XML file for further processing or simply start the security scan.

WARNING This action will perform attacks on the scan target. You must only run this security scan on targets where you have the permission to run such an attack.

Inputs

VERACODE_WEBHOOK

Required Webhook Secret of the Veracode DAST Essentials Scan Target.

VERACODE_SECRET_ID

Required Veracode API Secret ID.

VERACODE_SECRET_ID_KEY

Required Region.

REGION

The region of Veracode DAST Essentials.

  • eu - for domain veracode.eu
  • us - for domain veracode.com

Required Veracode API Secret ID.

pull-report

Flag whether the report should be downloaded as JUnit XML file. Default "false".

Example usage

    - name: Veracode DAST Essentials Action Step
      id: veracode
      uses: veracode/[email protected]
      with:
        VERACODE_WEBHOOK: '${{ secrets.VERACODE_WEBHOOK }}'
        VERACODE_SECRET_ID: '${{ secrets.VERACODE_SECRET_ID }}'
        VERACODE_SECRET_ID_KEY: '${{ secrets.VERACODE_SECRET_ID_KEY }}'
        REGION: '${{ secrets.REGION }}'
        pull-report: 'true'

Display Results

In order to display the test results as annotations, use any action that parses the JUnit XML file. You may use e.g. https://github.com/marketplace/actions/junit-report.

- name: Publish Test Report
  uses: mikepenz/action-junit-report@v1
  with:
    report_paths: 'report.xml'
    github_token: ${{ secrets.GITHUB_TOKEN }}