Skip to content

[Security Solution][Attacks/Alerts][Attacks page][Table section] Hide tabs for generic attack groups#248444

Merged
e40pud merged 1 commit intoelastic:mainfrom
e40pud:security/attack-alerts-alignment/hide-tabs-for-generic-groups
Jan 9, 2026
Merged

[Security Solution][Attacks/Alerts][Attacks page][Table section] Hide tabs for generic attack groups#248444
e40pud merged 1 commit intoelastic:mainfrom
e40pud:security/attack-alerts-alignment/hide-tabs-for-generic-groups

Conversation

@e40pud
Copy link
Contributor

@e40pud e40pud commented Jan 9, 2026

Summary

This change updates the UI to avoid showing tabs for the generic - attack groups (where no specific attack is identified). Instead, only the alerts table is displayed directly.

As a consequence of this change, the AttackDetailsContainer component has been refactored to require the attack prop. Previously, the component handled logic for when attack was undefined (showing only the Alerts tab). This responsibility has been shifted to the parent component, which now renders AlertsTab directly when no attack is present, and conditionally renders AttackDetailsContainer only when a valid attack is available.

Feature Flag

Note

The feature is hidden behind the feature flag (in kibana.dev.yml):

feature_flags.overrides:
  securitySolution.attacksAlertsAlignment: true

@e40pud e40pud self-assigned this Jan 9, 2026
@e40pud e40pud requested a review from a team as a code owner January 9, 2026 13:04
@e40pud e40pud added release_note:fix backport:skip This PR does not require backporting Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team labels Jan 9, 2026
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 9, 2026

💔 Build Failed

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 10.8MB 10.8MB +32.0B

History

cc @e40pud

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Desk tested and code LGTM!

@e40pud e40pud merged commit d87231c into elastic:main Jan 9, 2026
28 checks passed
devamanv pushed a commit to devamanv/kibana that referenced this pull request Jan 12, 2026
… tabs for generic attack groups (elastic#248444)

## Summary

This change updates the UI to avoid showing tabs for the generic `-`
attack groups (where no specific attack is identified). Instead, only
the alerts table is displayed directly.

As a consequence of this change, the `AttackDetailsContainer` component
has been refactored to require the `attack` prop. Previously, the
component handled logic for when `attack` was `undefined` (showing only
the Alerts tab). This responsibility has been shifted to the parent
component, which now renders `AlertsTab` directly when no attack is
present, and conditionally renders `AttackDetailsContainer` only when a
valid attack is available.

## Feature Flag

> [!NOTE]
> The feature is hidden behind the feature flag (in `kibana.dev.yml`):

```
feature_flags.overrides:
  securitySolution.attacksAlertsAlignment: true
```
mbondyra added a commit to mbondyra/kibana that referenced this pull request Jan 12, 2026
* commit 'c4304e27736c62f17af20d145770b2ae9d3fae30': (418 commits)
  skip failing suite (elastic#89079)
  [ES|QL] Update grammars (elastic#248600)
  skip failing test suite (elastic#248579)
  [ES|QL] Update function metadata (elastic#248601)
  skip failing test suite (elastic#248554)
  Fix flaky test runner serverless flag for Search solution (elastic#248559)
  [Security Solution][Attacks/Alerts][Attacks page][Table section] Remember last selected attack details tab (Summary or Alerts) (elastic#247519) (elastic#247988)
  Fix ES health check poller (elastic#248496)
  Fix collector schema ownership (elastic#241292)
  [api-docs] 2026-01-10 Daily api_docs build (elastic#248574)
  Update dependency cssstyle to v5.3.5 (main) (elastic#237637)
  Update dependency @octokit/rest to v22.0.1 (main) (elastic#243102)
  skip failing test suite (elastic#248504)
  skip failing test suite (elastic#247685)
  Remove broken ecommerce_dashboard journeys (elastic#248162)
  [Obs AI] Hide AI Insight component when there are no connectors (elastic#248542)
  skip failing suite (elastic#248433)
  [Security Solution][Attacks/Alerts][Attacks page][Table section] Hide tabs for generic attack groups (elastic#248444)
  [Agent Builder] [AI Infra] Adds product documentation tool and task evals (elastic#248370)
  [Controls Anywhere] Keep controls focused when creating + editing other panels (elastic#248021)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:fix Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants