Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on the Software inventory feature by default for new Fleet deployments #2088

Closed
noahtalerman opened this issue Sep 15, 2021 · 6 comments
Assignees

Comments

@noahtalerman
Copy link
Member

noahtalerman commented Sep 15, 2021

Goal

As a user, I want software inventory turned on by default and the ability to turn this feature off (if I see performance issues with my hosts).

How?

  • Enable software inventory by default on only new installations of Fleet.
@noahtalerman
Copy link
Member Author

One of our large customers successfully turning on the Software inventory feature will be our milepost for doing this.

@noahtalerman noahtalerman added #core :estimate Requires engineering estimation. and removed :golang dev labels Sep 16, 2021
@mikermcneil mikermcneil removed the #core label Sep 25, 2021
@mikermcneil
Copy link
Member

mikermcneil commented Oct 5, 2021

@noahtalerman @zwass I found this explanation helpful: “Working by default”

https://about.gitlab.com/handbook/product/product-principles/

1B88E81C-61A3-4266-9735-86BFA238769A

@noahtalerman noahtalerman added :architect Involves getting a careful architectural review. and removed :estimate Requires engineering estimation. labels Oct 13, 2021
@noahtalerman noahtalerman changed the title Turn on the Software inventory feature by default Turn on the Software inventory feature by default for new Fleet deploymens Oct 13, 2021
@noahtalerman noahtalerman added 1 and removed :architect Involves getting a careful architectural review. labels Oct 14, 2021
@chiiph
Copy link
Contributor

chiiph commented Nov 3, 2021

@chiiph chiiph assigned chiiph and unassigned lucasmrod Nov 9, 2021
@rlynnj11 rlynnj11 changed the title Turn on the Software inventory feature by default for new Fleet deploymens Turn on the Software inventory feature by default for new Fleet deployments Nov 9, 2021
@rlynnj11
Copy link
Contributor

rlynnj11 commented Nov 9, 2021

@noahtalerman @chiiph I could use an assist defining done/QA steps for this ticket - unless I'm mistaken software inventory is already on by default for preview, so

  1. I'm uncertain of the best way for me to help confirm this in a non-preview context.
  2. This ticket defines the ability to turn software inventory off as a key deliverable, and I haven't found a UI setting for that - is that out of scope for this ticket, or does that setting need to be applied on the backend?

@noahtalerman
Copy link
Member Author

I'm uncertain of the best way for me to help confirm this in a non-preview context.

@rlynnj11 I think the best way to confirm software inventory being turned on for new Fleet deployments will be to ask an engineer to back up their current database, run a local Fleet with a cleared database and the current code from main, and enroll some simulated hosts to see if they report software on the Host details page.

Thank you for calling this out.

This ticket defines the ability to turn software inventory off as a key deliverable, and I haven't found a UI setting for that

Currently, there's no UI setting for turning on software. The user must use the fleetctl apply -f config.yml command after setting enable_software_inventory: false in their config.yml file.

I think the best way to confirm this ability to turn off will also be to ask an engineer.

I'm linking to the section that shows how to turn on/off software in the vulnerability processing documentation here: https://fleetdm.com/docs/using-fleet/vulnerability-processing#setup

@RachelElysia
Copy link
Member

Confirmed! Software is automatically turned on!

Here are my steps if you want to replicate. <3
Steps:
Git Steps:
make db-backup
ls -a (see that the backup file is created)

make db-reset
git checkout main
git pull fleetdm main
make deps-js
make generate-dev
make fleet

./build/fleet prepare db --dev (should've ran with make db-reset but just in case)
./build/fleet serve --dev --dev_license --osquery_detail_update_interval=10s --logging_debug

Go to: localhost:8080 and it will redirect you to setup
Set up a new account
Add hosts via git and the enroll secret:
ENROLL_SECRET=2z91Te4h2+0gsSOBOv2Djz69tnkYen5C docker-compose up --scale centos9-osquery=10
Go to manage hosts and view host details to see software on there.

Screen Shot 2021-11-15 at 1 44 17 PM

Screen Shot 2021-11-15 at 1 42 42 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants