Prateek Kumar Nischal
03/12/2020, 2:56 PMseph
03/12/2020, 3:05 PMPrateek Kumar Nischal
03/12/2020, 3:06 PMosquery_flags
before the config is loaded .. ? Let me give it a try anywaysseph
03/12/2020, 3:12 PMPrateek Kumar Nischal
03/12/2020, 3:20 PM[map[default_value:false description:Allow unsafe executable permissions name:allow_unsafe shell_only:0 type:bool value:true]]
output in the logs from osqueryd when running like:
./osqueryd --config_path /tmp/config.json --allow_unsafe --disable_extensions=false --extensions_autoload=/tmp/extensions.load --verbose
with
client, err := osquery.NewClient("/var/osquery/osquery.em", 10*time.Second)
defer client.Close()
resp, err := client.Query("select * from osquery_flags where name=\"allow_unsafe\";")
fmt.Println(resp.GetResponse())