besecure-developer-toolkit-0.0.4
توضیحات
cli tool for generating metadata and assessment report for [BeSLighthouse](https://github.com/Be-Secure/BeSLighthouse).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | besecure-developer-toolkit-0.0.4 |
| نام | besecure-developer-toolkit |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | asa1997 |
| ایمیل نویسنده | arunsureshampadath@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/besecure-developer-toolkit/ |
| مجوز | - |
# Be-Secure Developer Toolkit (bes-dev-kit)
bes-dev-kit is a cli tool for generating metadata and assessment report for [BeSLighthouse](https://github.com/Be-Secure/BeSLighthouse).
# Pre-requisites
1. Python 3.10
2. pip
3. Github personal access token
# Installation
`$ python3 -m pip install besecure-developer-toolkit`
# Setting up locally
1. Install [poetry](https://python-poetry.org/). Use the [link](https://python-poetry.org/docs/) to install Poetry.
2. Clone the repo.
3. Move into the cloned directory.
4. Run the command - `$ poetry add "typer[all]"`
5. Create a new virtual env using Poetry - `$ poetry shell`
6. Run the command to install the tool- `$ poetry install`
7. Check installation - `$ bes-dev-kit --help`
# Usage
### 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.
### Generate Reports
`$ bes-dev-kit generate report <report name>`
`<report name> - scorecard, codeql, criticality_score`
For more options use `--help` at end.
`Note: All three reports can be generated at once by passing all report names - $ bes-dev-kit generate report scorecard criticality_score codeql`
نیازمندی
| مقدار | نام |
|---|---|
| >=0.7.0,<0.8.0 | typer[all] |
| >=7.3.0,<8.0.0 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl besecure-developer-toolkit-0.0.4:
pip install besecure-developer-toolkit-0.0.4.whl
نصب پکیج tar.gz besecure-developer-toolkit-0.0.4:
pip install besecure-developer-toolkit-0.0.4.tar.gz