Private
Public Access
1
0
Files
linux_patch_manager/migrations/022_crl_audit_actions.sql
Draco-Lunaris-Echo 5ab3532833
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 5s
CI Pipeline / Clippy Lints (push) Successful in 52s
CI Pipeline / Rust Unit Tests (push) Successful in 1m11s
CI Pipeline / Security Audit (push) Successful in 5s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 16s
CI Pipeline / Build .deb & Release (push) Has been skipped
feat: add CRL health aggregation logic and audit events (PR 5 of 6)
* feat: add CRL health aggregation logic and audit events (PR 5 of 6)

* style: fix cargo fmt in health_poller.rs

---------

Co-authored-by: Draco Lunaris <331325+Draco-Lunaris@users.noreply.github.com>
2026-06-05 16:42:39 -05:00

9 lines
475 B
SQL

-- Migration: 022_crl_audit_actions
-- Description: Add audit_action enum values for CRL health aggregation events.
-- These are system-initiated events logged by the health poller
-- when a host's CRL status transitions or indicates a problem.
ALTER TYPE audit_action ADD VALUE IF NOT EXISTS 'crl_status_changed';
ALTER TYPE audit_action ADD VALUE IF NOT EXISTS 'crl_stale_detected';
ALTER TYPE audit_action ADD VALUE IF NOT EXISTS 'crl_invalid';