StackHawk’s official On-Premises Jira integration.
The StackHawk Jira Data Center integration lets you identify and track scan findings within your Atlassian Jira Data Center workspace. The integration requires a series of steps following the OAuth1.0a authentication method, to enable consistent and secure communications from StackHawk to your authorized Jira Data Center instance.
This integration specifically supports on-prem Jira offerings, including Jira Data Center. StackHawk also provides a Jira Cloud integration, for use with instances of Jira Cloud software.
- HawkScan findings can send and associate scanner findings to a Jira Data Center Workspace as new or existing Jira Issue.
You must have a StackHawk account.
Your StackHawk Organization must belong to a plan with The Jira Data Center Integration enabled. Reach out to firstname.lastname@example.org to enable it.
Must NOT have Jira Cloud integration installed. Only one instance of Project Management Integration is currently allowed.
Jira Data Center:
You must have admin login permissions to the Jira Data Center workspace you wish to add the integration to.
You must have sufficient administration permissions to install add-ons to your Jira Data Center workspace.
Your Jira Data Center Project must have a defined “Bug” issue type, which is not present for all Jira Data Center Project workspaces by default. See Adding the bug issue type to your Jira project for more details.
With this integration you authorize StackHawk with the following Jira scopes:
- Read access to the connected Jira Data Center workspace
- Write access to the connected Jira Data Center workspace
- Log into StackHawk and visit the Jira Data Center Integration page in StackHawk
Enable Jira. This will open a modal with steps for creating the Jira Data Center application link. Follow along in your Jira Workspace.
Application links cannot be reused, and the public key provided cannot be updated after it is created. Make sure to create a new application link if starting again.
Create New Application Link - This will present three fields
Consumer Nameand a generated
Public Keywhich you will copy into the form inputs while running through the Application Link Setup. Once the application link is created in your workspace, you will then specify
Your Jira Application Link URL, which is your Jira System Base URL. Click next to continue, if the application link was created, StackHawk will be able to securely communicate with the jira-server instance and create an authorize url to verify your application link.
Generate Verification Token - Clicking the
Nextbutton will generate authorization url. Click on the link to allow StackHawk to communicate to the Jira workspace through the application link. Once approved, copy the provided token and paste it in
Jira Verification Tokenfield. Click next to continue, this will then create the integration.
- Project Selection - You will be prompted to select a default project. Project selection will inspect whether the selected Jira project is configured correctly. It will check the project has a
Bugissue type defined with
Environmentfields. You must select a project that has these settings defined to continue.
- Finalize Connection - If successful, your Jira Data Center workspace will now be connected to your StackHawk organization, and the integration setup is completed.
Follow these steps to setup your application link in your Jira workspace.
- Log into your Jira Data Center workspace.
- Go to
Applications > Application Links.
Provide the URL of the application you want to link to and click
Create new link.
In the next step you will copy
Public Keythat were generated in StackHawk (see the image above).
You can verify the Jira Data Center installation at any time after configuring a integration token.
- Go to the Jira Data Center page in StackHawk.
- You should see a
Connected to: <your workspace URL>, which indicates the integration has been linked to that Jira Data Center Workspace.
With the Jira Data Center Application installation verified, you can send a finding to Jira Data Center by creating a Jira Issue and associating it with a StackHawk scanner finding.
- Go to a finding detail in StackHawk
Scans > Scan Details > Findings
- Click on the checkbox for a given Path, Status, Method
- Click on
Actions > Send to Jira
- Fill out the Jira Data Center ticket details. Findings can be promoted with either a new Jira issue, or linked to an existing Jira issue.
Creating a New Issue: Select the project you want the created ticket to be associated with. The created issue will be made with the
Bug issue type. The created issue will have details about those findings. Click Create Issue, and the Jira issue will be created and associated with the scan findings.
Linking an Existing Issue: Select the issue from the query search you want associated with your Jira ticket. The linked issue will receive a comment with the details of the vulnerability findings. Click
Link Issue, and the Jira Issue will be created and associated with the scan findings.
Similar to sending to Jira Data Center, you can clear the status of a finding or change it to another status by selecting the Path, Status, and Method and selecting a different action.
A Jira Data Center project has defined issue types. Jira Classic Software Projects will have the
Bug issue type defined by default, however Jira Next-Gen Software Projects and Jira Core Projects will not include this issue type by default. To send created issues to these projects, you will have to add a
Bug issue type:
- In your Jira Data Center project workspace, go to
Settings > Issues
Issue types > Add issue type
- Add a standard Issue Type named
Bug, and make sure it has “Summary”, “Description” and “Environment” description fields assigned.
The created Bug issue type will be used for Jira Issues created from the StackHawk platform for that project.
It is not uncommon for a Jira project to have custom fields on their issuetypes. This is a feature provided by Atlassian, but can affect StackHawk ticket creation. If your project’s Bug IssueType has additional custom fields, make sure they also have an acceptable default value defined:
The Jira Data Center integration can be disconnected from the authorized StackHawk organization from the Jira Data Center Integration page.
- Go to the Jira Data Center Integration page in StackHawk.
- In Jira Data Center, go to
Applications > Application Links
Have any suggestions, feature requests, or feedback to share? Drop us a line at email@example.com