GitHub
12/16/2024, 10:57 AMVerifyComplete with CleanupCompletedQueries. In this case, we don't need to check the complete status whenever we receive new data from Osquery. Instead, we check it periodically with the expired function. Since we changed how to fetch the list of target queries, keeping a distributed query in an active state does not affect performance.
• Update how to get lists of target nodes in API and osctrl-admin. We use the intersection to get a list of targeted nodes. We can easily extend this part to support more tags and unions or other operations.
TODO:
• Remove everything related to CreateTarget function and relevant database table. This function was used by admin, API and cli. I am wondering if we can remove these duplications and make sure the Admin and CLI talk to API instead of the database directly.
jmpsec/osctrl
✅ All checks have passed
24/24 successful checksGitHub
01/07/2025, 10:08 AM