-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Entity Analytics][Hypotheses] Prebuilt hypotheses initialisation and reconciliation #241340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…d type groundwork
…formance of loading in on startup
...solution/server/lib/entity_analytics/hypothesis_threat_hunting/lib/hypothesis_definitions.ts
Show resolved
Hide resolved
| : AUDIT_TYPE.CHANGE; | ||
|
|
||
| const category = AUDIT_CATEGORY.DATABASE; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tiansivive @machadoum I 100% copy pasta'd this logger from both your efforts (thank you 🙏) - QQ on the categories --> for saved_object_create (specified in docs here) is this good enough or is there something else I need to add?
…inSetup comment for audit
…stent naming for soClient params
…oring; testing FTR skeleton and setup
|
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
…lag to entity analytics migrations schedule
💔 Build Failed
Failed CI StepsHistory
|
jbudz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.buildkite/ftr_security_stateful_configs.yml LGTM
Playground for Threat Hunting Hypothesis Definitions Initialisation and Reconciliation — testing Saved Object creation, schema setup, client wiring along with init and reconciliation of hypothesis definitions list to surface questions early.
What it does currently:
🚧 In progress:
Notes:
How To Test Locally
These steps worked before move to call from scheduleEntityAnalyticsMigration, hopefully 🤞they still do:
x-pack/solutions/security/plugins/security_solution/server/lib/entity_analytics/hypothesis_threat_hunting/lib/hypothesis_definitions.tsthen bump the version again - expect 1 updated, 1 deleted, 0 created in log. Expect only one saved object of threat-hunting-hypothesis type should now exist.Preview, dev tools from Saved Object:
