Download supabase/tables/security_events.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/security_events.sql
- Command line
-
hf download hf://luom2645/agent-workspace/supabase/tables/security_events.sql
-
curl -L -o security_events.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/security_events.sql
580 Bytes
| CREATE TABLE security_events ( | |
| id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | |
| event_type TEXT NOT NULL CHECK (event_type IN ('login_failure', | |
| 'suspicious_activity', | |
| 'api_abuse', | |
| 'unauthorized_access', | |
| 'device_change', | |
| 'privilege_escalation')), | |
| severity TEXT NOT NULL CHECK (severity IN ('low', | |
| 'medium', | |
| 'high', | |
| 'critical')), | |
| user_id UUID, | |
| ip_address INET, | |
| description TEXT, | |
| details JSONB, | |
| resolved BOOLEAN DEFAULT false, | |
| resolved_by UUID, | |
| resolved_at TIMESTAMPTZ, | |
| created_at TIMESTAMPTZ DEFAULT NOW() | |
| ); |