1. Packages
  2. Scaleway
  3. API Docs
  4. audittrail
  5. getEvent
Scaleway v1.43.0 published on Friday, Feb 6, 2026 by pulumiverse
scaleway logo
Scaleway v1.43.0 published on Friday, Feb 6, 2026 by pulumiverse

    The scaleway.audittrail.getEvent data source is used to retrieve information about existing Audit Trail events.

    Refer to the Audit Trail documentation and API documentation for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail for a specific resource
    const findByResourceId = scaleway.audittrail.getEvent({
        resourceId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail for a specific resource
    find_by_resource_id = scaleway.audittrail.get_event(resource_id="11111111-1111-1111-1111-111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail for a specific resource
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			ResourceId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail for a specific resource
        var findByResourceId = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            ResourceId = "11111111-1111-1111-1111-111111111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail for a specific resource
            final var findByResourceId = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .resourceId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail for a specific resource
      findByResourceId:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            resourceId: 11111111-1111-1111-1111-111111111111
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve all audit trail events on the default organization
    const findAll = scaleway.audittrail.getEvent({});
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve all audit trail events on the default organization
    find_all = scaleway.audittrail.get_event()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve all audit trail events on the default organization
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve all audit trail events on the default organization
        var findAll = Scaleway.Audittrail.GetEvent.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve all audit trail events on the default organization
            final var findAll = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .build());
    
        }
    }
    
    variables:
      # Retrieve all audit trail events on the default organization
      findAll:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments: {}
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail for a specific Scaleway product
    const findByProductName = scaleway.audittrail.getEvent({
        productName: "secret-manager",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail for a specific Scaleway product
    find_by_product_name = scaleway.audittrail.get_event(product_name="secret-manager")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail for a specific Scaleway product
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			ProductName: pulumi.StringRef("secret-manager"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail for a specific Scaleway product
        var findByProductName = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            ProductName = "secret-manager",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail for a specific Scaleway product
            final var findByProductName = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .productName("secret-manager")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail for a specific Scaleway product
      findByProductName:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            productName: secret-manager
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail events with various filtering
    const findWithFilters = scaleway.audittrail.getEvent({
        region: "fr-par",
        serviceName: "instance",
        methodName: "CreateServer",
        principalId: "11111111-1111-1111-1111-111111111111",
        sourceIp: "192.0.2.1",
        status: 200,
        recordedAfter: "2025-10-01T00:00:00Z",
        recordedBefore: "2025-12-31T23:59:59Z",
        orderBy: "recorded_at_desc",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail events with various filtering
    find_with_filters = scaleway.audittrail.get_event(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")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail events with various filtering
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			Region:         pulumi.StringRef("fr-par"),
    			ServiceName:    pulumi.StringRef("instance"),
    			MethodName:     pulumi.StringRef("CreateServer"),
    			PrincipalId:    pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    			SourceIp:       pulumi.StringRef("192.0.2.1"),
    			Status:         pulumi.IntRef(200),
    			RecordedAfter:  pulumi.StringRef("2025-10-01T00:00:00Z"),
    			RecordedBefore: pulumi.StringRef("2025-12-31T23:59:59Z"),
    			OrderBy:        pulumi.StringRef("recorded_at_desc"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail events with various filtering
        var findWithFilters = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            Region = "fr-par",
            ServiceName = "instance",
            MethodName = "CreateServer",
            PrincipalId = "11111111-1111-1111-1111-111111111111",
            SourceIp = "192.0.2.1",
            Status = 200,
            RecordedAfter = "2025-10-01T00:00:00Z",
            RecordedBefore = "2025-12-31T23:59:59Z",
            OrderBy = "recorded_at_desc",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail events with various filtering
            final var findWithFilters = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .region("fr-par")
                .serviceName("instance")
                .methodName("CreateServer")
                .principalId("11111111-1111-1111-1111-111111111111")
                .sourceIp("192.0.2.1")
                .status(200)
                .recordedAfter("2025-10-01T00:00:00Z")
                .recordedBefore("2025-12-31T23:59:59Z")
                .orderBy("recorded_at_desc")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail events with various filtering
      findWithFilters:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            region: fr-par
            serviceName: instance
            methodName: CreateServer
            principalId: 11111111-1111-1111-1111-111111111111
            sourceIp: 192.0.2.1
            status: 200
            recordedAfter: 2025-10-01T00:00:00Z
            recordedBefore: 2025-12-31T23:59:59Z
            orderBy: recorded_at_desc
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail events on a specific organization
    const findByOrg = scaleway.audittrail.getEvent({
        organizationId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail events on a specific organization
    find_by_org = scaleway.audittrail.get_event(organization_id="11111111-1111-1111-1111-111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail events on a specific organization
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			OrganizationId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail events on a specific organization
        var findByOrg = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            OrganizationId = "11111111-1111-1111-1111-111111111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail events on a specific organization
            final var findByOrg = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .organizationId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail events on a specific organization
      findByOrg:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            organizationId: 11111111-1111-1111-1111-111111111111
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail events on a specific project
    const findByProject = scaleway.audittrail.getEvent({
        projectId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail events on a specific project
    find_by_project = scaleway.audittrail.get_event(project_id="11111111-1111-1111-1111-111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail events on a specific project
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			ProjectId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail events on a specific project
        var findByProject = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            ProjectId = "11111111-1111-1111-1111-111111111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail events on a specific project
            final var findByProject = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .projectId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail events on a specific project
      findByProject:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            projectId: 11111111-1111-1111-1111-111111111111
    
    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    // Retrieve audit trail events for a specific type of resource
    const findByResourceType = scaleway.audittrail.getEvent({
        resourceType: "instance_server",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    # Retrieve audit trail events for a specific type of resource
    find_by_resource_type = scaleway.audittrail.get_event(resource_type="instance_server")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/audittrail"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Retrieve audit trail events for a specific type of resource
    		_, err := audittrail.GetEvent(ctx, &audittrail.GetEventArgs{
    			ResourceType: pulumi.StringRef("instance_server"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumi.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        // Retrieve audit trail events for a specific type of resource
        var findByResourceType = Scaleway.Audittrail.GetEvent.Invoke(new()
        {
            ResourceType = "instance_server",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.audittrail.AudittrailFunctions;
    import com.pulumi.scaleway.audittrail.inputs.GetEventArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Retrieve audit trail events for a specific type of resource
            final var findByResourceType = AudittrailFunctions.getEvent(GetEventArgs.builder()
                .resourceType("instance_server")
                .build());
    
        }
    }
    
    variables:
      # Retrieve audit trail events for a specific type of resource
      findByResourceType:
        fn::invoke:
          function: scaleway:audittrail:getEvent
          arguments:
            resourceType: instance_server
    

    Using getEvent

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEvent(args: GetEventArgs, opts?: InvokeOptions): Promise<GetEventResult>
    function getEventOutput(args: GetEventOutputArgs, opts?: InvokeOptions): Output<GetEventResult>
    def get_event(method_name: Optional[str] = None,
                  order_by: Optional[str] = None,
                  organization_id: Optional[str] = None,
                  principal_id: Optional[str] = None,
                  product_name: Optional[str] = None,
                  project_id: Optional[str] = None,
                  recorded_after: Optional[str] = None,
                  recorded_before: Optional[str] = None,
                  region: Optional[str] = None,
                  resource_id: Optional[str] = None,
                  resource_type: Optional[str] = None,
                  service_name: Optional[str] = None,
                  source_ip: Optional[str] = None,
                  status: Optional[int] = None,
                  opts: Optional[InvokeOptions] = None) -> GetEventResult
    def get_event_output(method_name: Optional[pulumi.Input[str]] = None,
                  order_by: Optional[pulumi.Input[str]] = None,
                  organization_id: Optional[pulumi.Input[str]] = None,
                  principal_id: Optional[pulumi.Input[str]] = None,
                  product_name: Optional[pulumi.Input[str]] = None,
                  project_id: Optional[pulumi.Input[str]] = None,
                  recorded_after: Optional[pulumi.Input[str]] = None,
                  recorded_before: Optional[pulumi.Input[str]] = None,
                  region: Optional[pulumi.Input[str]] = None,
                  resource_id: Optional[pulumi.Input[str]] = None,
                  resource_type: Optional[pulumi.Input[str]] = None,
                  service_name: Optional[pulumi.Input[str]] = None,
                  source_ip: Optional[pulumi.Input[str]] = None,
                  status: Optional[pulumi.Input[int]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetEventResult]
    func GetEvent(ctx *Context, args *GetEventArgs, opts ...InvokeOption) (*GetEventResult, error)
    func GetEventOutput(ctx *Context, args *GetEventOutputArgs, opts ...InvokeOption) GetEventResultOutput

    > Note: This function is named GetEvent in the Go SDK.

    public static class GetEvent 
    {
        public static Task<GetEventResult> InvokeAsync(GetEventArgs args, InvokeOptions? opts = null)
        public static Output<GetEventResult> Invoke(GetEventInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventResult> getEvent(GetEventArgs args, InvokeOptions options)
    public static Output<GetEventResult> getEvent(GetEventArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:audittrail/getEvent:getEvent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MethodName string
    Name of the method of the API call performed.
    OrderBy string
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    OrganizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    PrincipalId string
    ID of the User or IAM application at the origin of the event.
    ProductName string
    Name of the Scaleway product in a hyphenated format.
    ProjectId string
    ID of the Project containing the Audit Trail events.
    RecordedAfter string
    The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default (Format ISO 8601).
    RecordedBefore string
    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).
    Region string
    The region you want to target. Defaults to the region specified in the provider configuration.
    ResourceId string
    ID of the Scaleway resource associated with the listed events.
    ResourceType string
    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.
    ServiceName string
    Name of the service of the API call performed.
    SourceIp string
    IP address at the origin of the event.
    Status int
    HTTP status code of the request.
    MethodName string
    Name of the method of the API call performed.
    OrderBy string
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    OrganizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    PrincipalId string
    ID of the User or IAM application at the origin of the event.
    ProductName string
    Name of the Scaleway product in a hyphenated format.
    ProjectId string
    ID of the Project containing the Audit Trail events.
    RecordedAfter string
    The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default (Format ISO 8601).
    RecordedBefore string
    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).
    Region string
    The region you want to target. Defaults to the region specified in the provider configuration.
    ResourceId string
    ID of the Scaleway resource associated with the listed events.
    ResourceType string
    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.
    ServiceName string
    Name of the service of the API call performed.
    SourceIp string
    IP address at the origin of the event.
    Status int
    HTTP status code of the request.
    methodName String
    Name of the method of the API call performed.
    orderBy String
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    organizationId String
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId String
    ID of the User or IAM application at the origin of the event.
    productName String
    Name of the Scaleway product in a hyphenated format.
    projectId String
    ID of the Project containing the Audit Trail events.
    recordedAfter String
    The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default (Format ISO 8601).
    recordedBefore String
    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).
    region String
    The region you want to target. Defaults to the region specified in the provider configuration.
    resourceId String
    ID of the Scaleway resource associated with the listed events.
    resourceType String
    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.
    serviceName String
    Name of the service of the API call performed.
    sourceIp String
    IP address at the origin of the event.
    status Integer
    HTTP status code of the request.
    methodName string
    Name of the method of the API call performed.
    orderBy string
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    organizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId string
    ID of the User or IAM application at the origin of the event.
    productName string
    Name of the Scaleway product in a hyphenated format.
    projectId string
    ID of the Project containing the Audit Trail events.
    recordedAfter string
    The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default (Format ISO 8601).
    recordedBefore string
    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).
    region string
    The region you want to target. Defaults to the region specified in the provider configuration.
    resourceId string
    ID of the Scaleway resource associated with the listed events.
    resourceType string
    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.
    serviceName string
    Name of the service of the API call performed.
    sourceIp string
    IP address at the origin of the event.
    status number
    HTTP status code of the request.
    method_name str
    Name of the method of the API call performed.
    order_by str
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    organization_id str
    organization_id) ID of the Organization containing the Audit Trail events.
    principal_id str
    ID of the User or IAM application at the origin of the event.
    product_name str
    Name of the Scaleway product in a hyphenated format.
    project_id str
    ID of the Project containing the Audit Trail events.
    recorded_after str
    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 str
    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).
    region str
    The region you want to target. Defaults to the region specified in the provider configuration.
    resource_id str
    ID of the Scaleway resource associated with the listed events.
    resource_type str
    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.
    service_name str
    Name of the service of the API call performed.
    source_ip str
    IP address at the origin of the event.
    status int
    HTTP status code of the request.
    methodName String
    Name of the method of the API call performed.
    orderBy String
    Defines the order in which events are returned. Possible values are recorded_at_asc and recorded_at_desc. Default value: recorded_at_desc.
    organizationId String
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId String
    ID of the User or IAM application at the origin of the event.
    productName String
    Name of the Scaleway product in a hyphenated format.
    projectId String
    ID of the Project containing the Audit Trail events.
    recordedAfter String
    The recorded_after parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns one hour ago by default (Format ISO 8601).
    recordedBefore String
    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).
    region String
    The region you want to target. Defaults to the region specified in the provider configuration.
    resourceId String
    ID of the Scaleway resource associated with the listed events.
    resourceType String
    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.
    serviceName String
    Name of the service of the API call performed.
    sourceIp String
    IP address at the origin of the event.
    status Number
    HTTP status code of the request.

    getEvent Result

    The following output properties are available:

    Events List<Pulumiverse.Scaleway.Audittrail.Outputs.GetEventEvent>
    List of Audit Trail events matching the requested criteria.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ID of the Organization containing the Audit Trail events. (UUID format)
    MethodName string
    API method called to trigger the event.
    OrderBy string
    PrincipalId string
    ID of the user or IAM application at the origin of the event.
    ProductName string
    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.
    ProjectId string
    Project of the resource attached to the event. (UUID format)
    RecordedAfter string
    RecordedBefore string
    Region string
    ResourceId string
    ResourceType string
    ServiceName string
    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.
    SourceIp string
    IP address at the origin of the event. (IP address)
    Status int
    Events []GetEventEvent
    List of Audit Trail events matching the requested criteria.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ID of the Organization containing the Audit Trail events. (UUID format)
    MethodName string
    API method called to trigger the event.
    OrderBy string
    PrincipalId string
    ID of the user or IAM application at the origin of the event.
    ProductName string
    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.
    ProjectId string
    Project of the resource attached to the event. (UUID format)
    RecordedAfter string
    RecordedBefore string
    Region string
    ResourceId string
    ResourceType string
    ServiceName string
    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.
    SourceIp string
    IP address at the origin of the event. (IP address)
    Status int
    events List<GetEventEvent>
    List of Audit Trail events matching the requested criteria.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    ID of the Organization containing the Audit Trail events. (UUID format)
    methodName String
    API method called to trigger the event.
    orderBy String
    principalId String
    ID of the user or IAM application at the origin of the event.
    productName String
    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.
    projectId String
    Project of the resource attached to the event. (UUID format)
    recordedAfter String
    recordedBefore String
    region String
    resourceId String
    resourceType String
    serviceName String
    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.
    sourceIp String
    IP address at the origin of the event. (IP address)
    status Integer
    events GetEventEvent[]
    List of Audit Trail events matching the requested criteria.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    ID of the Organization containing the Audit Trail events. (UUID format)
    methodName string
    API method called to trigger the event.
    orderBy string
    principalId string
    ID of the user or IAM application at the origin of the event.
    productName string
    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.
    projectId string
    Project of the resource attached to the event. (UUID format)
    recordedAfter string
    recordedBefore string
    region string
    resourceId string
    resourceType string
    serviceName string
    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.
    sourceIp string
    IP address at the origin of the event. (IP address)
    status number
    events Sequence[GetEventEvent]
    List of Audit Trail events matching the requested criteria.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    ID of the Organization containing the Audit Trail events. (UUID format)
    method_name str
    API method called to trigger the event.
    order_by str
    principal_id str
    ID of the user or IAM application at the origin of the event.
    product_name str
    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.
    project_id str
    Project of the resource attached to the event. (UUID format)
    recorded_after str
    recorded_before str
    region str
    resource_id str
    resource_type str
    service_name str
    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.
    source_ip str
    IP address at the origin of the event. (IP address)
    status int
    events List<Property Map>
    List of Audit Trail events matching the requested criteria.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    ID of the Organization containing the Audit Trail events. (UUID format)
    methodName String
    API method called to trigger the event.
    orderBy String
    principalId String
    ID of the user or IAM application at the origin of the event.
    productName String
    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.
    projectId String
    Project of the resource attached to the event. (UUID format)
    recordedAfter String
    recordedBefore String
    region String
    resourceId String
    resourceType String
    serviceName String
    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.
    sourceIp String
    IP address at the origin of the event. (IP address)
    status Number

    Supporting Types

    GetEventEvent

    Id string
    ID of the resource attached to the event. (UUID format)
    Locality string
    Locality of the resource attached to the event.
    MethodName string
    Name of the method of the API call performed.
    OrganizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    PrincipalId string
    ID of the User or IAM application at the origin of the event.
    ProductName string
    Name of the Scaleway product in a hyphenated format.
    ProjectId string
    ID of the Project containing the Audit Trail events.
    RecordedAt string
    Timestamp of the event. (RFC 3339 format)
    RequestBody string
    Request at the origin of the event.
    RequestId string
    Unique identifier of the request at the origin of the event. (UUID format)
    Resources List<Pulumiverse.Scaleway.Audittrail.Inputs.GetEventEventResource>
    List of resources attached to the event.
    ServiceName string
    Name of the service of the API call performed.
    SourceIp string
    IP address at the origin of the event.
    StatusCode int
    HTTP status code resulting of the API call.
    UserAgent string
    User Agent at the origin of the event.
    Id string
    ID of the resource attached to the event. (UUID format)
    Locality string
    Locality of the resource attached to the event.
    MethodName string
    Name of the method of the API call performed.
    OrganizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    PrincipalId string
    ID of the User or IAM application at the origin of the event.
    ProductName string
    Name of the Scaleway product in a hyphenated format.
    ProjectId string
    ID of the Project containing the Audit Trail events.
    RecordedAt string
    Timestamp of the event. (RFC 3339 format)
    RequestBody string
    Request at the origin of the event.
    RequestId string
    Unique identifier of the request at the origin of the event. (UUID format)
    Resources []GetEventEventResource
    List of resources attached to the event.
    ServiceName string
    Name of the service of the API call performed.
    SourceIp string
    IP address at the origin of the event.
    StatusCode int
    HTTP status code resulting of the API call.
    UserAgent string
    User Agent at the origin of the event.
    id String
    ID of the resource attached to the event. (UUID format)
    locality String
    Locality of the resource attached to the event.
    methodName String
    Name of the method of the API call performed.
    organizationId String
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId String
    ID of the User or IAM application at the origin of the event.
    productName String
    Name of the Scaleway product in a hyphenated format.
    projectId String
    ID of the Project containing the Audit Trail events.
    recordedAt String
    Timestamp of the event. (RFC 3339 format)
    requestBody String
    Request at the origin of the event.
    requestId String
    Unique identifier of the request at the origin of the event. (UUID format)
    resources List<GetEventEventResource>
    List of resources attached to the event.
    serviceName String
    Name of the service of the API call performed.
    sourceIp String
    IP address at the origin of the event.
    statusCode Integer
    HTTP status code resulting of the API call.
    userAgent String
    User Agent at the origin of the event.
    id string
    ID of the resource attached to the event. (UUID format)
    locality string
    Locality of the resource attached to the event.
    methodName string
    Name of the method of the API call performed.
    organizationId string
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId string
    ID of the User or IAM application at the origin of the event.
    productName string
    Name of the Scaleway product in a hyphenated format.
    projectId string
    ID of the Project containing the Audit Trail events.
    recordedAt string
    Timestamp of the event. (RFC 3339 format)
    requestBody string
    Request at the origin of the event.
    requestId string
    Unique identifier of the request at the origin of the event. (UUID format)
    resources GetEventEventResource[]
    List of resources attached to the event.
    serviceName string
    Name of the service of the API call performed.
    sourceIp string
    IP address at the origin of the event.
    statusCode number
    HTTP status code resulting of the API call.
    userAgent string
    User Agent at the origin of the event.
    id str
    ID of the resource attached to the event. (UUID format)
    locality str
    Locality of the resource attached to the event.
    method_name str
    Name of the method of the API call performed.
    organization_id str
    organization_id) ID of the Organization containing the Audit Trail events.
    principal_id str
    ID of the User or IAM application at the origin of the event.
    product_name str
    Name of the Scaleway product in a hyphenated format.
    project_id str
    ID of the Project containing the Audit Trail events.
    recorded_at str
    Timestamp of the event. (RFC 3339 format)
    request_body str
    Request at the origin of the event.
    request_id str
    Unique identifier of the request at the origin of the event. (UUID format)
    resources Sequence[GetEventEventResource]
    List of resources attached to the event.
    service_name str
    Name of the service of the API call performed.
    source_ip str
    IP address at the origin of the event.
    status_code int
    HTTP status code resulting of the API call.
    user_agent str
    User Agent at the origin of the event.
    id String
    ID of the resource attached to the event. (UUID format)
    locality String
    Locality of the resource attached to the event.
    methodName String
    Name of the method of the API call performed.
    organizationId String
    organization_id) ID of the Organization containing the Audit Trail events.
    principalId String
    ID of the User or IAM application at the origin of the event.
    productName String
    Name of the Scaleway product in a hyphenated format.
    projectId String
    ID of the Project containing the Audit Trail events.
    recordedAt String
    Timestamp of the event. (RFC 3339 format)
    requestBody String
    Request at the origin of the event.
    requestId String
    Unique identifier of the request at the origin of the event. (UUID format)
    resources List<Property Map>
    List of resources attached to the event.
    serviceName String
    Name of the service of the API call performed.
    sourceIp String
    IP address at the origin of the event.
    statusCode Number
    HTTP status code resulting of the API call.
    userAgent String
    User Agent at the origin of the event.

    GetEventEventResource

    Id string
    ID of the resource attached to the event. (UUID format)
    Name string
    Name of the Scaleway resource.
    Type string
    Type of the Scaleway resource.
    Id string
    ID of the resource attached to the event. (UUID format)
    Name string
    Name of the Scaleway resource.
    Type string
    Type of the Scaleway resource.
    id String
    ID of the resource attached to the event. (UUID format)
    name String
    Name of the Scaleway resource.
    type String
    Type of the Scaleway resource.
    id string
    ID of the resource attached to the event. (UUID format)
    name string
    Name of the Scaleway resource.
    type string
    Type of the Scaleway resource.
    id str
    ID of the resource attached to the event. (UUID format)
    name str
    Name of the Scaleway resource.
    type str
    Type of the Scaleway resource.
    id String
    ID of the resource attached to the event. (UUID format)
    name String
    Name of the Scaleway resource.
    type String
    Type of the Scaleway resource.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.43.0 published on Friday, Feb 6, 2026 by pulumiverse
      Meet Neo: Your AI Platform Teammate