Enforcing target locations
To enforce target locations in your IBM Cloud account, you must configure Activity Tracker Event Routing account settings to limit the locations.
Prereqs
-
Check that you have IAM permissions to read and update the Activity Tracker Event Routing account settings.
Role | Minimum scope | Minimum required roles | Action |
---|---|---|---|
atracker.setting.get |
Account | Administrator Editor Viewer Operator |
Get setting information |
atracker.setting.update |
Account | Administrator |
Update settings |
Next, log in to IBM Cloud. Run the following command: ibmcloud login
Step 1. Get details of your current account settings
Get details of your current account settings. Run the following command:
ibmcloud atracker setting get
The setting Permitted target regions list all the locations where you allowd administrators to configure targets in the account.
Step 2.
To manage the list of permitted regions, run the following command:
ibmcloud atracker setting update --permitted-target-regions REGIONS
Where REGIONS
define a comma-separated list of regions.
For example, you can run the following command to set 3 regions only:
ibmcloud atracker setting update --permitted-target-regions "us-south","us-east","eu-de"