16.2. Configuring Red Hat Advanced Cluster Security for Kubernetes


Create a new integration in Red Hat Advanced Cluster Security for Kubernetes by using the Jira server URL and user credentials.

Procedure

  1. In the RHACS portal, go to Platform Configuration Integrations.
  2. Scroll down to the Notifier Integrations section and select Jira Software.
  3. Click New integration.
  4. Enter a name for Integration name.
  5. Enter the user credentials in the Username and Password or API token fields.
  6. For Issue type, enter a valid Jira Issue Type, for example Task, Sub-task, or Bug.
  7. Enter the Jira server URL in the Jira URL field.
  8. Enter the key of the project in which you want to create issues in the Default project field.
  9. Optional: Use the Annotation key for project field to create issues in different Jira projects by completing the following steps. You can use annotations to dynamically create issues.

    1. Add an annotation similar to the following example in your namespace or deployment YAML file, where jira/project-key is the annotation key that you specify in your Jira integration. You can create an annotation for the deployment or the namespace.

      annotations:
      # ...
        jira/project-key: <jira_project_key>
      # ...
    2. Use the annotation key jira/project-key in the Annotation key for project field.
  10. If you use custom priorities in your Jira project, use the Priority Mapping toggle to configure custom priorities.
  11. If you use mandatory custom fields in your Jira project, enter them as JSON values in the Default Fields JSON field. For example:

    {
      "customfield_10004": 3,
      "customfield_20005": "Alerts",
    }
  12. Select Test to test that the integration with Jira is working.
  13. Select Create to generate the configuration.

16.2.1. Creating issues in different Jira projects

You can configure Red Hat Advanced Cluster Security for Kubernetes to create issues in different Jira projects so that they directly go to the correct team. After completing the configuration, if a deployment has an annotation in the YAML file, RHACS creates issues in the project specified for that annotation. Otherwise, RHACS creates issues in the default project.

Prerequisites

  • You must have an account with access to each project that you want to send the alerts to.

Procedure

  1. Add an annotation similar to the following example in your namespace or deployment YAML file:

    annotations:
    # ...
      jira/project-key: <jira_project_key>
    # ...
  2. Use the annotation key jira/project-key in the Annotation key for project field when you configure Red Hat Advanced Cluster Security for Kubernetes.

16.2.2. Configuring custom priorities in Jira

If you are using custom priorities in your Jira project, you can configure them in Red Hat Advanced Cluster Security for Kubernetes.

Procedure

  1. While configuring Jira integration in Red Hat Advanced Cluster Security for Kubernetes, turn on the Priority Mapping toggle. Red Hat Advanced Cluster Security for Kubernetes gets the JIRA project schema, and auto fills the values for the CRITICAL_SEVERITY, HIGH_SEVERITY, MEDIUM_SEVERITY, and LOW_SEVERITY fields.
  2. Verify or update the priority values based on your JIRA project configuration.
  3. Select Test to test that the integration with Jira is working.
  4. Select Create to generate the configuration.
注意

If you get an error, follow the instructions in the Troubleshooting Jira integration section.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部