Skip to main content

Audit Logging

FeatureSignals maintains a comprehensive audit log that records all changes to flags, environments, and team configuration. The log is tamper-evident and includes before/after state diffs.

What's Logged​

Every significant action creates an audit entry:

ActionDescription
flag.createdNew flag created
flag.updatedFlag metadata changed
flag.deletedFlag deleted
flag.killedKill switch activated
flag.promotedConfig promoted between environments
flag.scheduled_toggleScheduled enable/disable (system actor)
flag.approved_change_appliedApproved change applied
api_key.createdAPI key created for an environment
api_key.revokedAPI key revoked

Before/After State Diffs​

Each audit entry captures the resource state before and after the change:

{
"action": "flag.updated",
"before_state": {
"name": "Old Name",
"tags": ["beta"]
},
"after_state": {
"name": "New Name",
"tags": ["beta", "production"]
}
}

This enables:

  • Understanding exactly what changed
  • Meeting compliance and regulatory requirements
  • Debugging unexpected flag behavior

Actor Types​

Actor TypeDescription
userA human user triggered the action
systemAn automated process (e.g., scheduler)

Viewing the Audit Log​

Flag Engine​

Navigate to Audit Log in the sidebar to browse entries.

API​

curl "https://api.featuresignals.com/v1/audit?limit=50&offset=0" \
-H "Authorization: Bearer $TOKEN"

See the Audit Log API Reference for details.