Skip to content

Audit Logs

Connect records audit events to provide a traceable record of actions taken against the system. Each event captures who performed the action, what entity was affected, whether it succeeded or was denied, and relevant context about the change.

The Connect datastore is currently the only supported audit sink. Additional sinks will be added over time - contact your Cofide representative if you would like to request integration with a particular audit platform.

Audit logging is disabled by default.

Enable audit logging by setting connect.audit.sinks.connectDatastore.enabledEvents in your Helm values.

To record all event types:

connect:
audit:
sinks:
connectDatastore:
enabledEvents:
- all

To record specific event types only:

connect:
audit:
sinks:
connectDatastore:
enabledEvents:
- trust_zone_creation
- trust_zone_update
- trust_zone_deletion
- node_attestation

Use disabledEvents to exclude specific types from an otherwise broad selection:

connect:
audit:
sinks:
connectDatastore:
enabledEvents:
- all
disabledEvents:
- node_attestation
- node_pruning

Each audit event contains the following fields:

  • ID - a unique identifier for the event, prefixed with ae
  • Event type - the category of action that occurred
  • Timestamp - when the event occurred, to microsecond precision
  • Message - a human-readable description of the action
  • Actor - the identity that initiated the action
  • Source IP - the IP address of the request
  • Outcome - success or denied
  • Entity links - references to the entities affected by the event
  • Data - event-specific payload containing relevant state at the time of the event
  • Server version - the version of Connect that recorded the event

Every event records one of two outcomes:

  • success - the action completed
  • denied - the action was rejected by an access control policy

Denied events may have no entity links when the denial occurs before the target entity is identified.

Use these exact strings when configuring enabledEvents and disabledEvents.

View all (34)
Event typeDescription
attestation_policy_creationAn attestation policy was created
attestation_policy_updateAn attestation policy was updated
attestation_policy_deletionAn attestation policy was deleted
attestation_policy_binding_creationAn attestation policy binding was created
attestation_policy_binding_updateAn attestation policy binding was updated
attestation_policy_binding_deletionAn attestation policy binding was deleted
cluster_creationA cluster was registered
cluster_updateA cluster was updated
cluster_deletionA cluster was deleted
cofide_agent_registrationA Cofide Agent registered with the control plane
exchange_policy_creationA token exchange policy was created
exchange_policy_updateA token exchange policy was updated
exchange_policy_deletionA token exchange policy was deleted
federated_service_registrationA federated service was registered
federated_service_updateA federated service was updated
federated_service_deregistrationA federated service was deregistered
federation_creationA federation relationship was created
federation_deletionA federation relationship was deleted
node_attestationA node was attested
node_deletionA node record was deleted
node_pruningA node record was removed by the pruning job
role_binding_creationA role binding was created
role_binding_updateA role binding was updated
role_binding_deletionA role binding was deleted
token_exchangeA token exchange request was processed
trust_zone_creationA trust zone was created
trust_zone_updateA trust zone was updated
trust_zone_deletionA trust zone was deleted
trust_zone_server_creationA trust zone server was added
trust_zone_server_updateA trust zone server was updated
trust_zone_server_deletionA trust zone server was removed
trust_zone_server_status_updateA trust zone server's status changed
workload_creationA workload registration was created
workload_deletionA workload registration was deleted