Skip to content
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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

abhishekbhatia1710
Copy link
Contributor

@abhishekbhatia1710 abhishekbhatia1710 commented Dec 12, 2024

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:

Asset Criticality Data Client:

Risk Score Data Client:

Field Mapping Updates:

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Unit or functional tests were updated or added to match the most common scenarios
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@abhishekbhatia1710 abhishekbhatia1710 added backport:skip This commit does not require backporting release_note:feature Makes this part of the condensed release notes Team:Entity Analytics Security Entity Analytics Team 8.18 candidate labels Dec 12, 2024
@abhishekbhatia1710 abhishekbhatia1710 self-assigned this Dec 12, 2024
@abhishekbhatia1710 abhishekbhatia1710 requested a review from a team as a code owner December 12, 2024 09:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-entity-analytics (Team:Entity Analytics)

@abhishekbhatia1710 abhishekbhatia1710 changed the title Adding changes for event.ingested in riskScore and assetCriticality [Entity Analytics] Adding changes for event.ingested in riskScore and assetCriticality Dec 12, 2024
Copy link
Contributor

@hop-dev hop-dev left a 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

@abhishekbhatia1710
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

merge conflict between base and head


taskManager.registerTaskDefinitions({
[TASK_TYPE]: {
title: `Copy @timestamp value to events.ingested`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
title: `Copy @timestamp value to events.ingested`,
title: `Copy Asset Criticality @timestamp value to events.ingested`,

- removing the error.message block
- Renaming methods
- Removing scroll
@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 8, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #26 / Entity Analytics - Risk Engine @ess @serverless @skipInServerlessMKI asset_criticality Asset Criticality APIs initialisation of resources should have index installed on status api call
  • [job] [logs] FTR Configs #53 / Entity Analytics - Risk Engine @ess @serverless @skipInServerlessMKI asset_criticality Asset Criticality APIs initialisation of resources should have index installed on status api call
  • [job] [logs] FTR Configs #53 / Entity Analytics - Risk Engine @ess @serverless @skipInServerlessMKI asset_criticality Asset Criticality APIs initialisation of resources should have index installed on status api call
  • [job] [logs] FTR Configs #26 / Entity Analytics - Risk Engine @ess @serverless @skipInServerlessMKI asset_criticality Asset Criticality APIs initialisation of resources should have index installed on status api call

Metrics [docs]

✅ unchanged

History

cc @abhishekbhatia1710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.18 candidate backport:skip This commit does not require backporting release_note:feature Makes this part of the condensed release notes Team:Entity Analytics Security Entity Analytics Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants