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
Navigate to the [Cobalt > Jira Cloud] Push pentest finding to Jira recipe that you set up while following the previous guide.
Open the edit view for the recipe by clicking the Edit button.
Find the Create Jira Issue action in the recipe and click on it.
- 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.
- Hover your cursor above the Monitor block that encapsulates the Create issue in Jira action. An Add step button will appear. Click on it.
- Choose the Action in app option.
- Search for variable in the connector search bar. Select the Variables by Workato connector.
- Select the create variable action.
- Click the Add a variable button.
- Name the variable
jira_issue_priority
and click Add variable.
- Below the create variable action that you added, add a new step with the if condition type.
- 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.
- 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.
- In the if condition configuration pane, click the condition input field and choose the equals option.
- 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.
- 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 the update variables action.
- In the variable name input field, select the
jira_issue_priority
variable that you created earlier.
- 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.
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.
Once you have added all the if conditions that you need, click the Create issue in Jira action in the recipe.
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.
- Map the
jira_issue_priority
variable that you created earlier to the Issue priority input field.
- 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.