PromptGuard maintains detailed logs of all security events and interactions, accessible through the dashboard for security analysis and compliance reporting.
Current Availability
Dashboard Access ✅
View audit logs and security events through the dashboard:- Navigate to Interactions: app.promptguard.co → Projects → [Your Project] → Interactions
- Filter and Search: Use filters to find specific events by type, date, or content
- Export Data: Download interaction data for analysis
What Gets Logged
PromptGuard captures comprehensive audit trails for:Security Events
- Threat Detection: Security violations, blocked requests, policy triggers
- PII Redaction: Automatic masking of sensitive data
- Policy Decisions: Allow, block, or redact actions
- Detection Methods: Regex, ML, or agentic evaluator used
API Activity
- Request Details: All API calls with timestamps and metadata
- Response Information: Status codes, processing times
- Error Events: Failures, timeouts, and error conditions
- Usage Tracking: Token consumption and costs
Log Structure
Standard Log Format
All security events follow a consistent structure:Event Categories
Security Events
PII Redaction Events
Dashboard Access
Viewing Interactions
Access your security events through the dashboard:- Navigate: app.promptguard.co → Projects → [Your Project] → Interactions
- Filter: Use the filters to find specific events:
- Flagged Only: Show only blocked/redacted events
- Search: Search in content or reason text
- Date Range: Filter by last N days
- Details: Click on any event to see full details
Exporting Data
Currently, interaction data can be viewed and analyzed in the dashboard. Programmatic export APIs are planned for future releases.Roadmap Features 🚧
The following advanced audit log features are planned but not yet available:Audit Log API (Planned)
Programmatic access to audit logs via API:Streaming Logs (Planned)
Real-time log streaming:Log Analysis (Planned)
Advanced log analysis and pattern detection:Export Integrations (Planned)
Integration with external logging systems:- Splunk Integration: Export logs to Splunk
- Elasticsearch Integration: Stream logs to Elasticsearch
- Azure Sentinel Integration: Send logs to Azure Sentinel
- Custom Webhooks: Real-time log delivery via webhooks
Current Workarounds
Need Programmatic Access Now?
Option 1: Dashboard API Use the dashboard interactions endpoint (requires session authentication):Best Practices
Log Retention
- Current: Logs are retained based on your plan tier
- Free/Starter: 30 days retention
- Growth: 90 days retention
- Enterprise: Custom retention policies available
Compliance
- All security events are logged for compliance
- Logs include timestamps, user IDs, and decision metadata
- Export capabilities coming soon for compliance reporting
Next Steps
View Interactions
Access your security events in the dashboard
Analytics
View comprehensive analytics and metrics
Usage Tracking
Monitor API usage and costs
API Reference
Complete API documentation