cli tool for generating metadata and assessment report for [BeSLighthouse](https://github.com/Be-Secure/BeSLighthouse).
Project description
BeS-dev-kit
BeS-dev-kit is a cli tool for generating metadata and assessment report for BeSLighthouse.
Pre-requisites
- Python 3.10
- pip
- Github personal access token
Installation
$ python3 -m pip install besecure-developer-toolkit
Usage
If you are running the command for the first time, you will be prompted to provide the complete path to your besecure-osspoi-datastore
and besecure-assessment-datastore
and your personal access token
Generate Metadata
Command helps to generate metadata such as OSSP-master file data and version details file.
$ bes-dev-kit generate-metadata
For more options use --help
at end.
Note: For the first time use this command will ask for three extra inputs - ASSETS_DIR
: path of besecure-osspoi-datastore in local system, ASSESSMENT_DIR
: path of besecure-assessment-datastore, GITHUB_AUTH_TOKEN
Generate Reports
$ bes-dev-kit generate-report
- generate all reports (scorecard, sciticality_score, codeql, sbom)
$ bes-dev-kit generate-report < report name > ... < report name >
- generate specific report
<report name> - scorecard, codeql, criticality_score
For more options use --help
at end.
Note: If an older version of criticality_score is already installed in the system (< v2.0.0), Please uninstall it using pip uninstall criticality-score
.
Download Risk Summary
Command helps to download risk-summary of Be-Secure listed open source projects in PDF format.
$ bes-dev-kit risk-summary
For more options use --help
at end.
Validate Version Details file
$ bes-dev-kit validate-version-file
Command helps to check version details file naming convention.
For more details use --help
at end.
Validate Report files
Command helps to check report files naming convention / if report file available.
$ bes-dev-kit validate-report-file <report name> ... <report name>
Note: Provide listed parameters only. scorecard, codeql, criticality_score, sonarqube, sbom, fossology
Use bellow command to check all reports at a time.
$ bes-dev-kit validate-report-file
For more details use --help
at end.
Setting up locally
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file besecure_developer_toolkit-0.0.8.tar.gz
.
File metadata
- Download URL: besecure_developer_toolkit-0.0.8.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b6e8ba0284911b8279bece7912bc2dc800e94303b6d0c9301e3c482906f8945 |
|
MD5 | e4a0c1a0d4fe2b36948e75a568a1b2f8 |
|
BLAKE2b-256 | 2ef9efdb4a86da20b3c3f1653ac73b91fbf7e9c08fe84a169c0f13b7e011fa44 |
File details
Details for the file besecure_developer_toolkit-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: besecure_developer_toolkit-0.0.8-py3-none-any.whl
- Upload date:
- Size: 31.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b018f72d69ebc48c305e03c60f9ae586a27a939728f91b3e5f68ae8bab16b33a |
|
MD5 | d4d079395a8e29310740682ab4a6eb92 |
|
BLAKE2b-256 | e7dbecb05e5b2c1cae4d11d8c5dddc35118b9725c07546fa8aef931aa9464e05 |