Skip to content

[Ai4dSoc][Serverless] Hide notes/timelines for search_ai_lake tier#215334

Merged
ashokaditya merged 14 commits intoelastic:mainfrom
ashokaditya:task/ai-soc-timeline-notes-gating
Apr 2, 2025
Merged

[Ai4dSoc][Serverless] Hide notes/timelines for search_ai_lake tier#215334
ashokaditya merged 14 commits intoelastic:mainfrom
ashokaditya:task/ai-soc-timeline-notes-gating

Conversation

@ashokaditya
Copy link
Copy Markdown
Member

@ashokaditya ashokaditya commented Mar 20, 2025

Caution

Do not merge yet!
This PR is mergeable based on the assumption that we do not allow downgrading to search_ai_lake tier from essentials/complete or trial complete/essentals.

Summary

On serverless with following sets of product types/lines timelines and notes are not available to the user.

[
  { product_line: 'ai_soc', product_tier: 'search_ai_lake' }
]

or

[
  { product_line: 'security', product_tier: 'search_ai_lake' }
]

or with

[
  { product_line: 'ai_soc', product_tier: 'search_ai_lake' },
  { product_line: 'security', product_tier: 'search_ai_lake' }
]

This applies to custom role creation flyout where timelines/notes privileges are not available for RBAC.

Screenshots (where timeline and notes are not available)

Custom role creation

Screenshot 2025-03-20 at 14 04 30

Also on alerts page notes and timelines is not available action items. Trying to access these via URL does not show them either.

Current alerts page (with timelines and notes not available)

Screenshot 2025-03-20 at 14 08 46

Alert details via URL (without notes on the expanded flyout)

Screenshot 2025-03-20 at 14 18 55

How to Test

  1. While on the Kibana root directory, run ES/Kibana on serverless mode with:
yarn es serverless --kill --projectType security --kibanaUrl=http://0.0.0.0:5601

and on a new window

yarn serverless-security --no-base-path

Enable the AI for SOC tier, by adding the following to your serverless.security.dev.yaml file:

xpack.securitySolutionServerless.productTypes:
  [
    { product_line: 'ai_soc', product_tier: 'search_ai_lake' },
  ]
  1. Once Kibana is up and running login in with the admin role using the role dropdown.
  2. Navigate to app/management/roles/edit
  3. Click on Assign to space button and assign a space to that role on the Assign role to spaces flyout.
  4. Expand the Security privileges and verify that only 4 sub-privileges are seen and that Timelines and Notes are not among them.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

Identify risks

Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.

@ashokaditya ashokaditya self-assigned this Mar 20, 2025
@ashokaditya ashokaditya added release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team:Security Generative AI Security Generative AI backport:version Backport to applied version labels v9.1.0 v8.19.0 and removed v8.19.0 labels Mar 20, 2025
@ashokaditya ashokaditya force-pushed the task/ai-soc-timeline-notes-gating branch from 82aa04c to 8fbb177 Compare March 21, 2025 14:07
Timeline and notes are not available on searchAiLake tier. The features are hidden on alerts and on custom role creation flyout
@ashokaditya ashokaditya force-pushed the task/ai-soc-timeline-notes-gating branch from 8fbb177 to f505f4a Compare March 24, 2025 09:57
@ashokaditya ashokaditya force-pushed the task/ai-soc-timeline-notes-gating branch from fef1b67 to 507bde4 Compare March 24, 2025 11:30
@ashokaditya ashokaditya marked this pull request as ready for review March 24, 2025 11:31
@ashokaditya ashokaditya requested review from a team as code owners March 24, 2025 11:31
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@ashokaditya ashokaditya requested a review from semd March 24, 2025 11:41
Copy link
Copy Markdown
Contributor

@MadameSheema MadameSheema left a comment

Choose a reason for hiding this comment

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

@ashokaditya please add a codeowner for the new test folder :)

Copy link
Copy Markdown
Contributor

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

src/cli/serve/compile_config_stack.js LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #15 / should render all components

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolutionServerless 35.0KB 35.0KB +50.0B

History

cc @ashokaditya

@ashokaditya ashokaditya merged commit cf1cd55 into elastic:main Apr 2, 2025
10 checks passed
@ashokaditya ashokaditya deleted the task/ai-soc-timeline-notes-gating branch April 2, 2025 13:05
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 4, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 215334 locally

@ashokaditya ashokaditya changed the title [Ai4dSoc] Hide notes/timelines for search_ai_lake tier [Ai4dSoc][Serverless] Hide notes/timelines for search_ai_lake tier Apr 4, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 215334 locally

3 similar comments
@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 215334 locally

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 215334 locally

@kibanamachine
Copy link
Copy Markdown
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 215334 locally

@ashokaditya ashokaditya added backport:skip This PR does not require backporting and removed backport missing Added to PRs automatically when the are determined to be missing a backport. backport:version Backport to applied version labels labels Apr 11, 2025
@ashokaditya ashokaditya added v8.19.0 backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting labels Jun 5, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19

https://github.com/elastic/kibana/actions/runs/15461230994

@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19

https://github.com/elastic/kibana/actions/runs/15461231003

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 215334

Questions ?

Please refer to the Backport tool documentation

1 similar comment
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 215334

Questions ?

Please refer to the Backport tool documentation

ashokaditya added a commit to ashokaditya/kibana that referenced this pull request Jun 5, 2025
)

> [!CAUTION]
> Do not merge yet!
> This PR is mergeable based on the assumption that we do not allow
downgrading to `search_ai_lake` tier from `essentials`/`complete` or
`trial` `complete/essentals`.

On serverless with following sets of product types/lines timelines and
notes are not available to the user.

```json5
[
  { product_line: 'ai_soc', product_tier: 'search_ai_lake' }
]
```
or
```json5
[
  { product_line: 'security', product_tier: 'search_ai_lake' }
]
```
or with
```json5
[
  { product_line: 'ai_soc', product_tier: 'search_ai_lake' },
  { product_line: 'security', product_tier: 'search_ai_lake' }
]
```

This applies to custom role creation flyout where timelines/notes
privileges are not available for RBAC.
![Screenshot 2025-03-20 at 14 04
30](https://github.com/user-attachments/assets/5368b85e-ac29-4eac-a397-8f978c217369)

Also on alerts page notes and timelines is not available action items.
Trying to access these via URL does not show them either.
![Screenshot 2025-03-20 at 14 08
46](https://github.com/user-attachments/assets/735c0968-c8aa-4954-b8aa-4e6be53e147b)
![Screenshot 2025-03-20 at 14 18
55](https://github.com/user-attachments/assets/8b47978f-12f7-4022-8a72-22de8f7652fc)

1. While on the Kibana root directory, run ES/Kibana on serverless mode
with:

```bash
yarn es serverless --kill --projectType security --kibanaUrl=http://0.0.0.0:5601
```
and on a new window
```bash
yarn serverless-security --no-base-path
```

Enable the AI for SOC tier, by adding the following to your
`serverless.security.dev.yaml` file:

```json5
xpack.securitySolutionServerless.productTypes:
  [
    { product_line: 'ai_soc', product_tier: 'search_ai_lake' },
  ]
```

2. Once Kibana is up and running login in with the `admin` role using
the role dropdown.
3. Navigate to `app/management/roles/edit`
4. Click on `Assign to space` button and assign a space to that role on
the `Assign role to spaces` flyout.
5. Expand the `Security` privileges and verify that only 4
sub-privileges are seen and that Timelines and Notes are not among them.

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

(cherry picked from commit cf1cd55)
@ashokaditya
Copy link
Copy Markdown
Member Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

ashokaditya added a commit that referenced this pull request Jun 6, 2025
) (#222752)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Ai4dSoc] Hide notes/timelines for `search_ai_lake` tier
(#215334)](#215334)

> [!Note]
#221998 already backported changes
in `config/serverless.security.search_ai_lake.yml` which is why it does
not appear in this backport PR.

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT
[{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-04-02T13:05:12Z","message":"[Ai4dSoc]
Hide notes/timelines for `search_ai_lake` tier (#215334)\n\n>
[!CAUTION]\n> Do not merge yet!\n> This PR is mergeable based on the
assumption that we do not allow\ndowngrading to `search_ai_lake` tier
from `essentials`/`complete` or\n`trial` `complete/essentals`.\n\n##
Summary\n\nOn serverless with following sets of product types/lines
timelines and\nnotes are not available to the user.\n\n```json5\n[\n {
product_line: 'ai_soc', product_tier: 'search_ai_lake' }\n]\n```\nor
\n```json5\n[\n { product_line: 'security', product_tier:
'search_ai_lake' }\n]\n```\nor with \n```json5\n[\n { product_line:
'ai_soc', product_tier: 'search_ai_lake' },\n { product_line:
'security', product_tier: 'search_ai_lake' }\n]\n```\n\nThis applies to
custom role creation flyout where timelines/notes\nprivileges are not
available for RBAC.\n\n### Screenshots (where timeline and notes are not
available)\n\n#### Custom role creation \n![Screenshot 2025-03-20 at 14
04\n30](https://github.com/user-attachments/assets/5368b85e-ac29-4eac-a397-8f978c217369)\n\nAlso
on alerts page notes and timelines is not available action
items.\nTrying to access these via URL does not show them
either.\n\n#### Current alerts page (with timelines and notes not
available)\n![Screenshot 2025-03-20 at 14
08\n46](https://github.com/user-attachments/assets/735c0968-c8aa-4954-b8aa-4e6be53e147b)\n\n####
Alert details via URL (without notes on the expanded
flyout)\n![Screenshot 2025-03-20 at 14
18\n55](https://github.com/user-attachments/assets/8b47978f-12f7-4022-8a72-22de8f7652fc)\n\n\n##
How to Test\n\n1. While on the Kibana root directory, run ES/Kibana on
serverless mode\nwith:\n\n```bash\nyarn es serverless --kill
--projectType security --kibanaUrl=http://0.0.0.0:5601\n```\nand on a
new window\n```bash\nyarn serverless-security
--no-base-path\n```\n\nEnable the AI for SOC tier, by adding the
following to your\n`serverless.security.dev.yaml`
file:\n\n```json5\nxpack.securitySolutionServerless.productTypes:\n [\n
{ product_line: 'ai_soc', product_tier: 'search_ai_lake' },\n
]\n```\n\n2. Once Kibana is up and running login in with the `admin`
role using\nthe role dropdown.\n3. Navigate to
`app/management/roles/edit`\n4. Click on `Assign to space` button and
assign a space to that role on\nthe `Assign role to spaces` flyout.\n5.
Expand the `Security` privileges and verify that only 4\nsub-privileges
are seen and that Timelines and Notes are not among them.\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n###
Identify risks\n\nDoes this PR introduce any risks? For example,
consider risks like hard\nto test bugs, performance regression,
potential of data loss.\n\nDescribe the risk, its severity, and
mitigation for each identified\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\n\n- [ ] [See some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"cf1cd55a490c27c556957d34ac292802f2d83875","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","Team:Security Generative
AI","backport:version","v9.1.0","v8.19.0"],"title":"[Ai4dSoc][Serverless]
Hide notes/timelines for `search_ai_lake`
tier","number":215334,"url":"https://github.com/elastic/kibana/pull/215334","mergeCommit":{"message":"[Ai4dSoc]
Hide notes/timelines for `search_ai_lake` tier (#215334)\n\n>
[!CAUTION]\n> Do not merge yet!\n> This PR is mergeable based on the
assumption that we do not allow\ndowngrading to `search_ai_lake` tier
from `essentials`/`complete` or\n`trial` `complete/essentals`.\n\n##
Summary\n\nOn serverless with following sets of product types/lines
timelines and\nnotes are not available to the user.\n\n```json5\n[\n {
product_line: 'ai_soc', product_tier: 'search_ai_lake' }\n]\n```\nor
\n```json5\n[\n { product_line: 'security', product_tier:
'search_ai_lake' }\n]\n```\nor with \n```json5\n[\n { product_line:
'ai_soc', product_tier: 'search_ai_lake' },\n { product_line:
'security', product_tier: 'search_ai_lake' }\n]\n```\n\nThis applies to
custom role creation flyout where timelines/notes\nprivileges are not
available for RBAC.\n\n### Screenshots (where timeline and notes are not
available)\n\n#### Custom role creation \n![Screenshot 2025-03-20 at 14
04\n30](https://github.com/user-attachments/assets/5368b85e-ac29-4eac-a397-8f978c217369)\n\nAlso
on alerts page notes and timelines is not available action
items.\nTrying to access these via URL does not show them
either.\n\n#### Current alerts page (with timelines and notes not
available)\n![Screenshot 2025-03-20 at 14
08\n46](https://github.com/user-attachments/assets/735c0968-c8aa-4954-b8aa-4e6be53e147b)\n\n####
Alert details via URL (without notes on the expanded
flyout)\n![Screenshot 2025-03-20 at 14
18\n55](https://github.com/user-attachments/assets/8b47978f-12f7-4022-8a72-22de8f7652fc)\n\n\n##
How to Test\n\n1. While on the Kibana root directory, run ES/Kibana on
serverless mode\nwith:\n\n```bash\nyarn es serverless --kill
--projectType security --kibanaUrl=http://0.0.0.0:5601\n```\nand on a
new window\n```bash\nyarn serverless-security
--no-base-path\n```\n\nEnable the AI for SOC tier, by adding the
following to your\n`serverless.security.dev.yaml`
file:\n\n```json5\nxpack.securitySolutionServerless.productTypes:\n [\n
{ product_line: 'ai_soc', product_tier: 'search_ai_lake' },\n
]\n```\n\n2. Once Kibana is up and running login in with the `admin`
role using\nthe role dropdown.\n3. Navigate to
`app/management/roles/edit`\n4. Click on `Assign to space` button and
assign a space to that role on\nthe `Assign role to spaces` flyout.\n5.
Expand the `Security` privileges and verify that only 4\nsub-privileges
are seen and that Timelines and Notes are not among them.\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n###
Identify risks\n\nDoes this PR introduce any risks? For example,
consider risks like hard\nto test bugs, performance regression,
potential of data loss.\n\nDescribe the risk, its severity, and
mitigation for each identified\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\n\n- [ ] [See some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"cf1cd55a490c27c556957d34ac292802f2d83875"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215334","number":215334,"mergeCommit":{"message":"[Ai4dSoc]
Hide notes/timelines for `search_ai_lake` tier (#215334)\n\n>
[!CAUTION]\n> Do not merge yet!\n> This PR is mergeable based on the
assumption that we do not allow\ndowngrading to `search_ai_lake` tier
from `essentials`/`complete` or\n`trial` `complete/essentals`.\n\n##
Summary\n\nOn serverless with following sets of product types/lines
timelines and\nnotes are not available to the user.\n\n```json5\n[\n {
product_line: 'ai_soc', product_tier: 'search_ai_lake' }\n]\n```\nor
\n```json5\n[\n { product_line: 'security', product_tier:
'search_ai_lake' }\n]\n```\nor with \n```json5\n[\n { product_line:
'ai_soc', product_tier: 'search_ai_lake' },\n { product_line:
'security', product_tier: 'search_ai_lake' }\n]\n```\n\nThis applies to
custom role creation flyout where timelines/notes\nprivileges are not
available for RBAC.\n\n### Screenshots (where timeline and notes are not
available)\n\n#### Custom role creation \n![Screenshot 2025-03-20 at 14
04\n30](https://github.com/user-attachments/assets/5368b85e-ac29-4eac-a397-8f978c217369)\n\nAlso
on alerts page notes and timelines is not available action
items.\nTrying to access these via URL does not show them
either.\n\n#### Current alerts page (with timelines and notes not
available)\n![Screenshot 2025-03-20 at 14
08\n46](https://github.com/user-attachments/assets/735c0968-c8aa-4954-b8aa-4e6be53e147b)\n\n####
Alert details via URL (without notes on the expanded
flyout)\n![Screenshot 2025-03-20 at 14
18\n55](https://github.com/user-attachments/assets/8b47978f-12f7-4022-8a72-22de8f7652fc)\n\n\n##
How to Test\n\n1. While on the Kibana root directory, run ES/Kibana on
serverless mode\nwith:\n\n```bash\nyarn es serverless --kill
--projectType security --kibanaUrl=http://0.0.0.0:5601\n```\nand on a
new window\n```bash\nyarn serverless-security
--no-base-path\n```\n\nEnable the AI for SOC tier, by adding the
following to your\n`serverless.security.dev.yaml`
file:\n\n```json5\nxpack.securitySolutionServerless.productTypes:\n [\n
{ product_line: 'ai_soc', product_tier: 'search_ai_lake' },\n
]\n```\n\n2. Once Kibana is up and running login in with the `admin`
role using\nthe role dropdown.\n3. Navigate to
`app/management/roles/edit`\n4. Click on `Assign to space` button and
assign a space to that role on\nthe `Assign role to spaces` flyout.\n5.
Expand the `Security` privileges and verify that only 4\nsub-privileges
are seen and that Timelines and Notes are not among them.\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [ ] Any text
added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] The PR description includes the
appropriate Release Notes section,\nand the correct `release_note:*`
label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n\n###
Identify risks\n\nDoes this PR introduce any risks? For example,
consider risks like hard\nto test bugs, performance regression,
potential of data loss.\n\nDescribe the risk, its severity, and
mitigation for each identified\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\n\n- [ ] [See some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ]
...","sha":"cf1cd55a490c27c556957d34ac292802f2d83875"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution Team:Security Generative AI Security Generative AI v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants