Skip to main content

Audit logs

The Dagster+ audit log enables Dagster+ Pro organizations to track and attribute changes to their Dagster deployment.

For large organizations, tracking down when and by whom changes were made can be crucial for maintaining security and compliance. The audit log is also valuable for tracking operational history, including sensor and schedule updates.

This guide walks through how to access the audit log and details the interactions which are tracked in the audit log.

Prerequisites

View audit logs

To access the audit logs:

  1. Click your user icon at the top right corner of the page.
  2. Click Organization settings.
  3. Click the Audit log tab.
warning

Add screenshot

Each entry in the audit log indicates when an action was taken, the user who performed the action, the action taken, and the deployment which the action affected. To view additional details for an action, click the Show button.

Filter the audit log

The Filter button near the top left of the page can be used to filter the list of logs. You can filter to a combination of user, event type, affected deployment, or time frame.

Audit log entry types

Event typeDescriptionAdditional details
Log inA user logs in to the Dagster+ organization
Update sensorA user toggles a sensor on or offThe sensor name, code location, and cursor
Update scheduleA user toggles a schedule on or offThe schedule name, code location, and cursor
Update alert policyA user modifies an alert policyThe new configuration for the alert policy
Create deploymentA user creates a new deploymentWhether the deployment is a branch deployment
Delete deploymentA user removes an existing deploymentWhether the deployment is a branch deployment
Create user tokenA user creates a new user token
Revoke user tokenA user revokes an existing user token
Change user permissionsA user alters permissions for another userThe permission grant and targeted deployment
Create agent tokenA user creates a new agent token
Revoke agent tokenA user revokes an existing agent token
Update agent token permissionsA user alters permissions for an agent tokenThe permission grant and targeted deployment
Create secretA user creates a new environment variableThe created variable name
Update secretA user modifies an existing environment variableThe previous and current variable names and whether the value was changed
Delete secretA user removes an environment variableThe deleted variable name
Update subscriptionA user modifies the selected Dagster+ subscription for the organizationThe previous and current plan types

Programmatic access to audit logs

Audit logs can be accessed programmatically over the Dagster+ GraphQL API. You can access a visual GraphiQL interface by navigating to https://<org>.dagster.cloud/<deployment>/graphql in your browser. You can also query the API directly using the Python client.

Audit log GraphQL query
Loading...