Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a custom Security Hub action.

  2. Create a rule in CloudWatch Events for Security Hub findings and an SNS topic for CloudWatch Event target by using the CloudFormation template.

  3. Paste the URL you copied while adding the integration in Jira Service Management into SNSSubEndpoint in the CloudFormation template.

  4. 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 >"
      ]
    }
  5. If the configuration is successful, a confirmation alert is created in Jira Service Management.

  6. Select Send alert updates back to Amazon Security Hub to enable turn on the outgoing functionality.

  7. Allow Jira Service Management to access the Security Hub resources through an IAM Role.
    Use CloudFormation template to create an IAM role.

  8. Copy-paste the IAM Role ARN into AmazonSecurityHub Role ARN.

  9. 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.

  1. Go to AWS SNS, select Topics > Create topic.

  2. When on the Subscription tab, select Create subscription.
    This is how you’ll send SNS messages to Jira Service Management.

  3. In the Protocol field, select HTTPS as an endpoint type.

  4. 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.

  1. In your Amazon CloudWatch account, select Events > Rules.

  2. Then select Select Create rule.

  3. In the Event Source section, select the Event Pattern option.

  4. Then selectSelect Build event pattern to match all events from the dropdown menu.

  5. Select Edit in the Event Pattern Preview and copy-paste the script given in this section.

  6. In the Targets section, select the SNS topic from the dropdown menu, then select the topic you’ve you created before.

  7. Select Configure details and enter a name, description, and other information.

  8. When done, select Select Create rule.

Event pattern preview script

...

Code Block
{
  "source": [
    "aws.securityhub"
  ],
  "detail-type": [
    "Security Hub Findings - Custom Action"
  ],
  "resources": [
    <custom action arn you created in security hub>
  ]
}

...

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.

  1. Go to Amazon EventBridge and select Rules.

  2. Select Create rule.

  3. In Step 1, enter a Name and Description for this rule.

  4. Select Rule with an event patternspattern as Rue Rule type and select Next.

  5. In Step 2, select AWS events and EventBrigde partner events as the Event source.

  6. Select AWS services as Event source.

  7. Select Security Hub as AWS Service.

  8. In the Event Type section, select the custom action you created in the security hub.

  9. Select Next.

  10. 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.

  11. Select Next.

  12. In Step 5, review and create the rule.

...