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

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:
  • 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.13.0.tar.gz (238.0 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.13.0-py3-none-any.whl (299.3 kB view details)

Uploaded Python 3

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

Hashes for ywh2bt-2.13.0.tar.gz
Algorithm Hash digest
SHA256 22c10493f0c785d047475b64a1ca0fbffcb9043681d9baf3d38b39d50655a088
MD5 1af528682b585455cb6337da3b41088a
BLAKE2b-256 c699618e9b78fce310a91ca82cd77a3161e1c2a71152e7558aeb4a337bc9288c

See more details on using hashes here.

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

Hashes for ywh2bt-2.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1719513d80242bce8582684ed70f2522db6ed53530404d17662f11479846e619
MD5 8930e3878efd07c6359ad637e5e551cb
BLAKE2b-256 7ee91a09ee54f49b75697cba63d20f1a2d65b06a3c2ad1e09043f0af94a79689

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