Setting up automatic policy assignment

You can set up automatic assignment of policies to SaaS applications, Google Kubernetes Engine (GKE) applications, instances, or buckets.

Prerequisites

Considerations

  • Assigning policies automatically takes precedence over assigning policies manually or setting a default policy. This means that the auto-assignment conditions that are defined for the custom policy or the hycu-policy tag that is added to the preferred entity define which policy gets assigned, even if the entity already has a manually assigned policy.

  • If you want to assign a new policy to a SaaS application, a GKE application, an instance, or a bucket for which automatic policy assignment has been set up, do one of the following:

Methods

The corresponding policies are automatically assigned to entities during the next entity synchronization in R‑Cloud.