...
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
What does the integration offer?
With Amazon Security Hub, you can have a single place that aggregates, organizes, and prioritizes your security alerts, or findings, from multiple AWS services, such as Amazon GuardDuty, Amazon Inspector, and Amazon Macie, as well as from AWS Partner solutions.
...
Use the Amazon Security Hub Integration integration to forward Amazon Security Hub findings to Jira Service Management. Jira Service Management determines the right people to notify based on on-call schedules– schedules – notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalates alerts until they are acknowledged or closed.
...
How does the integration work?
Amazon Security Hubsends findings that match with Hub sends findings matching the corresponding CloudWatch Event rule to CloudWatch. Selecting an SNS topic for the target lets you publish the related event message for findings to SNS which will send this message to Jira Service Management at the end.
...
When an alert is Acknowledged in Jira Service Management, update the Finding workflow status to Notified in Amazon Security Hub.
When an alert is Closed in Jira Service Management, update the Finding workflow status to Resolved in Amazon Security Hub.
When a Note is added to the alert in Jira Service Management, add the same Note to the Finding in Amazon Security Hub.
When an alert Priority is updated in Jira Service Management, update the severity of the Finding in Amazon Security Hub.
...
Set up the integration
Amazon Security Hub
...
name | planscope |
---|
is a bidirectional integration. Adding it to Jira Service Management and configuring it to send alert updates back to Amazon Security Hub (when some actions are performed on the alerts created in Jira Service Management) involves a sequence of steps:
Add an Amazon Security Hub integration in Jira Service Management
Configure the integration in Amazon Security Hub
Create subscriptions to send SNS messages to Jira Service Management
Create an Amazon CloudWatch Event rule
Select an SNS topic for the target in Amazon EventBridge Events
Send updates back to Amazon Security Hub
Add Amazon Security Hub integration
Info |
---|
If you're using the Free or Standard plan in Jira Service Management, you can only add this integration from your team’s operations page. To access the feature through Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management assigns the alerts received through this integration to your team only. To add an integration: Go to your team’s operations page. . Complete the rest of the steps in the procedure. |
To add an Amazon Security Hub integration in Jira Service Management:
...
Create a custom Security Hub action.
Create a rule in CloudWatch Events for Security Hub findings and an SNS topic for CloudWatch Event target by using the CloudFormation template.
Paste the URL you copied while adding the integration in Jira Service Management into SNSSubEndpoint in the CloudFormation template.
Copy-paste the following (after entering the custom Security Hub action ARN you created in Step 1) into EventPatternParameter in the CloudFormation template.
Code Block { "source": [ "aws.securityhub" ], "detail-type": [ "Security Hub Findings - Custom Action" ], "resources": [ "< CUSTOM ACTION ARN YOU CREATED IN SECURITY HUB >" ] }
If the configuration is successful, a confirmation alert is created in Jira Service Management.
Select Send Alert Updates Back to AmazonSecurityHub to enable alert updates back to Amazon Security Hub to turn on the outgoing functionality.
Allow Jira Service Management to access the Security Hub resources through an IAM Role.
Use CloudFormation template to create an IAM role.Copy-paste the IAM Role ARN into AmazonSecurityHub Role ARN.
Select the AWS region where you’ve set up the Security Hub.
...
Create subscriptions to send SNS messages to Jira Service Management
Selecting an SNS topic for the target lets you publish the related event message for findings to SNS.
Go to AWS SNS, select Topics > Create topic.
When on the Subscription tab, select Create subscription.
This is how you’ll send SNS messages to Jira Service Management.In the Protocol field, select HTTPS as an endpoint type.
In the Endpoint field, enter the API endpoint URL you copied while adding the integration in Jira Service Management.
...
.
Create an Amazon CloudWatch Event rule
Create an Amazon CloudWatch Event rule so Amazon Security Hub can send findings matching the rule to CloudWatch.
In your Amazon CloudWatch account, select Events > Rules.
Then select Select Create rule.
In the Event Source section, select the Event Pattern option.
Then selectSelect Build event pattern to match all events from the dropdown menu.
Select Edit in the Event Pattern Preview and enter copy-paste the script below provided to you under given in this section.
In the Targets section, select the SNS topic from the dropdown menu, then select the topic you’ve you created before.
Select Configure details and enter a name, description, and other detailsinformation.
When done, select Select Create rule.
Event pattern preview script
Enter Copy the script below in following script and paste it into the Event pattern preview section of the Event Source.JSON Event Source.
Expand | |||
---|---|---|---|
| |||
|
...
Select an SNS topic for the target in Amazon EventBridge Events
Selecting an SNS topic for the target lets you publish the related event message for findings to SNS which will send this message to Jira Service Management at the end.
Go to Amazon EventBridge and select Rules.
Select Create rule.
In Step 1, enter a Name and Description for this rule.
Select Rule with an event patternspattern as Rue Rule type and select Next.
In Step 2, select AWS events and EventBrigde partner events as the Event source.
Then, select Select AWS services as Event source.
Select Security Hub as AWS Service.
In the Event Type section, select the custom action you created in the security hub.
Select Next.
In Step 3, select SNS topic from the dropdown menu in Target types, then select the topic you created before earlier in the Topic field.
Select Next.
In Step 5, review and create the rule.
Send alert updates back to Amazon Security Hub
Complete the following steps in Jira Service Management to send alert updates back to Amazon Security Hub:
From the Amazon Security Hub integration pageintegration page in Jira Service Management, select the Send Alert Updates Back to AmazonSecurityHubalert updates back to Amazon Security Hub checkbox.
Allow Jira Service Management to access security hub resources using an IAM Role. To create a role that allows Jira Service Management to access security hub resources, you can use the CloudFormation template.
Make sure that all the input parameters to the cloudformation template are correct, like ApiKey (such as the API URL from the SecurityHub integration page (pre-populated), Jira Service Management Aws AccountId (pre-populated), and RoleName) are correct. Role The role name should be in opsgenieSecurityHubRolejsmSecurityHubRole* format.
Copy the IAM role ARN created above in the previous step and paste it here and select into AmazonSecurityHub Role ARN.
Select the region where the security hub Security Hub is enabled.Select Save Integration to send alert action updates back to Amazon Security Hub findings.
Sample payload from Amazon Security Hub
Expand | ||
---|---|---|
| ||
|
...