How to fetch information from process_events and file_events tables from osquery using golang?
I am new to Osquery. I want to fetch real-time OS information using osquery (from these two tables: process_events and file_events). I understood that we could retrieve this information using Osquery in daemon mode. I was even able to do the same.
My question now is, "How do I do the same thing in Golang?"
I do not want to create an extension. Simply, I want to start the OSquery daemon and fetch information and store it.