Scaleway v1.43.0 published on Friday, Feb 6, 2026 by pulumiverse
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 dictionaryThe following arguments are supported:
- Method
Name string - Name of the method of the API call performed.
- Order
By string - Defines the order in which events are returned. Possible values are
recorded_at_ascandrecorded_at_desc. Default value:recorded_at_desc. - Organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- Principal
Id string - ID of the User or IAM application at the origin of the event.
- Product
Name string - Name of the Scaleway product in a hyphenated format.
- Project
Id string - ID of the Project containing the Audit Trail events.
- Recorded
After string - The
recorded_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - Recorded
Before string - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby default (Format ISO 8601). - Region string
- The region you want to target. Defaults to the region specified in the provider configuration.
- Resource
Id string - ID of the Scaleway resource associated with the listed events.
- Resource
Type 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, orvpc_private_network. - Service
Name string - Name of the service of the API call performed.
- Source
Ip string - IP address at the origin of the event.
- Status int
- HTTP status code of the request.
- Method
Name string - Name of the method of the API call performed.
- Order
By string - Defines the order in which events are returned. Possible values are
recorded_at_ascandrecorded_at_desc. Default value:recorded_at_desc. - Organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- Principal
Id string - ID of the User or IAM application at the origin of the event.
- Product
Name string - Name of the Scaleway product in a hyphenated format.
- Project
Id string - ID of the Project containing the Audit Trail events.
- Recorded
After string - The
recorded_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - Recorded
Before string - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby default (Format ISO 8601). - Region string
- The region you want to target. Defaults to the region specified in the provider configuration.
- Resource
Id string - ID of the Scaleway resource associated with the listed events.
- Resource
Type 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, orvpc_private_network. - Service
Name string - Name of the service of the API call performed.
- Source
Ip string - IP address at the origin of the event.
- Status int
- HTTP status code of the request.
- method
Name String - Name of the method of the API call performed.
- order
By String - Defines the order in which events are returned. Possible values are
recorded_at_ascandrecorded_at_desc. Default value:recorded_at_desc. - organization
Id String organization_id) ID of the Organization containing the Audit Trail events.- principal
Id String - ID of the User or IAM application at the origin of the event.
- product
Name String - Name of the Scaleway product in a hyphenated format.
- project
Id String - ID of the Project containing the Audit Trail events.
- recorded
After String - The
recorded_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - recorded
Before String - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby default (Format ISO 8601). - region String
- The region you want to target. Defaults to the region specified in the provider configuration.
- resource
Id String - ID of the Scaleway resource associated with the listed events.
- resource
Type 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, orvpc_private_network. - service
Name String - Name of the service of the API call performed.
- source
Ip String - IP address at the origin of the event.
- status Integer
- HTTP status code of the request.
- method
Name string - Name of the method of the API call performed.
- order
By string - Defines the order in which events are returned. Possible values are
recorded_at_ascandrecorded_at_desc. Default value:recorded_at_desc. - organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- principal
Id string - ID of the User or IAM application at the origin of the event.
- product
Name string - Name of the Scaleway product in a hyphenated format.
- project
Id string - ID of the Project containing the Audit Trail events.
- recorded
After string - The
recorded_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - recorded
Before string - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby default (Format ISO 8601). - region string
- The region you want to target. Defaults to the region specified in the provider configuration.
- resource
Id string - ID of the Scaleway resource associated with the listed events.
- resource
Type 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, orvpc_private_network. - service
Name string - Name of the service of the API call performed.
- source
Ip 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_ascandrecorded_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_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - recorded_
before str - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby 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, orvpc_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.
- method
Name String - Name of the method of the API call performed.
- order
By String - Defines the order in which events are returned. Possible values are
recorded_at_ascandrecorded_at_desc. Default value:recorded_at_desc. - organization
Id String organization_id) ID of the Organization containing the Audit Trail events.- principal
Id String - ID of the User or IAM application at the origin of the event.
- product
Name String - Name of the Scaleway product in a hyphenated format.
- project
Id String - ID of the Project containing the Audit Trail events.
- recorded
After String - The
recorded_afterparameter defines the earliest timestamp from which Audit Trail events are retrieved. Returnsone hour agoby default (Format ISO 8601). - recorded
Before String - The
recorded_beforeparameter defines the latest timestamp up to which Audit Trail events are retrieved. Must be later than recorded_after. Returnsnowby default (Format ISO 8601). - region String
- The region you want to target. Defaults to the region specified in the provider configuration.
- resource
Id String - ID of the Scaleway resource associated with the listed events.
- resource
Type 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, orvpc_private_network. - service
Name String - Name of the service of the API call performed.
- source
Ip 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. Get Event Event> - List of Audit Trail events matching the requested criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - ID of the Organization containing the Audit Trail events. (UUID format)
- Method
Name string - API method called to trigger the event.
- Order
By string - Principal
Id string - ID of the user or IAM application at the origin of the event.
- Product
Name 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, oredge-services. - Project
Id string - Project of the resource attached to the event. (UUID format)
- Recorded
After string - Recorded
Before string - Region string
- Resource
Id string - Resource
Type string - Service
Name 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, orscaleway.lb.v1.ZonedApi. - Source
Ip string - IP address at the origin of the event. (IP address)
- Status int
- Events
[]Get
Event Event - List of Audit Trail events matching the requested criteria.
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - ID of the Organization containing the Audit Trail events. (UUID format)
- Method
Name string - API method called to trigger the event.
- Order
By string - Principal
Id string - ID of the user or IAM application at the origin of the event.
- Product
Name 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, oredge-services. - Project
Id string - Project of the resource attached to the event. (UUID format)
- Recorded
After string - Recorded
Before string - Region string
- Resource
Id string - Resource
Type string - Service
Name 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, orscaleway.lb.v1.ZonedApi. - Source
Ip string - IP address at the origin of the event. (IP address)
- Status int
- events
List<Get
Event Event> - List of Audit Trail events matching the requested criteria.
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - ID of the Organization containing the Audit Trail events. (UUID format)
- method
Name String - API method called to trigger the event.
- order
By String - principal
Id String - ID of the user or IAM application at the origin of the event.
- product
Name 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, oredge-services. - project
Id String - Project of the resource attached to the event. (UUID format)
- recorded
After String - recorded
Before String - region String
- resource
Id String - resource
Type String - service
Name 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, orscaleway.lb.v1.ZonedApi. - source
Ip String - IP address at the origin of the event. (IP address)
- status Integer
- events
Get
Event Event[] - List of Audit Trail events matching the requested criteria.
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - ID of the Organization containing the Audit Trail events. (UUID format)
- method
Name string - API method called to trigger the event.
- order
By string - principal
Id string - ID of the user or IAM application at the origin of the event.
- product
Name 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, oredge-services. - project
Id string - Project of the resource attached to the event. (UUID format)
- recorded
After string - recorded
Before string - region string
- resource
Id string - resource
Type string - service
Name 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, orscaleway.lb.v1.ZonedApi. - source
Ip string - IP address at the origin of the event. (IP address)
- status number
- events
Sequence[Get
Event Event] - 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, oredge-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, orscaleway.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.
- organization
Id String - ID of the Organization containing the Audit Trail events. (UUID format)
- method
Name String - API method called to trigger the event.
- order
By String - principal
Id String - ID of the user or IAM application at the origin of the event.
- product
Name 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, oredge-services. - project
Id String - Project of the resource attached to the event. (UUID format)
- recorded
After String - recorded
Before String - region String
- resource
Id String - resource
Type String - service
Name 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, orscaleway.lb.v1.ZonedApi. - source
Ip 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.
- Method
Name string - Name of the method of the API call performed.
- Organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- Principal
Id string - ID of the User or IAM application at the origin of the event.
- Product
Name string - Name of the Scaleway product in a hyphenated format.
- Project
Id string - ID of the Project containing the Audit Trail events.
- Recorded
At string - Timestamp of the event. (RFC 3339 format)
- Request
Body string - Request at the origin of the event.
- Request
Id string - Unique identifier of the request at the origin of the event. (UUID format)
- Resources
List<Pulumiverse.
Scaleway. Audittrail. Inputs. Get Event Event Resource> - List of resources attached to the event.
- Service
Name string - Name of the service of the API call performed.
- Source
Ip string - IP address at the origin of the event.
- Status
Code int - HTTP status code resulting of the API call.
- User
Agent 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.
- Method
Name string - Name of the method of the API call performed.
- Organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- Principal
Id string - ID of the User or IAM application at the origin of the event.
- Product
Name string - Name of the Scaleway product in a hyphenated format.
- Project
Id string - ID of the Project containing the Audit Trail events.
- Recorded
At string - Timestamp of the event. (RFC 3339 format)
- Request
Body string - Request at the origin of the event.
- Request
Id string - Unique identifier of the request at the origin of the event. (UUID format)
- Resources
[]Get
Event Event Resource - List of resources attached to the event.
- Service
Name string - Name of the service of the API call performed.
- Source
Ip string - IP address at the origin of the event.
- Status
Code int - HTTP status code resulting of the API call.
- User
Agent 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.
- method
Name String - Name of the method of the API call performed.
- organization
Id String organization_id) ID of the Organization containing the Audit Trail events.- principal
Id String - ID of the User or IAM application at the origin of the event.
- product
Name String - Name of the Scaleway product in a hyphenated format.
- project
Id String - ID of the Project containing the Audit Trail events.
- recorded
At String - Timestamp of the event. (RFC 3339 format)
- request
Body String - Request at the origin of the event.
- request
Id String - Unique identifier of the request at the origin of the event. (UUID format)
- resources
List<Get
Event Event Resource> - List of resources attached to the event.
- service
Name String - Name of the service of the API call performed.
- source
Ip String - IP address at the origin of the event.
- status
Code Integer - HTTP status code resulting of the API call.
- user
Agent 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.
- method
Name string - Name of the method of the API call performed.
- organization
Id string organization_id) ID of the Organization containing the Audit Trail events.- principal
Id string - ID of the User or IAM application at the origin of the event.
- product
Name string - Name of the Scaleway product in a hyphenated format.
- project
Id string - ID of the Project containing the Audit Trail events.
- recorded
At string - Timestamp of the event. (RFC 3339 format)
- request
Body string - Request at the origin of the event.
- request
Id string - Unique identifier of the request at the origin of the event. (UUID format)
- resources
Get
Event Event Resource[] - List of resources attached to the event.
- service
Name string - Name of the service of the API call performed.
- source
Ip string - IP address at the origin of the event.
- status
Code number - HTTP status code resulting of the API call.
- user
Agent 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[Get
Event Event Resource] - 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.
- method
Name String - Name of the method of the API call performed.
- organization
Id String organization_id) ID of the Organization containing the Audit Trail events.- principal
Id String - ID of the User or IAM application at the origin of the event.
- product
Name String - Name of the Scaleway product in a hyphenated format.
- project
Id String - ID of the Project containing the Audit Trail events.
- recorded
At String - Timestamp of the event. (RFC 3339 format)
- request
Body String - Request at the origin of the event.
- request
Id 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.
- service
Name String - Name of the service of the API call performed.
- source
Ip String - IP address at the origin of the event.
- status
Code Number - HTTP status code resulting of the API call.
- user
Agent String - User Agent at the origin of the event.
GetEventEventResource
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Scaleway v1.43.0 published on Friday, Feb 6, 2026 by pulumiverse
