From 691a82394debd08271c6beee269284a938d9a37f Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 19 Feb 2025 15:21:27 +0000 Subject: [PATCH] feat: update generated APIs --- .../test-all-usage-audit-trail-event-list-usage.golden | 2 +- docs/commands/audit-trail.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- .../namespaces/lb/v1/testdata/test-get-frontend-simple.golden | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden b/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden index cde862480c..89e437e8d4 100644 --- a/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: [project-id] (Optional) ID of the Project containing the Audit Trail events - [resource-type] (Optional) Returns a paginated list of Scaleway resources' features (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key) + [resource-type] (Optional) Returns a paginated list of Scaleway resources' features (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iamx_user | iamx_application | iamx_group | iamx_policy | iamx_api_key | iamx_ssh_key) [method-name] (Optional) Name of the method or 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 diff --git a/docs/commands/audit-trail.md b/docs/commands/audit-trail.md index 609b180ce2..fe959c1c2b 100644 --- a/docs/commands/audit-trail.md +++ b/docs/commands/audit-trail.md @@ -29,7 +29,7 @@ scw audit-trail event list [arg=value ...] | Name | | Description | |------|---|-------------| | project-id | | (Optional) ID of the Project containing the Audit Trail events | -| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key` | (Optional) Returns a paginated list of Scaleway resources' features | +| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key`, `iamx_user`, `iamx_application`, `iamx_group`, `iamx_policy`, `iamx_api_key`, `iamx_ssh_key` | (Optional) Returns a paginated list of Scaleway resources' features | | method-name | | (Optional) Name of the method or 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 | diff --git a/go.mod b/go.mod index 62fbec243a..3e8b9e4b9d 100644 --- a/go.mod +++ b/go.mod @@ -25,7 +25,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250211155222-f6d517b1fe08 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250218143128-3136832efdcc github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.9.1 github.com/spf13/pflag v1.0.6 diff --git a/go.sum b/go.sum index c0a4b6cc78..7d02e66683 100644 --- a/go.sum +++ b/go.sum @@ -458,8 +458,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250211155222-f6d517b1fe08 h1:xwx6FZCCMh4SLvZdfqZEpecUdR5reLWmJTM/07156C4= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250211155222-f6d517b1fe08/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250218143128-3136832efdcc h1:YfW5EvR+6f6pGAoAY3Yu2Li4dmLbRxz28S+Nwf+bS+s= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.32.0.20250218143128-3136832efdcc/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/lb/v1/testdata/test-get-frontend-simple.golden b/internal/namespaces/lb/v1/testdata/test-get-frontend-simple.golden index 2ecc9a8ba7..4d21f17deb 100644 --- a/internal/namespaces/lb/v1/testdata/test-get-frontend-simple.golden +++ b/internal/namespaces/lb/v1/testdata/test-get-frontend-simple.golden @@ -197,5 +197,6 @@ ID STATUS IP ADDRESS CREATED AT UPDATED AT REGION ZONE "created_at": "1970-01-01T00:00:00.0Z", "updated_at": "1970-01-01T00:00:00.0Z", "enable_http3": false, + "connection_rate_limit": null, "timeout_client": 300000 }