Skip to main content
Testkube 2.16.0 is out! Skills for AI Agents and Test Bundles, evals for AI Agents, A2A access, and much more! Read More

Resource Groups

Resource Groups allow you to group resources across all your Environments, by whatever criteria meets your needs (team, application, component, etc.). Once defined, you can assign individual members or teams to a Resource Group with a specific Role, resulting in those members having corresponding permissions for the resources in that Resource Group.

The following types of Testkube Resources can currently be added to a Resource Group:

  • Workflows - from the "Resource Group" Tab under Workflow Settings
  • Workflow Templates - from the "Resource Group" Tab under Workflow Template Settings
  • Triggers - from the "Resource Group" Tab under Trigger Settings - Read More
  • Webhooks - from the "Resource Group" Tab under Webhook Settings - Read More
  • AI Agents - linked to the group rather than labelled - Read More
info

Please read Resource Access Management to get an overview of how Testkube allows you to manage and apply Resource Access controls.

Selecting "Resource groups" from the Organization Management panel shows a list of all existing Resource Groups:

Resource Groups Overview

Creating a New Resource Group​

Select the [Create a new group] button in the overview above and you will be prompted for the name, slug and description (the slug is a human-friendly identifier used in URLs):

Create Resource Group

Resource Group Settings​

Selecting an existing Resource Group or creating a new one takes you to the Resource Group Settings page, which allows you to configure the name, description and Collaborators for the Resource Group (the slug cannot be changed). There is also an option to delete the Resource Group at the bottom.

Resource Group Settings

Managing Resource Group Collaborators​

Add collaborators to a Resource Group with the "Add collaborators" button, which will prompt for which Members and/or Teams to add as collaborators, and which Role they should have for this Resource Group.

Resource Group Collaborators

Once added, you can manage Members in the list at the bottom of this page, use the menu on the right to change their Role or remove them:

Managing Resources in a Resource Group

Managing Resources in a Resource Group​

Adding or removing a Testkube resource to/from a Resource Group is done from that Resource's Settings page. For example, to assign a Workflow to a Resource Group, go to the "Resource Group" Tab of the Workflow Settings and select which Resource Group the Workflow belongs to ("Accounting Tests" in the below screenshot).

Workflows Resource Group

Listing Resources in a Resource Group​

The Resources tab of a Resource Group shows everything that belongs to it, in one list. Open Organization Management -> Resource groups, open the group, then open the Resources tab.

It covers every Environment you can read, not one at a time, and lists all seven kinds a Resource Group can hold:

KindGoes in by
Test Workflowsthe testkube.io/group label
Test Workflow Templatesthe testkube.io/group label
Kubernetes Triggersthe testkube.io/group label
Workflow Triggersthe testkube.io/group label
Webhooksthe testkube.io/group label
Webhook Templatesthe testkube.io/group label
AI Agentsa link to the group, see AI Agent access

The Resources tab of a Resource Group, listing resources of seven kinds from two Environments

Each row gives the name, the kind and the Environment it lives in, and links to the resource's own page where it has one. The ⋮ menu on a row has Go to details and Remove from Resource Group; removing one takes the group's access to it away and can be undone by adding it back.

Search by name, and narrow the list with the Type and Environment filters. Both only offer the values this group actually holds, each with its count, so every value offered leads somewhere on its own, including a type that isn't on the page you are looking at. The list is paged, 20 at a time.

Add a resource from this tab​

Select Add resource, choose an Environment, then a type, then the resources to add. What a type does depends on the kind:

  • For the six labelled kinds, adding writes the group's label on the resource, which is the same thing as setting it on the resource's own Settings page. The type is offered only in Environments whose resources the control plane holds; in an Environment whose agent owns them, the type reads (managed by its agent) and the label has to be set there instead.
  • AI Agents are linked to the group rather than labelled, which needs RBAC in your license and an Organization admin or owner. Without both, the type reads (needs RBAC and an org admin). A private AI Agent can't be linked, and shows as Private.

The Add resource modal with an Environment and a type chosen, two resources already added

A resource belongs to one Resource Group at a time, so adding one that is already in another group moves it. The picker says which group that is before you pick it, and one already in this group is checked and tagged Added.

The Workflows and Workflow Templates lists can also be narrowed to one Resource Group, from Add a filter on each list:

The Add a filter dropdown on Test Workflows, with the Resource Group submenu open