Platform
Compliance & Audit
Maintain compliance and demonstrate AI governance with audit trails and reports.
Compliance & Audit
As AI regulations evolve and governance requirements increase, Saf3AI provides the tools you need to generate compliance evidence, maintain comprehensive audit trails, and demonstrate governance to auditors. With complete data sovereignty, your data stays under your control.
Audit Logging
Immutable Audit Trail
Every AI interaction is logged with:
- Full request/response (if enabled)
- User and session information
- Timestamp and duration
- Security events
- Cost data
- Model and provider details
# All interactions are automatically logged
with saf3.trace(
"agent",
user_id="user-123",
compliance_mode=True # Enhanced logging
) as trace:
response = agent.run(query)
Log Retention
Retention is set in your agreement with Saf3AI.
Tamper-Proof Storage
Audit logs are:
- Encrypted at rest (AES-256)
- Write-once/append-only
- Cryptographically signed
Access Control
Role-Based Access
Define roles with specific permissions:
# Example roles
roles = [
{
"name": "viewer",
"permissions": ["read:traces", "read:metrics"]
},
{
"name": "operator",
"permissions": ["read:*", "write:alerts"]
},
{
"name": "admin",
"permissions": ["*"]
}
]
User Management
- SSO integration (SAML, OIDC)
- Multi-factor authentication
- Session management
- Password policies
Activity Logging
All user actions are logged:
- Dashboard access
- Configuration changes
- Data exports
- Report generation
Compliance Framework Support
Saf3AI reports on seven built-in frameworks, mapped to 90 Saf3AI controls and 294 framework requirements. For each framework, the platform shows which controls are covered by evidence it collects, which need a document or an attestation from your team, and where violations were found. Only a minority of controls are evaluated automatically; the rest are tracked as documents or attestations.
EU AI Act
Regulation (EU) 2024/1689. Requirements are mapped to controls such as risk classification, transparency, human oversight and incident reporting, so you can see the evidence behind each obligation.
ISO 42001
The AI Management System standard. Requirements cover the AI system lifecycle, risk management, governance controls and monitoring, with evidence attached to each control.
NIST AI RMF
The NIST AI Risk Management Framework 1.0, a voluntary framework. Its requirements are mapped to the same controls, so one piece of evidence can support several frameworks.
SOC 2 (AI)
The AI-relevant criteria of SOC 2, tracked as evidence for your own program. This is separate from Saf3AI’s own SOC 2 Type II attestation, which covers Saf3AI as a company.
OWASP LLM Top 10
The OWASP Top 10 for LLM Applications (2025), mapped to the detections and controls that address each risk.
Colorado AI Act
SB 26-189. Requirements are mapped to controls so you can track what your deployed AI systems need to show.
NYC Local Law 144
The New York City law on automated employment decision tools. Requirements are mapped to controls so you can track what your hiring-related AI systems need to show.
Frameworks such as GDPR, HIPAA and ISO 27001 are not built-in report frameworks. Saf3AI itself is SOC 2 Type II and HIPAA compliant; contact us for details.
Reports
Compliance Reports
Generate reports for auditors:
report = saf3.compliance.generate_report(
type="audit",
period="2024-Q1",
format="pdf"
)
Report types:
- Audit report: Complete activity log
- Access report: User access history
- Security report: Security events and responses
- Cost report: Spending and allocation
Scheduled Reports
saf3.reports.schedule(
name="monthly-compliance",
type="compliance_summary",
frequency="monthly",
recipients=["compliance@company.com"],
format="pdf"
)
Custom Reports
Build custom reports with:
- Flexible time ranges
- Custom filtering
- Multiple export formats
- Automated delivery
Data Governance
Data Classification
Tag data by sensitivity:
with saf3.trace(
"agent",
data_classification="confidential"
) as trace:
pass
Classifications:
- Public
- Internal
- Confidential
- Restricted
Data Residency
Saf3AI is hosted in the United States. Choosing a different region or jurisdiction for your data is not available today.
Data Masking
Automatically mask sensitive data:
saf3 = Saf3AI(
api_key="your-key",
masking={
"patterns": ["ssn", "credit_card", "email"],
"mode": "hash" # or "redact"
}
)
Policy Management
Governance Policies
Define organizational policies:
policy = saf3.policies.create(
name="enterprise-policy",
rules=[
{
"type": "require_human_approval",
"condition": "action == 'delete' or cost > 100"
},
{
"type": "data_retention",
"min_days": 90,
"max_days": 365
},
{
"type": "model_allowlist",
"models": ["gpt-4", "claude-3-opus"]
}
]
)
Policy Enforcement
Policies can be:
- Advisory: Log violations but allow
- Blocking: Prevent policy violations
- Alerting: Notify on violations
Policy Versions
Track policy changes:
- Version history
- Change attribution
- Rollback capability
Incident Management
Incident Detection
Automatic detection of:
- Security breaches
- Data leaks
- Policy violations
- System failures
Incident Response
# Create incident
incident = saf3.incidents.create(
type="security_event",
severity="high",
description="Potential data exfiltration detected",
affected_traces=["trace-123", "trace-456"]
)
# Track resolution
incident.add_note("Investigated - false positive")
incident.resolve(resolution="No action required")
Incident Reports
Generate incident reports for:
- Internal review
- Regulatory notification
- Customer communication
API for Compliance
Export Data
# Export traces for compliance
traces = saf3.traces.export(
start_date="2024-01-01",
end_date="2024-03-31",
format="json",
include_metadata=True
)
Audit API
# Query audit logs
logs = saf3.audit.query(
filters={
"user_id": "user-123",
"action": "config_change"
},
start_date="2024-01-01"
)
Webhooks
Receive compliance events:
saf3.webhooks.create(
url="https://your-server.com/compliance-webhook",
events=["policy_violation", "security_event"],
secret="webhook-secret"
)
Best Practices
1. Enable Enhanced Logging
For regulated industries:
saf3 = Saf3AI(
api_key="your-key",
compliance_mode=True,
log_inputs=True,
log_outputs=True
)
2. Regular Access Reviews
- Quarterly access reviews
- Remove inactive users
- Verify role assignments
3. Document Everything
- Policy decisions
- Configuration changes
- Incident responses
- Training completion
4. Test Your Controls
- Regular security assessments
- Policy violation testing
- Incident response drills
Compliance Support
Saf3AI provides the tooling and evidence generation to help your organization prepare for and demonstrate compliance with various regulatory frameworks. Our platform supports:
- Evidence generation - Audit-ready reports and documentation for compliance assessments
- Complete data sovereignty - Your data stays under your control
- Audit trail generation - Immutable logs for compliance reporting
- Data governance controls - Tools to meet regulatory requirements
- Access management - Controls aligned with security standards
Note: Saf3AI provides compliance evidence and reporting tools. Your organization is responsible for achieving and maintaining compliance certifications. Our tools help you generate the evidence needed for your compliance assessments.
Contact us at info@saf3ai.com for questions about how Saf3AI can support your compliance requirements.
Next Steps
- Security Features
- SDK Reference
- Contact Sales for compliance questions