Skip to content

[Cloud Security] Update graph appearance#204610

Merged
kfirpeled merged 17 commits intoelastic:mainfrom
kfirpeled:cspm/update-graph-appearance
Dec 19, 2024
Merged

[Cloud Security] Update graph appearance#204610
kfirpeled merged 17 commits intoelastic:mainfrom
kfirpeled:cspm/update-graph-appearance

Conversation

@kfirpeled
Copy link
Copy Markdown
Contributor

@kfirpeled kfirpeled commented Dec 17, 2024

Summary

  • Remove the unknown or question symbols for entities who's type we don't know
  • Replace edges to be sharp path instead of a smooth one
  • Changed background of alerted node from danger to primary
  • Fix arrow popover color not in sync with background color
  • Handles should be visible as a small dot
  • Expand button's color should be similar to the nodes color
  • Main alert path should be a solid line

Before:

Screenshot 2024-12-18 at 18 45 31

After:

Screenshot 2024-12-18 at 19 08 31

Screen.Recording.2024-12-18.at.19.11.08.mov

How to test

To test this PR you can run

yarn storybook cloud_security_posture_packages

To test e2e

  • Enable the feature flag

kibana.dev.yml:

uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
  • Load mocked data:
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
  • Make sure you include data from Oct 13 2024. (in the video I use Last year)

Checklist

@kfirpeled kfirpeled added release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related backport:prev-minor labels Dec 17, 2024
@kfirpeled kfirpeled marked this pull request as ready for review December 18, 2024 16:09
@kfirpeled kfirpeled requested a review from a team as a code owner December 18, 2024 16:09
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@kfirpeled kfirpeled requested review from maxcold and opauloh December 18, 2024 18:13
Copy link
Copy Markdown
Contributor

@opauloh opauloh left a comment

Choose a reason for hiding this comment

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

LGTM, just a suggestion

@kfirpeled kfirpeled enabled auto-merge (squash) December 19, 2024 13:03
@kfirpeled kfirpeled merged commit 576f3c5 into elastic:main Dec 19, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

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

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 6475 6476 +1

Async chunks

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

id before after diff
securitySolution 21.4MB 21.4MB +87.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/cloud-security-posture-graph 32 33 +1

Total ESLint disabled count

id before after diff
@kbn/cloud-security-posture-graph 34 35 +1

History

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [Cloud Security] Improve graph node label ellipsis logic (#204580)

Manual backport

To create the backport manually run:

node scripts/backport --pr 204610

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Dec 19, 2024
## Summary

- [x] Remove the unknown or question symbols for entities who's type we
don't know
- [x] Replace edges to be sharp path instead of a smooth one
- [x] Changed background of alerted node from `danger` to `primary`
- [x] Fix arrow popover color not in sync with background color
- [x] Handles should be visible as a small dot
- [x] Expand button's color should be similar to the nodes color
- [x] Main alert path should be a solid line

Before:

![Screenshot 2024-12-18 at 18 45
31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)

After:

![Screenshot 2024-12-18 at 19 08
31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)

https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d

**How to test**

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test e2e

- Enable the feature flag

`kibana.dev.yml`:

```yaml
uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
```

- Load mocked data:

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
```

- Make sure you include data from Oct 13 2024. (in the video I use Last
year)

### Checklist

- [x] [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

---------

Co-authored-by: Sean Rathier <sean.rathier@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: seanrathier <sean.rathier@gmail.com>
(cherry picked from commit 576f3c5)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Dec 19, 2024
## Summary

- [x] Remove the unknown or question symbols for entities who's type we
don't know
- [x] Replace edges to be sharp path instead of a smooth one 
- [x] Changed background of alerted node from `danger` to `primary`
- [x] Fix arrow popover color not in sync with background color 
- [x] Handles should be visible as a small dot
- [x] Expand button's color should be similar to the nodes color
- [x] Main alert path should be a solid line

Before:

![Screenshot 2024-12-18 at 18 45
31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)


After:

![Screenshot 2024-12-18 at 19 08
31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)



https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d


**How to test**

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test e2e

- Enable the feature flag 

`kibana.dev.yml`:

```yaml
uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
```

- Load mocked data:

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
```

- Make sure you include data from Oct 13 2024. (in the video I use Last
year)



### Checklist

- [x] [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

---------

Co-authored-by: Sean Rathier <sean.rathier@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: seanrathier <sean.rathier@gmail.com>
kibanamachine added a commit that referenced this pull request Dec 19, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] Update graph appearance
(#204610)](#204610)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Kfir
Peled","email":"61654899+kfirpeled@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-19T14:50:39Z","message":"[Cloud
Security] Update graph appearance (#204610)\n\n## Summary\r\n\r\n- [x]
Remove the unknown or question symbols for entities who's type
we\r\ndon't know\r\n- [x] Replace edges to be sharp path instead of a
smooth one \r\n- [x] Changed background of alerted node from `danger` to
`primary`\r\n- [x] Fix arrow popover color not in sync with background
color \r\n- [x] Handles should be visible as a small dot\r\n- [x] Expand
button's color should be similar to the nodes color\r\n- [x] Main alert
path should be a solid line\r\n\r\nBefore:\r\n\r\n![Screenshot
2024-12-18 at 18
45\r\n31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)\r\n\r\n\r\nAfter:\r\n\r\n![Screenshot
2024-12-18 at 19
08\r\n31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d\r\n\r\n\r\n**How
to test**\r\n\r\nTo test this PR you can run\r\n\r\n```\r\nyarn
storybook cloud_security_posture_packages\r\n```\r\n\r\nTo test
e2e\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Sean Rathier
<sean.rathier@elastic.co>\r\nCo-authored-by: Brad White
<Ikuni17@users.noreply.github.com>\r\nCo-authored-by: seanrathier
<sean.rathier@gmail.com>","sha":"576f3c5e81fee12cf1146b8d25b25e5ec865ea48","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","ci:build-storybooks"],"title":"[Cloud
Security] Update graph
appearance","number":204610,"url":"https://github.com/elastic/kibana/pull/204610","mergeCommit":{"message":"[Cloud
Security] Update graph appearance (#204610)\n\n## Summary\r\n\r\n- [x]
Remove the unknown or question symbols for entities who's type
we\r\ndon't know\r\n- [x] Replace edges to be sharp path instead of a
smooth one \r\n- [x] Changed background of alerted node from `danger` to
`primary`\r\n- [x] Fix arrow popover color not in sync with background
color \r\n- [x] Handles should be visible as a small dot\r\n- [x] Expand
button's color should be similar to the nodes color\r\n- [x] Main alert
path should be a solid line\r\n\r\nBefore:\r\n\r\n![Screenshot
2024-12-18 at 18
45\r\n31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)\r\n\r\n\r\nAfter:\r\n\r\n![Screenshot
2024-12-18 at 19
08\r\n31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d\r\n\r\n\r\n**How
to test**\r\n\r\nTo test this PR you can run\r\n\r\n```\r\nyarn
storybook cloud_security_posture_packages\r\n```\r\n\r\nTo test
e2e\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Sean Rathier
<sean.rathier@elastic.co>\r\nCo-authored-by: Brad White
<Ikuni17@users.noreply.github.com>\r\nCo-authored-by: seanrathier
<sean.rathier@gmail.com>","sha":"576f3c5e81fee12cf1146b8d25b25e5ec865ea48"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204610","number":204610,"mergeCommit":{"message":"[Cloud
Security] Update graph appearance (#204610)\n\n## Summary\r\n\r\n- [x]
Remove the unknown or question symbols for entities who's type
we\r\ndon't know\r\n- [x] Replace edges to be sharp path instead of a
smooth one \r\n- [x] Changed background of alerted node from `danger` to
`primary`\r\n- [x] Fix arrow popover color not in sync with background
color \r\n- [x] Handles should be visible as a small dot\r\n- [x] Expand
button's color should be similar to the nodes color\r\n- [x] Main alert
path should be a solid line\r\n\r\nBefore:\r\n\r\n![Screenshot
2024-12-18 at 18
45\r\n31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)\r\n\r\n\r\nAfter:\r\n\r\n![Screenshot
2024-12-18 at 19
08\r\n31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d\r\n\r\n\r\n**How
to test**\r\n\r\nTo test this PR you can run\r\n\r\n```\r\nyarn
storybook cloud_security_posture_packages\r\n```\r\n\r\nTo test
e2e\r\n\r\n- Enable the feature flag
\r\n\r\n`kibana.dev.yml`:\r\n\r\n```yaml\r\nuiSettings.overrides.securitySolution:enableVisualizationsInFlyout:
true\r\nxpack.securitySolution.enableExperimental:
['graphVisualizationInFlyoutEnabled']\r\n```\r\n\r\n- Load mocked
data:\r\n\r\n```bash\r\nnode scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit
\\ \r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n\r\nnode
scripts/es_archiver load
x-pack/test/cloud_security_posture_functional/es_archives/security_alerts
\\\r\n --es-url http://elastic:changeme@localhost:9200 \\\r\n
--kibana-url http://elastic:changeme@localhost:5601\r\n```\r\n\r\n- Make
sure you include data from Oct 13 2024. (in the video I use
Last\r\nyear)\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Sean Rathier
<sean.rathier@elastic.co>\r\nCo-authored-by: Brad White
<Ikuni17@users.noreply.github.com>\r\nCo-authored-by: seanrathier
<sean.rathier@gmail.com>","sha":"576f3c5e81fee12cf1146b8d25b25e5ec865ea48"}}]}]
BACKPORT-->

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
stratoula pushed a commit to stratoula/kibana that referenced this pull request Jan 2, 2025
## Summary

- [x] Remove the unknown or question symbols for entities who's type we
don't know
- [x] Replace edges to be sharp path instead of a smooth one 
- [x] Changed background of alerted node from `danger` to `primary`
- [x] Fix arrow popover color not in sync with background color 
- [x] Handles should be visible as a small dot
- [x] Expand button's color should be similar to the nodes color
- [x] Main alert path should be a solid line

Before:

![Screenshot 2024-12-18 at 18 45
31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)


After:

![Screenshot 2024-12-18 at 19 08
31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)



https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d


**How to test**

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test e2e

- Enable the feature flag 

`kibana.dev.yml`:

```yaml
uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
```

- Load mocked data:

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
```

- Make sure you include data from Oct 13 2024. (in the video I use Last
year)



### Checklist

- [x] [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

---------

Co-authored-by: Sean Rathier <sean.rathier@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: seanrathier <sean.rathier@gmail.com>
benakansara pushed a commit to benakansara/kibana that referenced this pull request Jan 2, 2025
## Summary

- [x] Remove the unknown or question symbols for entities who's type we
don't know
- [x] Replace edges to be sharp path instead of a smooth one 
- [x] Changed background of alerted node from `danger` to `primary`
- [x] Fix arrow popover color not in sync with background color 
- [x] Handles should be visible as a small dot
- [x] Expand button's color should be similar to the nodes color
- [x] Main alert path should be a solid line

Before:

![Screenshot 2024-12-18 at 18 45
31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)


After:

![Screenshot 2024-12-18 at 19 08
31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)



https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d


**How to test**

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test e2e

- Enable the feature flag 

`kibana.dev.yml`:

```yaml
uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
```

- Load mocked data:

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
```

- Make sure you include data from Oct 13 2024. (in the video I use Last
year)



### Checklist

- [x] [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

---------

Co-authored-by: Sean Rathier <sean.rathier@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: seanrathier <sean.rathier@gmail.com>
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Jan 23, 2025
## Summary

- [x] Remove the unknown or question symbols for entities who's type we
don't know
- [x] Replace edges to be sharp path instead of a smooth one 
- [x] Changed background of alerted node from `danger` to `primary`
- [x] Fix arrow popover color not in sync with background color 
- [x] Handles should be visible as a small dot
- [x] Expand button's color should be similar to the nodes color
- [x] Main alert path should be a solid line

Before:

![Screenshot 2024-12-18 at 18 45
31](https://github.com/user-attachments/assets/4fd24ec7-8a8b-4659-8605-a53685be8d78)


After:

![Screenshot 2024-12-18 at 19 08
31](https://github.com/user-attachments/assets/ebeae458-075d-48a3-8a42-66787440adc1)



https://github.com/user-attachments/assets/4253ec83-19da-4c34-bb80-cb4ca900672d


**How to test**

To test this PR you can run

```
yarn storybook cloud_security_posture_packages
```

To test e2e

- Enable the feature flag 

`kibana.dev.yml`:

```yaml
uiSettings.overrides.securitySolution:enableVisualizationsInFlyout: true
xpack.securitySolution.enableExperimental: ['graphVisualizationInFlyoutEnabled']
```

- Load mocked data:

```bash
node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/logs_gcp_audit \ 
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601

node scripts/es_archiver load x-pack/test/cloud_security_posture_functional/es_archives/security_alerts \
  --es-url http://elastic:changeme@localhost:9200 \
  --kibana-url http://elastic:changeme@localhost:5601
```

- Make sure you include data from Oct 13 2024. (in the video I use Last
year)



### Checklist

- [x] [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

---------

Co-authored-by: Sean Rathier <sean.rathier@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: seanrathier <sean.rathier@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:build-storybooks release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants