-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Entity Analytics] Adding changes for event.ingested in riskScore and assetCriticality #203975
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
x-pack/plugins/security_solution/server/lib/entity_analytics/utils/create_ingest_pipeline.ts
Outdated
Show resolved
Hide resolved
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.
Please see my comment on the ingest pipeline field
@elasticmachine merge upstream |
merge conflict between base and head |
…ested-RiskScoreAndAssetCriticality
…' of https://github.com/abhishekbhatia1710/kibana into ea-11288-add-eventIngested-RiskScoreAndAssetCriticality
…' of https://github.com/abhishekbhatia1710/kibana into ea-11288-add-eventIngested-RiskScoreAndAssetCriticality
…' of https://github.com/abhishekbhatia1710/kibana into ea-11288-add-eventIngested-RiskScoreAndAssetCriticality
...curity/plugins/security_solution/server/lib/entity_analytics/utils/create_ingest_pipeline.ts
Outdated
Show resolved
Hide resolved
...y/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts
Outdated
Show resolved
Hide resolved
|
||
taskManager.registerTaskDefinitions({ | ||
[TASK_TYPE]: { | ||
title: `Copy @timestamp value to events.ingested`, |
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.
title: `Copy @timestamp value to events.ingested`, | |
title: `Copy Asset Criticality @timestamp value to events.ingested`, |
...y/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts
Outdated
Show resolved
Hide resolved
- removing the error.message block - Renaming methods - Removing scroll
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]
History
|
Summary
This pull request introduces changes to the asset criticality and risk score data clients to utilize a new ingest pipeline for adding event timestamps. The changes include the addition of utility functions for creating and retrieving the ingest pipeline, updates to the field mappings, and modifications to the data clients to integrate the new pipeline.
Ingest Pipeline Integration:
x-pack/plugins/security_solution/server/lib/entity_analytics/utils/create_ingest_pipeline.ts
: Added new utility functionsgetIngestPipelineName
andcreateIngestTimestampPipeline
to manage the ingest pipeline for adding event timestamps.Asset Criticality Data Client:
x-pack/plugins/security_solution/server/lib/entity_analytics/asset_criticality/asset_criticality_data_client.ts
: Imported the new utility functions and updated theinit
method to create the ingest timestamp pipeline. Additionally, modified the index settings to use the new ingest pipeline.Risk Score Data Client:
x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/risk_score_data_client.ts
: Imported the new utility functions, updated theinit
method to create the ingest timestamp pipeline, and modified the index settings to use the new ingest pipeline.Field Mapping Updates:
x-pack/plugins/security_solution/server/lib/entity_analytics/asset_criticality/constants.ts
: Added the field mappingevent.ingested
for asset criticality.x-pack/plugins/security_solution/server/lib/entity_analytics/risk_score/configurations.ts
: Added the field mappingevent.ingested
for risk score.Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:*
label is applied per the guidelines