[Fleet] Ignore missing policies when fetching agent data (#199325)

This commit is contained in:
Nicolas Chaulet 2024-11-07 11:29:37 -05:00 committed by GitHub
parent a2c94d87c4
commit 52d7eaf6d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,7 @@ function useFullAgentPolicyFetcher() {
if (policiesToFetchIds.length) {
const bulkGetAgentPoliciesResponse = await sendBulkGetAgentPolicies(policiesToFetchIds, {
full: authz.fleet.readAgentPolicies,
ignoreMissing: true,
});
if (bulkGetAgentPoliciesResponse.error) {