Defining Targets
This article explains how to define Targets within a policy in the Access Management (AM) module, what kinds of Targets are available, and how multiple Targets are evaluated when granting permissions.
You should define Targets in each policy that are used inside the Access Management module. Targets can be users or things (for example, scripts).
:::tip
Targets are to whom or to what you are giving the permissions.
:::
Currently, you can select Run Users and Analysis as Targets.
How multiple Targets work
You can add more Targets of the same type as needed. Multiple Targets are combined using a logical OR, so adding more targets makes the resulting options more inclusive. For example:- "Apply the permissions below for the users using this tag OR this tag OR ..."
Target Matching Options
Target matching can be performed in several ways:
1. ID – select a target from the list.
2. Tag – match using tags from your target. Learn more about the Tags System.
- Tags are composed of two fields: Tag key and Tag value.
- For example, Joe Doe has a Tag key
user_leveland Tag valuesupervisor. If you create a policy with Targets using the same tags, the selected permissions will be granted for Joe Doe.
3. Tag Match – the match is automatically by searching for those Tag Keys of the selected target.
- Run User: tag keys presented in your users will be listed.
:::tip
The Tag Match option reduces the number of policies as you can create a single Policy that would grant access to all users or analysis that match the same tag keys.
:::
4. ANY – all will be automatically included.