forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-all-usage-audit-trail-event-list-usage.golden
More file actions
34 lines (30 loc) · 3.68 KB
/
test-all-usage-audit-trail-event-list-usage.golden
File metadata and controls
34 lines (30 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Retrieve the list of Audit Trail events for a Scaleway Organization and/or Project. You must specify the `organization_id` and optionally, the `project_id`.
USAGE:
scw audit-trail event list [arg=value ...]
ARGS:
[project-id] (Optional) ID of the Project containing the Audit Trail events
[resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | account_contract_signature | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | instance_template | instance_private_network_interface | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | vpc_vpc | vpc_subnet | vpc_route | vpc_acl | vpc_connector | edge_services_plan | edge_services_pipeline | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage | s2s_vpn_gateway | s2s_customer_gateway | s2s_routing_policy | s2s_connection | vpc_gw_gateway | vpc_gw_gateway_network | vpc_gw_dhcp | vpc_gw_dhcp_entry | vpc_gw_pat_rule | vpc_gw_ip | audit_trail_export_job | rdb_instance | rdb_instance_backup | rdb_instance_endpoint | rdb_instance_logs | rdb_instance_read_replica | rdb_instance_snapshot | mongodb_instance | mongodb_instance_snapshot | mongodb_instance_endpoint | apple_silicon_runner | audit_trail_alert_rule)
[method-name] (Optional) Name of the method of the API call performed
[status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied
[recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default
[recorded-before] (Optional) The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Returns `now` by default
[order-by] (recorded_at_desc | recorded_at_asc)
[page-size]
[page-token]
[product-name] (Optional) Name of the Scaleway product in a hyphenated format
[service-name] (Optional) Name of the service of the API call performed
[resource-id] (Optional) ID of the Scaleway resource
[principal-id] (Optional) ID of the User or IAM application at the origin of the event
[source-ip] (Optional) IP address at the origin of the event
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams)
FLAGS:
-h, --help help for list
--list-sub-commands List all subcommands
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use