SK
10/06/2021, 9:09 AMzwass
KK
10/07/2021, 11:07 AMtext
, but the current host status payload does not, hence the ask.pvirani
10/07/2021, 6:45 PMUnknown database 'fleet'
. Works fine otherwise. Any ideas why?Stephan
10/07/2021, 6:49 PMFAIL 20210819131107_AddCascadeToHostSoftware.go (save current host software to a temp table: Error 1787: Statement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context. These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.), quitting migration.
Anyone else run into this?Gavin
10/07/2021, 8:10 PMselect 1 from sharing_preferences where remote_login = 0;
ryan
10/08/2021, 2:28 PM"err":["failed to save host software: insert software: Error 1054: Unknown column 'bundle_identifier' in 'field list'"]
and verified that prepare db ran successfully.Manu Odago
10/08/2021, 3:12 PMcommand not found
, upon chechking using which fleet
I get the following output, /usr/bin/which: no fleetctl in (/sbin:/bin:/usr/sbin:/usr/bin)
Yet I have the binary package and fleet.service is active and running. Thanks.Mystery Incorporated
10/08/2021, 3:13 PMosquery:
detail_update_interval: 27m
Ryan
10/11/2021, 4:46 PMHello_There
10/11/2021, 7:27 PMserver_tlsprofile
 to server_tls_compatability
. This options previously had an inconsistent key name.
• Replace the use of the api/v1/fleet/spec/osquery/options
 with api/v1/fleet/config
. In Fleet 4.0.0, "osquery options" are now called "agent options." The new agent options are moved to the Fleet application config spec file and the api/v1/fleet/config
 API endpoint.
• Enroll secrets no longer have "names" and are now either global or for a specific team. Hosts no longer store the “name” of the enroll secret that was used. Users that want to be able to segment hosts (for configuration, queries, etc.) based on the enrollment secret should use the Teams feature in Fleet Basic.
• auth_jwt_key
 and auth_jwt_key_file
 are no longer accepted as configuration.
But when trying to access the link "https://github.com/fleetdm/fleet/blob/main/docs/1-Using-Fleet/8-Updating-Fleet.md" it returns 404
Does anyone have a brief tutorial on how to upgrade from 3.13 to 4.0?Shaun S
10/11/2021, 11:56 PM$ fleetctl package -type pkg
{"level":"debug","path":"/tmp/orbit-package308488698","time":"2021-10-11T23:43:54Z","message":"created temp dir"}
{"level":"debug","error":"stat /tmp/orbit-package308488698/root/var/lib/orbit/bin/osqueryd/macos/stable/osqueryd: no such file or directory","time":"2021-10-11T23:43:55Z","message":"stat file"}
{"level":"debug","path":"/tmp/orbit-package308488698/root/var/lib/orbit/bin/osqueryd/macos/stable/osqueryd","time":"2021-10-11T23:43:58Z","message":"got osqueryd"}
{"level":"debug","error":"stat /tmp/orbit-package308488698/root/var/lib/orbit/bin/orbit/macos/stable/orbit: no such file or directory","time":"2021-10-11T23:43:58Z","message":"stat file"}
{"level":"debug","path":"/tmp/orbit-package308488698/root/var/lib/orbit/bin/orbit/macos/stable/orbit","time":"2021-10-11T23:43:59Z","message":"got orbit"}
build pkg: cpio Payload: wait cpio: exit status 1
$ fleetctl package -type deb
{"level":"debug","path":"/tmp/orbit-package219856153","time":"2021-10-11T23:46:16Z","message":"created temp dir"}
{"level":"debug","error":"stat /tmp/orbit-package219856153/root/var/lib/orbit/bin/osqueryd/linux/stable/osqueryd: no such file or directory","time":"2021-10-11T23:46:18Z","message":"stat file"}
initialize updates: failed to get osqueryd: exec new version: : fork/exec /tmp/orbit-package219856153/root/var/lib/orbit/staging/osqueryd: no such file or directory
That makes it look like osquery needs to be separately installed inside of the container image?ryan
10/13/2021, 1:32 PMNacho Rivera
10/13/2021, 2:54 PMJaideep Natu
10/13/2021, 10:29 PM>fleetctl package --type msi --fleet-url=<url>:8412 --insecure --enroll-secret=<secret
{"level":"debug","path":"C:\\Users\\<user>\\AppData\\Local\\Temp\\2\\orbit-package743500111","time":"2021-10-13T10:47:05-07:00","message":"created temp dir"}
initialize updates: failed to update metadata: update metadata: open file store: File C:\Users\<user>\AppData\Local\Temp\2\orbit-package743500111\root\tuf-metadata.json already exists with mode 666 instead of the expected 600
Need help to figure out what is wrongspookerlabs
10/15/2021, 3:33 PM/api/v1/fleet/software?query
and it returned all information even if I use any value. https://fleetdm.com/docs/using-fleet/rest-api#example108
3-) Documentation (https://fleetdm.com/docs/using-fleet/vulnerability-processing#setup ) tells to change config in wrong place vulnerabilities:
and correct seems like vulnerability_settings:
Mystery Incorporated
10/16/2021, 3:11 AMMike Tonks
10/16/2021, 2:18 PMcd preview/osquery
ENROLL_SECRET=***** FLEET_SERVER=172.17.42.1:8412 docker-compose up -d
Fails to connect to the server:
I1016 14:15:29.949494 1232 smbios_tables.cpp:252] Could not read SMBIOS memory
I1016 14:15:29.952227 1232 tls.cpp:254] TLS/HTTPS POST request to URI: <https://172.17.42.1:8412/api/v1/osquery/enroll>
W1016 14:15:29.973161 1232 tls_enroll.cpp:77] Failed enrollment request to <https://172.17.42.1:8412/api/v1/osquery/enroll> (Request error: certificate verify failed) retrying...
wkleinhenz
10/17/2021, 8:09 PMKK
10/18/2021, 6:58 AMobserver_can_run
variable internally. Is this variable controllable from a yaml document? If so, could you kindly give an example of how I can use it in a yaml file?Mystery Incorporated
10/18/2021, 2:22 PMbenbass
10/18/2021, 3:33 PMGavin
10/18/2021, 3:37 PMlabel_membership
history.Artem
10/19/2021, 7:32 AMfleet[79147]: 2021/10/19 10:28:18 http: Accept error: accept tcp [::]:8412: accept4: too many open files; retrying in 5ms
I set max connections in mysql
/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid --max-connections=1000
I set max connections in fleet
--mysql_max_idle_conns=1000 --mysql_max_open_conns=1000
But errors still occur periodically.SK
10/19/2021, 8:03 AMfleet[7390]: {"component":"http","err":"authentication error: find host","level":"info","path":"/api/v1/osquery/log"
We are running 4.4.0 and we had policies running but removed them as the DB became unresponsive but now we have these errors, what can we do to solve this?Mike Tonks
10/19/2021, 8:51 AMMystery Incorporated
10/20/2021, 3:20 AMosquery.jitter
suggests jitter for all osquery things. Maybe it would be better in the logger area as logger_tls_period_jitter
in that case?Ryan
10/20/2021, 9:18 AM/etc/redhat-release
. How does the vulnerability scanner determine if a package is vulnerable or not? Is it based on the distro it thinks it is running?CptOfEvilMinions
10/20/2021, 10:40 PMosquery.flags
file on the host has --disable_carver=true
but fleet global options has --disable_carver=false
, which one wins?Frederick Alcantara
10/21/2021, 7:45 PM