Skip to main content

Test Coverage Matrix

Complete test coverage documentation for the ASCEND AI Governance Platform.

Summary

MetricValue
Total Tests446
Passed446
Failed0
Pass Rate100%
Test Suites25

Phase 4: Core Security Tests (148)

Fail-Secure Design (36 tests)

Tests verifying all 12 security layers default to DENY on error.

Test IDTest NameLayerStatus
FS-001Rate limiting denies on Redis failure1PASSED
FS-002Prompt security blocks on detector failure2PASSED
FS-003Code analysis blocks on analyzer error3PASSED
FS-004Action governance denies on evaluator error4PASSED
FS-005JWT auth denies on invalid token5PASSED
FS-006API key validation denies on failure6PASSED
FS-007RBAC denies on permission check failure7PASSED
FS-008BYOK fails on key unavailable8PASSED
FS-009Audit blocks if write fails9PASSED
FS-010Input validation rejects malformed input10PASSED
FS-011Secrets management blocks on fetch failure11PASSED
FS-012Security headers use restrictive defaults12PASSED

Action Evaluation (23 tests)

Test IDTest NameStatus
AE-001CVSS calculation accuracyPASSED
AE-002Risk score thresholdsPASSED
AE-003Approval workflow triggerPASSED
AE-004Multi-level approvalPASSED
AE-005Action allow low riskPASSED
AE-006Action deny high riskPASSED

WORM Audit Trail (28 tests)

Test IDTest NameStatus
AT-001Audit log creationPASSED
AT-002Audit log immutabilityPASSED
AT-003Hash-chain integrityPASSED
AT-004Tamper detectionPASSED
AT-005Audit log retentionPASSED

Kill Switch (32 tests)

Test IDTest NameStatus
KS-001Kill switch activationPASSED
KS-002Kill switch propagationPASSED
KS-003Kill switch latency under 100msPASSED
KS-004SNS integrationPASSED
KS-005SQS integrationPASSED

Multi-Tenant Isolation (29 tests)

Test IDTest NameStatus
MT-001Organization data isolationPASSED
MT-002Cross-org access deniedPASSED
MT-003JWT org claim enforcementPASSED
MT-004API endpoint org scopingPASSED
MT-005Database query org filterPASSED

Phase 4b: Security & Integration Tests (148)

Prompt Security (30 tests)

Test IDTest NameStatus
PS-001Prompt injection detectionPASSED
PS-002Jailbreak attempt detectionPASSED
PS-003System prompt leakage detectionPASSED
PS-004Data exfiltration detectionPASSED
PS-005Multi-language detectionPASSED

Code Analysis (20 tests)

Test IDTest NameStatus
CA-001Code pattern detectionPASSED
CA-002Secrets detectionPASSED
CA-003API key detectionPASSED
CA-004Credential detectionPASSED
CA-005Dangerous function detectionPASSED

Rate Limiting (15 tests)

Test IDTest NameStatus
RL-001Rate limit enforcementPASSED
RL-002Rate limit per endpointPASSED
RL-003Rate limit per userPASSED
RL-004Rate limit per organizationPASSED
RL-005Rate limit headersPASSED

Gateway Integration (10 tests)

Test IDTest NameStatus
GI-001Kong plugin integrationPASSED
GI-002Envoy ext_authzPASSED
GI-003Lambda authorizerPASSED
GI-004Gateway decision cachingPASSED
GI-005Gateway fail-securePASSED

Phase 4c: Enterprise Features Tests (150)

Authentication (16 tests) - Security Critical

Test IDTest NameStatus
AUTH-001Cognito loginPASSED
AUTH-002Cognito logoutPASSED
AUTH-003MFA verificationPASSED
AUTH-004Token refreshPASSED
AUTH-005Session timeoutPASSED
AUTH-006Brute force protectionPASSED

Authorization (21 tests) - Security Critical

Test IDTest NameStatus
AUTHZ-001RBAC platform adminPASSED
AUTHZ-002RBAC enterprise adminPASSED
AUTHZ-003RBAC org adminPASSED
AUTHZ-004RBAC policy adminPASSED
AUTHZ-005RBAC analystPASSED
AUTHZ-006RBAC viewerPASSED
AUTHZ-007Permission inheritancePASSED
AUTHZ-008Separation of dutiesPASSED

Billing (15 tests) - Revenue Critical

Test IDTest NameStatus
BILL-001Usage meteringPASSED
BILL-002Billing calculationPASSED
BILL-003Stripe webhook processingPASSED
BILL-004Spend limit enforcementPASSED
BILL-005Overage handlingPASSED

Compliance Test Mapping

SOC 2

ControlTestsStatus
CC6.1FS-005, FS-006, AUTHZ-*PASSED
CC6.3AUTH-002, AUTH-005PASSED
CC7.2AT-, KS-PASSED

PCI-DSS

RequirementTestsStatus
3.5BYOK-*PASSED
7.1AUTHZ-*PASSED
10.2AT-*PASSED

HIPAA

SectionTestsStatus
164.312(a)AUTH-, AUTHZ-PASSED
164.312(b)AT-*PASSED
164.312(d)AUTH-*PASSED

Performance Metrics

MetricValueTargetStatus
Avg Action Evaluation45msunder 100msPASSED
P99 Latency120msunder 200msPASSED
Throughput500 req/sover 100 req/sPASSED
Cache Hit Rate92%over 80%PASSED
Kill Switch Latencyunder 100msunder 100msPASSED