Map Cobalt Pentest Finding Severity to Jira Issue Priority

This guide is designed to help Integration Builder users map the severity of pentest findings in Cobalt to the priority of new Jira issues. Please follow the Create Jira tickets for Findings guide before proceeding with this guide.

Basic Option

  1. Navigate to the [Cobalt > Jira Cloud] Push pentest finding to Jira recipe that you set up while following the previous guide.

  2. Open the edit view for the recipe by clicking the Edit button.

  3. Find the Create Jira Issue action in the recipe and click on it.

create jira issue action
  1. In the pane that opens on the right, scroll down until you see the Issue Priority field. Click into the dropdown so that you can see the options that are displayed. Take note of them, you will need them later.
view issue priorities
  1. Hover your cursor above the Monitor block that encapsulates the Create issue in Jira action. An Add step button will appear. Click on it.
add step
  1. Choose the Action in app option.
action in app
  1. Search for variable in the connector search bar. Select the Variables by Workato connector.
variables by workato
  1. Select the create variable action.
create variable
  1. Click the Add a variable button.
add a variable
  1. Name the variable jira_issue_priority and click Add variable.
name variable
  1. Below the create variable action that you added, add a new step with the if condition type.
add if condition
  1. Click on the if condition that you created so that the configuration pane opens on the right. Once it opens, click the data field input.
click data field
  1. In the recipe data drawer, find the Get pentest finding action. Use the arrow to the right of the action to see all of its output fields. Select the Severity field.
choose finding severity
  1. In the if condition configuration pane, click the condition input field and choose the equals option.
set if condition
  1. In the value input field, enter the Cobalt finding severity that you want to map to a Jira issue priority. You can find all Cobalt finding severities listed here.
set if value
  1. Click on the empty action slot nested under the if condition. In the configuration pane that opens on the right, click the Variables by workato connector.
select if action
  1. Select the update variables action.
update variable
  1. In the variable name input field, select the jira_issue_priority variable that you created earlier.
select jira issue priority variable
  1. In the jira_issue_priority input field, enter the Jira issue priority that you want to map to the Cobalt finding severity that you set in the if condition. Type the priority exactly as you noted it earlier.
enter issue priority
  1. Add more if conditions for each severity that you want to map to a Jira issue priority. You can add as many if conditions as you need.

  2. Once you have added all the if conditions that you need, click the Create issue in Jira action in the recipe.

  3. In the configuration pane on the right, scroll down until you see the Issue priority input field. Click on the dropdown that says Select from list and choose the Use priority name option.

use priority name
  1. Map the jira_issue_priority variable that you created earlier to the Issue priority input field.
set issue priorityhow it should look
  1. That’s it! Click save and start your recipe.

Advanced Option

If you have multiple recipes that push pentest findings to Jira, you can create a reusable recipe that maps Cobalt finding severity to Jira issue priority. This way, you can use the same recipe in multiple places without having to recreate the mapping logic each time.

To learn more, check out this documentation from our integrations technology partner.

Last modified November 14, 2024