Database Properties
Database Type: PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)
Schema public
standard public schema
Tables
| Table / View | Children | Parents | Columns | Type | Comments |
|---|---|---|---|---|---|
| ssh_mux_sockets | 0 | 0 | 7 | Table | {“what”:“Registry of SSH multiplexing control sockets, keyed by socket path.”,“why”:“Without it, no central record of which sockets exist, their status, or session usage.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:39.483635570+00:00”} |
| ssh_compliance_results | 0 | 0 | 9 | Table | {“what”:“Results of automated SSH configuration compliance checks, one row per check per scan.”,“why”:“Without it, there is no record of which SSH settings passed or failed over time.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:29.839675515+00:00”} |
| ssh_pending_approvals | 1 | 0 | 9 | Table | {“what”:“Holds SSH action requests that require approval before execution.”,“why”:“Without it, unauthorized SSH actions could run and there would be no audit trail of approvals.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:44.524051567+00:00”} |
| password_changes | 0 | 3 | 7 | Table | {“what”:“Log of password change events with before/after user snapshots.”,“why”:“Provides audit trail for password modifications and supports rollback or investigation.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:00:06.644831200+00:00”} |
| reg_states | 0 | 0 | 3 | Table | |
| webauthn_credentials | 0 | 0 | 7 | Table | {“what”:“Collection of WebAuthn credentials, each row is one registered authenticator for a user.”,“why”:“Without it, users cannot authenticate via WebAuthn and we lose the mapping between user and authenticator.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.482573903+00:00”} |
| password_change_requests | 1 | 1 | 9 | Table | {“what”:“Password change requests, each with a user, method, status, and expiry.”,“why”:“Without it, password reset attempts cannot be tracked, validated, or expired.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:04.239530030+00:00”} |
| oauth_clients | 2 | 0 | 12 | Table | {“what”:“Registered OAuth client applications and their configuration.”,“why”:“Without it, the authorization server cannot validate client requests or issue tokens.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:59:53.360452296+00:00”} |
| email_changes | 0 | 3 | 9 | Table | {“what”:“Audit log of email address changes per user.”,“why”:“Without it, no history of email updates exists for security review or rollback.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:58.335636977+00:00”} |
| ssh_audit_log | 0 | 0 | 5 | Table | {“what”:“Audit log for SSH events, one row per event.”,“why”:“Without it, there is no record of SSH activity for security review or incident response.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:00:33.970205201+00:00”} |
| oauth_authorization_codes | 0 | 1 | 12 | Table | {“what”:“Issued OAuth2 authorization codes with client, user, scope, and PKCE metadata.”,“why”:“Without it, the token endpoint cannot validate and redeem codes to issue access tokens.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:33.373890377+00:00”} |
| biometric_device_keys | 0 | 1 | 7 | Table | {“what”:“Public keys for biometric authenticators (e.g., fingerprint, face) bound to an account.”,“why”:“Without it, biometric authentication cannot verify a device’s signature or revoke a lost device.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:00.976547968+00:00”} |
| ssh_auth_events | 0 | 1 | 8 | Table | {“what”:“One row per SSH authentication event, capturing attempt outcome and client details.”,“why”:“Without it, no audit trail for SSH access attempts, making intrusion detection and compliance reporting impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:23.625614782+00:00”} |
| email_verification_tokens | 0 | 1 | 7 | Table | {“what”:“Tokens that verify a user’s ownership of a new email address.”,“why”:“Without it, email changes could be made without proof of control.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:29.617335886+00:00”} |
| ssh_sessions | 0 | 0 | 13 | Table | |
| email_change_requests | 1 | 1 | 10 | Table | {“what”:“Requests to change a user’s email address, each with a verification token.”,“why”:“Without it, email changes could not be tracked or verified.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:11.361319674+00:00”} |
| oauth_signing_keys | 0 | 0 | 6 | Table | {“what”:“Signing key records for OAuth2 token issuance; each row is a key pair with lifecycle timestamps.”,“why”:“Without it, there is no record of which key signed a token, so verification and rotation become impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:40.449685566+00:00”} |
| oauth_refresh_tokens | 4 | 1 | 10 | Table | {“what”:“Issued refresh tokens, keyed by token hash, with client, user, scope, and rotation state.”,“why”:“Without it, refresh tokens cannot be validated, rotated, or revoked.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:47.671337368+00:00”} |
| auth_states | 0 | 0 | 3 | Table | |
| ssh_key_inventory | 1 | 0 | 8 | Table | {“what”:“Inventory of SSH public keys found on hosts; one row per key.”,“why”:“Central registry to track key usage and audit compliance.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:34.268243296+00:00”} |
| sessions | 0 | 0 | 8 | Table | {“what”:“A row per authenticated user session, with JWT and expiry.”,“why”:“Without it, there is no record of issued JWTs, so revocation and expiry checks are impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:00:40.038533937+00:00”} |
| login_attempts | 0 | 0 | 10 | Table | {“what”:“Log of each login attempt with outcome and context.”,“why”:“Without it, security incidents and account lockouts cannot be investigated.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:55:24.089241297+00:00”} |
| users | 5 | 1 | 14 | Table | {“what”:“Versioned user account records; each row is one version of a user.”,“why”:“Without it, no history of user changes or current-state lookup.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-23T00:00:15.851038020+00:00”} |
| changelogs | 0 | 1 | 11 | Table | {“what”:“Audit trail of field-level changes to entities.”,“why”:“Without it, audit history and rollback decisions are impossible.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:59.345750166+00:00”} |
| biometric_accounts | 1 | 0 | 4 | Table | {“what”:“Accounts for biometric authentication; each row is one user account.”,“why”:“Without it, biometric authentication cannot be tied to a user identity.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:41.883164274+00:00”} |
| password_reset_tokens | 0 | 1 | 6 | Table | {“what”:“Records of password reset requests, each with a hashed token and expiry.”,“why”:“Without it, password reset links cannot be verified, expired, or revoked.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:56:05.516414418+00:00”} |
| biometric_auth_config | 0 | 0 | 2 | Table | {“what”:“Configuration settings for biometric authentication, each row a key-value pair.”,“why”:“Without it, biometric auth parameters would be hardcoded, requiring code changes to adjust.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:54:50.785850669+00:00”} |