Skip to content
veracode

GitHub Action

Veracode DAST Essentials Action

v1.0.1 Latest version

Veracode DAST Essentials Action

veracode

Veracode DAST Essentials Action

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

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Veracode DAST Essentials Action

uses: veracode/veracode-dast-essentials-action@v1.0.1

Learn more about this action in veracode/veracode-dast-essentials-action

Choose a version

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/veracode-dast-essentials-action@v1.0.1
      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 }}