1.1
1.1
scpcli cloudcontrol target guardrail list
--target_id <value>
[--landing_zone_id <value>]
[--size <value>]
[--page <value>]
[--sort <value>]
[--name <value>]
Description
list guardrails for target
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| target_id required | string | Target ID | ou-1a2b3c4d5e6f7g8h9i0j1k2l3m4n5 |
| landing_zone_id optional | string | Landing Zone ID | 2c8a138f8d78e1fc29a449dbfa8681 |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| name optional | string | Guardrail Name | guardrail-example |
Responses
| Name | Description | Example |
|---|---|---|
| id | ID | 0a36e0746dbf4908acf0357829701381 |
| created_at | Created At | 2025-01-01T00:00:00.000Z |
| created_by | Created By | c23fb561c689455993874fa5d5ed4a2f |
| guidance | Policy Guidance | MANDATORY |
| link_types | Link Type | {‘directed’: [{’target_id’: ‘1a2b3c4d5e6f7g8h9i0j1k2l3m4n5’, ’target_name’: ’example-target’}], ‘inherited’: [{’target_id’: ‘2a2b3c4d5e6f7g8h9i0j1k2l3m4n5’, ’target_name’: ‘root’}]} |
| modified_at | Modified At | 2025-01-01T00:00:00.000Z |
| modified_by | Modified By | c23fb561c689455993874fa5d5ed4a2f |
| name | Guardrail Name | foo-guardrail |
| service_name | Organization | iam |
| type | Guardrail Type | PREVENTIVE |