Jira Integration
- Configuring Jira for FortiSIEM Integration
- Jira Incident Outbound Integration
- Jira Incident Inbound Integration
Configuring Jira for FortiSIEM Integration
Before configuring Jira, you must log in to your Jira account and create an API Key. Follow these steps.
- Log in to your Jira account.
- Create an API Key.
- Use the GUI user name and API Key in FortiSIEM.
Jira Incident Outbound Integration
Jira outbound integration allows a user to map FortiSIEM fields to Jira ticket fields and to create incidents in Jira. When the integration runs, FortiSIEM looks for incidents that match the mappings and creates a ticket in the Jira system.
To create an outbound integration, follow these steps.
Step 1: Create an Integration
- Go to Admin > Settings > General > External Integration.
- Click + to create a new integration or click the Edit (
) icon to modify an existing integration. - In the Integration Policy dialog box, provide the following values:
- Type: select Incident.
- Direction: select Outbound.
- Vendor: select Jira.
- Instance: enter an instance name or accept the default.
- Plugin Name: is pre-populated with the name of the Jira integration class:
com.accelops.phoenix.jira.JiraTicketIntegration. - Host/URL, enter the URL of the Jira provider, for example,
https://<customer>.atlassian.net. - Username and Password, enter your Jira user name and password.
- Click the edit icon next to Field Mapping.
- In the Field Mapping dialog box, provide the following values:
- Project: enter a name for the project
- Issue Type: select Event.
- The Summary: field is pre-populated with the Incident Rule Name (
$ruleName). - For Description: click the edit icon to build the expression for the Jira issue description. The drop-down list contains FortiSIEM fields that can be mapped to.
- The Priority: field is pre-populated with Incident Severity Category (
$incident_severityCat).
- Create mappings between Jira fields and FortiSIEM fields by clicking New.
Select Jira fields from the upper drop-down list and match them with corresponding FortiSIEM fields in the lower drop-down list. - Click Save when you are finished mapping fileds. The mappings are reflected in the table in the Field Mapping dialog box.
Note: Click Cancel to dismiss the Mapping Fields dialog box.
Step 2: Link Integration to an Automation Policy
You need to link the integration to an automation policy, so that the integration runs when the automation policy triggers.
Take the following steps.
- Go to Admin > Settings > General > Automation Policy.
- Click + to create a new policy or click the Edit (
) icon to edit an existing policy. - In the Automation Policy dialog box, select Action > Invoke an Integration Policy, then select the edit icon.
- Choose a specific integration from the drop-down list.
- Click Save.
Jira Incident Inbound Integration
Jira inbound integration allows a user to close a ticket in FortiSIEM if the ticket is closed in Jira.
To create an inbound integration, follow these steps.
Step 1: Create an Integration
- Go to Admin > Settings > General > External Integration.
- Click + to create a new integration or click the Edit (
) icon to modify an existing integration. - In the Integration Policy dialog box, provide the following values:
- Type: select Incident.
- Direction: select Inbound.
- Vendor: select Jira.
- Instance: enter an instance name or accept the default.
- Plugin Name: is pre-populated with the name of the Jira integration class:
com.accelops.phoenix.jira.JiraTicketIntegration. - Host/URL, enter the URL of the Jira provider, for example,
https://<customer>.atlassian.net. - Username and Password, enter your Jira user name and password.
- Description: enter an optional description of the integration.
- Time Window: enter the number of hours for which incident states will be synched. For example, if time windows is set to 10 hours, the states of incidents that occurred in the last 10 hours will be synched.
- Click the edit icon next to Field Mapping.
- In the Field Mapping dialog box, provide the following values:
- Project: enter a name for the project.
- Issue Type: select Event.
- The Summary: field is pre-populated with the Incident Rule Name (
$ruleName). - For Description: click the edit icon to build the expression for the Jira issue description. The drop-down list contains FortiSIEM fields that can be mapped to.
- The Priority: field is pre-populated with Incident Severity Category (
$incident_severityCat).
- Create mappings between Jira fields and FortiSIEM fields by clicking New.
Select Jira fields from the upper drop-down list and match them with corresponding FortiSIEM fields in the lower drop-down list.
- Click Save when you are finished mapping fileds. The mappings are reflected in the table in the Field Mapping dialog box.
Note: Click Cancel to dismiss the Mapping Fields dialog box.
Step 2: Create an Incident Inbound Integration Schedule
This determines the schedule on which the inbound integration policy defined in Step 1: Create an Incident Inbound Integration will be run.
- Log into your Supervisor node with administrator credentials.
- Navigate to Admin > Settings > General > External Integration.
- Click the Schedule (
) icon. - Click + to open the Integration Policy Schedules window.
- From the Integration Policy column, select your integration policy and move it to the Selected column.
- Under Time Range, configure your schedule by taking the following steps.
- In the Start Time field, enter the start time of your schedule.
- From the Local/UTC Timeand Region drop-down lists, configure the start time of the schedule.
- Under Recurrence Pattern, configure the frequency.
- Select Once, Minutely, Hourly, Daily, Weekly, or Monthly for the schedule's recurrence pattern. Depending on what is selected, configure the related date/time schedule attributes.
- In the Start From field, enter the date which the schedule starts.
- When done, click Save.