From 2f056d302cfdc2c9b58121566dd76f331c7896bc Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Tue, 4 Nov 2025 11:25:45 +0100 Subject: [PATCH 01/10] feat(audit_trail): add new data source audit_trail_event --- docs/data-sources/audit_trail_event.md | 80 ++++++ internal/acctest/acctest.go | 1 + internal/meta/errors.go | 5 +- internal/meta/extractors.go | 18 ++ .../services/audittrail/event_data_source.go | 251 ++++++++++++++++++ .../audittrail/event_data_source_test.go | 141 ++++++++++ internal/services/audittrail/helpers.go | 32 +++ internal/services/audittrail/helpers_test.go | 192 ++++++++++++++ provider/sdkv2.go | 2 + .../data-sources/audit_trail_event.md.tmpl | 80 ++++++ 10 files changed, 801 insertions(+), 1 deletion(-) create mode 100644 docs/data-sources/audit_trail_event.md create mode 100644 internal/services/audittrail/event_data_source.go create mode 100644 internal/services/audittrail/event_data_source_test.go create mode 100644 internal/services/audittrail/helpers.go create mode 100644 internal/services/audittrail/helpers_test.go create mode 100644 templates/data-sources/audit_trail_event.md.tmpl diff --git a/docs/data-sources/audit_trail_event.md b/docs/data-sources/audit_trail_event.md new file mode 100644 index 0000000000..6702043a90 --- /dev/null +++ b/docs/data-sources/audit_trail_event.md @@ -0,0 +1,80 @@ +--- +subcategory: "Audit Trail" +page_title: "Scaleway: scaleway_audit_trail_event" +--- + +# scaleway_audit_trail_event + +Use this data source to get a list of existing Audit Trail events. +For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/). + +## Example Usage + +```hcl +# Retrieve all audit trail events on the default organization +data "scaleway_audit_trail_event" "find_all" { + region = "fr-par" +} + +# Retrieve audit trail events on a specific organization +data "scaleway_audit_trail_event" "find_by_org" { + organization_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail events on a specific project +data "scaleway_audit_trail_event" "find_by_project" { + region = "fr-par" + project_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail events for a specific type of resource +data "scaleway_audit_trail_event" "find_by_resource_type" { + resource_type = "instance_server" +} + +# Retrieve audit trail for a specific resource +data "scaleway_audit_trail_event" "find_by_resource_id" { + resource_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail for a specific Scaleway product +data "scaleway_audit_trail_event" "find_by_product_name" { + region = "nl-ams" + product_name = "secret-manager" +} +``` + +## Argument Reference + +- `region` - (Optional) The [region](../guides/regions_and_zones.md#regions) you want to target. Defaults to the region specified in the [provider configuration](../index.md#region). +- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_id) `organization_id`) ID of the Organization containing the Audit Trail events. +- `project_id` - (Optional) ID of the Project containing the Audit Trail events. +- `resource_type` - (Optional) Type of the scaleway resources associated with the listed events. Possible values are: `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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `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`, or `vpc_private_network`. +- `resource_id` - (Optional) ID of the Scaleway resource associated with the listed events. +- `product_name` - (Optional) Name of the Scaleway product in a hyphenated format. + + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `events` - List of Audit Trail events matching the requested criteria. + - `id` - ID of the event. (UUID format) + - `recorded_at` - Timestamp of the event. (RFC 3339 format) + - `locality` - Locality of the resource attached to the event. + - `principal_id` - ID of the user or IAM application at the origin of the event. + - `organization_id` - ID of the Organization containing the Audit Trail events. (UUID format) + - `project_id` - Project of the resource attached to the event. (UUID format) + - `source_ip` - IP address at the origin of the event. (IP address) + - `user_agent` - User Agent at the origin of the event. + - `product_name` - Scaleway product associated with the listed events in a hyphenated format. + - `service_name` - API name called to trigger the event. + - `method_name` - API method called to trigger the event. + - `resources` - List of resources attached to the event. + - `id` - ID of the resource attached to the event. (UUID format) + - `type` - Type of the Scaleway resource. + - `name` - Name of the Scaleway resource. + - `request_id` - Unique identifier of the request at the origin of the event. (UUID format) + - `request_body` - Request at the origin of the event. + - `status_code` - HTTP status code resulting of the API call. + diff --git a/internal/acctest/acctest.go b/internal/acctest/acctest.go index 63aa3b7c59..b60549ee7b 100644 --- a/internal/acctest/acctest.go +++ b/internal/acctest/acctest.go @@ -37,6 +37,7 @@ var foldersUsingVCRv4 = []string{ "instance", "k8s", "marketplace", + "audittrail", } func FolderUsesVCRv4(fullFolderPath string) bool { diff --git a/internal/meta/errors.go b/internal/meta/errors.go index dc369d773a..4065831b52 100644 --- a/internal/meta/errors.go +++ b/internal/meta/errors.go @@ -2,5 +2,8 @@ package meta import "errors" -// ErrProjectIDNotFound is returned when no region can be detected +// ErrProjectIDNotFound is returned when no project ID can be detected var ErrProjectIDNotFound = errors.New("could not detect project id") + +// ErrOrganizationIDNotFound is returned when no organization ID can be detected +var ErrOrganizationIDNotFound = errors.New("could not detect organization id") diff --git a/internal/meta/extractors.go b/internal/meta/extractors.go index 6f53997570..e68d61da27 100644 --- a/internal/meta/extractors.go +++ b/internal/meta/extractors.go @@ -116,6 +116,24 @@ func ExtractProjectID(d terraformResourceData, m any) (projectID string, isDefau return "", false, ErrProjectIDNotFound } +// ExtractOrganizationID will try to guess the organization id from the following: +// - organization_id field of the resource data +// - default organization_id from config +func ExtractOrganizationID(d terraformResourceData, m any) (organizationID string, err error) { + rawOrgID, exist := d.GetOk("organization_id") + + if exist { + return rawOrgID.(string), nil + } + + defaultOrgID, defaultOrgIDExists := m.(*Meta).ScwClient().GetDefaultOrganizationID() + if defaultOrgIDExists { + return defaultOrgID, nil + } + + return "", ErrOrganizationIDNotFound +} + func ExtractScwClient(m any) *scw.Client { return m.(*Meta).ScwClient() } diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go new file mode 100644 index 0000000000..c22ceb9e8b --- /dev/null +++ b/internal/services/audittrail/event_data_source.go @@ -0,0 +1,251 @@ +package audittrail + +import ( + "context" + "strconv" + + "github.com/google/uuid" + "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + audittrailSDK "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" +) + +func DataSourceEvent() *schema.Resource { + return &schema.Resource{ + ReadContext: DataSourceEventsRead, + Schema: map[string]*schema.Schema{ + "organization_id": { + Type: schema.TypeString, + Description: "ID of the organization containing the Audit Trail events.", + Optional: true, + ValidateDiagFunc: verify.IsUUID(), + }, + "region": regional.Schema(), + "project_id": { + Type: schema.TypeString, + Description: "ID of the project containing the Audit Trail events.", + Optional: true, + ValidateDiagFunc: verify.IsUUID(), + }, + "resource_type": { + Type: schema.TypeString, + Description: "Type of the scaleway resources associated with the listed events", + Optional: true, + ValidateDiagFunc: verify.ValidateEnum[audittrailSDK.ResourceType](), + }, + "resource_id": { + Type: schema.TypeString, + Description: "ID of the Scaleway resource associated with the listed events", + Optional: true, + ValidateDiagFunc: verify.IsUUID(), + }, + "product_name": { + Type: schema.TypeString, + Description: "Scaleway product associated with the listed events in a hyphenated format", + Optional: true, + }, + "events": { + Type: schema.TypeList, + Computed: true, + Description: "List of Audit Trail events", + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "id": { + Type: schema.TypeString, + Description: "ID of the event", + Computed: true, + }, + "recorded_at": { + Type: schema.TypeString, + Description: "Timestamp of the event", + Computed: true, + }, + "locality": { + Type: schema.TypeString, + Description: "Locality of the resource attached to the event", + Computed: true, + }, + "principal_id": { + Type: schema.TypeString, + Description: "ID of the user or IAM application at the origin of the event", + Computed: true, + }, + "organization_id": { + Type: schema.TypeString, + Description: "Organization of the resource attached to the event", + Computed: true, + }, + "project_id": { + Type: schema.TypeString, + Description: "Project of the resource attached to the event", + Computed: true, + }, + "source_ip": { + Type: schema.TypeString, + Description: "IP address at the origin of the event", + Computed: true, + }, + "user_agent": { + Type: schema.TypeString, + Description: "User Agent at the origin of the event", + Computed: true, + }, + "product_name": { + Type: schema.TypeString, + Description: "Product name of the resource attached to the event", + Computed: true, + }, + "service_name": { + Type: schema.TypeString, + Description: "API name called to trigger the event", + Computed: true, + }, + "method_name": { + Type: schema.TypeString, + Description: "API method called to trigger the event", + Computed: true, + }, + "resources": { + Type: schema.TypeList, + Description: "List of resources attached to the event", + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "id": { + Type: schema.TypeString, + Computed: true, + Description: "ID of the resource attached to the event", + }, + "type": { + Type: schema.TypeString, + Computed: true, + Description: "Type of the Scaleway resource", + }, + "name": { + Type: schema.TypeString, + Computed: true, + Description: "Name of the Scaleway resource", + }, + }, + }, + }, + "request_id": { + Type: schema.TypeString, + Description: "Unique identifier of the request at the origin of the event", + Computed: true, + }, + "request_body": { + Type: schema.TypeString, + Description: "Request at the origin of the event", + Computed: true, + }, + "status_code": { + Type: schema.TypeString, + Description: "HTTP status code resulting of the API call", + Computed: true, + }, + }, + }, + }, + }, + } +} + +func DataSourceEventsRead(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { + auditTrailAPI, region, orgID, err := newAPIWithRegionAndOrgID(d, m) + if err != nil { + return diag.FromErr(err) + } + + req := audittrailSDK.ListEventsRequest{ + OrganizationID: orgID, + Region: region, + } + + if projectID, ok := d.GetOk("project_id"); ok { + req.ProjectID = types.ExpandStringPtr(projectID) + } + + if resourceType, ok := d.GetOk("resource_type"); ok { + req.ResourceType = audittrailSDK.ResourceType(resourceType.(string)) + } + + if productName, ok := d.GetOk("product_name"); ok { + req.ProductName = types.ExpandStringPtr(productName) + } + + if resourceID, ok := d.GetOk("resource_id"); ok { + req.ResourceID = types.ExpandStringPtr(resourceID) + } + + res, err := auditTrailAPI.ListEvents(&req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + d.SetId(uuid.New().String()) + _ = d.Set("organization_id", orgID) + _ = d.Set("region", region) + + flattenedEvents, err := flattenEvents(res.Events) + if err != nil { + return diag.FromErr(err) + } + + _ = d.Set("events", flattenedEvents) + + return nil +} + +func flattenEvents(events []*audittrailSDK.Event) ([]map[string]any, error) { + flattenedEvents := make([]map[string]any, len(events)) + for i, event := range events { + var principalID string + + if event.Principal != nil { + principalID = event.Principal.ID + } + + requestBody, err := scw.EncodeJSONObject(*event.RequestBody, scw.NoEscape) + if err != nil { + return nil, err + } + + flattenedEvents[i] = map[string]any{ + "id": event.ID, + "recorded_at": event.RecordedAt.String(), + "locality": event.Locality, + "principal_id": principalID, + "organization_id": event.OrganizationID, + "project_id": event.ProjectID, + "source_ip": event.SourceIP.String(), + "user_agent": event.UserAgent, + "product_name": event.ProductName, + "service_name": event.ServiceName, + "method_name": event.MethodName, + "resources": flattenResources(event.Resources), + "request_id": event.RequestID, + "request_body": requestBody, + "status_code": strconv.FormatUint(uint64(event.StatusCode), 10), + } + } + + return flattenedEvents, nil +} + +func flattenResources(resources []*audittrailSDK.Resource) []map[string]any { + flattenedResources := make([]map[string]any, len(resources)) + for i, r := range resources { + flattenedResources[i] = map[string]any{ + "id": r.ID, + "type": string(r.Type), + "name": r.Name, + } + } + + return flattenedResources +} diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go new file mode 100644 index 0000000000..961cec5c95 --- /dev/null +++ b/internal/services/audittrail/event_data_source_test.go @@ -0,0 +1,141 @@ +package audittrail_test + +import ( + "fmt" + "testing" + + "github.com/google/uuid" + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + audit_trail "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/stretchr/testify/require" +) + +func TestAccDataSourceEvent_Basic(t *testing.T) { + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + ctx := t.Context() + + orgID, orgIDExists := tt.Meta.ScwClient().GetDefaultOrganizationID() + if !orgIDExists { + orgID = dummyOrgID + } + + auditTrailAPI := audit_trail.NewAPI(tt.Meta.ScwClient()) + + project, iamAPIKey, _, terminateFakeSideProject, err := acctest.CreateFakeIAMManager(tt) + require.NoError(t, err) + + resource.ParallelTest(t, resource.TestCase{ + ProtoV6ProviderFactories: acctest.FakeSideProjectProviders(ctx, tt, project, iamAPIKey), + CheckDestroy: resource.ComposeAggregateTestCheckFunc( + func(_ *terraform.State) error { + return terminateFakeSideProject() + }, + testAccCheckSecretDestroy(tt), + ), + Steps: []resource.TestStep{ + { + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + `, secretName, project.ID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "no_filter" { + } + `, secretName, project.ID), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttrSet("data.scaleway_audit_trail_event.no_filter", "events.#"), + ), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_project" { + project_id = scaleway_secret.main.project_id + } + `, secretName, project.ID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_type" { + project_id = scaleway_secret.main.project_id + resource_type = "secret_manager_secret" + } + `, secretName, project.ID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_id" { + project_id = scaleway_secret.main.project_id + resource_id = split("/", scaleway_secret.main.id)[1] + } + `, secretName, project.ID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_product" { + project_id = scaleway_secret.main.project_id + product_name = "secret-manager" + } + `, secretName, project.ID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_product", orgID), + }, + { + Config: fmt.Sprintf(` + data "scaleway_audit_trail_event" "not_found" { + project_id = "%s" + resource_id = "%s" + } + `, project.ID, uuid.New().String()), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.not_found", "events.#", "0"), + ), + }, + }, + }) +} diff --git a/internal/services/audittrail/helpers.go b/internal/services/audittrail/helpers.go new file mode 100644 index 0000000000..b3dbe626b6 --- /dev/null +++ b/internal/services/audittrail/helpers.go @@ -0,0 +1,32 @@ +package audittrail + +import ( + "fmt" + "slices" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + audittrailSDK "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/meta" +) + +// newAPIWithRegionAndProjectID returns a new Audit Trail API, with region and projectID +func newAPIWithRegionAndOrgID(d *schema.ResourceData, m any) (*audittrailSDK.API, scw.Region, string, error) { + api := audittrailSDK.NewAPI(meta.ExtractScwClient(m)) + + region, err := meta.ExtractRegion(d, m) + if err != nil { + return nil, "", "", err + } + // In audit trail sdk-go so far only fr-par and nl-ams are supported + if !slices.Contains(api.Regions(), region) { + return nil, "", "", fmt.Errorf("invalid api region, expected one of %s, got: %s", api.Regions(), region) + } + + orgID, err := meta.ExtractOrganizationID(d, m) + if err != nil { + return nil, "", "", err + } + + return api, region, orgID, nil +} diff --git a/internal/services/audittrail/helpers_test.go b/internal/services/audittrail/helpers_test.go new file mode 100644 index 0000000000..bfb9d7b2b8 --- /dev/null +++ b/internal/services/audittrail/helpers_test.go @@ -0,0 +1,192 @@ +package audittrail_test + +import ( + "context" + "fmt" + "testing" + "time" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" + "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/terraform" + "github.com/scaleway/scaleway-sdk-go/api/account/v3" + audit_trail "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" + secretSDK "github.com/scaleway/scaleway-sdk-go/api/secret/v1beta1" + "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/httperrors" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/secret" +) + +const ( + defaultAuditTrailEventsTimeout = 20 * time.Second + destroyWaitTimeout = 3 * time.Minute + dummyOrgID = "AB7BD9BF-E1BD-41E8-9F1D-F16A2E3F3925" + serviceName = "scaleway.secret_manager.v1beta1.Api" + productName = "secret-manager" + methodCreate = "CreateSecret" + resourceType = "secret_manager_secret" + resourceName = "scaleway_secret.main" + secretName = "scalewayDataSourceAuditTrailSecret" +) + +func getAuditEvents(ctx context.Context, api *audit_trail.API, projectID string, method string) (*audit_trail.ListEventsResponse, error) { + resp, err := api.ListEvents(&audit_trail.ListEventsRequest{ + ProjectID: &projectID, + MethodName: &method, + }, scw.WithContext(ctx)) + + return resp, err +} + +func waitForAuditTrailEvents(t *testing.T, ctx context.Context, api *audit_trail.API, project *account.Project) { + t.Helper() + + // Retry call with exponential backoff. + // Wait up to 20 seconds for audit event to appear. + err := retry.RetryContext(ctx, defaultAuditTrailEventsTimeout, func() *retry.RetryError { + events, err := getAuditEvents(ctx, api, project.ID, methodCreate) + if err != nil { + return retry.NonRetryableError(fmt.Errorf("failed to list audit events: %w", err)) + } + + if len(events.Events) > 0 { + return nil // Success + } + + // Not found yet + return retry.RetryableError(fmt.Errorf("audit event not found yet for resource, retrying...")) + }) + + if err != nil { + t.Fatalf("timed out waiting for audit trail event: %v", err) + } +} + +// Bundle of checks for audit trail event data source testing +func createEventDataSourceChecks(eventsDataSourceName, orgID string) resource.TestCheckFunc { + return resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttrPair( + eventsDataSourceName, "events.0.locality", + resourceName, "region", + ), + resource.TestCheckResourceAttrSet(eventsDataSourceName, "events.0.principal_id"), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.organization_id", orgID, + ), + resource.TestCheckResourceAttrSet(eventsDataSourceName, "events.0.source_ip"), + resource.TestCheckResourceAttrSet(eventsDataSourceName, "events.0.user_agent"), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.product_name", productName, + ), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.service_name", serviceName, + ), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.method_name", methodCreate, + ), + testCheckSecretIDEqualsEventResourceID(eventsDataSourceName, resourceName), + resource.TestCheckResourceAttrPair( + eventsDataSourceName, "events.0.resources.0.name", + resourceName, "name", + ), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.resources.0.type", resourceType, + ), + resource.TestCheckResourceAttrSet(eventsDataSourceName, "events.0.request_id"), + resource.TestCheckResourceAttrSet(eventsDataSourceName, "events.0.request_body"), + resource.TestCheckResourceAttr( + eventsDataSourceName, "events.0.status_code", "200", + ), + ) +} + +// testAccCheckSecretIDEqualsEventResourceID is a convenience wrapper for checking +// secret resource IDs against audit trail event resource IDs. +func testCheckSecretIDEqualsEventResourceID(eventsDataSourceName, resourceName string) resource.TestCheckFunc { + return checkSecretResourceIDMatchesEvent( + resourceName, + "id", + eventsDataSourceName, + "events.0.resources.0.id", + "events.0.locality", + ) +} + +// scaleway_secret id is formatted as ${scaleway_secret.main.region}/${scaleway_secret.main.id} +// this function enables checking the event region and id against the scaleway_secret formatted id. +func checkSecretResourceIDMatchesEvent(resourceName, resourceIDAttr, eventsDataSourceName, eventResourceIDAttr, eventLocalityAttr string) resource.TestCheckFunc { + return func(s *terraform.State) error { + // Retrieve the secret resource and relevant attribute + resource, ok := s.RootModule().Resources[resourceName] + if !ok { + return fmt.Errorf("resource not found: %s", resourceName) + } + + resourceID, ok := resource.Primary.Attributes[resourceIDAttr] + if !ok { + return fmt.Errorf("attribute not found: %s %s", resource, resourceIDAttr) + } + + // Retrieve the events data source and relevant attributes + events, ok := s.RootModule().Resources[eventsDataSourceName] + if !ok { + return fmt.Errorf("resource not found: %s", eventsDataSourceName) + } + + eventResourceID, ok := events.Primary.Attributes[eventResourceIDAttr] + if !ok { + return fmt.Errorf("attribute not found: %s %s", events, eventResourceIDAttr) + } + + eventLocality, ok := events.Primary.Attributes[eventLocalityAttr] + if !ok { + return fmt.Errorf("attribute not found: %s %s", events, eventLocalityAttr) + } + + // Format event resource ID to match the secret resource ID pattern + eventResourceFormattedID := fmt.Sprintf("%s/%s", eventLocality, eventResourceID) + + if resourceID != eventResourceFormattedID { + return fmt.Errorf("expected %s, got %s", resourceID, eventResourceFormattedID) + } + + return nil + } +} + +func testAccCheckSecretDestroy(tt *acctest.TestTools) resource.TestCheckFunc { + return func(state *terraform.State) error { + ctx := context.Background() + + return retry.RetryContext(ctx, destroyWaitTimeout, func() *retry.RetryError { + for _, rs := range state.RootModule().Resources { + if rs.Type != "scaleway_secret" { + continue + } + + api, region, id, err := secret.NewAPIWithRegionAndID(tt.Meta, rs.Primary.ID) + if err != nil { + return retry.NonRetryableError(err) + } + + sec, err := api.GetSecret(&secretSDK.GetSecretRequest{ + SecretID: id, + Region: region, + }) + + switch { + case err == nil && sec != nil && sec.DeletionRequestedAt != nil: + // Soft-deleted (scheduled for deletion), treat as destroyed for tests + continue + case httperrors.Is404(err): + continue + case err != nil: + return retry.NonRetryableError(err) + } + } + + return nil + }) + } +} diff --git a/provider/sdkv2.go b/provider/sdkv2.go index 924fd163b0..5b6edbdbe1 100644 --- a/provider/sdkv2.go +++ b/provider/sdkv2.go @@ -13,6 +13,7 @@ import ( "github.com/scaleway/terraform-provider-scaleway/v2/internal/meta" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/applesilicon" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/audittrail" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/autoscaling" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/az" "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/baremetal" @@ -257,6 +258,7 @@ func SDKProvider(config *Config) plugin.ProviderFunc { "scaleway_account_project": account.DataSourceProject(), "scaleway_account_projects": account.DataSourceProjects(), "scaleway_account_ssh_key": iam.DataSourceSSHKey(), + "scaleway_audit_trail_event": audittrail.DataSourceEvent(), "scaleway_availability_zones": az.DataSourceAvailabilityZones(), "scaleway_baremetal_offer": baremetal.DataSourceOffer(), "scaleway_baremetal_partition_schema": baremetal.DataPartitionSchema(), diff --git a/templates/data-sources/audit_trail_event.md.tmpl b/templates/data-sources/audit_trail_event.md.tmpl new file mode 100644 index 0000000000..6702043a90 --- /dev/null +++ b/templates/data-sources/audit_trail_event.md.tmpl @@ -0,0 +1,80 @@ +--- +subcategory: "Audit Trail" +page_title: "Scaleway: scaleway_audit_trail_event" +--- + +# scaleway_audit_trail_event + +Use this data source to get a list of existing Audit Trail events. +For more information refer to the [Audit Trail API documentation](https://www.scaleway.com/en/developers/api/audit-trail/). + +## Example Usage + +```hcl +# Retrieve all audit trail events on the default organization +data "scaleway_audit_trail_event" "find_all" { + region = "fr-par" +} + +# Retrieve audit trail events on a specific organization +data "scaleway_audit_trail_event" "find_by_org" { + organization_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail events on a specific project +data "scaleway_audit_trail_event" "find_by_project" { + region = "fr-par" + project_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail events for a specific type of resource +data "scaleway_audit_trail_event" "find_by_resource_type" { + resource_type = "instance_server" +} + +# Retrieve audit trail for a specific resource +data "scaleway_audit_trail_event" "find_by_resource_id" { + resource_id = "11111111-1111-1111-1111-111111111111" +} + +# Retrieve audit trail for a specific Scaleway product +data "scaleway_audit_trail_event" "find_by_product_name" { + region = "nl-ams" + product_name = "secret-manager" +} +``` + +## Argument Reference + +- `region` - (Optional) The [region](../guides/regions_and_zones.md#regions) you want to target. Defaults to the region specified in the [provider configuration](../index.md#region). +- `organization_id` - (Optional. Defaults to [provider](../index.md#organization_id) `organization_id`) ID of the Organization containing the Audit Trail events. +- `project_id` - (Optional) ID of the Project containing the Audit Trail events. +- `resource_type` - (Optional) Type of the scaleway resources associated with the listed events. Possible values are: `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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `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`, or `vpc_private_network`. +- `resource_id` - (Optional) ID of the Scaleway resource associated with the listed events. +- `product_name` - (Optional) Name of the Scaleway product in a hyphenated format. + + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +- `events` - List of Audit Trail events matching the requested criteria. + - `id` - ID of the event. (UUID format) + - `recorded_at` - Timestamp of the event. (RFC 3339 format) + - `locality` - Locality of the resource attached to the event. + - `principal_id` - ID of the user or IAM application at the origin of the event. + - `organization_id` - ID of the Organization containing the Audit Trail events. (UUID format) + - `project_id` - Project of the resource attached to the event. (UUID format) + - `source_ip` - IP address at the origin of the event. (IP address) + - `user_agent` - User Agent at the origin of the event. + - `product_name` - Scaleway product associated with the listed events in a hyphenated format. + - `service_name` - API name called to trigger the event. + - `method_name` - API method called to trigger the event. + - `resources` - List of resources attached to the event. + - `id` - ID of the resource attached to the event. (UUID format) + - `type` - Type of the Scaleway resource. + - `name` - Name of the Scaleway resource. + - `request_id` - Unique identifier of the request at the origin of the event. (UUID format) + - `request_body` - Request at the origin of the event. + - `status_code` - HTTP status code resulting of the API call. + From 12845fc2cfb8d8663fa7a02768a5ac923a64e7f9 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Thu, 6 Nov 2025 12:19:47 +0100 Subject: [PATCH 02/10] fix: validate resource_type with warning instead of error --- .../services/audittrail/event_data_source.go | 18 +++++++--- .../audittrail/event_data_source_test.go | 35 +++++++++++++++++++ internal/services/audittrail/helpers_test.go | 4 +-- 3 files changed, 51 insertions(+), 6 deletions(-) diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go index c22ceb9e8b..ca45c82ff0 100644 --- a/internal/services/audittrail/event_data_source.go +++ b/internal/services/audittrail/event_data_source.go @@ -5,6 +5,7 @@ import ( "strconv" "github.com/google/uuid" + "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" audittrailSDK "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" @@ -32,10 +33,19 @@ func DataSourceEvent() *schema.Resource { ValidateDiagFunc: verify.IsUUID(), }, "resource_type": { - Type: schema.TypeString, - Description: "Type of the scaleway resources associated with the listed events", - Optional: true, - ValidateDiagFunc: verify.ValidateEnum[audittrailSDK.ResourceType](), + Type: schema.TypeString, + Description: "Type of the scaleway resources associated with the listed events", + Optional: true, + ValidateDiagFunc: func(i any, p cty.Path) diag.Diagnostics { + resourceTypeValues := audittrailSDK.ResourceType("").Values() + + resourceTypeStringValues := make([]string, 0, len(resourceTypeValues)) + for _, resourceTypeValue := range resourceTypeValues { + resourceTypeStringValues = append(resourceTypeStringValues, resourceTypeValue.String()) + } + + return verify.ValidateStringInSliceWithWarning(resourceTypeStringValues, "resourceType")(i, p) + }, }, "resource_id": { Type: schema.TypeString, diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index 961cec5c95..a20c230764 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -2,6 +2,7 @@ package audittrail_test import ( "fmt" + "regexp" "testing" "github.com/google/uuid" @@ -139,3 +140,37 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { }, }) } + +func TestAccDataSourceEvent_Warning(t *testing.T) { + // Test that a resource_type that is not yet supported on the + // provider only raises a warning before calling the API + // anyway (it could exist on API side) + + // NOTE: Currently, we cannot programmatically assert that a warning was emitted + // during the test step. This needs support from the testing framework: + // https://github.com/hashicorp/terraform-plugin-testing/issues/69 + // Once implemented, we should add a check like: + // ExpectWarning: regexp.MustCompile(`expected resourceType to be one of [\"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\" \"secret_manager_secret\" \"secret_manager_version\" \"key_manager_key\" \"account_user\" \"account_organization\" \"account_project\" \"instance_server\" \"instance_placement_group\" \"instance_security_group\" \"instance_volume\" \"instance_snapshot\" \"instance_image\" \"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\"], got a_new_resource_type`) + tt := acctest.NewTestTools(t) + defer tt.Cleanup() + + resource.ParallelTest(t, resource.TestCase{ + ProtoV6ProviderFactories: tt.ProviderFactories, + CheckDestroy: testAccCheckSecretDestroy(tt), + Steps: []resource.TestStep{ + { + Config: ` + data "scaleway_audit_trail_event" "unknown_resource_type" { + resource_type = "a_new_resource_type" + } + `, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.unknown_resource_type", "events.#", "0"), + ), + // In this test, we still expect a 400 from the API since `a_new_resource_type` + // does not actually exist on API side. + ExpectError: regexp.MustCompile(`400 Bad Request`), + }, + }, + }) +} diff --git a/internal/services/audittrail/helpers_test.go b/internal/services/audittrail/helpers_test.go index bfb9d7b2b8..77c24309eb 100644 --- a/internal/services/audittrail/helpers_test.go +++ b/internal/services/audittrail/helpers_test.go @@ -2,6 +2,7 @@ package audittrail_test import ( "context" + "errors" "fmt" "testing" "time" @@ -55,9 +56,8 @@ func waitForAuditTrailEvents(t *testing.T, ctx context.Context, api *audit_trail } // Not found yet - return retry.RetryableError(fmt.Errorf("audit event not found yet for resource, retrying...")) + return retry.RetryableError(errors.New("audit event not found yet for resource, retrying...")) }) - if err != nil { t.Fatalf("timed out waiting for audit trail event: %v", err) } From 982f867e240d42339de659380fcf3584b7fefda4 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Fri, 7 Nov 2025 17:02:36 +0100 Subject: [PATCH 03/10] add: all filters + cassette --- docs/data-sources/audit_trail_event.md | 22 +- .../services/audittrail/event_data_source.go | 119 +- .../audittrail/event_data_source_test.go | 160 +- .../data-source-event-basic.cassette.yaml | 4656 +++++++++++++++++ .../data-sources/audit_trail_event.md.tmpl | 22 +- 5 files changed, 4948 insertions(+), 31 deletions(-) create mode 100644 internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml diff --git a/docs/data-sources/audit_trail_event.md b/docs/data-sources/audit_trail_event.md index 6702043a90..b218eb08fb 100644 --- a/docs/data-sources/audit_trail_event.md +++ b/docs/data-sources/audit_trail_event.md @@ -42,6 +42,19 @@ data "scaleway_audit_trail_event" "find_by_product_name" { region = "nl-ams" product_name = "secret-manager" } + +# Retrieve audit trail events with various filtering +data "scaleway_audit_trail_event" "find_with_filters" { + region = "fr-par" + service_name = "instance" + method_name = "CreateServer" + principal_id = "11111111-1111-1111-1111-111111111111" + source_ip = "192.0.2.1" + status = 200 + recorded_after = "2025-10-01T00:00:00Z" + recorded_before = "2025-12-31T23:59:59Z" + order_by = "recorded_at_desc" +} ``` ## Argument Reference @@ -52,6 +65,14 @@ data "scaleway_audit_trail_event" "find_by_product_name" { - `resource_type` - (Optional) Type of the scaleway resources associated with the listed events. Possible values are: `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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `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`, or `vpc_private_network`. - `resource_id` - (Optional) ID of the Scaleway resource associated with the listed events. - `product_name` - (Optional) Name of the Scaleway product in a hyphenated format. +- `service_name` - (Optional) Name of the service of the API call performed. +- `method_name` - (Optional) Name of the method of the API call performed. +- `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. +- `status` - (Optional) HTTP status code of the request. +- `recorded_after` - (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601). +- `recorded_before` - (Optional) The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601). +- `order_by` - (Optional) Defines the order in which events are returned. Possible values are `recorded_at_asc` and `recorded_at_desc`. Default value: `recorded_at_desc`. ## Attributes Reference @@ -77,4 +98,3 @@ In addition to all arguments above, the following attributes are exported: - `request_id` - Unique identifier of the request at the origin of the event. (UUID format) - `request_body` - Request at the origin of the event. - `status_code` - HTTP status code resulting of the API call. - diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go index ca45c82ff0..0c077bd89c 100644 --- a/internal/services/audittrail/event_data_source.go +++ b/internal/services/audittrail/event_data_source.go @@ -2,12 +2,13 @@ package audittrail import ( "context" - "strconv" + "fmt" "github.com/google/uuid" "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" audittrailSDK "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" @@ -58,6 +59,50 @@ func DataSourceEvent() *schema.Resource { Description: "Scaleway product associated with the listed events in a hyphenated format", Optional: true, }, + "service_name": { + Type: schema.TypeString, + Description: "Name of the service of the API call performed", + Optional: true, + }, + "method_name": { + Type: schema.TypeString, + Description: "Name of the method of the API call performed", + Optional: true, + }, + "principal_id": { + Type: schema.TypeString, + Description: "ID of the User or IAM application at the origin of the event", + Optional: true, + }, + "source_ip": { + Type: schema.TypeString, + Description: "IP address at the origin of the event", + Optional: true, + }, + "status": { + Type: schema.TypeInt, + Description: "HTTP status code of the request", + Optional: true, + }, + "recorded_after": { + Type: schema.TypeString, + Description: "The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601)", + Optional: true, + }, + "recorded_before": { + Type: schema.TypeString, + Description: "The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601)", + Optional: true, + }, + "order_by": { + Type: schema.TypeString, + Description: "Defines the order in which events are returned. Default value: recorded_at_desc", + Optional: true, + ValidateFunc: validation.StringInSlice([]string{ + string(audittrailSDK.ListAuthenticationEventsRequestOrderByRecordedAtAsc), + string(audittrailSDK.ListAuthenticationEventsRequestOrderByRecordedAtDesc), + }, true), + }, "events": { Type: schema.TypeList, Computed: true, @@ -154,7 +199,7 @@ func DataSourceEvent() *schema.Resource { Computed: true, }, "status_code": { - Type: schema.TypeString, + Type: schema.TypeInt, Description: "HTTP status code resulting of the API call", Computed: true, }, @@ -176,6 +221,31 @@ func DataSourceEventsRead(ctx context.Context, d *schema.ResourceData, m any) di Region: region, } + err = readOptionalData(d, &req) + if err != nil { + return diag.FromErr(err) + } + + res, err := auditTrailAPI.ListEvents(&req, scw.WithContext(ctx)) + if err != nil { + return diag.FromErr(err) + } + + d.SetId(uuid.New().String()) + _ = d.Set("organization_id", orgID) + _ = d.Set("region", region) + + flattenedEvents, err := flattenEvents(res.Events) + if err != nil { + return diag.FromErr(err) + } + + _ = d.Set("events", flattenedEvents) + + return nil +} + +func readOptionalData(d *schema.ResourceData, req *audittrailSDK.ListEventsRequest) error { if projectID, ok := d.GetOk("project_id"); ok { req.ProjectID = types.ExpandStringPtr(projectID) } @@ -192,21 +262,44 @@ func DataSourceEventsRead(ctx context.Context, d *schema.ResourceData, m any) di req.ResourceID = types.ExpandStringPtr(resourceID) } - res, err := auditTrailAPI.ListEvents(&req, scw.WithContext(ctx)) - if err != nil { - return diag.FromErr(err) + if serviceName, ok := d.GetOk("service_name"); ok { + req.ServiceName = types.ExpandStringPtr(serviceName) } - d.SetId(uuid.New().String()) - _ = d.Set("organization_id", orgID) - _ = d.Set("region", region) + if methodName, ok := d.GetOk("method_name"); ok { + req.MethodName = types.ExpandStringPtr(methodName) + } - flattenedEvents, err := flattenEvents(res.Events) - if err != nil { - return diag.FromErr(err) + if principalID, ok := d.GetOk("principal_id"); ok { + req.PrincipalID = types.ExpandStringPtr(principalID) } - _ = d.Set("events", flattenedEvents) + if sourceIP, ok := d.GetOk("source_ip"); ok { + req.SourceIP = types.ExpandStringPtr(sourceIP) + } + + if status, ok := d.GetOk("status"); ok { + req.Status = types.ExpandUint32Ptr(status) + } + + if recordedBefore, ok := d.GetOk("recorded_before"); ok { + req.RecordedBefore = types.ExpandTimePtr(recordedBefore) + } + + if recordedAfter, ok := d.GetOk("recorded_after"); ok { + req.RecordedAfter = types.ExpandTimePtr(recordedAfter) + } + + if orderBy, ok := d.GetOk("order_by"); ok { + switch orderBy.(string) { + case "recorded_at_asc": + req.OrderBy = audittrailSDK.ListEventsRequestOrderByRecordedAtAsc + case "recorded_at_desc": + req.OrderBy = audittrailSDK.ListEventsRequestOrderByRecordedAtDesc + default: + return fmt.Errorf("invalid order_by value: %s, must be 'recorded_at_asc' or 'recorded_at_desc'", orderBy) + } + } return nil } @@ -240,7 +333,7 @@ func flattenEvents(events []*audittrailSDK.Event) ([]map[string]any, error) { "resources": flattenResources(event.Resources), "request_id": event.RequestID, "request_body": requestBody, - "status_code": strconv.FormatUint(uint64(event.StatusCode), 10), + "status_code": event.StatusCode, } } diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index a20c230764..bec5d5401c 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -4,6 +4,7 @@ import ( "fmt" "regexp" "testing" + "time" "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -56,12 +57,11 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } - data "scaleway_audit_trail_event" "no_filter" { + data "scaleway_audit_trail_event" "by_project" { + project_id = scaleway_secret.main.project_id } `, secretName, project.ID), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttrSet("data.scaleway_audit_trail_event.no_filter", "events.#"), - ), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), }, { PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, @@ -72,11 +72,12 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } - data "scaleway_audit_trail_event" "by_project" { + data "scaleway_audit_trail_event" "by_type" { project_id = scaleway_secret.main.project_id + resource_type = "%s" } - `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), + `, secretName, project.ID, resourceType), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), }, { PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, @@ -87,12 +88,12 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } - data "scaleway_audit_trail_event" "by_type" { + data "scaleway_audit_trail_event" "by_id" { project_id = scaleway_secret.main.project_id - resource_type = "secret_manager_secret" + resource_id = split("/", scaleway_secret.main.id)[1] } `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id", orgID), }, { PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, @@ -103,12 +104,102 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } - data "scaleway_audit_trail_event" "by_id" { + data "scaleway_audit_trail_event" "by_product" { project_id = scaleway_secret.main.project_id - resource_id = split("/", scaleway_secret.main.id)[1] + product_name = "%s" + } + `, secretName, project.ID, productName), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_product", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_service" { + project_id = scaleway_secret.main.project_id + service_name = "%s" + } + `, secretName, project.ID, serviceName), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_service", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_method" { + project_id = scaleway_secret.main.project_id + method_name = "%s" + } + `, secretName, project.ID, methodCreate), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_method", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_method" { + project_id = scaleway_secret.main.project_id + method_name = "%s" + } + + data "scaleway_audit_trail_event" "by_principal" { + project_id = scaleway_secret.main.project_id + principal_id = data.scaleway_audit_trail_event.by_method.events.0.principal_id + } + `, secretName, project.ID, methodCreate), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_principal", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_method" { + project_id = scaleway_secret.main.project_id + method_name = "%s" + } + + data "scaleway_audit_trail_event" "by_ip" { + project_id = scaleway_secret.main.project_id + source_ip = data.scaleway_audit_trail_event.by_method.events.0.source_ip + } + `, secretName, project.ID, methodCreate), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_ip", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "by_status" { + project_id = scaleway_secret.main.project_id + status = 200 } `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id", orgID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_status", orgID), }, { PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, @@ -119,12 +210,48 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } - data "scaleway_audit_trail_event" "by_product" { + data "scaleway_audit_trail_event" "recorded_after" { project_id = scaleway_secret.main.project_id - product_name = "secret-manager" + recorded_after = "%s" + } + `, secretName, project.ID, time.Now().Add(-time.Minute*10).Format(time.RFC3339)), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.recorded_after", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "recorded_before" { + project_id = scaleway_secret.main.project_id + recorded_before = "%s" + } + `, secretName, project.ID, time.Now().Add(-time.Minute*30).Format(time.RFC3339)), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.recorded_before", "events.#", "0"), + ), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + + data "scaleway_audit_trail_event" "order_by" { + project_id = scaleway_secret.main.project_id + order_by = "recorded_at_asc" } `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_product", orgID), + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttrSet("data.scaleway_audit_trail_event.order_by", "events.#"), + ), }, { Config: fmt.Sprintf(` @@ -161,6 +288,7 @@ func TestAccDataSourceEvent_Warning(t *testing.T) { { Config: ` data "scaleway_audit_trail_event" "unknown_resource_type" { + recorded_after = "%s" resource_type = "a_new_resource_type" } `, diff --git a/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml new file mode 100644 index 0000000000..a345dedd33 --- /dev/null +++ b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml @@ -0,0 +1,4656 @@ +--- +version: 2 +interactions: +- id: 0 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 130 + host: api.scaleway.com + body: "{\"name\":\"test-acc-scaleway-project-4655653692067232878\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"description\":\"\"}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 281 + body: "{\"id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"test-acc-scaleway-project-4655653692067232878\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"created_at\":\"2025-11-07T15:58:17.198545Z\",\"updated_at\":\"2025-11-07T15:58:17.198545Z\",\"description\":\"\",\"qualification\":null}" + headers: + Content-Length: + - "281" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5a9618d7-10fa-452d-9640-870d41092d54 + status: 200 OK + code: 200 + duration: 425.623189ms +- id: 1 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 142 + host: api.scaleway.com + body: "{\"name\":\"test-acc-scaleway-iam-app-4105553045400918097\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"description\":\"\",\"tags\":null}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 335 + body: "{\"id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\",\"name\":\"test-acc-scaleway-iam-app-4105553045400918097\",\"description\":\"\",\"created_at\":\"2025-11-07T15:58:17.472689Z\",\"updated_at\":\"2025-11-07T15:58:17.472689Z\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"editable\":true,\"deletable\":true,\"managed\":false,\"nb_api_keys\":0,\"tags\":[]}" + headers: + Content-Length: + - "335" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 2f1c366e-2db7-4d7d-8a81-5f5efbfd9083 + status: 200 OK + code: 200 + duration: 135.997463ms +- id: 2 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 323 + host: api.scaleway.com + body: "{\"name\":\"test-acc-scaleway-iam-policy-1621778848493574723\",\"description\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"rules\":[{\"permission_set_names\":[\"IAMManager\"],\"condition\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\"}],\"tags\":null,\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/policies + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 428 + body: "{\"id\":\"1a56981f-445a-4394-a8f0-b26ac2f235fb\",\"name\":\"test-acc-scaleway-iam-policy-1621778848493574723\",\"description\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"created_at\":\"2025-11-07T15:58:17.591852Z\",\"updated_at\":\"2025-11-07T15:58:17.591852Z\",\"editable\":true,\"deletable\":true,\"managed\":false,\"nb_rules\":0,\"nb_scopes\":0,\"nb_permission_sets\":0,\"tags\":[],\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + headers: + Content-Length: + - "428" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - a33ab3d6-3801-4b77-953b-2a0ff2ffb27a + status: 200 OK + code: 200 + duration: 150.271641ms +- id: 3 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 134 + host: api.scaleway.com + body: "{\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\",\"default_project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"description\":\"\"}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/api-keys + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 405 + body: "{\"access_key\":\"SCWPM3YZC11EF94NC85Z\",\"secret_key\":\"11111111-1111-1111-1111-111111111111\",\"description\":\"\",\"created_at\":\"2025-11-07T15:58:17.765830Z\",\"updated_at\":\"2025-11-07T15:58:17.765830Z\",\"expires_at\":null,\"default_project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"editable\":true,\"deletable\":true,\"managed\":false,\"creation_ip\":\"51.159.46.153\",\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + headers: + Content-Length: + - "405" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:17 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 74bab8cb-e406-49ec-b8db-de1e2485076e + status: 200 OK + code: 200 + duration: 136.358795ms +- id: 4 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 208 + host: api.scaleway.com + body: "{\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"tags\":null,\"description\":\"DataSourceAuditTrail test description\",\"type\":\"opaque\",\"path\":\"/\",\"protected\":false}" + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets + method: POST + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0246da22-bfd8-4269-8b0b-49e132983a7e + status: 200 OK + code: 200 + duration: 112.250931ms +- id: 5 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 7d04e9ff-5cf4-4a1b-8411-3a270380f726 + status: 200 OK + code: 200 + duration: 63.629455ms +- id: 6 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0fed9768-7969-4ed2-945b-a77aa0f7ed93 + status: 200 OK + code: 200 + duration: 76.115505ms +- id: 7 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - a5116eb8-e8b9-4750-bdf9-d692703dc535 + status: 200 OK + code: 200 + duration: 42.010058ms +- id: 8 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0fe92208-e6ea-47b5-bb6a-b96fd703fd03 + status: 200 OK + code: 200 + duration: 51.498757ms +- id: 9 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:18 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ffa6b8c3-14e4-4e94-a06a-5a8e1cbb4b3f + status: 200 OK + code: 200 + duration: 75.895532ms +- id: 10 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:19 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - c54559a4-1882-4fb4-a03e-0a744fe7807b + status: 200 OK + code: 200 + duration: 85.935713ms +- id: 11 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:20 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - e413a0cb-c526-4dee-a200-a8bc7d911b16 + status: 200 OK + code: 200 + duration: 109.050571ms +- id: 12 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:20 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 735c68d6-9cad-447f-b65c-11ce716da93d + status: 200 OK + code: 200 + duration: 87.337168ms +- id: 13 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:20 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 57b6e54e-8bfd-418c-a6a0-27a3e11c9912 + status: 200 OK + code: 200 + duration: 82.033622ms +- id: 14 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:21 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 801b7972-a436-47c5-9275-b72091632b25 + status: 200 OK + code: 200 + duration: 195.471974ms +- id: 15 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:21 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ed1cae23-38ee-44db-b811-caa48201db25 + status: 200 OK + code: 200 + duration: 114.014954ms +- id: 16 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:21 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 1cda0ae9-4fea-4dba-aff1-dd53eab8a9d1 + status: 200 OK + code: 200 + duration: 93.324194ms +- id: 17 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:21 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 2112f516-8043-454c-8edf-40fc7e75c207 + status: 200 OK + code: 200 + duration: 82.359309ms +- id: 18 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:22 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ce1d5187-6931-4de3-954b-eb928901336d + status: 200 OK + code: 200 + duration: 214.10635ms +- id: 19 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:22 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 8742b95d-b73c-4fc4-b871-2ef5eed5272a + status: 200 OK + code: 200 + duration: 83.519352ms +- id: 20 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:22 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 17532324-dfcf-43af-85a5-5d5710b85e5c + status: 200 OK + code: 200 + duration: 62.411206ms +- id: 21 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:22 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - c04f58d2-7408-4ce6-b83e-5e62a3ae42e7 + status: 200 OK + code: 200 + duration: 176.819039ms +- id: 22 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - secret_manager_secret + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:22 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - c3976527-2103-4fe4-80c8-82f28f121e77 + status: 200 OK + code: 200 + duration: 97.394159ms +- id: 23 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - secret_manager_secret + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 78a8ce47-cc8c-4f31-ac06-34913808dd73 + status: 200 OK + code: 200 + duration: 81.567818ms +- id: 24 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9f02b141-e159-43dd-ae08-9b25cabb2aba + status: 200 OK + code: 200 + duration: 52.244435ms +- id: 25 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 186f167f-a503-4139-9f1e-551287173e24 + status: 200 OK + code: 200 + duration: 52.051625ms +- id: 26 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - secret_manager_secret + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5b901998-0d39-4606-b3bf-cb6dbb346cc0 + status: 200 OK + code: 200 + duration: 128.473907ms +- id: 27 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - d9b78d3c-0170-425d-8547-f81b5faa0436 + status: 200 OK + code: 200 + duration: 75.190394ms +- id: 28 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 881a8e90-b528-4687-814f-81e556e77171 + status: 200 OK + code: 200 + duration: 52.488279ms +- id: 29 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:23 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ebd2a6fe-2bd6-40cb-b69d-ba34bdf44d8b + status: 200 OK + code: 200 + duration: 43.101884ms +- id: 30 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - f184b15d-bb67-4215-91f7-82d565104954 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 4a50c0d1-c5e1-405c-8168-5e0da9c59951 + status: 200 OK + code: 200 + duration: 112.377834ms +- id: 31 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - f184b15d-bb67-4215-91f7-82d565104954 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - d604ab8f-b183-4fb5-9e08-6b9953f8e4ac + status: 200 OK + code: 200 + duration: 53.42218ms +- id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9602b2ce-6ee4-4f3e-9ab9-93deeaf65afb + status: 200 OK + code: 200 + duration: 35.223235ms +- id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 936af41c-beb6-47ce-b7d8-db2919c2952a + status: 200 OK + code: 200 + duration: 37.09743ms +- id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - f184b15d-bb67-4215-91f7-82d565104954 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 07605baa-1d4e-43db-b184-bb71a67c408d + status: 200 OK + code: 200 + duration: 133.193977ms +- id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:24 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 09a7c795-9f22-44de-a95b-4fa406d77f90 + status: 200 OK + code: 200 + duration: 61.473787ms +- id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 26a6acc3-f3de-4e1a-b2fa-6bf5102199fa + status: 200 OK + code: 200 + duration: 53.263931ms +- id: 37 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - af5b2d9e-8f1d-4ddc-b093-29cade514589 + status: 200 OK + code: 200 + duration: 61.939049ms +- id: 38 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + product_name: + - secret-manager + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 4b3eeee0-c601-4c08-a12c-3b236569b0bd + status: 200 OK + code: 200 + duration: 73.35551ms +- id: 39 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + product_name: + - secret-manager + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - d11ecb2f-dddb-47a4-a419-10db77e44fa2 + status: 200 OK + code: 200 + duration: 75.236476ms +- id: 40 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - be1e5473-2056-488c-b0b0-58a4cc75af14 + status: 200 OK + code: 200 + duration: 46.504037ms +- id: 41 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:25 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 54b0492d-4b66-48cb-b910-db2a40662849 + status: 200 OK + code: 200 + duration: 38.492934ms +- id: 42 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + product_name: + - secret-manager + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - fb272e81-211a-4087-9748-78cd13dc4709 + status: 200 OK + code: 200 + duration: 135.353209ms +- id: 43 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 77a3aef2-a31e-4120-8d18-c087b8c4b1f4 + status: 200 OK + code: 200 + duration: 50.399077ms +- id: 44 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 1ad8285e-c1ed-4c22-ae2b-4d7ad19e98c4 + status: 200 OK + code: 200 + duration: 64.323112ms +- id: 45 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5f2b2267-0ae6-4ff3-ae24-9fda6fbb62ec + status: 200 OK + code: 200 + duration: 52.813044ms +- id: 46 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - a41973c6-6b4d-44b8-baee-ce19f17426b5 + status: 200 OK + code: 200 + duration: 72.405544ms +- id: 47 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:26 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 40971a04-08ba-44c7-86da-577c2338b043 + status: 200 OK + code: 200 + duration: 75.288148ms +- id: 48 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b7d7477d-61cb-492a-9daf-eddbed2a2295 + status: 200 OK + code: 200 + duration: 71.341866ms +- id: 49 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - e8aaddb4-d4d3-4373-b077-9af360b75359 + status: 200 OK + code: 200 + duration: 56.707128ms +- id: 50 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b6fb10dc-ea6a-4b82-8e99-337ffa142125 + status: 200 OK + code: 200 + duration: 79.127119ms +- id: 51 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0c088fef-79e8-4276-bd68-a122b8714e76 + status: 200 OK + code: 200 + duration: 53.014704ms +- id: 52 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 7b8da5c0-97bd-4b24-b63e-e5573837b374 + status: 200 OK + code: 200 + duration: 42.158605ms +- id: 53 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - a724a4b2-9639-4357-b4f4-23b89ca16ce9 + status: 200 OK + code: 200 + duration: 100.813695ms +- id: 54 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:27 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9c940288-fc94-46c8-b6ea-5d9b802cd3be + status: 200 OK + code: 200 + duration: 72.6043ms +- id: 55 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 38d9f997-d4bc-4977-a734-9980ce07d10d + status: 200 OK + code: 200 + duration: 85.831867ms +- id: 56 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - a6e5dc65-fca9-4899-b07f-aedb9c84a1e4 + status: 200 OK + code: 200 + duration: 56.648714ms +- id: 57 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 034ea326-e0f7-4de1-ba3c-17ff0dec4d8c + status: 200 OK + code: 200 + duration: 40.64086ms +- id: 58 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 59efdbda-76fc-4c43-8528-b564b8ef2fb1 + status: 200 OK + code: 200 + duration: 120.975599ms +- id: 59 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 2edf4e0b-eb08-4365-a193-cb7ce2b78d41 + status: 200 OK + code: 200 + duration: 59.563686ms +- id: 60 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5eadcfd9-5e04-426b-8628-e492876a8699 + status: 200 OK + code: 200 + duration: 52.869641ms +- id: 61 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 7ab66c79-484f-4f7a-b384-40dc745f62bb + status: 200 OK + code: 200 + duration: 40.745543ms +- id: 62 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - e0988a49-4088-4443-81d7-cbd07ff2b0fb + status: 200 OK + code: 200 + duration: 112.215104ms +- id: 63 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + principal_id: + - aa669c52-3448-42fb-94ba-f6350a4278d8 + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:28 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 781e0555-aef8-4373-b603-aea7b8e231a0 + status: 200 OK + code: 200 + duration: 49.450822ms +- id: 64 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ad6b6e61-fa5f-4972-a2ed-31b4885fa7a8 + status: 200 OK + code: 200 + duration: 52.655101ms +- id: 65 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + principal_id: + - aa669c52-3448-42fb-94ba-f6350a4278d8 + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 7a240d80-06a5-4e5c-a7b8-11646bd28954 + status: 200 OK + code: 200 + duration: 73.738377ms +- id: 66 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 2b82a791-03a2-48fd-beb6-34dda8cfd2c8 + status: 200 OK + code: 200 + duration: 77.758046ms +- id: 67 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 64992307-a22f-41b9-bf98-66e6b6856aa0 + status: 200 OK + code: 200 + duration: 56.075394ms +- id: 68 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ad9b7b04-cc17-440e-a001-c4d3a0af61fa + status: 200 OK + code: 200 + duration: 66.282551ms +- id: 69 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + principal_id: + - aa669c52-3448-42fb-94ba-f6350a4278d8 + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:29 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5ed7a404-1d51-4047-ae64-814b4b4ae52c + status: 200 OK + code: 200 + duration: 120.951075ms +- id: 70 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 49285b69-fb4a-403d-ac9b-87c2dee71fb6 + status: 200 OK + code: 200 + duration: 73.684507ms +- id: 71 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5b55f9e1-3b81-4b79-9171-7b76067705ee + status: 200 OK + code: 200 + duration: 47.150131ms +- id: 72 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 73c87a88-dcc1-41f9-b904-ca731eda0aa6 + status: 200 OK + code: 200 + duration: 90.864721ms +- id: 73 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0692343e-5be1-4189-9e49-8817af8e4d36 + status: 200 OK + code: 200 + duration: 66.50174ms +- id: 74 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + source_ip: + - 51.159.46.153 + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5fef1108-714e-434d-9ecf-f667ba8289a3 + status: 200 OK + code: 200 + duration: 84.181025ms +- id: 75 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5e1c5a38-5283-4eac-825e-762200dfd0c6 + status: 200 OK + code: 200 + duration: 84.468133ms +- id: 76 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + source_ip: + - 51.159.46.153 + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:30 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - c56501e0-0a34-4d37-a1d4-a1aa3912b616 + status: 200 OK + code: 200 + duration: 78.224111ms +- id: 77 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b4be6bc1-7625-4fe3-9cb9-cef76f6ec222 + status: 200 OK + code: 200 + duration: 57.700068ms +- id: 78 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - dfb05760-457b-4b87-b22c-c05a7d2211be + status: 200 OK + code: 200 + duration: 73.206436ms +- id: 79 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 326757c4-4851-4980-a07a-793ca0e282d9 + status: 200 OK + code: 200 + duration: 131.191717ms +- id: 80 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + source_ip: + - 51.159.46.153 + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - cc04e785-e0a1-4d72-87d0-64c83695f6f8 + status: 200 OK + code: 200 + duration: 56.9083ms +- id: 81 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 39a08ca8-864f-465e-bc76-09a42586d435 + status: 200 OK + code: 200 + duration: 57.225322ms +- id: 82 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b2bae5a2-67fa-416b-8d8a-8328f6358620 + status: 200 OK + code: 200 + duration: 37.706709ms +- id: 83 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 89176a63-af65-4e92-99ce-465cd3f1bce6 + status: 200 OK + code: 200 + duration: 45.671718ms +- id: 84 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + status: + - "200" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:31 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 874bcbfd-5ea2-4033-b5db-b4f02859c3ad + status: 200 OK + code: 200 + duration: 115.236766ms +- id: 85 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + status: + - "200" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - d684ec87-7e70-4f33-901e-c85234750728 + status: 200 OK + code: 200 + duration: 72.541987ms +- id: 86 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 6b2cb91d-74d0-4cc1-9fa8-8acd3da35351 + status: 200 OK + code: 200 + duration: 57.477138ms +- id: 87 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 3b1960f0-b361-468c-803d-7bff1e5e17be + status: 200 OK + code: 200 + duration: 43.052653ms +- id: 88 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + status: + - "200" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0ada983b-040a-4c20-9c25-42dabb975621 + status: 200 OK + code: 200 + duration: 73.960314ms +- id: 89 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:32 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 1fef5200-555f-49ff-89a1-bb718d867a7b + status: 200 OK + code: 200 + duration: 68.529324ms +- id: 90 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - bad89c4e-b780-4c23-88be-9eeb5a17a36a + status: 200 OK + code: 200 + duration: 52.089204ms +- id: 91 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - dccb0a84-1513-4edd-a8f4-082cd286944e + status: 200 OK + code: 200 + duration: 44.100857ms +- id: 92 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_after: + - "2025-11-07T16:48:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 310c05aa-f853-46e1-83ca-858bb2dfc49e + status: 200 OK + code: 200 + duration: 138.237446ms +- id: 93 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_after: + - "2025-11-07T16:48:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b7103d5b-4594-47e0-b1db-1e518106c66c + status: 200 OK + code: 200 + duration: 52.434244ms +- id: 94 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 3e2430f4-608f-41b2-8c5d-4ed967b27d5f + status: 200 OK + code: 200 + duration: 57.7814ms +- id: 95 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - fcee1994-c7e2-47bd-9938-f94c70c2330b + status: 200 OK + code: 200 + duration: 57.38098ms +- id: 96 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_after: + - "2025-11-07T16:48:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:33 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 4b45857c-af37-4575-a2c5-15a80b1aee10 + status: 200 OK + code: 200 + duration: 130.435106ms +- id: 97 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0f543ea5-02e9-49cb-bcc1-867216c2af2d + status: 200 OK + code: 200 + duration: 70.321695ms +- id: 98 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9d658de1-5d74-413d-aa0a-fee285d11856 + status: 200 OK + code: 200 + duration: 45.217129ms +- id: 99 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 58a0d616-deb5-40d9-ac2c-32f13753c71f + status: 200 OK + code: 200 + duration: 97.004385ms +- id: 100 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_before: + - "2025-11-07T16:28:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 38a46327-3341-4eea-9123-e6e7910d7cb4 + status: 200 OK + code: 200 + duration: 68.146689ms +- id: 101 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_before: + - "2025-11-07T16:28:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:34 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b38d992d-21e3-44ed-bf91-32f29bfd14c8 + status: 200 OK + code: 200 + duration: 55.900355ms +- id: 102 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - ca665d9a-02e0-43ff-942a-4dbccc7a6db8 + status: 200 OK + code: 200 + duration: 53.616987ms +- id: 103 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - aa3e6b6a-d3b1-4067-b3b6-ccdaca648f08 + status: 200 OK + code: 200 + duration: 72.397323ms +- id: 104 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + recorded_before: + - "2025-11-07T16:28:17+01:00" + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 6b050de8-973d-4404-85c6-b7d968d0ddcd + status: 200 OK + code: 200 + duration: 136.527856ms +- id: 105 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 6a45b1d5-a790-4ea7-b9f4-d09b4b4e6343 + status: 200 OK + code: 200 + duration: 50.341904ms +- id: 106 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9678bfe8-1692-4748-87bd-97647cfd1b30 + status: 200 OK + code: 200 + duration: 57.439822ms +- id: 107 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 60f1b34e-7361-40ee-bb3b-6e4c5943ffb5 + status: 200 OK + code: 200 + duration: 41.804112ms +- id: 108 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_asc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:35 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 331183db-e171-4e31-b3b8-2e0b538fa538 + status: 200 OK + code: 200 + duration: 64.319076ms +- id: 109 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_asc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 599be62b-d5cd-44d0-8b2a-64251265b603 + status: 200 OK + code: 200 + duration: 94.785951ms +- id: 110 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 4708f2c8-aefa-4c2c-b514-f26b934bbcd9 + status: 200 OK + code: 200 + duration: 59.877189ms +- id: 111 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - bd3cf293-132a-4bb1-93cc-b440f9c2e7f5 + status: 200 OK + code: 200 + duration: 64.658824ms +- id: 112 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_asc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 1134 + body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + headers: + Content-Length: + - "1134" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - e295207c-ee6d-4844-9454-d8251316c4ea + status: 200 OK + code: 200 + duration: 75.704022ms +- id: 113 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - d1ba1014-8bd3-4e51-bca9-7879242b23b8 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 53bdc944-e824-479c-84f8-94dcac5ec73c + status: 200 OK + code: 200 + duration: 81.609116ms +- id: 114 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 485 + body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + headers: + Content-Length: + - "485" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 7bc279d5-a2bf-42ba-9af4-db9cb25e8445 + status: 200 OK + code: 200 + duration: 81.363108ms +- id: 115 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + page: + - "1" + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 31 + body: "{\"versions\":[],\"total_count\":0}" + headers: + Content-Length: + - "31" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:36 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 60f1c5be-d82b-4357-8faf-90b9c611e817 + status: 200 OK + code: 200 + duration: 65.908624ms +- id: 116 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - b71d95ff-8297-4483-a5c8-f6577650bb13 + status: 204 No Content + code: 204 + duration: 92.790068ms +- id: 117 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - d1ba1014-8bd3-4e51-bca9-7879242b23b8 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 3bb71f8d-4497-47ab-8e73-2eb7f101b55f + status: 200 OK + code: 200 + duration: 71.105797ms +- id: 118 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + project_id: + - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + resource_id: + - d1ba1014-8bd3-4e51-bca9-7879242b23b8 + resource_type: + - unknown_type + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 13 + body: "{\"events\":[]}" + headers: + Content-Length: + - "13" + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 64fb40db-4ca2-4759-a72a-a1eb28fffd9d + status: 200 OK + code: 200 + duration: 51.907165ms +- id: 119 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/api-keys/SCWXXXXXXXXXXXXXXXXX + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 0a69c41a-a0cc-43d2-97bd-ad62e338e6e6 + status: 204 No Content + code: 204 + duration: 80.835978ms +- id: 120 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/policies/1a56981f-445a-4394-a8f0-b26ac2f235fb + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:37 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 9d4b6443-4d11-45f8-95aa-66e8661e0e3d + status: 204 No Content + code: 204 + duration: 70.013657ms +- id: 121 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/iam/v1alpha1/applications/b4a88594-ebeb-4ce4-ae8b-7d3708ea5627 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:38 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - d15b4a3b-4776-4a9b-976f-8433266d5ddd + status: 204 No Content + code: 204 + duration: 63.250834ms +- id: 122 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 0 + host: api.scaleway.com + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests + url: https://api.scaleway.com/account/v3/projects/4ee61c1a-9c7f-40df-b234-861bf9dbc745 + method: DELETE + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + content_length: 0 + body: "" + headers: + Content-Type: + - application/json + Date: + - Fri, 07 Nov 2025 15:58:39 GMT + Server: + - Scaleway API Gateway (fr-par-2;edge03) + X-Request-Id: + - 5f4f2807-ee7e-430f-b73a-6c886b9470fe + status: 204 No Content + code: 204 + duration: 1.411764187s diff --git a/templates/data-sources/audit_trail_event.md.tmpl b/templates/data-sources/audit_trail_event.md.tmpl index 6702043a90..b218eb08fb 100644 --- a/templates/data-sources/audit_trail_event.md.tmpl +++ b/templates/data-sources/audit_trail_event.md.tmpl @@ -42,6 +42,19 @@ data "scaleway_audit_trail_event" "find_by_product_name" { region = "nl-ams" product_name = "secret-manager" } + +# Retrieve audit trail events with various filtering +data "scaleway_audit_trail_event" "find_with_filters" { + region = "fr-par" + service_name = "instance" + method_name = "CreateServer" + principal_id = "11111111-1111-1111-1111-111111111111" + source_ip = "192.0.2.1" + status = 200 + recorded_after = "2025-10-01T00:00:00Z" + recorded_before = "2025-12-31T23:59:59Z" + order_by = "recorded_at_desc" +} ``` ## Argument Reference @@ -52,6 +65,14 @@ data "scaleway_audit_trail_event" "find_by_product_name" { - `resource_type` - (Optional) Type of the scaleway resources associated with the listed events. Possible values are: `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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `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`, or `vpc_private_network`. - `resource_id` - (Optional) ID of the Scaleway resource associated with the listed events. - `product_name` - (Optional) Name of the Scaleway product in a hyphenated format. +- `service_name` - (Optional) Name of the service of the API call performed. +- `method_name` - (Optional) Name of the method of the API call performed. +- `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. +- `status` - (Optional) HTTP status code of the request. +- `recorded_after` - (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601). +- `recorded_before` - (Optional) The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601). +- `order_by` - (Optional) Defines the order in which events are returned. Possible values are `recorded_at_asc` and `recorded_at_desc`. Default value: `recorded_at_desc`. ## Attributes Reference @@ -77,4 +98,3 @@ In addition to all arguments above, the following attributes are exported: - `request_id` - Unique identifier of the request at the origin of the event. (UUID format) - `request_body` - Request at the origin of the event. - `status_code` - HTTP status code resulting of the API call. - From a8b738e6223ca34f9e3c9963aaffba4c86ca5c50 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Fri, 7 Nov 2025 17:12:34 +0100 Subject: [PATCH 04/10] remove borderline test that 400s on purpose --- .../audittrail/event_data_source_test.go | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index bec5d5401c..b9df065b46 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -2,7 +2,6 @@ package audittrail_test import ( "fmt" - "regexp" "testing" "time" @@ -267,38 +266,3 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { }, }) } - -func TestAccDataSourceEvent_Warning(t *testing.T) { - // Test that a resource_type that is not yet supported on the - // provider only raises a warning before calling the API - // anyway (it could exist on API side) - - // NOTE: Currently, we cannot programmatically assert that a warning was emitted - // during the test step. This needs support from the testing framework: - // https://github.com/hashicorp/terraform-plugin-testing/issues/69 - // Once implemented, we should add a check like: - // ExpectWarning: regexp.MustCompile(`expected resourceType to be one of [\"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\" \"secret_manager_secret\" \"secret_manager_version\" \"key_manager_key\" \"account_user\" \"account_organization\" \"account_project\" \"instance_server\" \"instance_placement_group\" \"instance_security_group\" \"instance_volume\" \"instance_snapshot\" \"instance_image\" \"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\"], got a_new_resource_type`) - tt := acctest.NewTestTools(t) - defer tt.Cleanup() - - resource.ParallelTest(t, resource.TestCase{ - ProtoV6ProviderFactories: tt.ProviderFactories, - CheckDestroy: testAccCheckSecretDestroy(tt), - Steps: []resource.TestStep{ - { - Config: ` - data "scaleway_audit_trail_event" "unknown_resource_type" { - recorded_after = "%s" - resource_type = "a_new_resource_type" - } - `, - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.unknown_resource_type", "events.#", "0"), - ), - // In this test, we still expect a 400 from the API since `a_new_resource_type` - // does not actually exist on API side. - ExpectError: regexp.MustCompile(`400 Bad Request`), - }, - }, - }) -} From 86eb6c2375e0d0d8816456c6929dcdb4d4074c3d Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Mon, 17 Nov 2025 10:58:17 +0100 Subject: [PATCH 05/10] add audittrail to ci --- .github/codecov.yml | 4 ++++ .github/workflows/acceptance-tests.yaml | 2 ++ .github/workflows/nightly.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/.github/codecov.yml b/.github/codecov.yml index 09af99e887..d16e8fc9e4 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -14,6 +14,10 @@ component_management: name: applesilicon paths: - internal/services/applesilicon/** + - component_id: audittrail + name: audittrail + paths: + - internal/services/audittrail/** - component_id: autoscaling name: autoscaling paths: diff --git a/.github/workflows/acceptance-tests.yaml b/.github/workflows/acceptance-tests.yaml index cd8a1acdeb..3624b34236 100644 --- a/.github/workflows/acceptance-tests.yaml +++ b/.github/workflows/acceptance-tests.yaml @@ -15,6 +15,7 @@ jobs: products: - account - applesilicon + - audittrail - az - baremetal - billing @@ -172,6 +173,7 @@ jobs: products: - account - applesilicon + - audittrail - az - baremetal - billing diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a2ab7f3ae4..ada2b6129d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,6 +16,7 @@ jobs: products: - account - applesilicon + - audittrail - autoscaling - az - baremetal From 46f247b9573ec91c944cf97c45d6db3638c9739a Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Mon, 17 Nov 2025 15:43:39 +0100 Subject: [PATCH 06/10] fix: handle resource_id in request with optional locality --- .../services/audittrail/event_data_source.go | 5 +++-- .../audittrail/event_data_source_test.go | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go index 0c077bd89c..c60e064d36 100644 --- a/internal/services/audittrail/event_data_source.go +++ b/internal/services/audittrail/event_data_source.go @@ -11,6 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" audittrailSDK "github.com/scaleway/scaleway-sdk-go/api/audit_trail/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" @@ -52,7 +53,7 @@ func DataSourceEvent() *schema.Resource { Type: schema.TypeString, Description: "ID of the Scaleway resource associated with the listed events", Optional: true, - ValidateDiagFunc: verify.IsUUID(), + ValidateDiagFunc: verify.IsUUIDorUUIDWithLocality(), }, "product_name": { Type: schema.TypeString, @@ -259,7 +260,7 @@ func readOptionalData(d *schema.ResourceData, req *audittrailSDK.ListEventsReque } if resourceID, ok := d.GetOk("resource_id"); ok { - req.ResourceID = types.ExpandStringPtr(resourceID) + req.ResourceID = types.ExpandStringPtr(locality.ExpandID(resourceID)) } if serviceName, ok := d.GetOk("service_name"); ok { diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index b9df065b46..cdfbd98900 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -103,6 +103,22 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = "%s" } + data "scaleway_audit_trail_event" "by_id_with_locality" { + project_id = scaleway_secret.main.project_id + resource_id = scaleway_secret.main.id + } + `, secretName, project.ID), + Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id_with_locality", orgID), + }, + { + PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, + Config: fmt.Sprintf(` + resource "scaleway_secret" "main" { + name = "%s" + description = "DataSourceAuditTrail test description" + project_id = "%s" + } + data "scaleway_audit_trail_event" "by_product" { project_id = scaleway_secret.main.project_id product_name = "%s" From 49dcbfa0b585b1181a552756e517d66767f7e861 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Mon, 17 Nov 2025 15:44:50 +0100 Subject: [PATCH 07/10] docs: provide list of service_name and product_name possible values --- docs/data-sources/audit_trail_event.md | 4 ++-- templates/data-sources/audit_trail_event.md.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/audit_trail_event.md b/docs/data-sources/audit_trail_event.md index b218eb08fb..1e5490e05e 100644 --- a/docs/data-sources/audit_trail_event.md +++ b/docs/data-sources/audit_trail_event.md @@ -88,8 +88,8 @@ In addition to all arguments above, the following attributes are exported: - `project_id` - Project of the resource attached to the event. (UUID format) - `source_ip` - IP address at the origin of the event. (IP address) - `user_agent` - User Agent at the origin of the event. - - `product_name` - Scaleway product associated with the listed events in a hyphenated format. - - `service_name` - API name called to trigger the event. + - `product_name` - Scaleway product associated with the listed events in a hyphenated format. Possible values are: `secret-manager`, `key-manager`, `iam`, `kubernetes`, `account`, `apple-silicon`, `instance`, `baremetal`, `load-balancer`, or `edge-services`. + - `service_name` - API name called to trigger the event. Possible values are: `scaleway.secret_manager.v1beta1.Api`, `scaleway.key_manager.v1alpha1.Api`, `scaleway.iam.v1alpha1.Api`, `scaleway.iam.v1alpha1.UnauthenticatedApi`, `scaleway.k8s.v1.Api`, `scaleway.account.v3.UserApi`, `scaleway.account.v3.OrganizationApi`, `scaleway.account.v2.GDPRApi`, `scaleway.apple_silicon.v1alpha1.Api`, `scaleway.instance.v1.Api`, `scaleway.baremetal.v1.Api`, or `scaleway.lb.v1.ZonedApi`. - `method_name` - API method called to trigger the event. - `resources` - List of resources attached to the event. - `id` - ID of the resource attached to the event. (UUID format) diff --git a/templates/data-sources/audit_trail_event.md.tmpl b/templates/data-sources/audit_trail_event.md.tmpl index b218eb08fb..1e5490e05e 100644 --- a/templates/data-sources/audit_trail_event.md.tmpl +++ b/templates/data-sources/audit_trail_event.md.tmpl @@ -88,8 +88,8 @@ In addition to all arguments above, the following attributes are exported: - `project_id` - Project of the resource attached to the event. (UUID format) - `source_ip` - IP address at the origin of the event. (IP address) - `user_agent` - User Agent at the origin of the event. - - `product_name` - Scaleway product associated with the listed events in a hyphenated format. - - `service_name` - API name called to trigger the event. + - `product_name` - Scaleway product associated with the listed events in a hyphenated format. Possible values are: `secret-manager`, `key-manager`, `iam`, `kubernetes`, `account`, `apple-silicon`, `instance`, `baremetal`, `load-balancer`, or `edge-services`. + - `service_name` - API name called to trigger the event. Possible values are: `scaleway.secret_manager.v1beta1.Api`, `scaleway.key_manager.v1alpha1.Api`, `scaleway.iam.v1alpha1.Api`, `scaleway.iam.v1alpha1.UnauthenticatedApi`, `scaleway.k8s.v1.Api`, `scaleway.account.v3.UserApi`, `scaleway.account.v3.OrganizationApi`, `scaleway.account.v2.GDPRApi`, `scaleway.apple_silicon.v1alpha1.Api`, `scaleway.instance.v1.Api`, `scaleway.baremetal.v1.Api`, or `scaleway.lb.v1.ZonedApi`. - `method_name` - API method called to trigger the event. - `resources` - List of resources attached to the event. - `id` - ID of the resource attached to the event. (UUID format) From 38cce1e3f4ddfb50339ffcbb5554e1e8bacbfbed Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Mon, 17 Nov 2025 15:48:37 +0100 Subject: [PATCH 08/10] add: better validation --- internal/services/audittrail/event_data_source.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go index c60e064d36..5bcaecb4f5 100644 --- a/internal/services/audittrail/event_data_source.go +++ b/internal/services/audittrail/event_data_source.go @@ -71,14 +71,16 @@ func DataSourceEvent() *schema.Resource { Optional: true, }, "principal_id": { - Type: schema.TypeString, - Description: "ID of the User or IAM application at the origin of the event", - Optional: true, + Type: schema.TypeString, + Description: "ID of the User or IAM application at the origin of the event", + Optional: true, + ValidateDiagFunc: verify.IsUUID(), }, "source_ip": { - Type: schema.TypeString, - Description: "IP address at the origin of the event", - Optional: true, + Type: schema.TypeString, + Description: "IP address at the origin of the event", + Optional: true, + ValidateFunc: validation.IsIPAddress, }, "status": { Type: schema.TypeInt, From 0e92ab4c549b3906012de364161b659bb7239729 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Mon, 17 Nov 2025 16:44:12 +0100 Subject: [PATCH 09/10] tests: refacto --- internal/acctest/acctest.go | 2 +- .../audittrail/event_data_source_test.go | 158 +- .../data-source-event-basic.cassette.yaml | 3738 ++++------------- 3 files changed, 802 insertions(+), 3096 deletions(-) diff --git a/internal/acctest/acctest.go b/internal/acctest/acctest.go index 5158373170..e8b39cfe0c 100644 --- a/internal/acctest/acctest.go +++ b/internal/acctest/acctest.go @@ -32,11 +32,11 @@ type TestTools struct { } var foldersUsingVCRv4 = []string{ + "audittrail", "container", "instance", "k8s", "marketplace", - "audittrail", } func FolderUsesVCRv4(fullFolderPath string) bool { diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index cdfbd98900..b6ffa326cc 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -59,113 +59,31 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { data "scaleway_audit_trail_event" "by_project" { project_id = scaleway_secret.main.project_id } - `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_type" { project_id = scaleway_secret.main.project_id resource_type = "%s" } - `, secretName, project.ID, resourceType), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_id" { project_id = scaleway_secret.main.project_id resource_id = split("/", scaleway_secret.main.id)[1] } - `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_id_with_locality" { project_id = scaleway_secret.main.project_id resource_id = scaleway_secret.main.id } - `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id_with_locality", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_product" { project_id = scaleway_secret.main.project_id product_name = "%s" } - `, secretName, project.ID, productName), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_product", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_service" { project_id = scaleway_secret.main.project_id service_name = "%s" } - `, secretName, project.ID, serviceName), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_service", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } - - data "scaleway_audit_trail_event" "by_method" { - project_id = scaleway_secret.main.project_id - method_name = "%s" - } - `, secretName, project.ID, methodCreate), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_method", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_method" { project_id = scaleway_secret.main.project_id @@ -176,95 +94,45 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { project_id = scaleway_secret.main.project_id principal_id = data.scaleway_audit_trail_event.by_method.events.0.principal_id } - `, secretName, project.ID, methodCreate), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_principal", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } - - data "scaleway_audit_trail_event" "by_method" { - project_id = scaleway_secret.main.project_id - method_name = "%s" - } data "scaleway_audit_trail_event" "by_ip" { project_id = scaleway_secret.main.project_id source_ip = data.scaleway_audit_trail_event.by_method.events.0.source_ip } - `, secretName, project.ID, methodCreate), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_ip", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "by_status" { project_id = scaleway_secret.main.project_id status = 200 } - `, secretName, project.ID), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.by_status", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "recorded_after" { project_id = scaleway_secret.main.project_id recorded_after = "%s" } - `, secretName, project.ID, time.Now().Add(-time.Minute*10).Format(time.RFC3339)), - Check: createEventDataSourceChecks("data.scaleway_audit_trail_event.recorded_after", orgID), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "recorded_before" { project_id = scaleway_secret.main.project_id recorded_before = "%s" } - `, secretName, project.ID, time.Now().Add(-time.Minute*30).Format(time.RFC3339)), - Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.recorded_before", "events.#", "0"), - ), - }, - { - PreConfig: func() { waitForAuditTrailEvents(t, ctx, auditTrailAPI, project) }, - Config: fmt.Sprintf(` - resource "scaleway_secret" "main" { - name = "%s" - description = "DataSourceAuditTrail test description" - project_id = "%s" - } data "scaleway_audit_trail_event" "order_by" { project_id = scaleway_secret.main.project_id order_by = "recorded_at_asc" } - `, secretName, project.ID), + `, secretName, project.ID, resourceType, productName, serviceName, methodCreate, time.Now().Add(-time.Minute*10).Format(time.RFC3339), time.Now().Add(-time.Minute*30).Format(time.RFC3339)), Check: resource.ComposeTestCheckFunc( + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_id_with_locality", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_product", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_service", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_method", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_principal", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_ip", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.by_status", orgID), + createEventDataSourceChecks("data.scaleway_audit_trail_event.recorded_after", orgID), + resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.recorded_before", "events.#", "0"), resource.TestCheckResourceAttrSet("data.scaleway_audit_trail_event.order_by", "events.#"), ), }, diff --git a/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml index a345dedd33..5f63782214 100644 --- a/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml +++ b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml @@ -8,7 +8,7 @@ interactions: proto_minor: 1 content_length: 130 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-project-4655653692067232878\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"description\":\"\"}" + body: "{\"name\":\"test-acc-scaleway-project-6140646650981259830\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\"}" headers: Content-Type: - application/json @@ -20,22 +20,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 281 - body: "{\"id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"test-acc-scaleway-project-4655653692067232878\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"created_at\":\"2025-11-07T15:58:17.198545Z\",\"updated_at\":\"2025-11-07T15:58:17.198545Z\",\"description\":\"\",\"qualification\":null}" + content_length: 287 + body: "{\"id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"test-acc-scaleway-project-6140646650981259830\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-17T15:39:57.339894Z\", \"updated_at\":\"2025-11-17T15:39:57.339894Z\", \"description\":\"\", \"qualification\":null}" headers: Content-Length: - - "281" + - "287" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:17 GMT + - Mon, 17 Nov 2025 15:39:57 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5a9618d7-10fa-452d-9640-870d41092d54 + - 3987a32a-8a04-4e8f-b50f-2d542e65fd8e status: 200 OK code: 200 - duration: 425.623189ms + duration: 646.928518ms - id: 1 request: proto: HTTP/1.1 @@ -43,7 +43,7 @@ interactions: proto_minor: 1 content_length: 142 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-iam-app-4105553045400918097\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"description\":\"\",\"tags\":null}" + body: "{\"name\":\"test-acc-scaleway-iam-app-8053323351462598461\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":null}" headers: Content-Type: - application/json @@ -55,22 +55,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 335 - body: "{\"id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\",\"name\":\"test-acc-scaleway-iam-app-4105553045400918097\",\"description\":\"\",\"created_at\":\"2025-11-07T15:58:17.472689Z\",\"updated_at\":\"2025-11-07T15:58:17.472689Z\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"editable\":true,\"deletable\":true,\"managed\":false,\"nb_api_keys\":0,\"tags\":[]}" + content_length: 345 + body: "{\"id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\", \"name\":\"test-acc-scaleway-iam-app-8053323351462598461\", \"description\":\"\", \"created_at\":\"2025-11-17T15:39:57.778469Z\", \"updated_at\":\"2025-11-17T15:39:57.778469Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - - "335" + - "345" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:17 GMT + - Mon, 17 Nov 2025 15:39:57 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 2f1c366e-2db7-4d7d-8a81-5f5efbfd9083 + - 5f9cbe5a-3217-480e-8ae4-82ad00054505 status: 200 OK code: 200 - duration: 135.997463ms + duration: 187.633138ms - id: 2 request: proto: HTTP/1.1 @@ -78,7 +78,7 @@ interactions: proto_minor: 1 content_length: 323 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-iam-policy-1621778848493574723\",\"description\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"rules\":[{\"permission_set_names\":[\"IAMManager\"],\"condition\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\"}],\"tags\":null,\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + body: "{\"name\":\"test-acc-scaleway-iam-policy-6688288908813754972\",\"description\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"rules\":[{\"permission_set_names\":[\"IAMManager\"],\"condition\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\"}],\"tags\":null,\"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" headers: Content-Type: - application/json @@ -90,22 +90,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 428 - body: "{\"id\":\"1a56981f-445a-4394-a8f0-b26ac2f235fb\",\"name\":\"test-acc-scaleway-iam-policy-1621778848493574723\",\"description\":\"\",\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"created_at\":\"2025-11-07T15:58:17.591852Z\",\"updated_at\":\"2025-11-07T15:58:17.591852Z\",\"editable\":true,\"deletable\":true,\"managed\":false,\"nb_rules\":0,\"nb_scopes\":0,\"nb_permission_sets\":0,\"tags\":[],\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + content_length: 441 + body: "{\"id\":\"4e2ac864-1560-483a-902e-9080bda7a888\", \"name\":\"test-acc-scaleway-iam-policy-6688288908813754972\", \"description\":\"\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-17T15:39:57.991646Z\", \"updated_at\":\"2025-11-17T15:39:57.991646Z\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_rules\":0, \"nb_scopes\":0, \"nb_permission_sets\":0, \"tags\":[], \"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" headers: Content-Length: - - "428" + - "441" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:17 GMT + - Mon, 17 Nov 2025 15:39:58 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - a33ab3d6-3801-4b77-953b-2a0ff2ffb27a + - 68bb3d00-518b-4c53-bc0d-880212fdf449 status: 200 OK code: 200 - duration: 150.271641ms + duration: 304.67754ms - id: 3 request: proto: HTTP/1.1 @@ -113,7 +113,7 @@ interactions: proto_minor: 1 content_length: 134 host: api.scaleway.com - body: "{\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\",\"default_project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"description\":\"\"}" + body: "{\"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\",\"default_project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\",\"description\":\"\"}" headers: Content-Type: - application/json @@ -125,22 +125,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 405 - body: "{\"access_key\":\"SCWPM3YZC11EF94NC85Z\",\"secret_key\":\"11111111-1111-1111-1111-111111111111\",\"description\":\"\",\"created_at\":\"2025-11-07T15:58:17.765830Z\",\"updated_at\":\"2025-11-07T15:58:17.765830Z\",\"expires_at\":null,\"default_project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"editable\":true,\"deletable\":true,\"managed\":false,\"creation_ip\":\"51.159.46.153\",\"application_id\":\"b4a88594-ebeb-4ce4-ae8b-7d3708ea5627\"}" + content_length: 416 + body: "{\"access_key\":\"SCWJEZSVTFZJWR0WT5RF\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"\", \"created_at\":\"2025-11-17T15:39:58.434691Z\", \"updated_at\":\"2025-11-17T15:39:58.434691Z\", \"expires_at\":null, \"default_project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" headers: Content-Length: - - "405" + - "416" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:17 GMT + - Mon, 17 Nov 2025 15:39:58 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 74bab8cb-e406-49ec-b8db-de1e2485076e + - fd20ca17-808b-4b3d-8982-51437d3a6e0b status: 200 OK code: 200 - duration: 136.358795ms + duration: 366.401765ms - id: 4 request: proto: HTTP/1.1 @@ -148,7 +148,7 @@ interactions: proto_minor: 1 content_length: 208 host: api.scaleway.com - body: "{\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"tags\":null,\"description\":\"DataSourceAuditTrail test description\",\"type\":\"opaque\",\"path\":\"/\",\"protected\":false}" + body: "{\"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"tags\":null,\"description\":\"DataSourceAuditTrail test description\",\"type\":\"opaque\",\"path\":\"/\",\"protected\":false}" headers: Content-Type: - application/json @@ -160,22 +160,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "485" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0246da22-bfd8-4269-8b0b-49e132983a7e + - e8ac3d0b-3f5a-4253-9d25-f068315a5371 status: 200 OK code: 200 - duration: 112.250931ms + duration: 243.456548ms - id: 5 request: proto: HTTP/1.1 @@ -186,28 +186,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "485" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 7d04e9ff-5cf4-4a1b-8411-3a270380f726 + - f9b53809-611b-4a4a-ae47-5f335b78968b status: 200 OK code: 200 - duration: 63.629455ms + duration: 88.006304ms - id: 6 request: proto: HTTP/1.1 @@ -221,28 +221,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "31" + - "32" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0fed9768-7969-4ed2-945b-a77aa0f7ed93 + - 5c3db3e8-4391-4e97-a6df-38a6b7dd60ee status: 200 OK code: 200 - duration: 76.115505ms + duration: 93.62179ms - id: 7 request: proto: HTTP/1.1 @@ -253,28 +253,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "485" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - a5116eb8-e8b9-4750-bdf9-d692703dc535 + - b7289a13-54fa-417f-b96d-2d46d807494e status: 200 OK code: 200 - duration: 42.010058ms + duration: 31.730424ms - id: 8 request: proto: HTTP/1.1 @@ -288,28 +288,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "31" + - "32" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0fe92208-e6ea-47b5-bb6a-b96fd703fd03 + - d1e2ece9-1f81-42aa-8ad6-5e785ad04571 status: 200 OK code: 200 - duration: 51.498757ms + duration: 87.654054ms - id: 9 request: proto: HTTP/1.1 @@ -323,36 +323,36 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:18 GMT + - Mon, 17 Nov 2025 15:39:59 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - ffa6b8c3-14e4-4e94-a06a-5a8e1cbb4b3f + - 14e52482-01ba-4a7f-9cc2-12220a3f172a status: 200 OK code: 200 - duration: 75.895532ms + duration: 121.547864ms - id: 10 request: proto: HTTP/1.1 @@ -360,118 +360,32 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "13" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:19 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c54559a4-1882-4fb4-a03e-0a744fe7807b + - 1acf76ad-d058-414a-ba6d-a6406baf2757 status: 200 OK code: 200 - duration: 85.935713ms + duration: 31.566153ms - id: 11 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:20 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - e413a0cb-c526-4dee-a200-a8bc7d911b16 - status: 200 OK - code: 200 - duration: 109.050571ms -- id: 12 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:20 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 735c68d6-9cad-447f-b65c-11ce716da93d - status: 200 OK - code: 200 - duration: 87.337168ms -- id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -484,29 +398,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "31" + - "32" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:20 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 57b6e54e-8bfd-418c-a6a0-27a3e11c9912 + - 14567f6a-93cf-43c4-bf28-39f0197540a9 status: 200 OK code: 200 - duration: 82.033622ms -- id: 14 + duration: 39.168354ms +- id: 12 request: proto: HTTP/1.1 proto_major: 1 @@ -517,37 +431,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:21 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 801b7972-a436-47c5-9275-b72091632b25 + - 3a467f06-964d-4c95-a537-87ec562f752e status: 200 OK code: 200 - duration: 195.471974ms -- id: 15 + duration: 56.967488ms +- id: 13 request: proto: HTTP/1.1 proto_major: 1 @@ -556,106 +472,39 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_desc + - recorded_at_asc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:21 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - ed1cae23-38ee-44db-b811-caa48201db25 - status: 200 OK - code: 200 - duration: 114.014954ms -- id: 16 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:21 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 1cda0ae9-4fea-4dba-aff1-dd53eab8a9d1 - status: 200 OK - code: 200 - duration: 93.324194ms -- id: 17 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:21 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 2112f516-8043-454c-8edf-40fc7e75c207 + - bcc8d7c5-4502-410f-9a21-9839051f7f8a status: 200 OK code: 200 - duration: 82.359309ms -- id: 18 + duration: 62.696656ms +- id: 14 request: proto: HTTP/1.1 proto_major: 1 @@ -666,37 +515,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_after: + - "2025-11-17T16:29:58+01:00" resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:22 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - ce1d5187-6931-4de3-954b-eb928901336d + - 526da588-948b-4bbe-8170-97ae53b16ac4 status: 200 OK code: 200 - duration: 214.10635ms -- id: 19 + duration: 63.295458ms +- id: 15 request: proto: HTTP/1.1 proto_major: 1 @@ -704,109 +555,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:22 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 8742b95d-b73c-4fc4-b871-2ef5eed5272a - status: 200 OK - code: 200 - duration: 83.519352ms -- id: 20 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:22 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 17532324-dfcf-43af-85a5-5d5710b85e5c - status: 200 OK - code: 200 - duration: 62.411206ms -- id: 21 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:22 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c04f58d2-7408-4ce6-b83e-5e62a3ae42e7 + - c972de59-0ee7-4bcc-9398-1d9e8518522f status: 200 OK code: 200 - duration: 176.819039ms -- id: 22 + duration: 51.285027ms +- id: 16 request: proto: HTTP/1.1 proto_major: 1 @@ -817,37 +601,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - - secret_manager_secret + - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:22 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - c3976527-2103-4fe4-80c8-82f28f121e77 + - 587a1715-df64-42d9-b9c8-2735952683ce status: 200 OK code: 200 - duration: 97.394159ms -- id: 23 + duration: 114.964902ms +- id: 17 request: proto: HTTP/1.1 proto_major: 1 @@ -858,104 +644,37 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:23 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 78a8ce47-cc8c-4f31-ac06-34913808dd73 - status: 200 OK - code: 200 - duration: 81.567818ms -- id: 24 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:23 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 9f02b141-e159-43dd-ae08-9b25cabb2aba - status: 200 OK - code: 200 - duration: 52.244435ms -- id: 25 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:23 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 186f167f-a503-4139-9f1e-551287173e24 + - ea828622-697c-484f-8990-e0ab830c0d82 status: 200 OK code: 200 - duration: 52.051625ms -- id: 26 + duration: 114.358152ms +- id: 18 request: proto: HTTP/1.1 proto_major: 1 @@ -966,37 +685,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 resource_type: - - secret_manager_secret + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=secret_manager_secret + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:23 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5b901998-0d39-4606-b3bf-cb6dbb346cc0 + - 29630899-0443-4c5f-8fcf-cbdaad349e45 status: 200 OK code: 200 - duration: 128.473907ms -- id: 27 + duration: 120.888648ms +- id: 19 request: proto: HTTP/1.1 proto_major: 1 @@ -1004,2050 +725,40 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:23 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - d9b78d3c-0170-425d-8547-f81b5faa0436 - status: 200 OK - code: 200 - duration: 75.190394ms -- id: 28 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:23 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 881a8e90-b528-4687-814f-81e556e77171 - status: 200 OK - code: 200 - duration: 52.488279ms -- id: 29 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:23 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - ebd2a6fe-2bd6-40cb-b69d-ba34bdf44d8b - status: 200 OK - code: 200 - duration: 43.101884ms -- id: 30 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_id: - - f184b15d-bb67-4215-91f7-82d565104954 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 4a50c0d1-c5e1-405c-8168-5e0da9c59951 - status: 200 OK - code: 200 - duration: 112.377834ms -- id: 31 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_id: - - f184b15d-bb67-4215-91f7-82d565104954 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - d604ab8f-b183-4fb5-9e08-6b9953f8e4ac - status: 200 OK - code: 200 - duration: 53.42218ms -- id: 32 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 9602b2ce-6ee4-4f3e-9ab9-93deeaf65afb - status: 200 OK - code: 200 - duration: 35.223235ms -- id: 33 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 936af41c-beb6-47ce-b7d8-db2919c2952a - status: 200 OK - code: 200 - duration: 37.09743ms -- id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_id: - - f184b15d-bb67-4215-91f7-82d565104954 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=f184b15d-bb67-4215-91f7-82d565104954&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 07605baa-1d4e-43db-b184-bb71a67c408d - status: 200 OK - code: 200 - duration: 133.193977ms -- id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:24 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 09a7c795-9f22-44de-a95b-4fa406d77f90 - status: 200 OK - code: 200 - duration: 61.473787ms -- id: 36 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 26a6acc3-f3de-4e1a-b2fa-6bf5102199fa - status: 200 OK - code: 200 - duration: 53.263931ms -- id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - af5b2d9e-8f1d-4ddc-b093-29cade514589 - status: 200 OK - code: 200 - duration: 61.939049ms -- id: 38 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - product_name: - - secret-manager - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 4b3eeee0-c601-4c08-a12c-3b236569b0bd - status: 200 OK - code: 200 - duration: 73.35551ms -- id: 39 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - product_name: - - secret-manager - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - d11ecb2f-dddb-47a4-a419-10db77e44fa2 - status: 200 OK - code: 200 - duration: 75.236476ms -- id: 40 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - be1e5473-2056-488c-b0b0-58a4cc75af14 - status: 200 OK - code: 200 - duration: 46.504037ms -- id: 41 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:25 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 54b0492d-4b66-48cb-b910-db2a40662849 - status: 200 OK - code: 200 - duration: 38.492934ms -- id: 42 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - product_name: - - secret-manager - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - fb272e81-211a-4087-9748-78cd13dc4709 - status: 200 OK - code: 200 - duration: 135.353209ms -- id: 43 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 77a3aef2-a31e-4120-8d18-c087b8c4b1f4 - status: 200 OK - code: 200 - duration: 50.399077ms -- id: 44 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 1ad8285e-c1ed-4c22-ae2b-4d7ad19e98c4 - status: 200 OK - code: 200 - duration: 64.323112ms -- id: 45 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5f2b2267-0ae6-4ff3-ae24-9fda6fbb62ec - status: 200 OK - code: 200 - duration: 52.813044ms -- id: 46 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - a41973c6-6b4d-44b8-baee-ce19f17426b5 - status: 200 OK - code: 200 - duration: 72.405544ms -- id: 47 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:26 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 40971a04-08ba-44c7-86da-577c2338b043 - status: 200 OK - code: 200 - duration: 75.288148ms -- id: 48 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - b7d7477d-61cb-492a-9daf-eddbed2a2295 - status: 200 OK - code: 200 - duration: 71.341866ms -- id: 49 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - e8aaddb4-d4d3-4373-b077-9af360b75359 - status: 200 OK - code: 200 - duration: 56.707128ms -- id: 50 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - b6fb10dc-ea6a-4b82-8e99-337ffa142125 - status: 200 OK - code: 200 - duration: 79.127119ms -- id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 0c088fef-79e8-4276-bd68-a122b8714e76 - status: 200 OK - code: 200 - duration: 53.014704ms -- id: 52 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 7b8da5c0-97bd-4b24-b63e-e5573837b374 - status: 200 OK - code: 200 - duration: 42.158605ms -- id: 53 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - a724a4b2-9639-4357-b4f4-23b89ca16ce9 - status: 200 OK - code: 200 - duration: 100.813695ms -- id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:27 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 9c940288-fc94-46c8-b6ea-5d9b802cd3be - status: 200 OK - code: 200 - duration: 72.6043ms -- id: 55 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 38d9f997-d4bc-4977-a734-9980ce07d10d - status: 200 OK - code: 200 - duration: 85.831867ms -- id: 56 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - a6e5dc65-fca9-4899-b07f-aedb9c84a1e4 - status: 200 OK - code: 200 - duration: 56.648714ms -- id: 57 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 034ea326-e0f7-4de1-ba3c-17ff0dec4d8c - status: 200 OK - code: 200 - duration: 40.64086ms -- id: 58 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 59efdbda-76fc-4c43-8528-b564b8ef2fb1 - status: 200 OK - code: 200 - duration: 120.975599ms -- id: 59 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 2edf4e0b-eb08-4365-a193-cb7ce2b78d41 - status: 200 OK - code: 200 - duration: 59.563686ms -- id: 60 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5eadcfd9-5e04-426b-8628-e492876a8699 - status: 200 OK - code: 200 - duration: 52.869641ms -- id: 61 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 7ab66c79-484f-4f7a-b384-40dc745f62bb - status: 200 OK - code: 200 - duration: 40.745543ms -- id: 62 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - e0988a49-4088-4443-81d7-cbd07ff2b0fb - status: 200 OK - code: 200 - duration: 112.215104ms -- id: 63 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - principal_id: - - aa669c52-3448-42fb-94ba-f6350a4278d8 - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:28 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 781e0555-aef8-4373-b603-aea7b8e231a0 - status: 200 OK - code: 200 - duration: 49.450822ms -- id: 64 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - ad6b6e61-fa5f-4972-a2ed-31b4885fa7a8 - status: 200 OK - code: 200 - duration: 52.655101ms -- id: 65 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - principal_id: - - aa669c52-3448-42fb-94ba-f6350a4278d8 - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 7a240d80-06a5-4e5c-a7b8-11646bd28954 - status: 200 OK - code: 200 - duration: 73.738377ms -- id: 66 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 2b82a791-03a2-48fd-beb6-34dda8cfd2c8 - status: 200 OK - code: 200 - duration: 77.758046ms -- id: 67 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 64992307-a22f-41b9-bf98-66e6b6856aa0 - status: 200 OK - code: 200 - duration: 56.075394ms -- id: 68 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - ad9b7b04-cc17-440e-a001-c4d3a0af61fa - status: 200 OK - code: 200 - duration: 66.282551ms -- id: 69 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - principal_id: - - aa669c52-3448-42fb-94ba-f6350a4278d8 - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=aa669c52-3448-42fb-94ba-f6350a4278d8&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:29 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5ed7a404-1d51-4047-ae64-814b4b4ae52c - status: 200 OK - code: 200 - duration: 120.951075ms -- id: 70 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 49285b69-fb4a-403d-ac9b-87c2dee71fb6 - status: 200 OK - code: 200 - duration: 73.684507ms -- id: 71 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5b55f9e1-3b81-4b79-9171-7b76067705ee - status: 200 OK - code: 200 - duration: 47.150131ms -- id: 72 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 73c87a88-dcc1-41f9-b904-ca731eda0aa6 - status: 200 OK - code: 200 - duration: 90.864721ms -- id: 73 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 0692343e-5be1-4189-9e49-8817af8e4d36 - status: 200 OK - code: 200 - duration: 66.50174ms -- id: 74 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - source_ip: - - 51.159.46.153 - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5fef1108-714e-434d-9ecf-f667ba8289a3 - status: 200 OK - code: 200 - duration: 84.181025ms -- id: 75 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - 5e1c5a38-5283-4eac-825e-762200dfd0c6 - status: 200 OK - code: 200 - duration: 84.468133ms -- id: 76 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_type: - - unknown_type - source_ip: - - 51.159.46.153 - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1134" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:30 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - c56501e0-0a34-4d37-a1d4-a1aa3912b616 - status: 200 OK - code: 200 - duration: 78.224111ms -- id: 77 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" - headers: - Content-Length: - - "485" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:31 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - b4be6bc1-7625-4fe3-9cb9-cef76f6ec222 - status: 200 OK - code: 200 - duration: 57.700068ms -- id: 78 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - page: - - "1" - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" - headers: - Content-Length: - - "31" - Content-Type: - - application/json - Date: - - Fri, 07 Nov 2025 15:58:31 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge03) - X-Request-Id: - - dfb05760-457b-4b87-b22c-c05a7d2211be - status: 200 OK - code: 200 - duration: 73.206436ms -- id: 79 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 326757c4-4851-4980-a07a-793ca0e282d9 + - e74ea524-f6f6-4495-b295-6def2006aa3d status: 200 OK code: 200 - duration: 131.191717ms -- id: 80 + duration: 121.025147ms +- id: 20 request: proto: HTTP/1.1 proto_major: 1 @@ -3058,39 +769,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf + product_name: + - secret-manager project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type - source_ip: - - 51.159.46.153 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&source_ip=51.159.46.153 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - cc04e785-e0a1-4d72-87d0-64c83695f6f8 + - fa2b61f7-e22b-40c6-bf97-fe7a5f74e603 status: 200 OK code: 200 - duration: 56.9083ms -- id: 81 + duration: 128.368036ms +- id: 21 request: proto: HTTP/1.1 proto_major: 1 @@ -3098,74 +809,85 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_before: + - "2025-11-17T16:09:58+01:00" resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "1134" + - "13" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 39a08ca8-864f-465e-bc76-09a42586d435 + - efc6128d-b393-4a72-9106-e6ea43dd0299 status: 200 OK code: 200 - duration: 57.225322ms -- id: 82 + duration: 168.627501ms +- id: 22 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - b2bae5a2-67fa-416b-8d8a-8328f6358620 + - b60dd3e9-3833-4aad-aaec-25b19b9bf088 status: 200 OK code: 200 - duration: 37.706709ms -- id: 83 + duration: 188.307994ms +- id: 23 request: proto: HTTP/1.1 proto_major: 1 @@ -3173,34 +895,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type + source_ip: + - 51.159.46.153 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 89176a63-af65-4e92-99ce-465cd3f1bce6 + - e0682ea0-c080-4e42-be6a-fd621b8c330d status: 200 OK code: 200 - duration: 45.671718ms -- id: 84 + duration: 61.997813ms +- id: 24 request: proto: HTTP/1.1 proto_major: 1 @@ -3211,39 +941,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf + principal_id: + - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type - status: - - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:31 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 874bcbfd-5ea2-4033-b5db-b4f02859c3ad + - ebdb4fde-e30c-4c41-bd9b-264c775b1c0b status: 200 OK code: 200 - duration: 115.236766ms -- id: 85 + duration: 118.842197ms +- id: 25 request: proto: HTTP/1.1 proto_major: 1 @@ -3254,71 +984,80 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - - unknown_type - status: - - "200" + - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:32 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - d684ec87-7e70-4f33-901e-c85234750728 + - 060d584a-b87b-4275-ba40-d98284bf6e3b status: 200 OK code: 200 - duration: 72.541987ms -- id: 86 + duration: 56.92713ms +- id: 26 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_after: + - "2025-11-17T16:29:58+01:00" + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:32 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 6b2cb91d-74d0-4cc1-9fa8-8acd3da35351 + - f164ca75-91a7-4075-bd54-11582f104887 status: 200 OK code: 200 - duration: 57.477138ms -- id: 87 + duration: 56.976081ms +- id: 27 request: proto: HTTP/1.1 proto_major: 1 @@ -3326,34 +1065,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:32 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 3b1960f0-b361-468c-803d-7bff1e5e17be + - 64b0c4b5-0d3a-4a0c-a990-8bbb5de37daf status: 200 OK code: 200 - duration: 43.052653ms -- id: 88 + duration: 56.95696ms +- id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -3364,39 +1111,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_before: + - "2025-11-17T16:09:58+01:00" resource_type: - unknown_type - status: - - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "1134" + - "13" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:32 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0ada983b-040a-4c20-9c25-42dabb975621 + - 7ac161d1-3367-4996-9cf5-2b7a7ac13cb8 status: 200 OK code: 200 - duration: 73.960314ms -- id: 89 + duration: 62.198178ms +- id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -3409,69 +1156,80 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:32 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 1fef5200-555f-49ff-89a1-bb718d867a7b + - 29e00328-5b77-4a2e-9d5e-0300e1a23761 status: 200 OK code: 200 - duration: 68.529324ms -- id: 90 + duration: 64.658872ms +- id: 30 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - bad89c4e-b780-4c23-88be-9eeb5a17a36a + - 638c675b-58f7-4091-bd34-a06c8210f6e0 status: 200 OK code: 200 - duration: 52.089204ms -- id: 91 + duration: 65.173232ms +- id: 31 request: proto: HTTP/1.1 proto_major: 1 @@ -3479,34 +1237,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + product_name: + - secret-manager + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - dccb0a84-1513-4edd-a8f4-082cd286944e + - 7e0b6077-7d2f-4e54-95a6-32a719f068df status: 200 OK code: 200 - duration: 44.100857ms -- id: 92 + duration: 73.10547ms +- id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -3517,39 +1283,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_after: - - "2025-11-07T16:48:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 310c05aa-f853-46e1-83ca-858bb2dfc49e + - 270c197c-96a1-4def-8540-07e61db21e2d status: 200 OK code: 200 - duration: 138.237446ms -- id: 93 + duration: 74.305432ms +- id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -3560,71 +1326,80 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_after: - - "2025-11-07T16:48:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - b7103d5b-4594-47e0-b1db-1e518106c66c + - 5ad9f1b5-53e2-4cf4-817a-01ea055bd87f status: 200 OK code: 200 - duration: 52.434244ms -- id: 94 + duration: 74.337524ms +- id: 34 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_asc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 3e2430f4-608f-41b2-8c5d-4ed967b27d5f + - 5b90d637-6cd5-4c53-a7a1-cda4fb79ec7e status: 200 OK code: 200 - duration: 57.7814ms -- id: 95 + duration: 81.6208ms +- id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -3632,34 +1407,40 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - fcee1994-c7e2-47bd-9938-f94c70c2330b + - a1670d13-eea4-414d-b6fb-ec297ea28360 status: 200 OK code: 200 - duration: 57.38098ms -- id: 96 + duration: 70.771337ms +- id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -3670,39 +1451,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf + principal_id: + - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_after: - - "2025-11-07T16:48:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_after=2025-11-07T16%3A48%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:33 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 4b45857c-af37-4575-a2c5-15a80b1aee10 + - 418bcfd5-1d07-4c31-9f8b-400bcb4bab42 status: 200 OK code: 200 - duration: 130.435106ms -- id: 97 + duration: 62.049241ms +- id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -3710,42 +1491,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + source_ip: + - 51.159.46.153 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:34 GMT + - Mon, 17 Nov 2025 15:40:00 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0f543ea5-02e9-49cb-bcc1-867216c2af2d + - e8780986-cec6-4981-96c6-37dfd6f60ccb status: 200 OK code: 200 - duration: 70.321695ms -- id: 98 + duration: 62.0446ms +- id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -3755,29 +1536,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "485" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:34 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 9d658de1-5d74-413d-aa0a-fee285d11856 + - 2d8272fa-9d91-44a0-984d-4c2f55199004 status: 200 OK code: 200 - duration: 45.217129ms -- id: 99 + duration: 160.158312ms +- id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -3790,29 +1571,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "31" + - "32" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:34 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 58a0d616-deb5-40d9-ac2c-32f13753c71f + - 7823ffb4-d641-4277-80c6-059c84c8e68e status: 200 OK code: 200 - duration: 97.004385ms -- id: 100 + duration: 108.148717ms +- id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -3823,39 +1604,39 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_before: - - "2025-11-07T16:28:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:34 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 38a46327-3341-4eea-9123-e6e7910d7cb4 + - 0c88b401-0510-4533-a58c-f4fb4d001a3e status: 200 OK code: 200 - duration: 68.146689ms -- id: 101 + duration: 154.004623ms +- id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -3864,73 +1645,82 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_desc + - recorded_at_asc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_before: - - "2025-11-07T16:28:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:34 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - b38d992d-21e3-44ed-bf91-32f29bfd14c8 + - 4cb8970b-e7c1-4440-865a-bc5dd661b948 status: 200 OK code: 200 - duration: 55.900355ms -- id: 102 + duration: 154.429624ms +- id: 42 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + product_name: + - secret-manager + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - ca665d9a-02e0-43ff-942a-4dbccc7a6db8 + - afc02924-f204-49fd-9e09-899eb70d7983 status: 200 OK code: 200 - duration: 53.616987ms -- id: 103 + duration: 154.487421ms +- id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -3938,34 +1728,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - 9196316b-be62-4fd5-bade-b654d76db148 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - aa3e6b6a-d3b1-4067-b3b6-ccdaca648f08 + - a4e0b7bb-aaf4-429a-80a7-91f02e378af9 status: 200 OK code: 200 - duration: 72.397323ms -- id: 104 + duration: 154.450516ms +- id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -3973,42 +1771,42 @@ interactions: content_length: 0 host: api.scaleway.com form: + method_name: + - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - recorded_before: - - "2025-11-07T16:28:17+01:00" + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&recorded_before=2025-11-07T16%3A28%3A17%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 6b050de8-973d-4404-85c6-b7d968d0ddcd + - 442e1556-b21b-45dc-b2e6-6a16bc2e775e status: 200 OK code: 200 - duration: 136.527856ms -- id: 105 + duration: 154.656415ms +- id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -4016,74 +1814,85 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 6a45b1d5-a790-4ea7-b9f4-d09b4b4e6343 + - 18b3c9df-4a26-4a1c-bd8f-7c52dca8ca5f status: 200 OK code: 200 - duration: 50.341904ms -- id: 106 + duration: 153.721049ms +- id: 46 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_after: + - "2025-11-17T16:29:58+01:00" + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 9678bfe8-1692-4748-87bd-97647cfd1b30 + - 2ea87843-509a-409b-92f9-d8616dadac7c status: 200 OK code: 200 - duration: 57.439822ms -- id: 107 + duration: 153.911368ms +- id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -4091,34 +1900,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + recorded_before: + - "2025-11-17T16:09:58+01:00" + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "31" + - "13" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 60f1b34e-7361-40ee-bb3b-6e4c5943ffb5 + - 9db64928-ccec-4a25-a0e8-852ff3b3a8c7 status: 200 OK code: 200 - duration: 41.804112ms -- id: 108 + duration: 153.973288ms +- id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -4127,39 +1944,39 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_asc + - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:35 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 331183db-e171-4e31-b3b8-2e0b538fa538 + - d291f721-f692-45f3-9202-9944001af404 status: 200 OK code: 200 - duration: 64.319076ms -- id: 109 + duration: 153.746466ms +- id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -4168,71 +1985,82 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_asc + - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - - unknown_type + - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 599be62b-d5cd-44d0-8b2a-64251265b603 + - fc2eda71-09c6-41dc-bcfd-0325ec075ac6 status: 200 OK code: 200 - duration: 94.785951ms -- id: 110 + duration: 213.164087ms +- id: 50 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + principal_id: + - 0b8cc93b-dfd2-4427-b674-8d27affb0334 + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "485" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 4708f2c8-aefa-4c2c-b514-f26b934bbcd9 + - 9c5190c8-1600-456c-9d38-b9b5432494d6 status: 200 OK code: 200 - duration: 59.877189ms -- id: 111 + duration: 63.7035ms +- id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -4240,34 +2068,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - page: - - "1" + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_type: + - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "31" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - bd3cf293-132a-4bb1-93cc-b440f9c2e7f5 + - ed8292d7-03d3-4e6b-884b-5f886f44ec52 status: 200 OK code: 200 - duration: 64.658824ms -- id: 112 + duration: 68.451886ms +- id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -4276,114 +2112,116 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_asc + - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_type: - unknown_type + source_ip: + - 51.159.46.153 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1134 - body: "{\"events\":[{\"id\":\"019a5f0a-3e9d-7a68-8b14-1b02869cabeb\",\"recorded_at\":\"2025-11-07T15:58:18.267278744Z\",\"locality\":\"fr-par\",\"principal\":{\"id\":\"aa669c52-3448-42fb-94ba-f6350a4278d8\"},\"organization_id\":\"57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"source_ip\":\"51.159.46.153\",\"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\",\"product_name\":\"secret-manager\",\"service_name\":\"scaleway.secret_manager.v1beta1.Api\",\"method_name\":\"CreateSecret\",\"request_id\":\"0246da22-bfd8-4269-8b0b-49e132983a7e\",\"request_body\":{\"description\":\"DataSourceAuditTrail test description\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"path\":\"/\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"protected\":false,\"tags\":[],\"type\":\"opaque\"},\"status_code\":200,\"resources\":[{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"type\":\"secret_manager_secret\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"deleted_at\":null,\"name\":\"scalewayDataSourceAuditTrailSecret\",\"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1160 + body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1134" + - "1160" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - e295207c-ee6d-4844-9454-d8251316c4ea + - ab44019f-c5b3-409b-b5f3-b5faa96327cb status: 200 OK code: 200 - duration: 75.704022ms -- id: 113 + duration: 68.28319ms +- id: 53 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e - project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 - resource_id: - - d1ba1014-8bd3-4e51-bca9-7879242b23b8 - resource_type: - - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 502 + body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "13" + - "502" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 53bdc944-e824-479c-84f8-94dcac5ec73c + - 4715984b-cfed-4a1a-8a17-02f6a4050ff1 status: 200 OK code: 200 - duration: 81.609116ms -- id: 114 + duration: 46.285709ms +- id: 54 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + resource_id: + - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 485 - body: "{\"id\":\"f184b15d-bb67-4215-91f7-82d565104954\",\"project_id\":\"4ee61c1a-9c7f-40df-b234-861bf9dbc745\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"status\":\"ready\",\"created_at\":\"2025-11-07T15:58:18.253777Z\",\"updated_at\":\"2025-11-07T15:58:18.253777Z\",\"tags\":[],\"version_count\":0,\"description\":\"DataSourceAuditTrail test description\",\"managed\":false,\"type\":\"opaque\",\"protected\":false,\"path\":\"/\",\"ephemeral_policy\":null,\"used_by\":[],\"deletion_requested_at\":null,\"key_id\":null,\"region\":\"fr-par\"}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "485" + - "13" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 7bc279d5-a2bf-42ba-9af4-db9cb25e8445 + - 66d4694d-5c46-4618-8063-bd44ed103f9c status: 200 OK code: 200 - duration: 81.363108ms -- id: 115 + duration: 47.257776ms +- id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -4396,29 +2234,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 31 - body: "{\"versions\":[],\"total_count\":0}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "31" + - "32" Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:36 GMT + - Mon, 17 Nov 2025 15:40:01 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 60f1c5be-d82b-4357-8faf-90b9c611e817 + - 1ac1b563-f194-4fbe-800f-fbca1a0c6ce3 status: 200 OK code: 200 - duration: 65.908624ms -- id: 116 + duration: 101.589175ms +- id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -4428,7 +2266,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/f184b15d-bb67-4215-91f7-82d565104954 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 method: DELETE response: proto: HTTP/2.0 @@ -4440,15 +2278,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:37 GMT + - Mon, 17 Nov 2025 15:40:02 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - b71d95ff-8297-4483-a5c8-f6577650bb13 + - 39d8e668-dfa1-42ca-b2c0-24698f69c5d2 status: 204 No Content code: 204 - duration: 92.790068ms -- id: 117 + duration: 139.347165ms +- id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -4459,17 +2297,17 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_id: - - d1ba1014-8bd3-4e51-bca9-7879242b23b8 + - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type method: GET response: proto: HTTP/2.0 @@ -4483,15 +2321,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:37 GMT + - Mon, 17 Nov 2025 15:40:02 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 3bb71f8d-4497-47ab-8e73-2eb7f101b55f + - 464513de-d7a6-4fbd-94c2-c61ff2f9164b status: 200 OK code: 200 - duration: 71.105797ms -- id: 118 + duration: 53.125308ms +- id: 58 request: proto: HTTP/1.1 proto_major: 1 @@ -4502,17 +2340,17 @@ interactions: order_by: - recorded_at_desc organization_id: - - 57a1e028-d7d3-4a4e-80cf-52cef8fd0d3e + - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - 4ee61c1a-9c7f-40df-b234-861bf9dbc745 + - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 resource_id: - - d1ba1014-8bd3-4e51-bca9-7879242b23b8 + - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=4ee61c1a-9c7f-40df-b234-861bf9dbc745&resource_id=d1ba1014-8bd3-4e51-bca9-7879242b23b8&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type method: GET response: proto: HTTP/2.0 @@ -4526,15 +2364,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:37 GMT + - Mon, 17 Nov 2025 15:40:02 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 64fb40db-4ca2-4759-a72a-a1eb28fffd9d + - 53711971-603c-44cb-b532-d02e5c23f595 status: 200 OK code: 200 - duration: 51.907165ms -- id: 119 + duration: 107.531529ms +- id: 59 request: proto: HTTP/1.1 proto_major: 1 @@ -4556,15 +2394,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:37 GMT + - Mon, 17 Nov 2025 15:40:03 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 0a69c41a-a0cc-43d2-97bd-ad62e338e6e6 + - 61c44660-5e64-4370-a73b-74e3c62bd361 status: 204 No Content code: 204 - duration: 80.835978ms -- id: 120 + duration: 156.028767ms +- id: 60 request: proto: HTTP/1.1 proto_major: 1 @@ -4574,7 +2412,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/policies/1a56981f-445a-4394-a8f0-b26ac2f235fb + url: https://api.scaleway.com/iam/v1alpha1/policies/4e2ac864-1560-483a-902e-9080bda7a888 method: DELETE response: proto: HTTP/2.0 @@ -4586,15 +2424,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:37 GMT + - Mon, 17 Nov 2025 15:40:03 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 9d4b6443-4d11-45f8-95aa-66e8661e0e3d + - 224433fa-db22-465f-b462-b11df2dc5db7 status: 204 No Content code: 204 - duration: 70.013657ms -- id: 121 + duration: 274.463351ms +- id: 61 request: proto: HTTP/1.1 proto_major: 1 @@ -4604,7 +2442,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/b4a88594-ebeb-4ce4-ae8b-7d3708ea5627 + url: https://api.scaleway.com/iam/v1alpha1/applications/9f10efd0-2acf-4b54-8389-96e7e1a707cb method: DELETE response: proto: HTTP/2.0 @@ -4616,15 +2454,15 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:38 GMT + - Mon, 17 Nov 2025 15:40:03 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - d15b4a3b-4776-4a9b-976f-8433266d5ddd + - 4a6a3343-81c7-4e93-a9b4-18b5875b210c status: 204 No Content code: 204 - duration: 63.250834ms -- id: 122 + duration: 246.564133ms +- id: 62 request: proto: HTTP/1.1 proto_major: 1 @@ -4634,7 +2472,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/4ee61c1a-9c7f-40df-b234-861bf9dbc745 + url: https://api.scaleway.com/account/v3/projects/dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 method: DELETE response: proto: HTTP/2.0 @@ -4646,11 +2484,11 @@ interactions: Content-Type: - application/json Date: - - Fri, 07 Nov 2025 15:58:39 GMT + - Mon, 17 Nov 2025 15:40:05 GMT Server: - - Scaleway API Gateway (fr-par-2;edge03) + - Scaleway API Gateway (fr-par-2;edge02) X-Request-Id: - - 5f4f2807-ee7e-430f-b73a-6c886b9470fe + - 03fc4c38-f13b-437c-a0e1-32592b90bebe status: 204 No Content code: 204 - duration: 1.411764187s + duration: 1.719273789s From a968a215b64c66836ee3caf481979d8e8fe8c368 Mon Sep 17 00:00:00 2001 From: Estelle Soulard Date: Tue, 18 Nov 2025 15:31:23 +0100 Subject: [PATCH 10/10] fix: arguments handling --- internal/meta/errors.go | 3 - internal/meta/extractors.go | 18 - .../services/audittrail/event_data_source.go | 25 +- .../audittrail/event_data_source_test.go | 15 +- internal/services/audittrail/helpers.go | 13 +- .../data-source-event-basic.cassette.yaml | 1299 +++++++---------- 6 files changed, 561 insertions(+), 812 deletions(-) diff --git a/internal/meta/errors.go b/internal/meta/errors.go index 4065831b52..41bc907a9b 100644 --- a/internal/meta/errors.go +++ b/internal/meta/errors.go @@ -4,6 +4,3 @@ import "errors" // ErrProjectIDNotFound is returned when no project ID can be detected var ErrProjectIDNotFound = errors.New("could not detect project id") - -// ErrOrganizationIDNotFound is returned when no organization ID can be detected -var ErrOrganizationIDNotFound = errors.New("could not detect organization id") diff --git a/internal/meta/extractors.go b/internal/meta/extractors.go index 145f2af3b5..4143119349 100644 --- a/internal/meta/extractors.go +++ b/internal/meta/extractors.go @@ -116,24 +116,6 @@ func ExtractProjectID(d terraformResourceData, m any) (projectID string, isDefau return "", false, ErrProjectIDNotFound } -// ExtractOrganizationID will try to guess the organization id from the following: -// - organization_id field of the resource data -// - default organization_id from config -func ExtractOrganizationID(d terraformResourceData, m any) (organizationID string, err error) { - rawOrgID, exist := d.GetOk("organization_id") - - if exist { - return rawOrgID.(string), nil - } - - defaultOrgID, defaultOrgIDExists := m.(*Meta).ScwClient().GetDefaultOrganizationID() - if defaultOrgIDExists { - return defaultOrgID, nil - } - - return "", ErrOrganizationIDNotFound -} - func ExtractScwClient(m any) *scw.Client { return m.(*Meta).ScwClient() } diff --git a/internal/services/audittrail/event_data_source.go b/internal/services/audittrail/event_data_source.go index 5bcaecb4f5..d6df40ec7e 100644 --- a/internal/services/audittrail/event_data_source.go +++ b/internal/services/audittrail/event_data_source.go @@ -13,6 +13,7 @@ import ( "github.com/scaleway/scaleway-sdk-go/scw" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality" "github.com/scaleway/terraform-provider-scaleway/v2/internal/locality/regional" + "github.com/scaleway/terraform-provider-scaleway/v2/internal/services/account" "github.com/scaleway/terraform-provider-scaleway/v2/internal/types" "github.com/scaleway/terraform-provider-scaleway/v2/internal/verify" ) @@ -25,6 +26,7 @@ func DataSourceEvent() *schema.Resource { Type: schema.TypeString, Description: "ID of the organization containing the Audit Trail events.", Optional: true, + Computed: true, ValidateDiagFunc: verify.IsUUID(), }, "region": regional.Schema(), @@ -88,14 +90,16 @@ func DataSourceEvent() *schema.Resource { Optional: true, }, "recorded_after": { - Type: schema.TypeString, - Description: "The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601)", - Optional: true, + Type: schema.TypeString, + Description: "The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default (Format ISO 8601)", + Optional: true, + ValidateDiagFunc: verify.IsDate(), }, "recorded_before": { - Type: schema.TypeString, - Description: "The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601)", - Optional: true, + Type: schema.TypeString, + Description: "The `recorded_before` parameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returns `now` by default (Format ISO 8601)", + Optional: true, + ValidateDiagFunc: verify.IsDate(), }, "order_by": { Type: schema.TypeString, @@ -214,13 +218,13 @@ func DataSourceEvent() *schema.Resource { } func DataSourceEventsRead(ctx context.Context, d *schema.ResourceData, m any) diag.Diagnostics { - auditTrailAPI, region, orgID, err := newAPIWithRegionAndOrgID(d, m) + auditTrailAPI, region, err := newAPIWithRegion(d, m) if err != nil { return diag.FromErr(err) } req := audittrailSDK.ListEventsRequest{ - OrganizationID: orgID, + OrganizationID: types.FlattenStringPtr(account.GetOrganizationID(m, d)).(string), Region: region, } @@ -235,7 +239,6 @@ func DataSourceEventsRead(ctx context.Context, d *schema.ResourceData, m any) di } d.SetId(uuid.New().String()) - _ = d.Set("organization_id", orgID) _ = d.Set("region", region) flattenedEvents, err := flattenEvents(res.Events) @@ -286,11 +289,11 @@ func readOptionalData(d *schema.ResourceData, req *audittrailSDK.ListEventsReque } if recordedBefore, ok := d.GetOk("recorded_before"); ok { - req.RecordedBefore = types.ExpandTimePtr(recordedBefore) + req.RecordedBefore = types.ExpandTimePtr(recordedBefore.(string)) } if recordedAfter, ok := d.GetOk("recorded_after"); ok { - req.RecordedAfter = types.ExpandTimePtr(recordedAfter) + req.RecordedAfter = types.ExpandTimePtr(recordedAfter.(string)) } if orderBy, ok := d.GetOk("order_by"); ok { diff --git a/internal/services/audittrail/event_data_source_test.go b/internal/services/audittrail/event_data_source_test.go index b6ffa326cc..2a222dc398 100644 --- a/internal/services/audittrail/event_data_source_test.go +++ b/internal/services/audittrail/event_data_source_test.go @@ -3,7 +3,6 @@ package audittrail_test import ( "fmt" "testing" - "time" "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-testing/helper/resource" @@ -105,21 +104,11 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { status = 200 } - data "scaleway_audit_trail_event" "recorded_after" { - project_id = scaleway_secret.main.project_id - recorded_after = "%s" - } - - data "scaleway_audit_trail_event" "recorded_before" { - project_id = scaleway_secret.main.project_id - recorded_before = "%s" - } - data "scaleway_audit_trail_event" "order_by" { project_id = scaleway_secret.main.project_id order_by = "recorded_at_asc" } - `, secretName, project.ID, resourceType, productName, serviceName, methodCreate, time.Now().Add(-time.Minute*10).Format(time.RFC3339), time.Now().Add(-time.Minute*30).Format(time.RFC3339)), + `, secretName, project.ID, resourceType, productName, serviceName, methodCreate), Check: resource.ComposeTestCheckFunc( createEventDataSourceChecks("data.scaleway_audit_trail_event.by_project", orgID), createEventDataSourceChecks("data.scaleway_audit_trail_event.by_type", orgID), @@ -131,8 +120,6 @@ func TestAccDataSourceEvent_Basic(t *testing.T) { createEventDataSourceChecks("data.scaleway_audit_trail_event.by_principal", orgID), createEventDataSourceChecks("data.scaleway_audit_trail_event.by_ip", orgID), createEventDataSourceChecks("data.scaleway_audit_trail_event.by_status", orgID), - createEventDataSourceChecks("data.scaleway_audit_trail_event.recorded_after", orgID), - resource.TestCheckResourceAttr("data.scaleway_audit_trail_event.recorded_before", "events.#", "0"), resource.TestCheckResourceAttrSet("data.scaleway_audit_trail_event.order_by", "events.#"), ), }, diff --git a/internal/services/audittrail/helpers.go b/internal/services/audittrail/helpers.go index b3dbe626b6..45f3aebded 100644 --- a/internal/services/audittrail/helpers.go +++ b/internal/services/audittrail/helpers.go @@ -11,22 +11,17 @@ import ( ) // newAPIWithRegionAndProjectID returns a new Audit Trail API, with region and projectID -func newAPIWithRegionAndOrgID(d *schema.ResourceData, m any) (*audittrailSDK.API, scw.Region, string, error) { +func newAPIWithRegion(d *schema.ResourceData, m any) (*audittrailSDK.API, scw.Region, error) { api := audittrailSDK.NewAPI(meta.ExtractScwClient(m)) region, err := meta.ExtractRegion(d, m) if err != nil { - return nil, "", "", err + return nil, "", err } // In audit trail sdk-go so far only fr-par and nl-ams are supported if !slices.Contains(api.Regions(), region) { - return nil, "", "", fmt.Errorf("invalid api region, expected one of %s, got: %s", api.Regions(), region) + return nil, "", fmt.Errorf("invalid api region, expected one of %s, got: %s", api.Regions(), region) } - orgID, err := meta.ExtractOrganizationID(d, m) - if err != nil { - return nil, "", "", err - } - - return api, region, orgID, nil + return api, region, nil } diff --git a/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml index 5f63782214..57877b4946 100644 --- a/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml +++ b/internal/services/audittrail/testdata/data-source-event-basic.cassette.yaml @@ -8,7 +8,7 @@ interactions: proto_minor: 1 content_length: 130 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-project-6140646650981259830\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\"}" + body: "{\"name\":\"test-acc-scaleway-project-4175007289069177144\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\"}" headers: Content-Type: - application/json @@ -21,21 +21,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 287 - body: "{\"id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"test-acc-scaleway-project-6140646650981259830\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-17T15:39:57.339894Z\", \"updated_at\":\"2025-11-17T15:39:57.339894Z\", \"description\":\"\", \"qualification\":null}" + body: "{\"id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"test-acc-scaleway-project-4175007289069177144\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-19T13:46:42.612303Z\", \"updated_at\":\"2025-11-19T13:46:42.612303Z\", \"description\":\"\", \"qualification\":null}" headers: Content-Length: - "287" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:57 GMT + - Wed, 19 Nov 2025 13:46:42 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3987a32a-8a04-4e8f-b50f-2d542e65fd8e + - 6ce96139-e21d-49df-b803-97fc3d7f2699 status: 200 OK code: 200 - duration: 646.928518ms + duration: 513.611272ms - id: 1 request: proto: HTTP/1.1 @@ -43,7 +43,7 @@ interactions: proto_minor: 1 content_length: 142 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-iam-app-8053323351462598461\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":null}" + body: "{\"name\":\"test-acc-scaleway-iam-app-8096723885121275895\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"description\":\"\",\"tags\":null}" headers: Content-Type: - application/json @@ -56,29 +56,29 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 345 - body: "{\"id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\", \"name\":\"test-acc-scaleway-iam-app-8053323351462598461\", \"description\":\"\", \"created_at\":\"2025-11-17T15:39:57.778469Z\", \"updated_at\":\"2025-11-17T15:39:57.778469Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" + body: "{\"id\":\"529323d5-751a-40d6-9876-46acb7df3462\", \"name\":\"test-acc-scaleway-iam-app-8096723885121275895\", \"description\":\"\", \"created_at\":\"2025-11-19T13:46:43.058981Z\", \"updated_at\":\"2025-11-19T13:46:43.058981Z\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_api_keys\":0, \"tags\":[]}" headers: Content-Length: - "345" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:57 GMT + - Wed, 19 Nov 2025 13:46:43 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5f9cbe5a-3217-480e-8ae4-82ad00054505 + - fada532f-6e2c-4b60-87d1-42741424522e status: 200 OK code: 200 - duration: 187.633138ms + duration: 306.362859ms - id: 2 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 323 + content_length: 322 host: api.scaleway.com - body: "{\"name\":\"test-acc-scaleway-iam-policy-6688288908813754972\",\"description\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"rules\":[{\"permission_set_names\":[\"IAMManager\"],\"condition\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\"}],\"tags\":null,\"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" + body: "{\"name\":\"test-acc-scaleway-iam-policy-327132438806757973\",\"description\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\",\"rules\":[{\"permission_set_names\":[\"IAMManager\"],\"condition\":\"\",\"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\"}],\"tags\":null,\"application_id\":\"529323d5-751a-40d6-9876-46acb7df3462\"}" headers: Content-Type: - application/json @@ -90,22 +90,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 441 - body: "{\"id\":\"4e2ac864-1560-483a-902e-9080bda7a888\", \"name\":\"test-acc-scaleway-iam-policy-6688288908813754972\", \"description\":\"\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-17T15:39:57.991646Z\", \"updated_at\":\"2025-11-17T15:39:57.991646Z\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_rules\":0, \"nb_scopes\":0, \"nb_permission_sets\":0, \"tags\":[], \"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" + content_length: 440 + body: "{\"id\":\"7c38554a-f498-4c08-b18b-8ff25f6d80ff\", \"name\":\"test-acc-scaleway-iam-policy-327132438806757973\", \"description\":\"\", \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"created_at\":\"2025-11-19T13:46:43.341353Z\", \"updated_at\":\"2025-11-19T13:46:43.341353Z\", \"editable\":true, \"deletable\":true, \"managed\":false, \"nb_rules\":0, \"nb_scopes\":0, \"nb_permission_sets\":0, \"tags\":[], \"application_id\":\"529323d5-751a-40d6-9876-46acb7df3462\"}" headers: Content-Length: - - "441" + - "440" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:58 GMT + - Wed, 19 Nov 2025 13:46:43 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 68bb3d00-518b-4c53-bc0d-880212fdf449 + - f5e7bdce-fde3-4365-92e0-c89a7f4ccc12 status: 200 OK code: 200 - duration: 304.67754ms + duration: 408.134009ms - id: 3 request: proto: HTTP/1.1 @@ -113,7 +113,7 @@ interactions: proto_minor: 1 content_length: 134 host: api.scaleway.com - body: "{\"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\",\"default_project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\",\"description\":\"\"}" + body: "{\"application_id\":\"529323d5-751a-40d6-9876-46acb7df3462\",\"default_project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\",\"description\":\"\"}" headers: Content-Type: - application/json @@ -125,22 +125,22 @@ interactions: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 416 - body: "{\"access_key\":\"SCWJEZSVTFZJWR0WT5RF\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"\", \"created_at\":\"2025-11-17T15:39:58.434691Z\", \"updated_at\":\"2025-11-17T15:39:58.434691Z\", \"expires_at\":null, \"default_project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"51.159.46.153\", \"application_id\":\"9f10efd0-2acf-4b54-8389-96e7e1a707cb\"}" + content_length: 418 + body: "{\"access_key\":\"SCW6XBD0KFMA7HD0J5V5\", \"secret_key\":\"11111111-1111-1111-1111-111111111111\", \"description\":\"\", \"created_at\":\"2025-11-19T13:46:43.834097Z\", \"updated_at\":\"2025-11-19T13:46:43.834097Z\", \"expires_at\":null, \"default_project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"editable\":true, \"deletable\":true, \"managed\":false, \"creation_ip\":\"130.180.219.188\", \"application_id\":\"529323d5-751a-40d6-9876-46acb7df3462\"}" headers: Content-Length: - - "416" + - "418" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:58 GMT + - Wed, 19 Nov 2025 13:46:43 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - fd20ca17-808b-4b3d-8982-51437d3a6e0b + - 2dee609f-0ac6-4313-9f3f-8fab5c1ea493 status: 200 OK code: 200 - duration: 366.401765ms + duration: 306.669383ms - id: 4 request: proto: HTTP/1.1 @@ -148,7 +148,7 @@ interactions: proto_minor: 1 content_length: 208 host: api.scaleway.com - body: "{\"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"tags\":null,\"description\":\"DataSourceAuditTrail test description\",\"type\":\"opaque\",\"path\":\"/\",\"protected\":false}" + body: "{\"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\",\"name\":\"scalewayDataSourceAuditTrailSecret\",\"tags\":null,\"description\":\"DataSourceAuditTrail test description\",\"type\":\"opaque\",\"path\":\"/\",\"protected\":false}" headers: Content-Type: - application/json @@ -161,21 +161,21 @@ interactions: proto_major: 2 proto_minor: 0 content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - e8ac3d0b-3f5a-4253-9d25-f068315a5371 + - 7879ec78-83ed-4ccc-828f-d8e625c35f88 status: 200 OK code: 200 - duration: 243.456548ms + duration: 190.199859ms - id: 5 request: proto: HTTP/1.1 @@ -186,28 +186,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - f9b53809-611b-4a4a-ae47-5f335b78968b + - 96d7b83d-bbd7-497f-a54a-bc95e17146eb status: 200 OK code: 200 - duration: 88.006304ms + duration: 74.005254ms - id: 6 request: proto: HTTP/1.1 @@ -221,7 +221,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911/versions?page=1 method: GET response: proto: HTTP/2.0 @@ -235,14 +235,14 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5c3db3e8-4391-4e97-a6df-38a6b7dd60ee + - a1494e24-62e9-41d4-9b83-8fe53f472d3e status: 200 OK code: 200 - duration: 93.62179ms + duration: 74.750595ms - id: 7 request: proto: HTTP/1.1 @@ -253,28 +253,28 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b7289a13-54fa-417f-b96d-2d46d807494e + - 57fceeea-a2c0-4725-baa5-8631b85dcaca status: 200 OK code: 200 - duration: 31.730424ms + duration: 23.16775ms - id: 8 request: proto: HTTP/1.1 @@ -288,7 +288,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911/versions?page=1 method: GET response: proto: HTTP/2.0 @@ -302,14 +302,14 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:44 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - d1e2ece9-1f81-42aa-8ad6-5e785ad04571 + - 4206eafa-68ea-4e3b-8400-ee8ba42ed341 status: 200 OK code: 200 - duration: 87.654054ms + duration: 75.961628ms - id: 9 request: proto: HTTP/1.1 @@ -325,34 +325,34 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "1160" + - "13" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:39:59 GMT + - Wed, 19 Nov 2025 13:46:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 14e52482-01ba-4a7f-9cc2-12220a3f172a + - c53a3c02-73a4-4d2b-8b06-8efab46e94c8 status: 200 OK code: 200 - duration: 121.547864ms + duration: 96.881354ms - id: 10 request: proto: HTTP/1.1 @@ -360,31 +360,42 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com + form: + method_name: + - CreateSecret + order_by: + - recorded_at_desc + organization_id: + - 105bdce1-64c0-48ab-899d-868455867ecf + project_id: + - dc539e8a-b081-41d4-be48-4be17a7048d2 + resource_type: + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "502" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 1acf76ad-d058-414a-ba6d-a6406baf2757 + - 7426d714-353e-49d9-b081-05cc24ddfd0b status: 200 OK code: 200 - duration: 31.566153ms + duration: 187.525843ms - id: 11 request: proto: HTTP/1.1 @@ -392,34 +403,31 @@ interactions: proto_minor: 1 content_length: 0 host: api.scaleway.com - form: - page: - - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 32 - body: "{\"versions\":[], \"total_count\":0}" + content_length: 502 + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - - "32" + - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:45 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 14567f6a-93cf-43c4-bf28-39f0197540a9 + - d3f94c63-dc57-4c3a-9be6-6b80b57fbda3 status: 200 OK code: 200 - duration: 39.168354ms + duration: 72.396607ms - id: 12 request: proto: HTTP/1.1 @@ -428,41 +436,33 @@ interactions: content_length: 0 host: api.scaleway.com form: - order_by: - - recorded_at_desc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_type: - - unknown_type - status: - - "200" + page: + - "1" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911/versions?page=1 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 32 + body: "{\"versions\":[], \"total_count\":0}" headers: Content-Length: - - "1160" + - "32" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 3a467f06-964d-4c95-a537-87ec562f752e + - 7fa038c7-649e-48ce-bc04-28867e8b67e9 status: 200 OK code: 200 - duration: 56.967488ms + duration: 89.02183ms - id: 13 request: proto: HTTP/1.1 @@ -476,34 +476,34 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - bcc8d7c5-4502-410f-9a21-9839051f7f8a + - a54ab86b-68e6-457d-a9d4-81d6811df664 status: 200 OK code: 200 - duration: 62.696656ms + duration: 39.985439ms - id: 14 request: proto: HTTP/1.1 @@ -517,36 +517,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_after: - - "2025-11-17T16:29:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 526da588-948b-4bbe-8170-97ae53b16ac4 + - f0d3875e-dc24-45b5-8f46-ffd03ce39bb9 status: 200 OK code: 200 - duration: 63.295458ms + duration: 63.265918ms - id: 15 request: proto: HTTP/1.1 @@ -560,36 +560,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - c972de59-0ee7-4bcc-9398-1d9e8518522f + - 081604a8-8e0f-49c9-b601-5d1220686640 status: 200 OK code: 200 - duration: 51.285027ms + duration: 63.019967ms - id: 16 request: proto: HTTP/1.1 @@ -598,41 +598,41 @@ interactions: content_length: 0 host: api.scaleway.com form: + method_name: + - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 587a1715-df64-42d9-b9c8-2735952683ce + - 924a9840-ff0f-4fb0-8b22-2c292bd36d92 status: 200 OK code: 200 - duration: 114.964902ms + duration: 104.18976ms - id: 17 request: proto: HTTP/1.1 @@ -646,34 +646,34 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - secret_manager_secret + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ea828622-697c-484f-8990-e0ab830c0d82 + - e079c215-dfa7-4a5e-acde-2a2b0c27aeee status: 200 OK code: 200 - duration: 114.358152ms + duration: 105.221386ms - id: 18 request: proto: HTTP/1.1 @@ -687,36 +687,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 29630899-0443-4c5f-8fcf-cbdaad349e45 + - 021d028e-26af-4f59-ab04-dc37b941ad05 status: 200 OK code: 200 - duration: 120.888648ms + duration: 126.989358ms - id: 19 request: proto: HTTP/1.1 @@ -729,35 +729,37 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf + principal_id: + - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - e74ea524-f6f6-4495-b295-6def2006aa3d + - c5fee49b-94b4-4a80-bd76-60d9980adaf7 status: 200 OK code: 200 - duration: 121.025147ms + duration: 59.549914ms - id: 20 request: proto: HTTP/1.1 @@ -773,34 +775,34 @@ interactions: product_name: - secret-manager project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - fa2b61f7-e22b-40c6-bf97-fe7a5f74e603 + - 4d5dfc5a-b1fe-4602-a45c-3944b16b8936 status: 200 OK code: 200 - duration: 128.368036ms + duration: 165.200394ms - id: 21 request: proto: HTTP/1.1 @@ -814,36 +816,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_before: - - "2025-11-17T16:09:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + source_ip: + - 130.180.219.188 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&source_ip=130.180.219.188 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - efc6128d-b393-4a72-9106-e6ea43dd0299 + - af760736-9fc4-423e-aac1-d741c1527d65 status: 200 OK code: 200 - duration: 168.627501ms + duration: 60.590523ms - id: 22 request: proto: HTTP/1.1 @@ -852,41 +854,41 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 + resource_id: + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - b60dd3e9-3833-4aad-aaec-25b19b9bf088 + - bd2f3935-24d9-4036-bd68-14f87e4851ac status: 200 OK code: 200 - duration: 188.307994ms + duration: 200.854235ms - id: 23 request: proto: HTTP/1.1 @@ -900,36 +902,34 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - unknown_type - source_ip: - - 51.159.46.153 + - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - e0682ea0-c080-4e42-be6a-fd621b8c330d + - f584f2ed-41a2-4082-a306-695e5458c6ac status: 200 OK code: 200 - duration: 61.997813ms + duration: 201.873828ms - id: 24 request: proto: HTTP/1.1 @@ -942,37 +942,37 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf - principal_id: - - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ebdb4fde-e30c-4c41-bd9b-264c775b1c0b + - 2ce31be7-bce3-4d7f-b925-1526abd2c31f status: 200 OK code: 200 - duration: 118.842197ms + duration: 43.326055ms - id: 25 request: proto: HTTP/1.1 @@ -982,38 +982,38 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_desc + - recorded_at_asc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - secret_manager_secret + - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 060d584a-b87b-4275-ba40-d98284bf6e3b + - 061a1635-6172-4870-89ba-c527b25651e1 status: 200 OK code: 200 - duration: 56.92713ms + duration: 44.07863ms - id: 26 request: proto: HTTP/1.1 @@ -1027,36 +1027,34 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_after: - - "2025-11-17T16:29:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - f164ca75-91a7-4075-bd54-11582f104887 + - 6ed80deb-19fd-477c-becc-60ee44fc8dcd status: 200 OK code: 200 - duration: 56.976081ms + duration: 44.755817ms - id: 27 request: proto: HTTP/1.1 @@ -1069,37 +1067,37 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf + product_name: + - secret-manager project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 64b0c4b5-0d3a-4a0c-a990-8bbb5de37daf + - 1dcc13dc-207d-41a1-b815-ec7735acae2c status: 200 OK code: 200 - duration: 56.95696ms + duration: 46.960369ms - id: 28 request: proto: HTTP/1.1 @@ -1113,36 +1111,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_before: - - "2025-11-17T16:09:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 7ac161d1-3367-4996-9cf5-2b7a7ac13cb8 + - 1a5b7fac-d72c-4e4d-98f0-d53fb64989f1 status: 200 OK code: 200 - duration: 62.198178ms + duration: 46.192953ms - id: 29 request: proto: HTTP/1.1 @@ -1151,41 +1149,41 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 + resource_id: + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 29e00328-5b77-4a2e-9d5e-0300e1a23761 + - 53a1e899-2f61-4f61-8ead-7414eb257608 status: 200 OK code: 200 - duration: 64.658872ms + duration: 103.620229ms - id: 30 request: proto: HTTP/1.1 @@ -1199,36 +1197,36 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 638c675b-58f7-4091-bd34-a06c8210f6e0 + - 81ed0832-8e2d-40f3-b103-ce1a87235d1a status: 200 OK code: 200 - duration: 65.173232ms + duration: 103.149382ms - id: 31 request: proto: HTTP/1.1 @@ -1241,37 +1239,35 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf - product_name: - - secret-manager project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - unknown_type + - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 7e0b6077-7d2f-4e54-95a6-32a719f068df + - ea511b55-07dd-44df-8308-3c575ecc5a53 status: 200 OK code: 200 - duration: 73.10547ms + duration: 177.287306ms - id: 32 request: proto: HTTP/1.1 @@ -1280,41 +1276,41 @@ interactions: content_length: 0 host: api.scaleway.com form: + method_name: + - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 270c197c-96a1-4def-8540-07e61db21e2d + - 3d7edca2-3b75-46db-8290-7057ffdb04fb status: 200 OK code: 200 - duration: 74.305432ms + duration: 218.04549ms - id: 33 request: proto: HTTP/1.1 @@ -1328,119 +1324,37 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type - status: - - "200" + source_ip: + - 130.180.219.188 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&source_ip=130.180.219.188 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 5ad9f1b5-53e2-4cf4-817a-01ea055bd87f + - 9bd88140-bc53-444a-86ed-70af5535f934 status: 200 OK code: 200 - duration: 74.337524ms + duration: 36.921171ms - id: 34 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_asc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1160" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 15:40:00 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - X-Request-Id: - - 5b90d637-6cd5-4c53-a7a1-cda4fb79ec7e - status: 200 OK - code: 200 - duration: 81.6208ms -- id: 35 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1160" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 15:40:00 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - X-Request-Id: - - a1670d13-eea4-414d-b6fb-ec297ea28360 - status: 200 OK - code: 200 - duration: 70.771337ms -- id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -1455,78 +1369,35 @@ interactions: principal_id: - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:00 GMT + - Wed, 19 Nov 2025 13:46:46 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 418bcfd5-1d07-4c31-9f8b-400bcb4bab42 + - daae1c04-6e30-4522-8b97-881d5c6c679c status: 200 OK code: 200 - duration: 62.049241ms -- id: 37 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_type: - - unknown_type - source_ip: - - 51.159.46.153 - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1160" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 15:40:00 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - X-Request-Id: - - e8780986-cec6-4981-96c6-37dfd6f60ccb - status: 200 OK - code: 200 - duration: 62.0446ms -- id: 38 + duration: 77.782846ms +- id: 35 request: proto: HTTP/1.1 proto_major: 1 @@ -1536,29 +1407,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 2d8272fa-9d91-44a0-984d-4c2f55199004 + - 5f9c1a20-fe4d-4b2f-aa01-9a986a742c96 status: 200 OK code: 200 - duration: 160.158312ms -- id: 39 + duration: 69.257178ms +- id: 36 request: proto: HTTP/1.1 proto_major: 1 @@ -1571,7 +1442,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911/versions?page=1 method: GET response: proto: HTTP/2.0 @@ -1585,15 +1456,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 7823ffb4-d641-4277-80c6-059c84c8e68e + - c2699549-140c-4a38-92fd-eec25e61796c status: 200 OK code: 200 - duration: 108.148717ms -- id: 40 + duration: 22.598347ms +- id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -1606,37 +1477,37 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 0c88b401-0510-4533-a58c-f4fb4d001a3e + - 4b27f3c1-5e54-4aca-bb9a-c9ff57db988d status: 200 OK code: 200 - duration: 154.004623ms -- id: 41 + duration: 47.302862ms +- id: 38 request: proto: HTTP/1.1 proto_major: 1 @@ -1645,39 +1516,41 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_asc + - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + status: + - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&status=200 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 4cb8970b-e7c1-4440-865a-bc5dd661b948 + - a6bf659d-6858-421f-8ea4-b685877a0c0c status: 200 OK code: 200 - duration: 154.429624ms -- id: 42 + duration: 88.947868ms +- id: 39 request: proto: HTTP/1.1 proto_major: 1 @@ -1689,38 +1562,36 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf - product_name: - - secret-manager project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - unknown_type + - secret_manager_secret headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=secret_manager_secret method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - afc02924-f204-49fd-9e09-899eb70d7983 + - b92db422-79cb-4f42-9e20-4a650b511bec status: 200 OK code: 200 - duration: 154.487421ms -- id: 43 + duration: 101.869082ms +- id: 40 request: proto: HTTP/1.1 proto_major: 1 @@ -1733,37 +1604,37 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_id: - - 9196316b-be62-4fd5-bade-b654d76db148 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type + service_name: + - scaleway.secret_manager.v1beta1.Api headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=9196316b-be62-4fd5-bade-b654d76db148&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - a4e0b7bb-aaf4-429a-80a7-91f02e378af9 + - 2fc6edea-14c4-4ef3-b697-63a40bfe0557 status: 200 OK code: 200 - duration: 154.450516ms -- id: 44 + duration: 150.248903ms +- id: 41 request: proto: HTTP/1.1 proto_major: 1 @@ -1771,42 +1642,42 @@ interactions: content_length: 0 host: api.scaleway.com form: - method_name: - - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 + resource_id: + - 7522c5f9-6f4c-4583-9e8e-c5c2225ab911 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=7522c5f9-6f4c-4583-9e8e-c5c2225ab911&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 442e1556-b21b-45dc-b2e6-6a16bc2e775e + - a4ef7e72-887d-4a7c-b197-7e21b831419f status: 200 OK code: 200 - duration: 154.656415ms -- id: 45 + duration: 157.44139ms +- id: 42 request: proto: HTTP/1.1 proto_major: 1 @@ -1818,38 +1689,38 @@ interactions: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf + product_name: + - secret-manager project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type - status: - - "200" headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&status=200 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&product_name=secret-manager&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 18b3c9df-4a26-4a1c-bd8f-7c52dca8ca5f + - 6ff5683f-a9e1-4286-bd10-98cd0823988a status: 200 OK code: 200 - duration: 153.721049ms -- id: 46 + duration: 157.639027ms +- id: 43 request: proto: HTTP/1.1 proto_major: 1 @@ -1858,41 +1729,39 @@ interactions: host: api.scaleway.com form: order_by: - - recorded_at_desc + - recorded_at_asc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_after: - - "2025-11-17T16:29:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_after=2025-11-17T16%3A29%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_asc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 2ea87843-509a-409b-92f9-d8616dadac7c + - 9ba6df56-d67c-4189-8ab6-d38ff803e031 status: 200 OK code: 200 - duration: 153.911368ms -- id: 47 + duration: 157.300475ms +- id: 44 request: proto: HTTP/1.1 proto_major: 1 @@ -1905,37 +1774,35 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - recorded_before: - - "2025-11-17T16:09:58+01:00" + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&recorded_before=2025-11-17T16%3A09%3A58%2B01%3A00&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "13" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 9db64928-ccec-4a25-a0e8-852ff3b3a8c7 + - 3c0a177f-d244-449c-a957-be75c323304d status: 200 OK code: 200 - duration: 153.973288ms -- id: 48 + duration: 165.204262ms +- id: 45 request: proto: HTTP/1.1 proto_major: 1 @@ -1943,40 +1810,42 @@ interactions: content_length: 0 host: api.scaleway.com form: + method_name: + - CreateSecret order_by: - recorded_at_desc organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?method_name=CreateSecret&order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - d291f721-f692-45f3-9202-9944001af404 + - 3f9f203e-734f-4e03-8329-30afc5799bb3 status: 200 OK code: 200 - duration: 153.746466ms -- id: 49 + duration: 172.603252ms +- id: 46 request: proto: HTTP/1.1 proto_major: 1 @@ -1989,35 +1858,37 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - - secret_manager_secret + - unknown_type + source_ip: + - 130.180.219.188 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=secret_manager_secret + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type&source_ip=130.180.219.188 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - fc2eda71-09c6-41dc-bcfd-0325ec075ac6 + - 7e03363b-4456-47c1-9e62-3b8186bca8d8 status: 200 OK code: 200 - duration: 213.164087ms -- id: 50 + duration: 36.420675ms +- id: 47 request: proto: HTTP/1.1 proto_major: 1 @@ -2032,78 +1903,35 @@ interactions: principal_id: - 0b8cc93b-dfd2-4427-b674-8d27affb0334 project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&principal_id=0b8cc93b-dfd2-4427-b674-8d27affb0334&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 1162 + body: "{\"events\":[{\"id\":\"019a9c5e-1b18-7eab-b1b6-faf71f535597\", \"recorded_at\":\"2025-11-19T13:46:44.375780497Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"source_ip\":\"130.180.219.188\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"7879ec78-83ed-4ccc-828f-d8e625c35f88\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" headers: Content-Length: - - "1160" + - "1162" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 9c5190c8-1600-456c-9d38-b9b5432494d6 + - 29bc10a9-e399-4d0b-89ff-0ebbaacbe236 status: 200 OK code: 200 - duration: 63.7035ms -- id: 51 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_type: - - unknown_type - service_name: - - scaleway.secret_manager.v1beta1.Api - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&service_name=scaleway.secret_manager.v1beta1.Api - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" - headers: - Content-Length: - - "1160" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 15:40:01 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - X-Request-Id: - - ed8292d7-03d3-4e6b-884b-5f886f44ec52 - status: 200 OK - code: 200 - duration: 68.451886ms -- id: 52 + duration: 77.560897ms +- id: 48 request: proto: HTTP/1.1 proto_major: 1 @@ -2116,37 +1944,37 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 + resource_id: + - 56953fdf-c93b-4dd8-be08-4f88801d5fac resource_type: - unknown_type - source_ip: - - 51.159.46.153 headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_type=unknown_type&source_ip=51.159.46.153 + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=56953fdf-c93b-4dd8-be08-4f88801d5fac&resource_type=unknown_type method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 - content_length: 1160 - body: "{\"events\":[{\"id\":\"019a9279-10a6-7bb5-a77a-038231ef61b0\", \"recorded_at\":\"2025-11-17T15:39:59.013747457Z\", \"locality\":\"fr-par\", \"principal\":{\"id\":\"0b8cc93b-dfd2-4427-b674-8d27affb0334\"}, \"organization_id\":\"105bdce1-64c0-48ab-899d-868455867ecf\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"source_ip\":\"51.159.46.153\", \"user_agent\":\"scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests\", \"product_name\":\"secret-manager\", \"service_name\":\"scaleway.secret_manager.v1beta1.Api\", \"method_name\":\"CreateSecret\", \"request_id\":\"e8ac3d0b-3f5a-4253-9d25-f068315a5371\", \"request_body\":{\"description\":\"DataSourceAuditTrail test description\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"path\":\"/\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"protected\":false, \"tags\":[], \"type\":\"opaque\"}, \"status_code\":200, \"resources\":[{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"type\":\"secret_manager_secret\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"deleted_at\":null, \"name\":\"scalewayDataSourceAuditTrailSecret\", \"secret_manager_secret_info\":{\"path\":\"/\"}}]}]}" + content_length: 13 + body: "{\"events\":[]}" headers: Content-Length: - - "1160" + - "13" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - ab44019f-c5b3-409b-b5f3-b5faa96327cb + - 9ad930ae-a1e2-4eab-a2fd-0e9975dee9a2 status: 200 OK code: 200 - duration: 68.28319ms -- id: 53 + duration: 43.678003ms +- id: 49 request: proto: HTTP/1.1 proto_major: 1 @@ -2156,72 +1984,29 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: GET response: proto: HTTP/2.0 proto_major: 2 proto_minor: 0 content_length: 502 - body: "{\"id\":\"9196316b-be62-4fd5-bade-b654d76db148\", \"project_id\":\"dc0cfde0-b3f6-4a70-bab7-042b2adbcee2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-17T15:39:59.001304Z\", \"updated_at\":\"2025-11-17T15:39:59.001304Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" + body: "{\"id\":\"7522c5f9-6f4c-4583-9e8e-c5c2225ab911\", \"project_id\":\"dc539e8a-b081-41d4-be48-4be17a7048d2\", \"name\":\"scalewayDataSourceAuditTrailSecret\", \"status\":\"ready\", \"created_at\":\"2025-11-19T13:46:44.363170Z\", \"updated_at\":\"2025-11-19T13:46:44.363170Z\", \"tags\":[], \"version_count\":0, \"description\":\"DataSourceAuditTrail test description\", \"managed\":false, \"type\":\"opaque\", \"protected\":false, \"path\":\"/\", \"ephemeral_policy\":null, \"used_by\":[], \"deletion_requested_at\":null, \"key_id\":null, \"region\":\"fr-par\"}" headers: Content-Length: - "502" Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT - Server: - - Scaleway API Gateway (fr-par-2;edge02) - X-Request-Id: - - 4715984b-cfed-4a1a-8a17-02f6a4050ff1 - status: 200 OK - code: 200 - duration: 46.285709ms -- id: 54 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - host: api.scaleway.com - form: - order_by: - - recorded_at_desc - organization_id: - - 105bdce1-64c0-48ab-899d-868455867ecf - project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 - resource_id: - - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 - resource_type: - - unknown_type - headers: - User-Agent: - - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - content_length: 13 - body: "{\"events\":[]}" - headers: - Content-Length: - - "13" - Content-Type: - - application/json - Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 66d4694d-5c46-4618-8063-bd44ed103f9c + - 86360417-2c14-4098-a151-0fa92f2613ec status: 200 OK code: 200 - duration: 47.257776ms -- id: 55 + duration: 84.880007ms +- id: 50 request: proto: HTTP/1.1 proto_major: 1 @@ -2234,7 +2019,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148/versions?page=1 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911/versions?page=1 method: GET response: proto: HTTP/2.0 @@ -2248,15 +2033,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:01 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 1ac1b563-f194-4fbe-800f-fbca1a0c6ce3 + - 79e502b1-ede4-4c02-b959-8220a8c465cc status: 200 OK code: 200 - duration: 101.589175ms -- id: 56 + duration: 23.835694ms +- id: 51 request: proto: HTTP/1.1 proto_major: 1 @@ -2266,7 +2051,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/9196316b-be62-4fd5-bade-b654d76db148 + url: https://api.scaleway.com/secret-manager/v1beta1/regions/fr-par/secrets/7522c5f9-6f4c-4583-9e8e-c5c2225ab911 method: DELETE response: proto: HTTP/2.0 @@ -2278,15 +2063,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:02 GMT + - Wed, 19 Nov 2025 13:46:47 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 39d8e668-dfa1-42ca-b2c0-24698f69c5d2 + - a5935860-bdb2-4429-977d-a42274831469 status: 204 No Content code: 204 - duration: 139.347165ms -- id: 57 + duration: 93.485769ms +- id: 52 request: proto: HTTP/1.1 proto_major: 1 @@ -2299,15 +2084,15 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_id: - - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 + - 56953fdf-c93b-4dd8-be08-4f88801d5fac resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=56953fdf-c93b-4dd8-be08-4f88801d5fac&resource_type=unknown_type method: GET response: proto: HTTP/2.0 @@ -2321,15 +2106,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:02 GMT + - Wed, 19 Nov 2025 13:46:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 464513de-d7a6-4fbd-94c2-c61ff2f9164b + - 7f68eec3-ae41-4c39-8f5d-e99e2ad780a9 status: 200 OK code: 200 - duration: 53.125308ms -- id: 58 + duration: 103.176638ms +- id: 53 request: proto: HTTP/1.1 proto_major: 1 @@ -2342,15 +2127,15 @@ interactions: organization_id: - 105bdce1-64c0-48ab-899d-868455867ecf project_id: - - dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + - dc539e8a-b081-41d4-be48-4be17a7048d2 resource_id: - - f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6 + - 56953fdf-c93b-4dd8-be08-4f88801d5fac resource_type: - unknown_type headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc0cfde0-b3f6-4a70-bab7-042b2adbcee2&resource_id=f6ea7c6e-b0ef-4cd4-86a0-9e91d1eb0de6&resource_type=unknown_type + url: https://api.scaleway.com/audit-trail/v1alpha1/regions/fr-par/events?order_by=recorded_at_desc&organization_id=11111111-1111-1111-1111-111111111111&project_id=dc539e8a-b081-41d4-be48-4be17a7048d2&resource_id=56953fdf-c93b-4dd8-be08-4f88801d5fac&resource_type=unknown_type method: GET response: proto: HTTP/2.0 @@ -2364,15 +2149,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:02 GMT + - Wed, 19 Nov 2025 13:46:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 53711971-603c-44cb-b532-d02e5c23f595 + - 195b77de-66c8-4a46-8ef3-c2f1533bfd8d status: 200 OK code: 200 - duration: 107.531529ms -- id: 59 + duration: 46.702249ms +- id: 54 request: proto: HTTP/1.1 proto_major: 1 @@ -2394,15 +2179,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:03 GMT + - Wed, 19 Nov 2025 13:46:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 61c44660-5e64-4370-a73b-74e3c62bd361 + - 7d4e9266-cc9f-41d7-9aa1-4fc375f916e2 status: 204 No Content code: 204 - duration: 156.028767ms -- id: 60 + duration: 152.070045ms +- id: 55 request: proto: HTTP/1.1 proto_major: 1 @@ -2412,7 +2197,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/policies/4e2ac864-1560-483a-902e-9080bda7a888 + url: https://api.scaleway.com/iam/v1alpha1/policies/7c38554a-f498-4c08-b18b-8ff25f6d80ff method: DELETE response: proto: HTTP/2.0 @@ -2424,15 +2209,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:03 GMT + - Wed, 19 Nov 2025 13:46:48 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 224433fa-db22-465f-b462-b11df2dc5db7 + - f3d9ad00-6c32-43c5-abf9-f29b2d7edb0f status: 204 No Content code: 204 - duration: 274.463351ms -- id: 61 + duration: 161.567205ms +- id: 56 request: proto: HTTP/1.1 proto_major: 1 @@ -2442,7 +2227,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/iam/v1alpha1/applications/9f10efd0-2acf-4b54-8389-96e7e1a707cb + url: https://api.scaleway.com/iam/v1alpha1/applications/529323d5-751a-40d6-9876-46acb7df3462 method: DELETE response: proto: HTTP/2.0 @@ -2454,15 +2239,15 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:03 GMT + - Wed, 19 Nov 2025 13:46:49 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 4a6a3343-81c7-4e93-a9b4-18b5875b210c + - 43f48bf1-827f-45f3-a4e6-77acaaa9d649 status: 204 No Content code: 204 - duration: 246.564133ms -- id: 62 + duration: 145.503871ms +- id: 57 request: proto: HTTP/1.1 proto_major: 1 @@ -2472,7 +2257,7 @@ interactions: headers: User-Agent: - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.3; linux; amd64) terraform-provider/develop terraform/terraform-tests - url: https://api.scaleway.com/account/v3/projects/dc0cfde0-b3f6-4a70-bab7-042b2adbcee2 + url: https://api.scaleway.com/account/v3/projects/dc539e8a-b081-41d4-be48-4be17a7048d2 method: DELETE response: proto: HTTP/2.0 @@ -2484,11 +2269,11 @@ interactions: Content-Type: - application/json Date: - - Mon, 17 Nov 2025 15:40:05 GMT + - Wed, 19 Nov 2025 13:46:50 GMT Server: - - Scaleway API Gateway (fr-par-2;edge02) + - Scaleway API Gateway (fr-par-3;edge02) X-Request-Id: - - 03fc4c38-f13b-437c-a0e1-32592b90bebe + - 7c57bcc0-c3ec-4172-ac05-aed013857d70 status: 204 No Content code: 204 - duration: 1.719273789s + duration: 1.535561272s