ywh2bt - YesWeHack to Bug Tracker
Project description
ywh2bt
ywh2bt synchronizes your vulnerability reports from the Yes We Hack platform
with issues of your bug tracker(s). It automatically retrieves reports you want to copy in your bug tracker,
creates the related issue, and syncs further updates between issues and reports.
It comes with a handy GUI to set up and test the integration,
while completely controlling the information you allow to be synchronized from both side.
Table of contents
User Guide
A User Guide is available in PDF and HTML formats.
Architecture
YWH2BT embeds both the GUI to set up the integration,
and the application to be scheduled on your server to periodically poll and synchronize new reports.
You can either run both on a single machine, or prepare the configuration file
on a computer (with the GUI) and transfer it on the server and use it through a scheduled command.
Since data is pulled from YWH platform to your server, only regular outbound web connections need to be authorized on your server.
Requirements
python>=3.7,<=3.12pip
Supported trackers
- github
- gitlab
- jira / jiracloud
- servicenow
Changelog
- v2.13:
- fix GET YesWeHack API calls method have a body
- v2.12:
- added support for new triage workflow
- v2.11:
- added support for new impact and cve fields
- v2.10:
- added support for new ask for fix process
- added support for report transfer log
- v2.9:
- prevented issue synchronization to fail when tracker file upload is unsuccessful
- v2.8:
- improved Python versions support (>=3.7 to <=3.12)
- removed the GUI from the default installation (use
pip install 'ywh2bt[gui]'to include the GUI) - fixed an issue with github when the title of an issue is longer than 255 characters
- fixed an issue with jira image previews when multiple attached images have the same name
- fixed an issue when a report/comment has no attachments and the description contains an invalid URL
- v2.7:
- added synchronization of "fix verification" logs when "Upload status updates" is checked
- fixed an issue with jira when scope contains special markdown characters
- fixed an issue when "Download bug trackers comments" feedback option is activated and bug tracker attachments do not meet platform attachments requirements (unacceptable mime-type, maximum allowed size exceeded)
- fixed an issue with jira when the title of an issue is longer than 255 characters
- v2.6:
- added work around bug trackers maximum size allowed for the text of the issues/comments (content put in Markdown file attachment when necessary)
- v2.5:
- added Personal Access Token (PAT) authentication
- removed OAuth authentication
- v2.4:
- added option to prevent recreation of issues that were created by a previous synchronization but are not found into the bug tracker anymore
- v2.3:
- added support for ServiceNow
- v2.2:
- added GitLab option for confidential issues
- v2.1:
- added feedback feature (synchronize from bug tracker to report)
- added docker image yeswehack/ywh2bugtracker
- added User Guide PDF and HTML
- v0.* to v2.0.0:
- behavior changes:
- reports logs can selectively be synchronized with the trackers:
- public comments
- private comments
- report details changes
- report status changes
- rewards
- a program can now only be synchronized with 1 tracker
- reports logs can selectively be synchronized with the trackers:
- added support for JSON configuration files
- removed
ywh-bugtrackercommand (useywh2bt synchronize) - added
ywh2btcommand:- added
ywh2bt synchronize:- note:
ywh2bt synchronize --config-file FILE --config-format FORMATis the equivalent ofywh-bugtracker -n -f FILEin v0.*
- note:
- added
ywh2bt validate - added
ywh2bt test - added
ywh2bt convert - added
ywh2bt schema
- added
- removed command line interactive mode
- added GUI via
ywh2bt-guicommand
- behavior changes:
Local development
Requirements
poetry(pip install poetry)
Installation
make install(orpoetry install): creates a virtualenv and install dependenciesmake install-with-gui(orpoetry install --extras=gui): creates a virtualenv and install dependencies, including the gui
Usage
Instead of ywh2bt [command], run commands using poetry run ywh2bt [command].
Same goes for ywh2bt-gui, run poetry run ywh2bt-gui instead.
Updating User Guide
PDF and HTML versions of the User Guide are generated via Pandoc
using docs/User-Guide.md as an input file.
Any changes made to docs/User-Guide.md must be followed by the execution of the command
make user-guide in order to regenerate the PDF and HTML files, otherwise the CI will fail.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ywh2bt-2.13.0.tar.gz.
File metadata
- Download URL: ywh2bt-2.13.0.tar.gz
- Upload date:
- Size: 238.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.14 Linux/6.1.0-32-cloud-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22c10493f0c785d047475b64a1ca0fbffcb9043681d9baf3d38b39d50655a088
|
|
| MD5 |
1af528682b585455cb6337da3b41088a
|
|
| BLAKE2b-256 |
c699618e9b78fce310a91ca82cd77a3161e1c2a71152e7558aeb4a337bc9288c
|
File details
Details for the file ywh2bt-2.13.0-py3-none-any.whl.
File metadata
- Download URL: ywh2bt-2.13.0-py3-none-any.whl
- Upload date:
- Size: 299.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.14 Linux/6.1.0-32-cloud-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1719513d80242bce8582684ed70f2522db6ed53530404d17662f11479846e619
|
|
| MD5 |
8930e3878efd07c6359ad637e5e551cb
|
|
| BLAKE2b-256 |
7ee91a09ee54f49b75697cba63d20f1a2d65b06a3c2ad1e09043f0af94a79689
|