Skip to content

Conversation

@pzl
Copy link
Member

@pzl pzl commented Jan 21, 2025

Change Summary

Adds fleet agent unenrolled reason fields to support the new agent statuses added here: elastic/kibana#205815

Release Target

9.0+

Q/A

For mapping changes:

  • I ran make after making the schema changes, and committed all changes
  • If this is a metadata change, I also updated both transform destination schemas to match

For Transform changes:

  • The new transform successfully starts in Kibana
  • The corresponding transform destination schema was updated if necessary

@pzl pzl requested a review from a team as a code owner January 21, 2025 15:33
@pzl pzl requested review from ashokaditya, joeypoon, parkiino and tomsonpl and removed request for parkiino and tomsonpl January 21, 2025 15:33
Comment on lines +512 to +517
"audit_unenrolled_time": {
"type": "date"
},
"audit_unenrolled_reason": {
"type": "keyword"
},
Copy link
Member

Choose a reason for hiding this comment

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

I'm assuming these fields hold the same value as unenrolled_at and unenrolled_reason? I'm curious what triggers an update to values to these new fields.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure what went into the decision to use new fields, given those exist. But this is just mirroring the .fleet-agents mapping, since we union with that document. We just need to keep in sync with the agent mapping: https://github.com/elastic/elasticsearch/pull/111909/files

@pzl pzl merged commit 89bea17 into main Jan 21, 2025
4 checks passed
@pzl pzl deleted the unenrolled-reason branch January 21, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants