saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.22k stars 5.49k forks source link

[FEATURE REQUEST] autosign_grains option to match on ALL grains #62831

Open amalaguti opened 2 years ago

amalaguti commented 2 years ago

Is your feature request related to a problem? Please describe. Yes, and a very important one given unwanted minions seem to be auto accepted.

Describe the solution you'd like The autosign_grains feature allows to set multiple grains for matching, but it seems to match on ANY grain that matches the criteria, it does not seem to match on ALL grains. Given autosign_grains is set to match on 3 different grains like

Additional context Salt 3004.2, Linux and Windows minions

Please Note If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.

amalaguti commented 1 year ago

Any update on this ?

max-arnold commented 11 months ago

Check out #65426 - it enables flexible auto accept scenarios via custom runners