CLI tool for source code analysis using the Hackbot service
Project description
Hackbot
CLI tool for source code analysis using the GatlingX Hackbot service.
Installation
pip install hackbot
Performing a scan
Execute the following command to perform a scan.
Visit your dashboard at hackbot.co to retrieve your API key.
Either set the API key as an environment variable HACKBOT_API_KEY
or pass it as an argument to the command line tool.
cd your-project-directory
python -m hackbot run --api-key <api-key>
You will then see various messages and results in the terminal. If --output
is provided, the complete output will also be written to a JSON file.
At the end of the scan, you will get a link to the dashboard where you can view the results.
CLI options
See python -m hackbot --help
for more information
Generating issues
This module can generate issues in a GitHub repository. To do this, you will need to provide a GitHub API key with write issue access to the repository you want to report the issues to (--issues_repo
). The scan will generate an issue with the title HB-<number>
, where <number>
is automatically generated, and will add the discovered bugs as comments to this issue.
python -m hackbot run --api-key <api-key> --issues_repo <owner>/<repo> --github_api_key <github-api-key>
Project details
Release history Release notifications | RSS feed
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 hackbot-0.1.15.16.tar.gz
.
File metadata
- Download URL: hackbot-0.1.15.16.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b111f3c5f84904ffaa4ff68ac2627541458c2efbf21638b1efcb110bd3d6e262 |
|
MD5 | 7d5c721877454ab5b9c3a42664aab994 |
|
BLAKE2b-256 | 594737d14d72365a859e4d40d983535417002470a37782bcf88dc938ea0d4e3f |
File details
Details for the file hackbot-0.1.15.16-py3-none-any.whl
.
File metadata
- Download URL: hackbot-0.1.15.16-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6febd28c30dcf62b295ec57bfc74886ce5a0236692d1c3ed4290baf34879aeaf |
|
MD5 | 7fbd869e4c6305f06e02e359f89ba552 |
|
BLAKE2b-256 | e05cd0f490065b618c02e9592c6fbf527f20feefb56cebba84e3bf5a97f6770a |