Skip to content

Feature request: blacklist/whitelist commands executed via cmd.run #9018

@rsuarezsoto

Description

@rsuarezsoto

Hi,

it would be great if salt could be configured to whitelist or blacklist certain commands to be executed via cmd.run. This way you could be sure that, for example, no one would execute by mistake (or on purpose!) something like "shutdown -r now", or "rm -rf /" in all your minions.

I've searched in the docs and asked in Salt-users, but it seems this is now not possible. Are there plans to implement something alike?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corerelates to code central or existential to SaltFeaturenew functionality including changes to functionality and code refactors, etc.stale

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions