-
Notifications
You must be signed in to change notification settings - Fork 464
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
Create Host Risk Score package #4019
Conversation
💔 Build Failed
Expand to view the summary
Build stats
Steps errorsExpand to view the steps failures
|
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_levels_script.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_ingest_pipeline.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_init_script.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_levels_script.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_map_script.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_reduce_script.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
@susan-shu-c Thanks for kicking this off. Made some comments but some more general ones:
|
Let's keep an eye on this in case it ends up being a blocker. |
packages/host_risk_score/elasticsearch/ingest_pipeline/ml_hostriskscore_ingest_pipeline.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/ml_hostriskscore_pivot_transform.yml
Outdated
Show resolved
Hide resolved
Weekly update - started putting up scripts, started fixing some things based on reviews/feedback. |
packages/host_risk_score/elasticsearch/ingest_pipeline/ingest_pipeline.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/pivot_transform/transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/ingest_pipeline/ingest_pipeline.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/pivot_transform/transform.yml
Outdated
Show resolved
Hide resolved
I believe this is not stale but, still in draft form because it's currently blocked. @susan-shu-c can you please comment with what's left/link related issues that are blocking? |
Thank you @szeitlin - more documentation below 👍 More progress has made outside of this PR, with more information this Issue, namely: |
Not stale! Just blocked still! |
c959f6f
to
f45260c
Compare
packages/host_risk_score/elasticsearch/transform/pivot_transform/transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/transform.yml
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/transform.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
packages/host_risk_score/elasticsearch/transform/latest_transform/fields/fields.yml
Outdated
Show resolved
Hide resolved
287b2db
to
fdcf6dc
Compare
Rebased, sorry for the notifications all 😂 |
Update: We are blocked on merging this until we resolve questions about workflow/installation/enablement. |
Hey @susan-shu-c, just want to make sure we don't merge this until further discussion with the larger Entity Analytics team. |
@peluja1012 Hi, have synced on Sourin some weeks ago and that was the plan! Hence we are holding off on merging this for the time being. |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Blocked for now, when the status changes I'll clean up the tags, but will let the tags be for now. |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
Thank you for the service, bot! This PR will remain here as an archive in the case we're able to reuse it. |
What does this PR do?
Create "host risk score" package, replicating the core functionality of this script.
Note: the previous script version was removed from
main
in this commit, and the new code was added in the same commit.The host risk score feature highlights risky hosts from within your environment. It utilizes a transform with a scripted metric aggregation to calculate host risk scores based on alerts that were generated within the past five days.
Related issues
Screenshots
Successful installation of 2x indices and 2x transforms
Populated the pivot transform destination index
Populated the latest transform index
How to test this PR locally
elastic-package
:elastic-package stack up -d -v --version 8.7.0-SNAPSHOT
@timestamp: *
and runs every 5 seconds). Note: this is a workaround for the error that appears on a fresh stack install with no alerts generated yet -no such index [.alerts-security.alerts-default];
elastic-package install
For quick teardown and restart of the local Elastic stack, you can use the below script or variation to reduce manual steps.
Checklist
changelog.yml
file.