Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,12 @@
"unenrollment_started_at": {
"type": "date"
},
"audit_unenrolled_time": {
"type": "date"
},
"audit_unenrolled_reason": {
"type": "keyword"
},
Comment on lines +512 to +517
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

"updated_at": {
"type": "date"
},
Expand Down