Get a list of the top-10 rejected libraries in your WhiteSource inventory

Overview

Logo
License CI Python 3.6 GitHub release
PyPI

WhiteSource Top 10 Rejected Libraries

Generate a spreadsheet listing the 10 most common libraries in your WhiteSource inventory that were rejected by policies.

Supported Operating Systems

  • Linux (Bash): CentOS, Debian, Ubuntu, RedHat
  • Windows (PowerShell): 10, 2012, 2016

Prerequisites

Python 3.6+

Installation

  1. Clone the ws-top10-rejected-libs repository to your environment:
    git clone https://github.com/whitesource-ft/ws-top10-rejected-libs.git
  2. Navigate into the created directory and install the required dependencies:
    cd ./ws-top10-rejected-libs
    pip install -r requirements.txt
  3. Navigate into the main application directory:
    cd ./ws_top10_rejected_libs
  4. Execute the application following the instructions below.
    The first execution will require a one time configuration, prompting for the following parameters, which will be saved into an automatically-generated local top10_rejected.py.config file:
    • Organization Name - your WhiteSource organization name
    • API Key - your WhiteSource API Key (organization token)
    • User Key - a WhiteSource User Key with admin permissions (this could be either an individual user or a service user)
    • Domain - the domain prefix of your WhiteSource Server Url (e.g. saas, saas-eu, app, app-eu)
    • Company Name - the display name to be used for the generated spreadsheet (defaults to the organization name, if not provided)
    • Default Period - the default period in months to generate the spreadsheet for (defaults to 3)
    • Use Header Image - whether the spreadsheet should include a header image
    • Start Date - start date for the reported period in yyyy-MM-dd format (this parameter is not part of the one time configuration, it's part of the execution itself, and will only be prompted if not provided as a command-line argument as detailed below)

Execution

Show help and usage menu:
python top10_rejected.py --help

Interactive execution (mandatory parameters will be prompted for input):
python top10_rejected.py

Unattended execution (specifying command-line arguments):
python top10_rejected.py --argument "value"
python top10_rejected.py -arg "value"

Example:
python top10_rejected.py --start "2021-02-27"

Command-Line Arguments

The following command line arguments can be specified to override configuration set by the local top10_rejected.py.config file.
The parameters marked as Required are typically saved to the config file during the first execution and thus are not required for every execution, unless the config file is not present.

Parameter Type Required Description
‑h, ‑‑help switch No Show help and usage menu
‑s, ‑‑start string Yes Start date in format yyyy-MM-dd. Default: config file option DefaultPeriodMonths.
‑e, ‑‑end string No End date in format yyyy-MM-dd. Default: current date.
‑o, ‑‑organization string Yes WhiteSource Organization Name
‑c, ‑‑company string No Company name. If not provided, WhiteSource Organization name will be used.
‑d, ‑‑domain string Yes WhiteSource server domain prefix: https://DOMAIN.whitesourcesoftware.com (e.g: saas).
‑apiKey string Yes WhiteSource API Key (Organization Token).
‑userKey string Yes A WhiteSource User Key with admin permissions (this could be either an individual user or a service user).
Owner
WhiteSource-PS-tools
WhiteSource-PS-tools
Just imagine normal bancho, but you can have multiple profiles and funorange speed up maps ranked

Local osu! server Just imagine normal bancho, but you can have multiple profiles and funorange speed up maps ranked (coming soon)! Windows Setup Insta

Cover 25 Nov 15, 2022
Yet another basic python package.

ironmelts A basic python package. Easy to use. Minimum requirements. Installing Linux python3 -m pip install -U ironmelts macOS python3 -m pip install

IRONMELTS 1 Oct 26, 2021
Writeup and scripts for the 2021 malwarebytes crackme

Malwarebytes Crackme 2021 Tools and environment setup We will be doing this analysis in a Windows 10 VM with the flare-vm tools installed. Most of the

Jerome Leow 9 Dec 02, 2022
News-app - This is a news web app for reading news from different sources and topics

News-app - This is a news web app for reading news from different sources and topics

1 Feb 02, 2022
Adam with minor modifications which give significant improvement

BAdam Modification of Adam [1] optimizer with increased stability and better performance. Tricks used: Decoupled weight decay as in AdamW [2]. Such de

19 May 11, 2022
Winxp_python3.6.15 - Python 3.6.15 For Windows XP SP3

This is Python version 3.6.15 Copyright (c) 2001-2021 Python Software Foundation. All rights reserved. See the end of this file for further copyright

Alex Free 13 Sep 11, 2022
Slimbook Battery 4 is the new version with new features that improves battery control and increases battery duration in laptops.

Slimbookbattery Slimbook Battery 4 is the new version with new features that improves battery control and increases battery duration in laptops. This

SLIMBOOK TEAM 128 Dec 28, 2022
Yandex Media Browser

Браузер медиа для плагина Yandex Station Включайте музыку, плейлисты и радио на Яндекс.Станции из Home Assistant! Скриншот Корневой раздел: Библиотека

Alexander Ryazanov 35 Dec 19, 2022
This is a Docker-based pipeline for preparing sextractor-ready multiwavelength images

Pipeline for creating NB422-detected (ODI) catalog The repository contains a Docker-based pipeline for preprocessing observational data. The pipeline

1 Sep 01, 2022
YBlade - Import QBlade blades into Fusion 360

YBlade - Import QBlade blades into Fusion 360 Simple script for Fusion 360 that takes QBlade blade description and constructs the blade: Usage First,

Jan Mrázek 37 Sep 25, 2022
A demo Piccolo app - a movie database!

PyMDb Welcome to the Python Movie Database! Built using Piccolo, Piccolo Admin, and FastAPI. Created for a presentation given at PyData Global 2021. R

11 Oct 16, 2022
The worst and slowest programming language you have ever seen

VenumLang this is a complete joke EXAMPLE: fizzbuzz in venumlang x = 0

Venum 7 Mar 12, 2022
Bring A Trailer(BAT) is a popular online auction website for enthusiast cars. This traverse auction results and saves them as CSV

BaT Data Grabber Bring A Trailer(BAT) is a popular online auction website for enthusiast cars. This traverse auction results and saves them as CSV Bri

Elliot Weil 2 Oct 31, 2021
Python code for YouTube videos.

#This is a open source project. Python 3 These files are mainly intended to accompany my series of YouTube tutorial videos here, https://www.youtube.c

Joe James 1.3k Dec 26, 2022
Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Ronin - Create Fud Meterpreter Payload To Hack Windows 11

Dj4w3d H4mm4di 6 May 09, 2022
Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]

ormsgpack ormsgpack is a fast msgpack library for Python. It is a fork/reboot of orjson It serializes faster than msgpack-python and deserializes a bi

Aviram Hassan 139 Dec 30, 2022
A simple but flexible plugin system for Python.

PluginBase PluginBase is a module for Python that enables the development of flexible plugin systems in Python. Step 1: from pluginbase import PluginB

Armin Ronacher 1k Dec 16, 2022
Tools to convert SQLAlchemy models to Pydantic models

Pydantic-SQLAlchemy Tools to generate Pydantic models from SQLAlchemy models. Still experimental. How to use Quick example: from typing import List f

Sebastián Ramírez 893 Dec 29, 2022
FantasyBballHelper - Espn Fantasy Basketball Helper

ESPN FANTASY BASKETBALL HELPER The simple goal of this project is to allow fanta

1 Jan 18, 2022
UniPD exam dates finder

UniPD exam dates finder Find dates for exams at UniPD Usage ./finder.py courses.csv It's suggested to save output to a file: ./finder.py courses.csv

Davide Peressoni 1 Jan 25, 2022