Hello, would it be possible for osquery agent to s...
# fleet
j
Hello, would it be possible for osquery agent to somehow ask fleet to scan him cause he has a new important data?
k
Hey @JanRC! What kind of new important data are we talking about?
j
Hello. e.g. New content for the tables that monitor critical events.
l
Hi @JanRC! The same way you can trigger a "refetch" of a host in the UI, you can refetch via the API:
POST /api/latest/fleet/hosts/{host_id}/refetch
"Refetching" a host which will make it run all the host details, software, policies and additional queries they are configured to run periodically.
Maybe you can use such API to trigger a refetch of a host when your system detects a need.