Ryan
09/16/2021, 4:46 PMmysql> select 1 from host_software hs where hs.software_id=software.id;
ERROR 1054 (42S22): Unknown column 'software.id' in 'where clause'
jake
09/16/2021, 9:14 PM\\.\pipe\osquery.em
AndersJ
09/17/2021, 6:56 AMMystery Incorporated
09/17/2021, 1:02 PMselect * from users
returns all the users used on the device?????Mystery Incorporated
09/17/2021, 1:04 PMjake
09/19/2021, 9:51 PMBacarus
09/20/2021, 9:53 AMJocelyn Bothe
09/20/2021, 3:07 PMJuan Alvarez
09/21/2021, 11:23 AMCptOfEvilMinions
09/21/2021, 4:10 PMfleet.zip
as a release asset. Just a friendly check to ensure this was intended 🙂.Gavin
09/21/2021, 4:29 PMSaliaga
09/21/2021, 6:33 PMGavin
09/22/2021, 4:15 PMfleetctl get software --json > vulns.json
jq '.spec[]|select((.vulnerabilities != null) and (.source=="chocolatey_packages")) | .name , .vulnerabilities ' vulns.json | sort | uniq
ryan
09/22/2021, 4:17 PMGavin
09/22/2021, 4:34 PMSaliaga
09/23/2021, 5:57 PMbenbass
09/23/2021, 7:50 PM644
set as the permissions on the osquery.results.log on the endpoints. Using tls dump I can see that logger mode is being sent to the endpoint, it just doesn’t look like it is being implemented by osquery (5.0.1).benbass
09/23/2021, 8:39 PMfleetctl get software
to specific endpoints? I only have one endpoint with vulnerabilities in my test environment and wasn’t sure if more endpoints with vulnerabilities would change the output.Martin Pöhlmann
09/27/2021, 1:10 PM&&
operator that omits evaluating the second part if the 1st fails).Gavin
09/27/2021, 4:59 PMJocelyn Bothe
09/27/2021, 6:50 PMvulnerabilities:
periodicity: 1hr
CptOfEvilMinions
09/27/2021, 7:10 PMAWS Ohio region:
- Fleet instances
- Aurora MySQL read/write
- Redis
AWS London:
- Fleet instances
- Aurora MySQL read-only replica
- Redis
Zach Zeid
09/28/2021, 11:51 AMRyan
09/28/2021, 2:29 PMJocelyn Bothe
09/28/2021, 8:43 PMBacarus
09/29/2021, 2:58 PMSELECT address, mask, type, friendly_name FROM interface_addresses
scheduled by fleet with this config:
interval(s): 30, platform: All Version: Any, Logging: +/-
And I’ve found those logs:
hostidentifier : "4c4c4544-0051-5310-8032-cac04f595a32"
calendartime : "Mon Sep 27 07:25:53 2021 UTC"
epoch : 1632700800
counter : 0
columns :
mask : "255.0.0.0"
type : "unknown"
address : "127.0.0.1"
friendly_name : ""
action: "added"
--------
hostidentifier : "4c4c4544-0051-5310-8032-cac04f595a32"
calendartime : "Mon Sep 27 06:15:33 2021 UTC"
epoch : 1632700800
counter : 0
columns :
address : "127.0.0.1"
friendly_name : ""
mask : "255.0.0.0"
type : "unknown"
action: "added"
---------
How is it possible that I’ve 2 added of the same row in the same counter and epoch?
This is just an example but I’ve found other logs like that, maybe I didn’t get how scheduled queries works in differential mode.
Each row should have the action alternated, am I wrong?
the behaviour I expected is something like this:
epoch: 1
counter: 0
action: "added"
columns:
address: "10.0.0.1"
...
---------
epoch: 1
counter: 3
action: "removed"
columns:
address: "10.0.0.1"
...
---------
epoch: 1
counter: 5
action: "added"
columns:
address: 10.0.0.1"
...
---------
epoch: 2
counter: 0
action: "added"
columns:
address: "10.0.0.1"
...
---------
epoch: 2
counter: 10
action: "removed"
columns:
address: "10.0.0.1"
...
---------
epoch: 4
counter: 7
action: "added"
columns:
address: "10.0.0.1"
...
Additional info:
I’m using fleet 3.11 and osquery 4.9.0
I also have this issue with other scheduled queriesabraham linkolan
09/30/2021, 1:48 PMhey i created a user in mysql with a diffrent host and gave him select privileges on 1 databse but when i try to log in with him
mysql -u sp -h 10.10.10.1 -p
i get the error message
ERROR 2003 (HY000) : can't connect to mysql server on '10.10.10.1'(110)
dose some know how to solve this problem?
will be very gratefull
Freddy Al
09/30/2021, 2:05 PMJaideep Natu
10/01/2021, 6:18 AM# fleetctl setup --email <email> --name <name> --org-name <org> --debug
RoundTrip error: dial tcp 127.0.0.1:8412: connect: connection refusederror setting up Fleet: POST /api/v1/setup: do request: Post "<https://127.0.0.1:8412/api/v1/setup>": dial tcp 127.0.0.1:8412: connect: connection refused
ryan
10/04/2021, 9:08 PM2021/10/04 20:26:53 FAIL 20210927143115_AddPolicyUpdatedAtColumn.go (adding policy_updated_at column: Error 1060: Duplicate column name 'policy_updated_at'), quitting migration.
so I check and it appears it’s an addition to the host table. I altered and drop the column and ran the DB migration again and it continues to hang. I killed it again and started fleet and it’s updating the column so 🤷