mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Add --verbose flag to fleetd_tables (needed when osqueryd runs in verbose mode) (#12504)
Found while load testing the macOS CIS benchmark policy queries using `fleetd_tables` as an extension (#10292). Basically, osqueryd passes the `--verbose` flag to the extension, so we need to add it here to not fail the extension execution.
This commit is contained in:
parent
37884f2d0e
commit
7a33a108cb
2 changed files with 5 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -94,3 +94,6 @@ orbit/cmd/desktop/manifest.xml
|
|||
orbit/cmd/desktop/resource.syso
|
||||
orbit/cmd/orbit/manifest.xml
|
||||
orbit/cmd/orbit/resource.syso
|
||||
|
||||
# Residual files when building fleetd_tables extension.
|
||||
fleetd_tables_*
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ var (
|
|||
socket = flag.String("socket", "", "Path to the extensions UNIX domain socket")
|
||||
timeout = flag.Int("timeout", 3, "Seconds to wait for autoloaded extensions")
|
||||
interval = flag.Int("interval", 3, "Seconds delay between connectivity checks")
|
||||
// verbose must be set because osqueryd will set it on the extension when running in verbose mode.
|
||||
_ = flag.Bool("verbose", false, "Enable verbose informational messages")
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue