1.2
1.2
scpcli organization service control policy list
--organization_id <value>
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--name <value>]
[--type <value>]
[--exclude_target_id <value>]
Description
get service control policies list
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.2 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| organization_id required | string | Organization ID | o-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5 |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Service Control Policy ID | 138c2fc8c29a449dbfa8681f8f1d78e2 |
| name optional | array | Service Control Policy Name | M |
| type optional | **** | Service Control Policy Type | MANAGED |
| exclude_target_id optional | string | Target ID to Exclude | 112c2fc8c29a449dbfa8681f8f1d7442 |
Responses
| Name | Description | Example |
|---|---|---|
| id | Service Control Policy ID | 138c2fc8c29a449dbfa8681f8f1d78e2 |
| category | Policy Category | SCP |
| created_at | Created At | 2025-01-01T00:00:00.000Z |
| created_by | Created By | c23fb561c689455993874fa5d5ed4a2f |
| creator_name | Creator Name | John Doe na |
| description | Policy Description | This is an example policy. |
| document | Policy Document | {‘Statement’: [{‘Action’: [’’], ‘Effect’: ‘Allow’, ‘Resource’: [’’], ‘Sid’: ‘statement1’}], ‘Version’: ‘2024-07-01’} |
| modified_at | Modified At | 2025-01-01T00:00:00.000Z |
| modified_by | Modified By | c23fb561c689455993874fa5d5ed4a2f |
| modifier_name | Modifier Name | Alice |
| name | Service Control Policy Name | MyPolicy |
| organization_id | Organization ID | o-x9y8z7w6v5u4t3s2r1q0p9o8n7m6l5 |
| source | Policy Creation Subject | ORGANIZATION |
| state | Policy State | ACTIVE |
| type | Service Control Policy Type | MANAGED |