Notify results

Jira

6min
๏ปฟ

Get your TruffleHog results sent to Jira.

The Jira notifier will create a new Jira issue for each found secret. The issueโ€™s summary (title) will include the secret type and source type, and the issueโ€™s reporter will be the user configured to authenticate to Jira. The issue will be created with no assignee.

The value configured as the notifierโ€™s issueDescription will be prepended to a text block that contains the secret type and source type, whether the secret was verified, and additional secret metadata.

Here is a screenshot of a created Jira issue with TruffleHog-generated and user-configured values highlighted:

๏ปฟ

Example generated Jira Issue
Example generated Jira Issue
๏ปฟ

You can optionally configure custom fields for Jira issues if your Jira instance has special fields you want to populate. Available โ€œtype"s for CustomField are STRING, NUMBER, and SINGLE_SELECT. The names need to be the CustomField ID in Jira like in the example here.

You cannot set the Summary, Description, or Reporter fields as custom fields, as they are automatically set by TruffleHog itself. Attempting to do so will cause errors in the scanner.

TruffleHog will never modify issues in any way after they have been created. In particular, it will not close or update them when it detects that the associated secret has been rotated.

The Jira notifier supports either basic authentication or token-based authentication. If possible, please use token-based authentication as it is the authentication method recommended by Atlassian.

Configuration

๏ปฟ

Local configuration

Token-based auth
Basic auth
๏ปฟ

Options

Key

Description

Required

endpoint

The endpoint of your Jira installation, on-prem or cloud.

Yes

projectKey

The project key to file issues into

Yes

issueType

The type of issue to file (Bug or Task are common types to use)

Yes

issueDescription

A description that shows up before the finding informtation

No

customField

An array of custom fields to include when creating the issue. See the example above.

No

Capabilities

Feature

Supported

File tickets for findings

โœ…

Auto-close remediated findings (available as closed beta)

โ•

Set the leaker as the assignee

โŒ

Assign labels to issues

โŒ

๏ปฟ

Updated 30 Jan 2025
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Doc contributor
Did this page help you?