Skip to content

Maps Assess Vulnerabilities to Protect Rules and Generates Corresponding CSV Files

Notifications You must be signed in to change notification settings

jharper-sec/contrast_assess_to_protect_mapping

Repository files navigation

Introduction

Maps Assess Vulnerabilities to Protect Rules and Generates Corresponding CSV Files

Prerequisites

  • Python 3.x

Quick Start

  1. Install Dependencies
pip3 install -r requirements.txt
  1. Configure Credentials Edit the contrast_security.yaml file, replacing the below values with your credentials from: Contrast UI -> User Settings -> YOUR KEYS
api:
  url: CONTRAST_URL
  api_key: CONTRAST_API_KEY
  service_key: CONTRAST_SERVICE_KEY
  user_name: CONTRAST_USER_NAME
  organization_id: CONTRAST_ORGANIZATION_ID
  1. Run Enter the following command to run
python3 main.py
  1. Two CSV files will be generated
  • protect_vulnerability_mapping.csv
  • protection_statuses.csv

Troubleshooting

Logging is not very robust yet, but there should be some information within the contrast.log file if you run into issues.

About

Maps Assess Vulnerabilities to Protect Rules and Generates Corresponding CSV Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages