Logging&Audit
Overview
Provides a Command-line Interface (CLI) that supports programmatic use of IaaS/PaaS products provided by SCP.
This guide provides a brief description of Logging&Audit service and how to call CLI.
Version
| Version | Status | Supported Until |
|---|
| 1.0 | DEPRECATED | 20260223 |
| 1.1 | CURRENT | - |
1 - CLIs
1.1 - CreateTrail
1.1.1 - 1.1
scpcli loggingaudit trail create
--trail_save_type <value>
--trail_name <value>
--bucket_region <value>
--bucket_name <value>
--account_id <value>
[--log_archive_account_id <value>]
[--log_type_total_yn <value>]
[--log_verification_yn <value>]
[--organization_trail_yn <value>]
[--region_names <value>]
[--region_total_yn <value>]
[--resource_type_total_yn <value>]
[--tag_create_requests <value>]
[--target_log_types <value>]
[--target_resource_types <value>]
[--target_users <value>]
[--trail_description <value>]
[--user_total_yn <value>]
Description
create a trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_save_type required | string | Trail save type | JSON |
trail_name required | string | Trail name | TestTrail01 |
bucket_region required | string | Bucket region | RegionOne |
bucket_name required | string | Bucket name | TestBucket00 |
account_id required | string | Account ID | ACCOUNT_ID-ABCDEF1234 |
log_archive_account_id optional | string | Log Archive Account ID. Only for Organization Trail.(organization_trail_yn = y) | ACCOUNT_ID-ABCDEF1234 |
log_type_total_yn optional | string | Target log type total y/n | N |
log_verification_yn optional | string | Log verification y/n | N |
organization_trail_yn optional | string | Organization trail y/n | N |
region_names optional | array | Region name list | - |
region_total_yn optional | string | Target region total y/n | Y |
resource_type_total_yn optional | string | Target resource type total y/n | Y |
tag_create_requests optional | array | Tag create requests | {'key': '11', 'value': '22'} |
target_log_types optional | array | Target log type list | - |
target_resource_types optional | array | Target resource type list | - |
target_users optional | array | Target user list | - |
trail_description optional | string | Trail description | This is a test trail |
user_total_yn optional | string | Target user total y/n | Y |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_archive_account_id | Log Archive Account ID | ACCOUNT_ID-ABCDEF1234 |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| organization_trail_yn | Organization trail y/n | Y |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.1.2 - 1.0
scpcli loggingaudit trail create
--trail_save_type <value>
--trail_name <value>
--bucket_region <value>
--bucket_name <value>
--account_id <value>
[--log_type_total_yn <value>]
[--log_verification_yn <value>]
[--region_names <value>]
[--region_total_yn <value>]
[--resource_type_total_yn <value>]
[--tag_create_requests <value>]
[--target_log_types <value>]
[--target_resource_types <value>]
[--target_users <value>]
[--trail_description <value>]
[--user_total_yn <value>]
Description
create a trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_save_type required | string | Trail save type | JSON |
trail_name required | string | Trail name | TestTrail01 |
bucket_region required | string | Bucket region | RegionOne |
bucket_name required | string | Bucket name | TestBucket00 |
account_id required | string | Account ID | ACCOUNT_ID-ABCDEF1234 |
log_type_total_yn optional | string | Target log type total y/n | N |
log_verification_yn optional | string | Log verification y/n | N |
region_names optional | array | Region name list | - |
region_total_yn optional | string | Target region total y/n | Y |
resource_type_total_yn optional | string | Target resource type total y/n | Y |
tag_create_requests optional | array | Tag create requests | {'key': '11', 'value': '22'} |
target_log_types optional | array | Target log type list | - |
target_resource_types optional | array | Target resource type list | - |
target_users optional | array | Target user list | - |
trail_description optional | string | Trail description | This is a test trail |
user_total_yn optional | string | Target user total y/n | Y |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.2 - DeleteTrail
1.2.1 - 1.1
scpcli loggingaudit trail delete
--trail_id <value>
Description
delete a specific trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
1.2.2 - 1.0
scpcli loggingaudit trail delete
--trail_id <value>
Description
delete a specific trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
1.3 - DownloadLogs
1.3.1 - 1.1
scpcli loggingaudit log file download
--time_zone_info <value>
--start_at <value>
--file_type <value>
--end_at <value>
[--product_name <value>]
[--region <value>]
[--resource_name <value>]
[--resource_type <value>]
[--root_resource_id <value>]
[--status <value>]
[--user_name <value>]
Description
download log file
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
time_zone_info required | string | Timezone info | Asia/Seoul |
start_at required | string | Query start date | 2025-08-09T10:00:00Z |
file_type required | string | Download file type | JSON |
end_at required | string | Query finish date | 2025-11-07T10:00:00Z |
product_name optional | string | Product name | - |
region optional | string | Region name | - |
resource_name optional | string | Resource name | - |
resource_type optional | string | Resource type | - |
root_resource_id optional | string | Root resource ID | - |
status optional | string | Task result | - |
user_name optional | string | Username | - |
Responses
| Name | Description | Example |
|---|
| EventTopic | Event type | |
| RegionName | Region name | |
| ResourceId | Resource ID | |
| ResourceName | Resource name | |
| ResourceType | Resource type | |
| WorkInfo | Event name | |
| WorkResult | Task result | |
| WorkTime | Work time | |
| WorkerEmail | Worker email | |
| WorkerID | Worker ID | |
| WorkerName | Worker name | |
1.3.2 - 1.0
scpcli loggingaudit log file download
--time_zone_info <value>
--start_at <value>
--file_type <value>
--end_at <value>
[--product_name <value>]
[--region <value>]
[--resource_name <value>]
[--resource_type <value>]
[--root_resource_id <value>]
[--status <value>]
[--user_name <value>]
Description
download log file
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
time_zone_info required | string | Timezone info | Asia/Seoul |
start_at required | string | Query start date | 2025-08-09T10:00:00Z |
file_type required | string | Download file type | JSON |
end_at required | string | Query finish date | 2025-11-07T10:00:00Z |
product_name optional | string | Product name | - |
region optional | string | Region name | - |
resource_name optional | string | Resource name | - |
resource_type optional | string | Resource type | - |
root_resource_id optional | string | Root resource ID | - |
status optional | string | Task result | - |
user_name optional | string | Username | - |
Responses
| Name | Description | Example |
|---|
| EventTopic | Event type | |
| RegionName | Region name | |
| ResourceId | Resource ID | |
| ResourceName | Resource name | |
| ResourceType | Resource type | |
| WorkInfo | Event name | |
| WorkResult | Task result | |
| WorkTime | Work time | |
| WorkerEmail | Worker email | |
| WorkerID | Worker ID | |
| WorkerName | Worker name | |
1.4 - ListLogs
1.4.1 - 1.1
scpcli loggingaudit log list
--end_at <value>
--start_at <value>
[--size <value>]
[--page <value>]
[--sort <value>]
[--resource_id <value>]
[--resource_name <value>]
[--resource_type <value>]
[--product_name <value>]
[--product_type <value>]
[--status <value>]
[--event_type <value>]
[--user_id <value>]
[--user_name <value>]
[--region <value>]
[--root_resource_id <value>]
[--service_type <value>]
Description
get log list
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
end_at required | string | Query finish date | 2025-11-07T10:00:00Z |
start_at required | string | Query start date | 2025-08-09T10:00:00Z |
size optional | integer | size | 20 |
page optional | integer | page | 0 |
sort optional | string | sort | created_at:desc |
resource_id optional | string | Resource ID | - |
resource_name optional | string | Resource name | - |
resource_type optional | string | Resource type | - |
product_name optional | string | Product name | - |
product_type optional | string | Product type | - |
status optional | string | Task result | - |
event_type optional | string | Event type | - |
user_id optional | string | User ID | - |
user_name optional | string | Username | - |
region optional | string | Region name | - |
root_resource_id optional | string | Root resource ID | - |
service_type optional | string | Service type | - |
Responses
| Name | Description | Example |
|---|
| id | Log ID | ID-A1B2C3D4E5F6G7H8I9J0 |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| event_name | Event name | scp-extension.event.create |
| event_type | Event type | scp-extension.event.create |
| product_name | Product name | scp-extension |
| product_type | Product type | scp-extension |
| region | Region name | RegionOne |
| request_user_name | Username | Hong Gildong |
| resource_id | Resource ID | RESOURCE_ID-ABCDEF1234 |
| resource_name | Resource name | RESOURCE_NAME-ABCDEF1234 |
| resource_type | Resource type | scp-extension |
| role_name | Username | Tester |
| status | Task result | Success |
| timestamp | Timestamp | 2025-11-07T10:00:00Z |
| type | User ID | ROLE |
| user_id | User ID | USER_ID-ABCDEF1234 |
1.4.2 - 1.0
scpcli loggingaudit log list
--end_at <value>
--start_at <value>
[--size <value>]
[--page <value>]
[--sort <value>]
[--resource_id <value>]
[--resource_name <value>]
[--resource_type <value>]
[--product_name <value>]
[--product_type <value>]
[--status <value>]
[--event_type <value>]
[--user_id <value>]
[--user_name <value>]
[--region <value>]
[--root_resource_id <value>]
[--service_type <value>]
Description
get log list
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
end_at required | string | Query finish date | 2025-11-07T10:00:00Z |
start_at required | string | Query start date | 2025-08-09T10:00:00Z |
size optional | integer | size | 20 |
page optional | integer | page | 0 |
sort optional | string | sort | created_at:desc |
resource_id optional | string | Resource ID | - |
resource_name optional | string | Resource name | - |
resource_type optional | string | Resource type | - |
product_name optional | string | Product name | - |
product_type optional | string | Product type | - |
status optional | string | Task result | - |
event_type optional | string | Event type | - |
user_id optional | string | User ID | - |
user_name optional | string | Username | - |
region optional | string | Region name | - |
root_resource_id optional | string | Root resource ID | - |
service_type optional | string | Service type | - |
Responses
| Name | Description | Example |
|---|
| id | Log ID | ID-A1B2C3D4E5F6G7H8I9J0 |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| event_name | Event name | scp-extension.event.create |
| event_type | Event type | scp-extension.event.create |
| product_name | Product name | scp-extension |
| product_type | Product type | scp-extension |
| region | Region name | RegionOne |
| request_user_name | Username | Hong Gildong |
| resource_id | Resource ID | RESOURCE_ID-ABCDEF1234 |
| resource_name | Resource name | RESOURCE_NAME-ABCDEF1234 |
| resource_type | Resource type | scp-extension |
| role_name | Username | Tester |
| status | Task result | Success |
| timestamp | Timestamp | 2025-11-07T10:00:00Z |
| type | User ID | ROLE |
| user_id | User ID | USER_ID-ABCDEF1234 |
1.5 - ListTrails
1.5.1 - 1.1
scpcli loggingaudit trail list
[--size <value>]
[--page <value>]
[--sort <value>]
[--trail_name <value>]
[--bucket_name <value>]
[--state <value>]
[--resource_type <value>]
Description
get trails list
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
size optional | integer | size | 20 |
page optional | integer | page | 0 |
sort optional | string | sort | created_at:desc |
trail_name optional | string | Trail name | - |
bucket_name optional | string | Bucket name | - |
state optional | string | Trail state | - |
resource_type optional | string | Resource type | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_archive_account_id | Log Archive Account ID | ACCOUNT_ID-ABCDEF1234 |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| organization_trail_yn | Organization trail y/n | Y |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.5.2 - 1.0
scpcli loggingaudit trail list
[--size <value>]
[--page <value>]
[--sort <value>]
[--trail_name <value>]
[--bucket_name <value>]
[--state <value>]
[--resource_type <value>]
Description
get trails list
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
size optional | integer | size | 20 |
page optional | integer | page | 0 |
sort optional | string | sort | created_at:desc |
trail_name optional | string | Trail name | - |
bucket_name optional | string | Bucket name | - |
state optional | string | Trail state | - |
resource_type optional | string | Resource type | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.6 - SetTrail
1.6.1 - 1.1
scpcli loggingaudit trail set
--trail_id <value>
[--log_type_total_yn <value>]
[--log_verification_yn <value>]
[--organization_trail_yn <value>]
[--region_names <value>]
[--region_total_yn <value>]
[--resource_type_total_yn <value>]
[--target_log_types <value>]
[--target_resource_types <value>]
[--target_users <value>]
[--trail_description <value>]
[--trail_save_type <value>]
[--user_total_yn <value>]
Description
set a specific trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
log_type_total_yn optional | string | Target log type total y/n | N |
log_verification_yn optional | string | Log verification y/n | N |
organization_trail_yn optional | string | Organization trail y/n | Y |
region_names optional | array | Region name list | - |
region_total_yn optional | string | Target region total y/n | Y |
resource_type_total_yn optional | string | Target resource type total y/n | Y |
target_log_types optional | array | Target log type list | - |
target_resource_types optional | array | Target resource type list | - |
target_users optional | array | Target user list | - |
trail_description optional | string | Trail description | This is a test trail |
trail_save_type optional | string | Trail save type | JSON |
user_total_yn optional | string | Target user total y/n | Y |
1.6.2 - 1.0
scpcli loggingaudit trail set
--trail_id <value>
[--log_type_total_yn <value>]
[--log_verification_yn <value>]
[--region_names <value>]
[--region_total_yn <value>]
[--resource_type_total_yn <value>]
[--target_log_types <value>]
[--target_resource_types <value>]
[--target_users <value>]
[--trail_description <value>]
[--trail_save_type <value>]
[--user_total_yn <value>]
Description
set a specific trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
log_type_total_yn optional | string | Target log type total y/n | N |
log_verification_yn optional | string | Log verification y/n | N |
region_names optional | array | Region name list | - |
region_total_yn optional | string | Target region total y/n | Y |
resource_type_total_yn optional | string | Target resource type total y/n | Y |
target_log_types optional | array | Target log type list | - |
target_resource_types optional | array | Target resource type list | - |
target_users optional | array | Target user list | - |
trail_description optional | string | Trail description | This is a test trail |
trail_save_type optional | string | Trail save type | JSON |
user_total_yn optional | string | Target user total y/n | Y |
1.7 - ShowLog
1.7.1 - 1.1
scpcli loggingaudit log show
--logging_id <value>
Description
show a specific log
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
logging_id required | string | Log ID | - |
Responses
| Name | Description | Example |
|---|
| id | Log ID | ID-A1B2C3D4E5F6G7H8I9J0 |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| details | Audit detail contents(JSON String) | |
| event_name | Event name | scp-extension.event.create |
| event_type | Event type | scp-extension.event.create |
| product_name | Product name | scp-extension |
| product_type | Product type | scp-extension |
| region | Region name | RegionOne |
| request_user_name | Username | Hong Gildong |
| resource_id | Resource ID | RESOURCE_ID-ABCDEF1234 |
| resource_name | Resource name | RESOURCE_NAME-ABCDEF1234 |
| resource_type | Resource type | scp-extension |
| role_name | Username | Tester |
| status | Task result | Success |
| timestamp | Timestamp | 2025-11-07T10:00:00Z |
| type | User ID | ROLE |
| user_id | User ID | USER_ID-ABCDEF1234 |
1.7.2 - 1.0
scpcli loggingaudit log show
--logging_id <value>
Description
show a specific log
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
logging_id required | string | Log ID | - |
Responses
| Name | Description | Example |
|---|
| id | Log ID | ID-A1B2C3D4E5F6G7H8I9J0 |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| details | Audit detail contents(JSON String) | |
| event_name | Event name | scp-extension.event.create |
| event_type | Event type | scp-extension.event.create |
| product_name | Product name | scp-extension |
| product_type | Product type | scp-extension |
| region | Region name | RegionOne |
| request_user_name | Username | Hong Gildong |
| resource_id | Resource ID | RESOURCE_ID-ABCDEF1234 |
| resource_name | Resource name | RESOURCE_NAME-ABCDEF1234 |
| resource_type | Resource type | scp-extension |
| role_name | Username | Tester |
| status | Task result | Success |
| timestamp | Timestamp | 2025-11-07T10:00:00Z |
| type | User ID | ROLE |
| user_id | User ID | USER_ID-ABCDEF1234 |
1.8 - ShowTrail
1.8.1 - 1.1
scpcli loggingaudit trail show
--trail_id <value>
Description
show a specific trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_archive_account_id | Log Archive Account ID | ACCOUNT_ID-ABCDEF1234 |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| organization_trail_yn | Organization trail y/n | Y |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.8.2 - 1.0
scpcli loggingaudit trail show
--trail_id <value>
Description
show a specific trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.9 - StartTrail
1.9.1 - 1.1
scpcli loggingaudit trail start
--trail_id <value>
Description
start a specific trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_archive_account_id | Log Archive Account ID | ACCOUNT_ID-ABCDEF1234 |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| organization_trail_yn | Organization trail y/n | Y |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.9.2 - 1.0
scpcli loggingaudit trail start
--trail_id <value>
Description
start a specific trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.10 - StopTrail
1.10.1 - 1.1
scpcli loggingaudit trail stop
--trail_id <value>
Description
stop a specific trail
State
ACTIVE (CURRENT)
| Version | Supported Until |
|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_archive_account_id | Log Archive Account ID | ACCOUNT_ID-ABCDEF1234 |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| organization_trail_yn | Organization trail y/n | Y |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |
1.10.2 - 1.0
scpcli loggingaudit trail stop
--trail_id <value>
Description
stop a specific trail
State
ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|
| 1.0 | 20260223 |
Parameters
| Name | Type | Description | Example |
|---|
trail_id required | string | Trail ID | - |
Responses
| Name | Description | Example |
|---|
| id | ID | 0fdd87aab8cb46f59b7c1f81ed03fb3e |
| account_id | Account ID | ACCOUNT_ID-ABCDEF1234 |
| account_name | Account name | Test Account |
| bucket_name | Bucket name | Bucket001 |
| bucket_region | Bucket region | RegionOne |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| created_user_id | Created user ID | kim.samsung@samsung.com |
| del_yn | Delete y/n | N |
| log_type_total_yn | Target log type total y/n | Y |
| log_verification_yn | Log verification y/n | N |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| region_names | Region name list | [] |
| region_total_yn | Target region total y/n | Y |
| resource_type_total_yn | Target resource type total y/n | Y |
| state | Trail state | ACTIVE |
| target_log_types | Target log type list | [] |
| target_resource_types | Target resource type list | [] |
| target_users | Target user list | [] |
| trail_batch_end_at | Trail batch end date | 2025-11-07T09:00:00Z |
| trail_batch_first_start_at | Trail batch first start date | 2025-10-28T10:00:00Z |
| trail_batch_last_state | Trail batch last state | success |
| trail_batch_start_at | Trail batch start date | 2025-11-07T09:00:00Z |
| trail_batch_success_at | Trail batch success date | 2025-11-07T09:00:00Z |
| trail_description | Trail description | test trail |
| trail_name | Trail name | Trail-0001 |
| trail_save_type | Trail save type | JSON |
| user_total_yn | Target user total y/n | Y |