Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

HackerOne

Create Vuln from HackerOne Report

The purpose of this example is to create a new vulnerability immediately when a new report is submitted on HackerOne.

This example Flow can be downloaded from our Flows GitHub Repository and imported into your AttackForge.

Initial Set Up

Action 1 - Get HackerOne Report

  • Method: GET

  • URL: https://api.hackerone.com/v1/reports/{id}

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json

    • Key = Authorization; Type = Secret; Value = hackerone_api_key

  • Request Script:

  • Response Script:

Action 2 - Get CWE Details

  • Method: GET

  • URL: https://cwe-api.mitre.org/api/v1/cwe/weakness/{id}

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json

  • Request Script:

  • Response Script:

Action 3 - Create Vulnerability

  • Method: POST

  • URL: https://acme.attackforge.com/api/ss/vulnerability

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json

    • Key = X-SSAPI-KEY; Type = Secret; Value = x_user_key

  • Request Script:

  • Response Script:

Last updated