kolide / fleet

A flexible control server for osquery fleets
https://kolide.com/fleet
MIT License
1.1k stars 261 forks source link

Feature Request: Create Label on enroll_secret_name #2290

Open nwilkens opened 4 years ago

nwilkens commented 4 years ago

In v3.0.0 multiple enroll_secret's were introduced. The enroll_secret_name is stored on with the Host record, but, this does not appear to be a field that can be queried for a Label.

Please add the capability to create Labels based on the enroll_secret_name.

scottso commented 4 years ago

This was actually discussed as part of this https://github.com/kolide/fleet/issues/1994. I would like to see this implemented as well.

zwass commented 4 years ago

This is a feature we would like to add. I am not able to prioritize it at the moment, but would be happy to review a PR that creates/updates a manual label at enrollment time based on the enroll secret used.