Skip to content

[AWS CloudTrail] Remove host.id assignment from target entities — host.id represents the actor, not the target #19628

@alexreal1314

Description

@alexreal1314

Motivation
Populating host.id from hostTargets.first() conflates the actor with the target and additionally picks an arbitrary, order-dependent value when multiple target instances are present. The assignment should be removed entirely.

Definition of done

  • The field("host.id").set(hostTargets.first()); line is removed from the CloudTrail ingest pipeline.
  • host.target.entity.id continues to be populated with the full list of host targets (unchanged).
  • No host.id is derived from CloudTrail target entities anywhere in the pipeline.
  • Changelog entry added for the aws package.

Team tag

@elastic/cloud-security-posture

Metadata

Metadata

Assignees

Labels

Integration:awsAWSTeam:Cloud SecurityCloud Security team [elastic/cloud-security-posture]bugSomething isn't working, use only for issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions