[Attack discovery] Add utils for testing#182918
Merged
patrykkopycinski merged 37 commits intoelastic:mainfrom Jan 14, 2025
Merged
[Attack discovery] Add utils for testing#182918patrykkopycinski merged 37 commits intoelastic:mainfrom
patrykkopycinski merged 37 commits intoelastic:mainfrom
Conversation
…covery-e2e # Conflicts: # yarn.lock
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
…ki/kibana into feat/attack-discovery-e2e
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
…ki/kibana into feat/attack-discovery-e2e
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
mbondyra
approved these changes
Jan 1, 2025
…covery-e2e # Conflicts: # src/platform/plugins/shared/visualizations/public/legacy/embeddable/visualize_embeddable.tsx
…ki/kibana into feat/attack-discovery-e2e
e40pud
approved these changes
Jan 14, 2025
Contributor
e40pud
left a comment
There was a problem hiding this comment.
LGTM! Left a small question :-)
| { | ||
| description: `Loads data into a environment for testing/development`, | ||
| flags: { | ||
| string: ['kibanaUrl', 'username', 'password'], |
Contributor
There was a problem hiding this comment.
why don't we have elasticsearchUrl here?
Contributor
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]
History
|
Contributor
|
Starting backport for target branches: 8.x |
kibanamachine
added a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 14, 2025
## Summary Add `load_attack_discovery_data` script that populates alerts data for Attack discovery testing To load Attack discovery data to the existing instance: ``` node x-pack/solutions/security/plugins/security_solution/scripts/load_attack_discovery_data.js --kibanaUrl http://127.0.0.1:5620 --elasticsearchUrl http://127.0.0.1:9220 ``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co> (cherry picked from commit 2c9e55d)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Jan 14, 2025
# Backport This will backport the following commits from `main` to `8.x`: - [[Attack discovery] Add utils for testing (#182918)](#182918) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2025-01-14T21:45:28Z","message":"[Attack discovery] Add utils for testing (#182918)\n\n## Summary\r\n\r\nAdd `load_attack_discovery_data` script that populates alerts data for\r\nAttack discovery testing\r\n\r\nTo load Attack discovery data to the existing instance:\r\n```\r\nnode x-pack/solutions/security/plugins/security_solution/scripts/load_attack_discovery_data.js --kibanaUrl http://127.0.0.1:5620 --elasticsearchUrl http://127.0.0.1:9220\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Mark Hopkin <mark.hopkin@elastic.co>","sha":"2c9e55dc44a27f4781ae50e55e9b42dc5eb6f1fb","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Feature:Security Assistant","Team:Security Generative AI"],"title":"[Attack discovery] Add utils for testing","number":182918,"url":"https://github.com/elastic/kibana/pull/182918","mergeCommit":{"message":"[Attack discovery] Add utils for testing (#182918)\n\n## Summary\r\n\r\nAdd `load_attack_discovery_data` script that populates alerts data for\r\nAttack discovery testing\r\n\r\nTo load Attack discovery data to the existing instance:\r\n```\r\nnode x-pack/solutions/security/plugins/security_solution/scripts/load_attack_discovery_data.js --kibanaUrl http://127.0.0.1:5620 --elasticsearchUrl http://127.0.0.1:9220\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Mark Hopkin <mark.hopkin@elastic.co>","sha":"2c9e55dc44a27f4781ae50e55e9b42dc5eb6f1fb"}},"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/182918","number":182918,"mergeCommit":{"message":"[Attack discovery] Add utils for testing (#182918)\n\n## Summary\r\n\r\nAdd `load_attack_discovery_data` script that populates alerts data for\r\nAttack discovery testing\r\n\r\nTo load Attack discovery data to the existing instance:\r\n```\r\nnode x-pack/solutions/security/plugins/security_solution/scripts/load_attack_discovery_data.js --kibanaUrl http://127.0.0.1:5620 --elasticsearchUrl http://127.0.0.1:9220\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Mark Hopkin <mark.hopkin@elastic.co>","sha":"2c9e55dc44a27f4781ae50e55e9b42dc5eb6f1fb"}}]}] BACKPORT--> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
viduni94
pushed a commit
to viduni94/kibana
that referenced
this pull request
Jan 23, 2025
## Summary Add `load_attack_discovery_data` script that populates alerts data for Attack discovery testing To load Attack discovery data to the existing instance: ``` node x-pack/solutions/security/plugins/security_solution/scripts/load_attack_discovery_data.js --kibanaUrl http://127.0.0.1:5620 --elasticsearchUrl http://127.0.0.1:9220 ``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
patrykkopycinski
added a commit
that referenced
this pull request
Jan 24, 2025
## Summary Followup for #182918. Compressed content and switched to load `.ndjson.gz`directly
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 24, 2025
## Summary Followup for elastic#182918. Compressed content and switched to load `.ndjson.gz`directly (cherry picked from commit 67bedde)
kibanamachine
added a commit
that referenced
this pull request
Jan 24, 2025
#208255) # Backport This will backport the following commits from `main` to `8.x`: - [[Attack discovery] Optimize attack discovery test data (#206885)](#206885) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patryk Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2025-01-24T18:15:07Z","message":"[Attack discovery] Optimize attack discovery test data (#206885)\n\n## Summary\r\n\r\nFollowup for #182918. \r\nCompressed content and switched to load `.ndjson.gz`directly","sha":"67bedde849b502ee366b341ae66a19eb03f71ac3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Feature:Security Assistant","Team:Security Generative AI","backport:version","v8.18.0"],"title":"[Attack discovery] Optimize attack discovery test data","number":206885,"url":"https://github.com/elastic/kibana/pull/206885","mergeCommit":{"message":"[Attack discovery] Optimize attack discovery test data (#206885)\n\n## Summary\r\n\r\nFollowup for #182918. \r\nCompressed content and switched to load `.ndjson.gz`directly","sha":"67bedde849b502ee366b341ae66a19eb03f71ac3"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206885","number":206885,"mergeCommit":{"message":"[Attack discovery] Optimize attack discovery test data (#206885)\n\n## Summary\r\n\r\nFollowup for #182918. \r\nCompressed content and switched to load `.ndjson.gz`directly","sha":"67bedde849b502ee366b341ae66a19eb03f71ac3"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
JoseLuisGJ
pushed a commit
to JoseLuisGJ/kibana
that referenced
this pull request
Jan 27, 2025
## Summary Followup for elastic#182918. Compressed content and switched to load `.ndjson.gz`directly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
load_attack_discovery_datascript that populates alerts data for Attack discovery testingTo load Attack discovery data to the existing instance: