mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Fleet] Do not use inactivity timeouts of 0 when calculating agent status (#148977)
Closes #148961 ## Summary When gathering agent policies with inactivity timeouts, do not return agent policies with a timeout of 0. Inactivity timeout of 0 is considered not having an inactivity timeout.
This commit is contained in:
parent
c594f606e8
commit
7c392ffcc2
1 changed files with 1 additions and 1 deletions
|
@ -1042,7 +1042,7 @@ class AgentPolicyService {
|
|||
type: SAVED_OBJECT_TYPE,
|
||||
page: 1,
|
||||
perPage: SO_SEARCH_LIMIT,
|
||||
filter: `${SAVED_OBJECT_TYPE}.attributes.inactivity_timeout: *`,
|
||||
filter: `${SAVED_OBJECT_TYPE}.attributes.inactivity_timeout > 0`,
|
||||
fields: [`inactivity_timeout`],
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue