Giter VIP home page Giter VIP logo

veracode-archer's Introduction

Veracode Archer Data Script

Uses the Veracode Archer API to to export data from the Veracode Platform for import into RSA Archer. See the RSA Community for details on configuring RSA Archer to import the resulting output from this file.

Setup

Clone this repository:

git clone https://github.com/tjarrettveracode/veracode-archer

Install dependencies:

cd veracode-archer
pip install -r requirements.txt

(Optional) Save Veracode API credentials in ~/.veracode/credentials

[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>

Run

If you have saved credentials as above you can run:

python vcarcher.py (arguments)

Otherwise you will need to set environment variables before running vcarcher.py:

export VERACODE_API_KEY_ID=<YOUR_API_KEY_ID>
export VERACODE_API_KEY_SECRET=<YOUR_API_KEY_SECRET>
python vcarcher.py (arguments)

Arguments supported include:

  • --interval, -i : Interval over which to import data. Options: last-day, last-week, last-month, all-time, range (default: last-day).
  • --from-date, -f : Optional, required if range is specified for -i. The date on which to begin the import range (in mm-dd-yyyy format).
  • --to-date, -t : Optional, required if range is specified for -i. The date on which to end the import range (in mm-dd-yyyy format).
  • --scan-type, -s : Optional. The scan type to import. Options: static, dynamic, manual.

Output

The script outputs an XML file that validates to the Veracode archerreport.xsd schema.

Notes

  1. To be able to use the Archer API, you must have an API service account with the Archer Report API role, as described in the Veracode Help Center
  2. Generation of the output file in the Veracode Platform may take some time. The script will run until the file is received.
  3. The longer the period (and the more applications included), the longer it takes to generate the Archer Report on the Veracode side. If your report generation takes a very long time, try shortening the period or focusing only on certain scan types.

veracode-archer's People

Contributors

tjarrettveracode avatar

Watchers

 avatar  avatar  avatar

Forkers

veracode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.