I have an older fleet install and am looking to en...
# fleet
b
I have an older fleet install and am looking to enable software, yet not the vulnerability scans. What flags do I need to add to my config file?
t
hi, what version are you running?
b
I just updated to 4.9.1. I could also be jumping the gun as I just finished the upgrade about 30 minutes ago.
t
to enable software inventory in 4.9.1 you simply apply the following config via fleetctl:
Copy code
---
apiVersion: v1
kind: config
spec:
  host_settings:
    enable_software_inventory: true
and that should be it
b
Cool. Can I do that as an environmental variable as well? ENABLE_SOFTWAER_INVENTORY=1 or yes?
I know earlier versions
Copy code
FLEET_BETA_SOFTWARE_INVENTORY=1
worked.
t
no, this is something that can only be applied through fleetctl, sadly
ty 1
b
Oh well. Good to know then.
What would be the best way to apply that with fleetctl? build that as a yaml file and then do
Copy code
fleetctl apply -f <configuration-file-name-here>.yml
t
exactly
👍 1
👍🏽 1
b
That works - I can then drop that yaml file into my git repo to track things that way.
❤️ 1
r
Thanks Tomas! Also, if you do need to enable/disable vulnerabilities, you'll just need to add/remove the databases path. https://fleetdm.com/docs/using-fleet/vulnerability-processing#configuration
b
Good to know Rachel. What I did to handle that was to set the variable scanning instance check to no on all nodes.
Copy code
FLEET_VULNERABILITIES_CURRENT_INSTANCE_CHECKS=no
👍🏽 1
👍 1