Prerequisites
- You must be authenticated. See Initiating your environment.
- Controls require the controls feature to be enabled in your watsonx Orchestrate instance. Contact your administrator if the
orchestrate controlscommands are unavailable.
Viewing available policy types
Before creating a control, list the policy artifact types available in your instance:BASH
BASH
--artifact value when creating a control.
Creating a control
Bind a policy artifact to one or more agents, tools, or models:BASH
Example: Content guardrails on an agent
BASH
Importing controls from a file
Define one or more controls in a YAML file and import them all at once. This approach is useful for scripting and CI/CD workflows.BASH
YAML
Listing controls
List all controls in your active environment:BASH
BASH
--verbose to show full JSON details:
BASH
Getting control details
BASH
Updating a control
Update specific fields of an existing control. Only the fields you provide are changed:BASH
Exporting a control
Export a control to a YAML file to version it or re-import it in another environment:BASH
Removing a control
BASH

