Title
#fleet
David J Davis

David J Davis

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

zwass

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

David J Davis

11/22/2021, 8:54 PM
What is fleetctl modifying with these settings?
8:59 PM
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
9:09 PM
I got those settings applied via fleetctl
9:09 PM
Are those stored in the DB?
9:18 PM
I now have software showing up in FleetDM.
9:50 PM
Vulns are starting to populate now, awesome, thank you.
zwass

zwass

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