Scaleway Audit Trail is a tool that holds a record of events and changes performed within a Scaleway Organization. It helps you ensure accountability and security by recording activity across all your resources (identity of the principal, date of activity, source IP address, API method used, and status of the request).
You can use Audit Trail for troubleshooting, compliance verification, and analysis in the event of a breach.
Concepts
Refer to our dedicated concepts pageOpen in new context to find definitions of the different terms referring to Audit Trail.
Quickstart
To start using Audit Trail you need to configure the AuditTrailReadOnly or the OrganizationManager permission sets in IAMOpen in new context.
The OrganizationManager permission set is included in the Administrator group which is created by default whenever a new Organization is created.
The scopeOpen in new context of these permission sets is at OrganizationOpen in new context level.
-
Configure your environment variables.
Note
This is an optional step that seeks to simplify your usage of the Audit Trail API.
Code -
Create an IAM policy. Replace the parameter values in the request payload with the details of your principal.
CodeParameter Description nameREQUIRED The name of your new policy descriptionThe description of your policy organization_idThe ID of your Scaleway Organization rulesThe rulesOpen in new context of your policy permission_set_namesThe permission sets you want to grant. You can either list all permission sets using the IAM APIOpen in new context or find a complete list in the permission sets documentation pageOpen in new context organization_idThe ID of the Scaleway Organization where you want your permission sets to apply. You can add one as the scopeOpen in new context of your policy user_idThe ID of the user you are granting access to Note
To learn more about IAM policies, refer to our dedicated IAM policies reference pageOpen in new context.
-
Run the following command to retrieve the list of Scaleway products for which you have Audit Trail events.
Code -
Run the following command to list your Audit Trail events.
CodeNote
If no events appear, make sure that you have created Scaleway resources in the targeted region. Find out more about troubleshooting Audit Trail issuesOpen in new context in our dedidcated documentation.
Requirement
- You have your Organization and your Project IDOpen in new context
- You have created an API keyOpen in new context
- You have installed
curlOpen in new context - You have created an API keyOpen in new context and that the API key has sufficient IAM permissionsOpen in new context to perform the actions described on this page
- You have created Scaleway products integrated with Audit TrailOpen in new context
Technical information
Regions
Scaleway's infrastructure spans different regions and Availability ZonesOpen in new context.
Audit Trail is available in the Paris, Amsterdam, and Warsaw regions, which are represented by the following path parameters:
- fr-par
- nl-ams
- pl-waw
Technical limitations
Find out about product integration with Audit Trail in our dedicated documentationOpen in new context.
Going further
For more information about Audit Trail, you can check out the following pages:
- Audit Trail DocumentationOpen in new context
- Scaleway Slack CommunityOpen in new context join the #audit-trail channel
- Contact our support teamOpen in new context.