Skip to main content

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.

Screenshot of GUI with loaded example file

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.8,<=3.13
  • pip

Supported trackers

  • github
  • gitlab
  • jira / jiracloud
  • servicenow

Changelog

  • v2.15:
    • automatic management of program slugs
    • link to reports from the same program
    • display warning message for KEY trackers
    • fix Gitlab version parsing error
  • v2.14:
    • fix report and comment images not displayed correctly in tracked issue on git.clacos.ninja
  • 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.8 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:
  • 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
    • added support for JSON configuration files
    • removed ywh-bugtracker command (use ywh2bt synchronize)
    • added ywh2bt command:
      • added ywh2bt synchronize:
        • note: ywh2bt synchronize --config-file FILE --config-format FORMAT is the equivalent of ywh-bugtracker -n -f FILE in v0.*
      • added ywh2bt validate
      • added ywh2bt test
      • added ywh2bt convert
      • added ywh2bt schema
    • removed command line interactive mode
    • added GUI via ywh2bt-gui command

Local development

Requirements

Installation

  • make install (or poetry install): creates a virtualenv and install dependencies
  • make install-with-gui (or poetry 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ywh2bt-2.15.0.tar.gz (237.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ywh2bt-2.15.0-py3-none-any.whl (302.6 kB view details)

Uploaded Python 3

File details

Details for the file ywh2bt-2.15.0.tar.gz.

File metadata

  • Download URL: ywh2bt-2.15.0.tar.gz
  • Upload date:
  • Size: 237.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.15 Linux/6.1.0-43-cloud-amd64

File hashes

Hashes for ywh2bt-2.15.0.tar.gz
Algorithm Hash digest
SHA256 cccdd9e210579f52b519e243de89b559471d4f8ec7d436e64b5665c2f932e484
MD5 5f74c91ed0a9377fd37ce9dc0a9cf593
BLAKE2b-256 4a182fddc81a5bf71ceeea50eab0881dd4588e8bc4d1bea2c2e8cb6b1f76b348

See more details on using hashes here.

File details

Details for the file ywh2bt-2.15.0-py3-none-any.whl.

File metadata

  • Download URL: ywh2bt-2.15.0-py3-none-any.whl
  • Upload date:
  • Size: 302.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.15 Linux/6.1.0-43-cloud-amd64

File hashes

Hashes for ywh2bt-2.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36cbb126cb3319404b54e679122dbc9091395fa6b96acd3e7528f7fa521bd24a
MD5 9100cb20f92e03ffc7dce741619c827a
BLAKE2b-256 0e94fbe538143af98819506d56eb4aa3cedf395a9d32bfcd58311be17abfb6fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page