Skip to main content
POST
Connect a Bugcrowd account

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
identifier
string
required
Required string length: 1 - 256
programs
string[]
required

Codes of the programs to synchronize (from POST /api/v1/triage/bugcrowd/programs).

Required array length: 1 - 10 elements
Required string length: 1 - 120
secret
string
required
Required string length: 1 - 1024
name
string

Source name; defaults to "Bugcrowd" and the organization name.

Maximum string length: 80
schedule
enum<string>

Interval between scheduled synchronizations.

Available options:
1h,
6h,
12h,
24h

Response

Source created and its first synchronization queued

A Triage source of your team. Credentials are never returned: credential_configured shows whether one is stored.

configuration_version
integer
required

Incremented by every change of documentation, request template, pagination or mapping.

created_at
string<date-time>
required
credential_configured
boolean
required
display_name
string
required

The name to show: the display name set in the source settings, or the source name when none is set. Inbox listings keep writing the provider name to name; they never change the display name.

documentation
object
required

Documentation reference of a source. Pasted documents are not returned.

enabled
boolean
required

True when scheduled synchronization is on.

id
string<uuid>
required
kind
enum<string>
required

hackerone, github and gmail are built-in connections; custom_api is a source you configure.

Available options:
hackerone,
github,
gmail,
custom_api,
scanner
name
string
required
schedule
enum<string>
required

Interval between scheduled synchronizations.

Available options:
1h,
6h,
12h,
24h
setup_mode
enum<string>
required

documentation reads an OpenAPI 3 or Swagger 2 document to propose the configuration; manual takes the configuration as entered.

Available options:
documentation,
manual
status
enum<string>
required

Server-controlled lifecycle state of a source. A failed scheduled or manual synchronization sets failed and backs the next one off (the schedule interval times 2^min(failures, 4), at most 24 hours later). After 10 failed synchronizations in a row the source is paused: disabled, enabled false, last_error_code kept. A successful synchronization or re-enabling the source resets the count.

Available options:
draft,
analyzing,
configuration_required,
testing,
setting_up,
ready,
syncing,
failed,
disabled,
removed
team_id
string<uuid>
required
tested_configuration_version
integer
required

Configuration version that last passed a test (0 when none). Synchronization needs it to equal configuration_version.

updated_at
string<date-time>
required
auto_triage
object

The auto triage rule of a source as the source list shows it.

last_error_code
string

Stable code of the last failure, such as target_not_public or upstream_status. On a ready source it is a warning from the last synchronization, such as record_limit or page_limit when the listing was longer than one synchronization reads.

last_synced_at
string<date-time>
mapping
object

Dot paths from each provider record to the normalized finding fields. external_key identifies a record inside the source.

next_sync_at
string<date-time>

Custom API sources: the next scheduled synchronization. HackerOne and Security Inbox sources: the next refresh of the built-in refresh job, which reads the first page of the connection. GitHub sources are refreshed by listing only.

pagination
object

How a synchronization walks the listing.

preset
enum<string> | null

Set on a custom API source whose configuration Neo writes and keeps (a connected Bugcrowd account). Its documentation, request template, pagination, mapping and steps cannot be changed, and it is not analyzed.

Available options:
bugcrowd
request_template
object

The request a synchronization sends. Header and query values are stored and returned as typed, so never put a credential in them.

scanner
object

Present only when kind is scanner.

setup_report
object

Custom API sources with the source-setup agent on: the outcome of the last analysis or test run, in plain terms. Absent until one finished.

steps
object[]

Requests sent in order before the findings request (a login, a token exchange), at setup and at every synchronization. Values a step captures, and the credential fields, are used as {{$name}} placeholders in header values, query values, the URL path and query, and body strings of later steps and of request_template.

Maximum array length: 3