Code Monkey home page Code Monkey logo

bd_api_utilities's Introduction

Black Duck API utilities

Various API scripts for Black Duck - for use alongside the hub_rest_api_python API wrapper package provided by Black Duck.

PREREQUISITES

Scripts have the following requirements:

  1. Python 3 must be installed.

  2. Install the following packages in the virtualenv:

    pip3 install blackduck
    
  3. An API key for the Black Duck server must be configured within the .restconfig.json file in the script invocation folder - see the CONFIG FILE section below.

CONFIG FILE

Configure the Black Duck connection within the .restconfig.json file in the script invocation folder - example contents:

{
  "baseurl": "https://myhub.blackducksoftware.com",
  "api_token": "YWZkOTE5NGYtNzUxYS00NDFmLWJjNzItYmYwY2VlNDIxYzUwOmE4NjNlNmEzLWRlNTItNGFiMC04YTYwLWRBBWQ2MDFXXjA0Mg==",
  "insecure": true,
  "debug": false
}

SCRIPTS IN THIS REPO

ignore_snippets.py - Batch process unconfirmed snippets to ignore those below specified criteria (See the README)

ignore_cves_with_bdsa_mismatch.py - Batch process CVEs to ignore those within a project version with an associated BDSA but which disagrees on the affected component version (ignoring potentially false positive CVEs due to poor version association) - (See the README)

bd_api_utilities's People

Contributors

matthewb66 avatar

Stargazers

 avatar Alex avatar

Watchers

James Cloos avatar Yash Bhutwala avatar  avatar

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.