https://github.com/osquery/osquery logo
#fleet
Title
# fleet
d

David J Davis

11/22/2021, 8:00 PM
Can the software inventory be enabled via the config file instead of environment variable?
z

zwass

11/22/2021, 8:41 PM
You can enable it via
fleetctl
.
fleetctl apply -f config.yml
with this config:
Copy code
apiVersion: v1
kind: config
spec:
  host_settings:
    enable_host_users: true
    enable_software_inventory: true
d

David J Davis

11/22/2021, 8:54 PM
What is fleetctl modifying with these settings?
Copy code
root@tafleet01:/etc/fleetdm# /usr/local/bin/fleetctl apply -f test.yaml
set the Fleet API address with: fleetctl config set --address <https://localhost:8080>
root@tafleet01:/etc/fleetdm# cat test.yaml
apiVersion: v1
kind: config
spec:
  host_settings:
    enable_host_users: true
    enable_software_inventory: true
I got those settings applied via fleetctl
Are those stored in the DB?
I now have software showing up in FleetDM.
Vulns are starting to populate now, awesome, thank you.
🍻 1
z

zwass

11/22/2021, 11:14 PM
Yes, Fleet stores those configs in the DB.
38 Views