[Security Solution] fix endpoint being visible after unenrolling agent (#116372)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
17df3a2654
commit
4efabacd4e
|
@ -42,5 +42,9 @@ export function agentSOAttributesToFleetServerAgentDoc(
|
|||
doc.policy_revision_idx = policyRevison;
|
||||
}
|
||||
|
||||
if (!doc.updated_at) {
|
||||
doc.updated_at = new Date().toISOString();
|
||||
}
|
||||
|
||||
return doc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue