Templates
Templates are reusable blueprints for queries that are used to generate access review reports. They are structured as standardized questions with attribute placeholders that you fill in right before running a report.
When you access the Templates section, a comprehensive list of all available templates displays. This view provides key information at a glance, including:
| Description | |
|---|---|
| Name | The name of a template serving as a label. |
| Description | A brief overview of the template's purpose and usage. |
| Reference attributes from | The source (project or domain) of the attributes used in the template. |
| Updated by | The Authorization Hub user or M2M client that updated the template last. |
| Last updated | The date and time of the last update performed on the template. |
Additionally, you can refine the templates list using the following features:
Filter: Use the filter field to refine and narrow down the displayed templates. You can enter a template name, a part of a description, or a 'created by' entry.
noteThis is a dynamic search field and returns relevant results as you type.
Sorting: Click the header of a column to sort its contents.
Create a template
Follow the steps below to create a new template and define the question displayed when running a report.
Only a single question (query) per template is supported.
Click + Add new.
In the Name field, enter a unique name for the template.
Optionally, in the Description field enter details about the template's purpose.
From the Reference attributes from dropdown, select a project or domain. This becomes the attribute source for the question in this template. All attributes declared within the selected source appear in the list below.
tipIn the Attribute connectors column, the attribute mapping icon shows which attribute connectors supply that attribute to the authorization engine to retrieve its values.
Define the question:
Type the question that will be answered when running a report using this template.
Click Insert attribute to embed an attribute in the question. A popup displays.
From the Attribute name dropdown, select an attribute.
In the Display label field, enter a user-friendly label.
This label appears as part of the question text.
Select an Input mode.
Provided by user: the user running the report provides the attribute values directly.
Optionally, select Allow multiple values to let the user enter more than one value.
If you also select Run as separate queries, each value triggers a separate query execution. Otherwise, all values are treated as a bag of values within a single query.
Suggested values: the user selects from a predefined list.
In the Options field, type an option and press
Enter ↵.Repeat for each additional option.
Optionally, select Allow custom values to let the user enter values outside the predefined list.
If you also select Run as separate queries, each value triggers a separate query execution. Otherwise, all values are treated as a bag of values within a single query.
Click + Add to question to insert the attribute into the question.
Optionally, switch to the Template JSON preview to review the question as a JSON query.
Repeat this procedure to add more attributes to the question.
Click Save to store your template.
Manage templates
Perform several actions to existing templates by clicking the three dots on the far right of each entry and selecting from:
Edit
Perform all necessary changes.
noteAttributes deleted from the Dictionary after template creation are labeled DEPRECATED. Update the affected questions to ensure reports continue to generate successfully.
Click Update.
Delete
Confirm your action in the displayed pop-up by clicking Yes, delete.
ImportantThis action is permanent and cannot be undone.