Bacarus
05/26/2021, 12:35 PMIan Muscat
05/26/2021, 12:59 PMapiVersion
and kind
keys.
spec:
config:
options:
logger_plugin: tls
pack_delimiter: /
logger_tls_period: 10
distributed_plugin: tls
disable_distributed: false
logger_tls_endpoint: /api/v1/osquery/log
distributed_interval: 10
distributed_tls_max_attempts: 3
decorators:
load:
- SELECT uuid AS host_uuid FROM system_info;
- SELECT hostname AS hostname FROM system_info;
overrides: {}
Also, I don’t think you can set up enroll_secret
via the same place you set options. You probably need to do this via fleetctl
Bacarus
05/26/2021, 1:21 PM./build/fleetctl get options > options.yaml
it sends a GET request to “https://localhost:8080/api/v1/fleet/spec/osquery_options”, can I change the url? (for example I’ve my fleet on localhost:18080)Noah Talerman
05/26/2021, 1:29 PMfleetctl apply -f <file-name-here>
command. There’s currently no way to modify enroll secrets in the Fleet UI.
To change the url that fleetctl
uses you can use the fleetctl config set --address localhost:18080
mikermcneil
05/26/2021, 4:19 PMNoah Talerman
05/26/2021, 4:38 PM