Overview
Guard generates compliance reports that assess your AI deployment against 5 regulatory frameworks used across the GCC and internationally. Reports are generated from actual operational data -- audit logs, policy configurations, PII detection rates, and safety scanning activity -- not self-reported checklists.
Each report includes an overall weighted score, per-requirement assessments with status, evidence of compliance, identified gaps, and actionable recommendations.
Supported Frameworks
UAE AI Ethics Principles
Issuing Authority: UAE Ministry of State for Artificial Intelligence Version: 2.0
| Requirement | Weight | Audit Signals |
|---|---|---|
| Transparency | 15% | Audit trail active, policy engine active |
| Accountability | 15% | Audit trail active, user tracking |
| Fairness | 15% | Content filter active, policy engine active |
| Safety | 15% | Safety scanning, low violation rate |
| Privacy | 15% | PII detection, low PII rate |
| Sustainability | 10% | Cost tracking |
| Human Oversight | 15% | Policy engine active, alert system active |
SDAIA AI Ethics Principles
Issuing Authority: Saudi Data & AI Authority (SDAIA) Version: 1.0
| Requirement | Weight | Audit Signals |
|---|---|---|
| Fairness & Non-Discrimination | 18% | Content filter active, policy engine active |
| Privacy & Security | 18% | PII detection, low PII rate, safety scanning |
| Humanity | 16% | Content filter active, safety scanning |
| Social & Environmental Responsibility | 14% | Cost tracking |
| Reliability & Safety | 18% | Safety scanning, low violation rate, alert system active |
| Transparency & Explainability | 16% | Audit trail active, policy engine active |
Qatar National AI Charter
Issuing Authority: Qatar Ministry of Communications & Information Technology Version: 1.0
| Requirement | Weight |
|---|---|
| AI Governance Framework | 20% |
| Data Protection & Privacy | 20% |
| Transparency & Accountability | 20% |
| Safety & Reliability | 20% |
| Inclusivity & Non-Discrimination | 20% |
Oman AI & Digital Future Program
Issuing Authority: Oman Ministry of Transport, Communications & IT Version: 2024-2026
| Requirement | Weight |
|---|---|
| Digital Governance Standards | 20% |
| Data Sovereignty | 20% |
| Cybersecurity Compliance | 20% |
| Capacity Building | 20% |
| Ethical AI Deployment | 20% |
EU AI Act
Issuing Authority: European Union Version: 2024
| Requirement | Weight |
|---|---|
| Risk Management System | 15% |
| Data Governance | 15% |
| Transparency Obligations | 15% |
| Human Oversight | 15% |
| Accuracy, Robustness & Cybersecurity | 15% |
| Record-Keeping & Logging | 15% |
| Fundamental Rights Impact | 10% |
Generating a Report
/api/v1/compliance/reports/generateGenerate a compliance report for a specific framework.
curl -X POST http://localhost:8002/api/v1/compliance/reports/generate \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"framework_id": "uae_ai_ethics",
"days": 30
}'
Available framework_id values:
uae_ai_ethicssdaia_ai_ethicsqatar_ai_charteroman_ai_digitaleu_ai_act
The days parameter controls the assessment period (1-365 days, default 30).
Report Response
{
"id": "r-a1b2c3d4-...",
"framework_id": "uae_ai_ethics",
"framework_name": "UAE AI Ethics Principles",
"version": "2.0",
"issuing_authority": "UAE Ministry of State for Artificial Intelligence",
"period_start": "2026-01-17T00:00:00Z",
"period_end": "2026-02-16T00:00:00Z",
"overall_score": 85.7,
"executive_summary": "Compliance assessment against UAE AI Ethics Principles yielded an overall score of 85.7%. Of 7 requirements assessed: 5 compliant, 1 partially compliant, 1 non-compliant. Analysis covers 1,247 AI interactions with 12 policy violations and 3 PII detections. Priority areas requiring attention: Sustainability.",
"sections": [
{
"requirement_id": "uae_transparency",
"requirement_name": "Transparency",
"description": "AI systems must provide clear explanations of how decisions are made and what data is used",
"weight": 0.15,
"status": "compliant",
"evidence": ["audit_trail_active", "policy_engine_active"],
"gaps": [],
"recommendations": []
}
],
"generated_by": "admin@example.com",
"created_at": "2026-02-16T10:00:00Z"
}
How Scoring Works
Audit Signals
Guard gathers operational signals from your deployment data to assess each requirement:
| Signal | Condition |
|---|---|
audit_trail_active | At least one audit log entry exists in the period |
policy_engine_active | At least one active governance policy is configured |
pii_detection | PII detection is enabled (always true) |
low_pii_rate | PII detection rate is below 1% of total interactions |
safety_scanning | At least one safety scan was performed, or no interactions occurred |
low_violation_rate | Policy violation rate is below 5% of total interactions |
content_filter_active | Content filtering is enabled via active policies |
user_tracking | User identity is tracked in audit logs |
cost_tracking | Cost tracking is enabled (always true) |
alert_system_active | Alert system is operational (always true) |
Per-Requirement Status
Each requirement maps to a set of audit signals. The status is determined by the ratio of passing signals:
| Signal Pass Rate | Status |
|---|---|
| 80% or higher | compliant |
| 50% to 79% | partial |
| Below 50% | non_compliant |
| No signals configured | not_assessed |
Overall Score Calculation
The overall score is a weighted average across all requirements:
- Compliant = 100 points
- Partial = 50 points
- Non-Compliant = 0 points
- Not Assessed = 0 points
Each requirement's score is multiplied by its weight, and the total is normalized to a percentage.
Listing Frameworks
/api/v1/compliance/reports/frameworksList all available compliance frameworks.
curl http://localhost:8002/api/v1/compliance/reports/frameworks \
-H "Authorization: Bearer $TOKEN"
[
{
"id": "uae_ai_ethics",
"name": "UAE AI Ethics Principles",
"version": "2.0",
"issuing_authority": "UAE Ministry of State for Artificial Intelligence",
"requirement_count": 7
},
{
"id": "sdaia_ai_ethics",
"name": "SDAIA AI Ethics Principles",
"version": "1.0",
"issuing_authority": "Saudi Data & AI Authority (SDAIA)",
"requirement_count": 6
}
]
Report History and Comparison
Listing Reports
/api/v1/compliance/reportsList previously generated compliance reports.
curl "http://localhost:8002/api/v1/compliance/reports?framework_id=uae_ai_ethics&limit=10" \
-H "Authorization: Bearer $TOKEN"
Viewing a Report
/api/v1/compliance/reports/{report_id}Get full details of a specific report.
Exporting a Report
/api/v1/compliance/reports/{report_id}/exportExport a report in a structured JSON format suitable for external systems.
Comparing Reports
/api/v1/compliance/reports/{report_a_id}/diff/{report_b_id}Compare two reports from the same framework to see score changes and requirement status changes.
curl "http://localhost:8002/api/v1/compliance/reports/$REPORT_A/diff/$REPORT_B" \
-H "Authorization: Bearer $TOKEN"
{
"report_a_id": "...",
"report_b_id": "...",
"framework_id": "uae_ai_ethics",
"score_change": 12.5,
"section_changes": [
{
"requirement_id": "uae_privacy",
"requirement_name": "Privacy",
"status_before": "non_compliant",
"status_after": "compliant",
"improved": true
}
]
}
Tracking Progress
Generate reports on a regular cadence (weekly or monthly) and use the diff endpoint to track improvement over time. This provides auditors with a clear compliance trajectory backed by operational data.