Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
Co-authored-by: Cursor <cursoragent@cursor.com>
78 lines
1.7 KiB
Markdown
78 lines
1.7 KiB
Markdown
# Phoenix Audit Service
|
|
|
|
**Category**: PLATFORM_SERVICES
|
|
**Publisher**: Phoenix Cloud Services
|
|
**Status**: PUBLISHED
|
|
**Version**: 1.0.0
|
|
|
|
## Overview
|
|
|
|
Phoenix Audit Service provides immutable audit logging with WORM (Write Once Read Many) archive for compliance. Features immutable audit logs with who-did-what-when tracking, PII boundaries and retention policies, and CDC to warehouse for compliance reporting.
|
|
|
|
## Key Features
|
|
|
|
- **Immutable logs**: Write-once audit trail
|
|
- **WORM archive**: Compliance-grade archival storage
|
|
- **PII boundaries**: Automatic PII detection and scrubbing
|
|
- **Retention policies**: Configurable retention periods
|
|
- **Compliance reporting**: Export for audits
|
|
- **Access trails**: Track all access to sensitive data
|
|
- **CDC to warehouse**: Stream to analytics store
|
|
|
|
## API Endpoints
|
|
|
|
### Create Audit Log
|
|
|
|
```http
|
|
POST /audit/log
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"action": "user.login",
|
|
"resourceType": "user",
|
|
"resourceId": "user_123",
|
|
"details": {
|
|
"ipAddress": "192.168.1.1"
|
|
},
|
|
"userId": "user_123"
|
|
}
|
|
```
|
|
|
|
### Query Audit Logs
|
|
|
|
```http
|
|
GET /audit/query?userId=user_123&action=user.login&startDate=2024-01-01&endDate=2024-12-31
|
|
```
|
|
|
|
### Export for Compliance
|
|
|
|
```http
|
|
GET /audit/export?startDate=2024-01-01&endDate=2024-12-31&format=JSON
|
|
```
|
|
|
|
## Pricing
|
|
|
|
- **Model**: Storage-based
|
|
- **Per GB Storage**: $0.15
|
|
- **Per Million Logs**: $10.00
|
|
- **Free Tier**: 100,000 logs/month, 30-day retention
|
|
|
|
## Compliance
|
|
|
|
- SOC 2 Type II
|
|
- GDPR compliant
|
|
- HIPAA ready
|
|
- PCI DSS
|
|
|
|
## SLA
|
|
|
|
- **Uptime**: 99.9%
|
|
- **Latency**: <50ms p95
|
|
|
|
## Architecture
|
|
|
|
- Immutable log storage
|
|
- WORM-compliant archival
|
|
- PII scrubbing pipeline
|
|
- CDC to data warehouse
|