defensivedepth
03/05/2021, 3:22 PMmanoj434
03/08/2021, 4:31 AMdefensivedepth
03/08/2021, 2:41 PM/spec/
is not currently used in the Fleet API - is this future or just an oversight in the docs?nyanshak
03/08/2021, 10:18 PMnyanshak
03/08/2021, 11:51 PMSeán O'Halloran
03/09/2021, 6:00 PMplatforms: darwin
and this works, like so:
overrides:
platforms:
darwin:
exclude_paths:
downloads:
- /Users/%/Downloads/ignore/%%
file_paths:
downloads:
- /Users/%/Downloads/%%
However I want to have another set of paths targeting CentOS.
The centos platform definition doesn’t seem to work for whatever reason. Can you scope FIM any other way, such as by label?zwass
nyanshak
03/09/2021, 9:04 PMnyanshak
03/09/2021, 9:14 PMbenbass
03/09/2021, 9:21 PMbenbass
03/10/2021, 3:24 PMdemonbhao
03/12/2021, 2:20 AMJustin Bowen
03/12/2021, 7:04 PMDan Achin
03/15/2021, 7:49 PM--config_plugin=tls
--config_tls_endpoint=/api/v1/osquery/config
--config_refresh=3600
We still have the following in osquery.flags
--enroll_secret_path=REDACTED
--tls_hostname=REDACTED
--host_identifier=uuid
--enroll_tls_endpoint=/api/v1/osquery/enroll
--disable_distributed=false
--distributed_plugin=tls
--distributed_interval=60
--distributed_tls_max_attempts=3
--distributed_tls_read_endpoint=/api/v1/osquery/distributed/read
--distributed_tls_write_endpoint=/api/v1/osquery/distributed/write
--logger_plugin=tls
--logger_tls_endpoint=/api/v1/osquery/log
--logger_tls_period=10
-–watchdog_memory_limit=500
I'm seeing some strange stuff in this test environment. The hosts will register to fleet, but if you refresh fleet UI, every 10 - 15 seconds or so the hosts will flap between offline and online. Additionally, we aren't logging ANY query results at fleet for these nodes even though we have a few simple ones scheduled. When I run osquery in debug on these nodes, I see the registration, but no decorators, options, packs or queries. I tried adding back in config_plugin=tls and then started to get a bunch of errors about enrolling too often.billcobbler
03/16/2021, 12:35 AMdistributed_tls_max_attempts
set to 3, but osquery clients continue to send old distributed query results which results in repeated 500s with Fleet logging error messages indicating the hosts are still using old query names. Some example error logs:
failed to ingest result: unknown query prefix: kolide_detail_query_osquery_flags
failed to ingest result: unknown query prefix: kolide_label_query_9
failed to ingest result: unknown query prefix: kolide_detail_query_uptime
As far as I can tell after looking at how Fleet generates host detail queries, this might just be an issue with OSQuery not honoring the max attempts setting? Anyone else run into this, or know for a fact that the max attempts setting actually works?Joshua Schmitt
03/16/2021, 2:39 AMScott Lampert
03/17/2021, 2:54 PMkoba
03/17/2021, 5:13 PMMark Noonan
03/18/2021, 5:29 PMDavid J Davis
03/19/2021, 3:49 PMAshwin Kawade
03/19/2021, 5:46 PM# Server
--tls_hostname=xxxxx:8412
--tls_server_certs=/home/dell/fleet.pem
# Enrollment
--host_identifier=instance
--enroll_secret_path=/home/dell/secret.txt
--enroll_tls_endpoint=/api/v1/osquery/enroll
# Configuration
--config_plugin=tls
--config_tls_endpoint=/api/v1/osquery/config
--config_refresh=10
# Live query
--disable_distributed=false
--distributed_plugin=tls
--distributed_interval=10
--distributed_tls_max_attempts=3
--distributed_tls_read_endpoint=/api/v1/osquery/distributed/read
--distributed_tls_write_endpoint=/api/v1/osquery/distributed/write
# Logging
--logger_plugin=tls
--logger_tls_endpoint=/api/v1/osquery/log
--logger_tls_period=10
# File carving
--disable_carver=false
--carver_start_endpoint=/api/v1/osquery/carve/begin
--carver_continue_endpoint=/api/v1/osquery/carve/block
--carver_block_size=2000000
secret.txt and fleet.pem are at home directory.
please help me to resolve this issue. Thank youDan Achin
03/19/2021, 5:51 PM"version": "3.9.0-dirty",
Dan Achin
03/19/2021, 6:27 PMabraham linkolan
03/21/2021, 1:03 PMFailed enrollment to https://<address>/api/v1/osquery/enroll (Request error: certificate verify failed)
), even though it is signed by our organization's CA. When I access the web UI through Chrome, for example, it says "secure", which means the certificate is OK.
Any ideas?Artem
03/22/2021, 5:13 PMJason W
03/22/2021, 5:32 PMdefensivedepth
03/22/2021, 7:58 PMwtheaker
03/23/2021, 6:13 PMJoshua Schmitt
03/24/2021, 4:33 AMAlexandr Ivanov
03/24/2021, 9:34 AM