GET Perform comprehensive security audit
Execute a comprehensive security audit for the authenticated organization including RLS compliance, API key validation, threat detection, and security score calculation
Execute a comprehensive security audit for the authenticated organization including RLS compliance, API key validation, threat detection, and security score calculation
Authorization
BearerAuth Send API keys and access tokens as Authorization: Bearer .
In: header
Query Parameters
Include detailed threat analysis in response
falseInclude security recommendations in response
falseResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/security/audit"{ "data": { "audit_passed": true, "organization_id": "{organization_id}", "timestamp": "2019-08-24T14:15:22Z", "summary": { "checks_passed": 0, "checks_total": 0, "pass_rate": 0, "issues_found": 0, "critical_issues": 0, "high_issues": 0, "medium_issues": 0, "low_issues": 0 }, "issues": [ { "check": "string", "severity": "low", "description": "string", "recommendation": "string" } ], "threats": [ { "type": "string", "severity": "low", "description": "string", "recommended_action": "string" } ], "security_score": 0 }, "meta": { "audit_type": "string", "api_key_scope": "string", "organization_isolated": true, "recommendations_included": true, "threats_included": true }}{ "error": "string", "code": "string", "message": "string"}{ "error": "string", "code": "string", "message": "string"}{ "error": "string", "code": "string", "message": "string"}GET Generate RLS compliance report GET
Verify Row Level Security (RLS) compliance and organization boundary isolation for the authenticated organization. This endpoint tests cross-tenant data access prevention and RLS policy enforcement.
POST Validate input for security threats POST
Analyze specific input for security threats including SQL injection, XSS, path traversal, and other common attack vectors