Skip to content

Logic Containers

Logic containers group CI/CD resources and cloud identities by what they give access to, so you can see whether pipelines and resources stay inside the boundaries you expect.

Logic containers belong to your tenant, not to any one platform. A container can hold resources from every platform you scan, and you can set up containers, groups and selectors before you connect your first platform.

What a container holds

A logic container can hold:

  • Service connections
  • Variable groups
  • Secure files
  • Agent pools
  • Identities (cloud principals swept by Entra and GCP identity scans)

A resource or identity can be in several containers at once. A resource belongs to every container it was placed in, whether you placed it by hand, a selector placed it, or a default container picked it up.

Groups

Containers are organised into groups, each one a way of splitting your estate, for example Environment (Production, Non-production) or Team (Team A, Team B). A container belongs to at most one group, and container names are unique within a group.

A new tenant starts with a single Default container in a Default group. It is the default container, a catch-all: resources and identities that scans discover go there when no other container holds them. Rename it, move it or add containers alongside it as you need.

To create a group, open Logic Containers and select Create group. Give it a name and, optionally, a description. Use the + on a group to add a container to it.

Create a logic container

Select Create container, or + on a group. Set:

Field Description
Name and Description What the container holds, for example Production deployment credentials.
Colour How the container is labelled across the app.
Group The group the container belongs to.
Criticality How critical the resources in it are.
Default container Makes it a catch-all: resources and identities that scans discover from now on are added to it automatically when no other container holds them. Existing ones are not added.

You can pick resources while creating the container, or add them later from its Resources tab.

Placing resources

Resources and identities get into containers in three ways:

How When to use it
By hand From a container's Resources tab, from the Identity & Credentials lists, from the Runtime report's Agent pools tab, or (for identities) from the cloud principals report.
Default containers The catch-all. New resources and identities found by a scan join every default container, but only when no other container holds them, including any container a selector just placed them in.
Selectors Scans place resources by their cloud tags and labels. See Selectors.

Placement only ever adds. If you remove a resource or identity from a container, it stays out: Later scans and selector runs do not put it back. Observes records each placement a selector makes, and doesn't repeat it. A default container only picks up resources the first time a scan discovers them.

The exception is a forced Run rule (see Selectors). Forcing is the only way a selector puts back a resource or identity you removed.

Selectors

A selector is a dotted path into a resource's identity resolution, such as subscription.tags.environment or project_metadata.labels.team. Open Logic Containers and switch to the Selectors view to manage them.

A selector fills a group named after its last path segment, with one container per value it finds. For example, subscription.tags.environment fills the environment group. A service connection whose subscription is tagged environment=prod goes into that group's prod container. The group and container are created if they don't exist yet.

Agent pools have no cloud identity, so no selector reads them directly. Instead, an agent pool follows the pipelines that run on it. When a selector places a resource in a container, every agent pool used by a current pipeline that also uses that resource joins the same container. A pool used by both dev and prod pipelines joins both containers. That points to a pool shared across environments, which is worth reviewing. Observes links pools to resources through the pipeline's configuration, not job by job.

Selectors apply to every platform (the global scope). A tenant can have up to 10.

Action What it does
Add selector Enter the path and a description. The dialog previews what the selector would place, estimated from the newest identity results Observes holds. Nothing changes until you save.
Enabled switch Scans apply enabled selectors and skip disabled ones.
Run rule Applies the selector now to the resources and identities earlier scans found, with the same rules as a scan. If anything it placed before was since removed from its container, or the container was renamed or deleted, a warning says how many were kept out. Select Force apply and confirm to put them back; a renamed or deleted container is re-created.
Delete Removes the selector. The containers it created are kept.

Add selector dialog previewing the groups and containers a path would create

Previewing what a selector would place

Scans use selectors when the scanner runs with your Observes platform URL and an API key. It fetches the enabled selectors and applies them along with any --logic-container-selector given on its command line. This covers Azure DevOps scans and Entra and GCP identity sweeps. See Logic containers in the scanner CLI.

observes -o <organization> -j <job-id> --observes-platform-url <platform-url>
# the API key is read from OBSERVES_PLATFORM_API_KEY

Groups, values and paths come from your cloud tags and labels. They must be valid container names, or they are skipped.

The Logic Containers dashboard

Counts follow the platforms and projects selected in the sidebar. With no platform connected yet, the counts are zero, and you can still create and organise containers, groups and selectors.

Logic Containers dashboard with a group's members-per-container chart and container cards

The environment group created by a selector

Each group, and the ungrouped containers, shows a chart of every container it holds, with the containers that hold the most resources and identities first. The container cards below the chart follow the same order.

Use the arrow beside a group's name to collapse or expand it, or Collapse all and Expand all to change every group at once. To change the order groups are shown in, drag a group by the handle before its name and drop it where you want it. With the keyboard, focus the handle, press Space, move with the arrow keys, and press Space again to drop. New groups are added after your ordered groups, by name, and ungrouped containers are always last. Your browser remembers which groups you collapsed and the order you chose. Other people, and your other browsers, keep their own.

Use Search groups and containers to find a group or a container by its name. A matching group is shown with all its containers. Otherwise only the matching containers are shown, under their group. While you search, every matching group is shown expanded.

A container's page

Select a container to open its page:

Tab Shows
Overview Counts of what the container holds, within the sidebar's platform and project selection, links to its reports, and its owner and members (see Access).
Resources The resources and identities in the container, to add or remove.
Identity & Credentials The container's service connections, variable groups, secure files and cloud identities, and the workload identity federation trusts of its service connections.
Runtime Jobs running on the container's agent pools.

The Pipelines in the Pipeline Tracker link opens the Pipeline Tracker filtered to pipelines that can use any of the container's resources.

Using containers

Once resources are in containers, the trackers show each resource's containers. Observes can then flag a pipeline permitted to use resources from different containers, for example one pipeline that can reach both production and development credentials. See the base policy set.

Access

Viewing and changing logic containers depends on your role. If you have the admin permission for logic containers, the Members section of a container's Overview tab lists its owner and members, and lets you grant users and groups access to that container or transfer its ownership:

Access Allows
Read View the container and its reports.
Write Also change its details and resources.
Admin Also manage members and delete it.

System containers are managed by Observes and can't be changed.