Skip to main content
Version: 1.5

wf enable robot learning

wf enable robot learning

Puts the robot into a learning mode


Robots that have learning enabled are able to provision policies based on the usage pattern. The robot is forbidden to learn anything outside of the scope of the namespace (and can be configured to filter the permissions that can be learned - see documentation). The robot must also adhere to any security policies that the cluster and or namespace has applied. Assuming no policies are violated, the permissions are recorded and sent back to Wayfinder. After one hour (by default) learning mode is automatically removed and the robot is only permitted to use the permissions that were discovered in the learning process.

wf enable robot learning <NAME> [flags]


# Switch on learning more for this robot account
$ wf enable robot learning <name>


      --cluster string     Cluster name you wish to scope the learning token to
--dry-run Displays the request only
-h, --help help for learning
--namespace string Namespace you wish to scope the learning token to
--non-interactive Indicates if we prompt for user inputs
--role string Learning role that was used to scope the permissions that can be learnt

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within