Skip to content

Compliance & control mapping

This page maps the platform's security and operational controls to the most common frameworks your compliance and audit teams will ask about: SOC 2, ISO 27001, NIST SP 800-53, CIS Kubernetes Benchmark, GDPR, and PDPA (Thailand).

Who this is for

Compliance officers, internal auditors, and security architects producing evidence packages for certification, audit, or due-diligence reviews. Read alongside the Shared responsibility & maturity matrix — every "Customer" item in that matrix is a control gap you must satisfy.

This is a mapping guide, not a certification

Opsta AI Gateway is not itself certified under any of these frameworks. This mapping identifies which controls the product addresses and which controls remain your responsibility as the operator. Your auditor determines sufficiency; this document gives them a starting point.


How to read this page

Each table row maps a control requirement to:

  • Product control — what the platform provides out of the box.
  • Where to find evidence — the page, log, or artifact that demonstrates the control.
  • Operator action — what you must do to satisfy the control at your site.

Maturity levels follow the Shared responsibility matrix legend: Shipped · Shipped (toggle) · Opt-in · Roadmap · Customer.


SOC 2 Type II

SOC 2 evaluates controls across five Trust Services Criteria (TSC). The AI gateway most commonly appears in a SOC 2 audit as a system component under Security (CC) and Availability (A).

Security (CC)

CCRequirementProduct controlMaturityEvidenceOperator action
CC6.1Logical access restricted to authorised usersKey-auth plugin; RBAC (3 roles)ShippedAudit log; RBAC modelConfigure Keycloak groups + platform-admin emails
CC6.2Access revocation on role changeAPI key revoke; Keycloak user disableShippedAudit log entries for key.revoke, member.removeMaintain offboarding runbook (SCIM de-provision is roadmap)
CC6.3Least privilegeOrg-scoped admin; member read-onlyShippedRBAC modelReview group membership quarterly
CC6.6Transmission encryptionTLS at ingress; CP→Postgres TLSShippedcert-manager cert; PGSSLMODE=requireEnforce enforcing CNI for internal network isolation
CC6.7Encryption of data at restPVC + etcd encryptionCustomer (G3)StorageClass config; etcd encryption manifestEnable etcd encryption or sealed-secrets/ESO
CC6.8Malware / change preventionTrivy + gosec CI gates; read-only container FSShippedCI workflow results; readOnlyRootFilesystem: truePin chart to OCI digest; scan images on pull
CC7.1Vulnerability detectionTrivy SCA + IaC scan; gosecShippedCI scan results; lifecycle patch SLASubscribe to security-announce; apply patches per SLA
CC7.2Security incident monitoringGrafana alerts; guardrail block logShipped (toggle)Alert rules; guardrail_blocksWire alerts to your pager; define incident response runbook
CC9.1Vendor risk managementSelf-hosted; no Opsta cloud in data pathShippedData sovereigntyAssess LLM provider contracts (no-train/ZDR)

Availability (A)

ARequirementProduct controlMaturityEvidenceOperator action
A1.1Capacity planningSizing guidance (RA.1 pending)Shipped (doc pending RA.1)RequirementsMonitor saturation alerts; plan for peak load
A1.2Environmental safeguardsHA topology (PDB + anti-affinity)Shipped (toggle)global.highAvailability: true; PDB manifestsUse ≥3-node cluster; enforce anti-affinity
A1.3Backup and recoveryCNPG backup + helmfile IaCOpt-in (G1)postgres.backup.enabled; Backup & DREnable backups; run restore drill; record RTO/RPO

ISO 27001:2022

The gateway maps most directly to Annex A controls in the Access control (A.5-A.9), Cryptography (A.10), Operations (A.12), Communications (A.13), and Incident management (A.16) domains.

ISO 27001 controlRequirementProduct controlMaturityOperator action
A.5.15Access control policyKey-auth + RBAC + KC groupsShippedDocument access policy; review quarterly
A.5.16Identity managementKeycloak broker (local/LDAP/OIDC/SAML); JITShippedMaintain KC realm; offboarding runbook (SCIM roadmap)
A.5.17Authentication informationHMAC-hashed API keys; OIDC tokens; no plaintext keys in DBShippedKey rotation procedure; session secret rotation
A.5.28Collection of evidenceAudit log (all mutating actions + denials)ShippedSet audit.retentionDays to ≥365; protect log export
A.8.7Protection against malwareRead-only FS; CI scan; no shell in containersShippedPin image digests; scan on pull
A.8.9Configuration managementIaC only (helmfile); no manual stateShippedGitOps workflow; Taskfile as the only entrypoint
A.8.24Use of cryptographyTLS at ingress; TLS CP→Postgres; no data-at-rest encryption nativeShipped / CustomerEnable etcd encryption + StorageClass encryption (G3)
A.8.25Secure developmentgosec SAST; Trivy SCA; license check; pre-commit gateShippedReview CI results; apply patches per lifecycle SLA
A.8.32Change managementSemver releases; changelog; pre-commit + CI gateShippedDocument change approval process; use release workflow
A.5.26Response to information security incidentsGuardrail blocks; alert rules; audit logShipped (toggle)Define IR runbook; wire alerts to pager
A.8.15LoggingGateway logs → Loki; audit log → PostgresShippedSet log retention; protect Loki storage

NIST SP 800-53 Rev 5

Key control families applicable to an AI gateway deployment:

FamilyControlsProductMaturityNotes
AC — Access ControlAC-2 (account mgmt), AC-3 (enforcement), AC-6 (least privilege), AC-17 (remote access)RBAC + key-auth + KCShippedAC-2: maintain user lifecycle; AC-17: TLS enforced
AU — Audit and AccountabilityAU-2 (audit events), AU-3 (content), AU-9 (protection), AU-11 (retention)Audit logShippedAU-9: protect log export; AU-11: set retentionDays
IA — Identification & AuthenticationIA-2 (user authn), IA-3 (device authn), IA-5 (authenticator mgmt)Key-auth + KC OIDCShippedIA-3: API keys act as device authenticators
SC — System & CommunicationsSC-8 (transmission confidentiality), SC-28 (protection at rest)TLS at ingress + CP→PG; PVC encryptionShipped / CustomerSC-28: StorageClass + etcd encryption (G3)
SI — System IntegritySI-2 (flaw remediation), SI-3 (malware), SI-7 (software integrity)Patch SLA + Trivy + gosecShippedSI-7: digest pinning interim (G8); signing roadmap
CP — Contingency PlanningCP-9 (backup), CP-10 (recovery)CNPG backup + IaC restoreOpt-in (G1)Enable backups; test restore; record RTO/RPO
RA — Risk AssessmentRA-5 (vuln scanning), RA-7 (risk response)Trivy + gosec CIShippedRA-7: apply patches per lifecycle SLA
SA — System AcquisitionSA-12 (supply chain), SA-15 (dev process)Version-pinned matrix; CI gate; license checkShipped (G8 partial)SA-12: digest pinning; signing/SBOM roadmap

CIS Kubernetes Benchmark

The platform targets CIS K8s Benchmark v1.9 (Level 1) for the workloads it controls. Third-party sub-charts (Higress, Keycloak, LGTM) follow their own upstream hardening; verify them separately.

CIS sectionRequirementStatusNotes
5.1 — RBACMinimal RBAC; no cluster-admin service accountsMetOpsta pods use namespace-scoped service accounts with least-privilege roles
5.2 — PSANon-root, no privileged, seccompMetrunAsNonRoot, drop ALL, seccompProfile: RuntimeDefault on all Opsta-built pods
5.3 — NetworkPolicyDefault-deny + allowlistMet (toggle)controlPlane.networkPolicy.enabled: true; requires enforcing CNI
5.4 — SecretsSecrets not in env vars in plain; no secrets in imageMetSecrets mounted as files or env from SecretKeyRef; never baked into images
5.5 — Image provenanceImage tag pinned; no latestMetAll images pinned in version.yaml; digest pinning recommended
5.7 — NamespacesSeparate namespaces per logical groupMethigress-system, opsta-ai-gateway, opsta-keycloak, opsta-observability
4.2 — API server auditAudit log enabledCustomerEnable K8s API server audit log in your cluster config

GDPR and PDPA (Thailand)

The gateway processes personal data (user emails in members table, audit log actor emails, guardrail-block user_email field). The mapping below applies to both GDPR (EU 2016/679) and Thailand PDPA (B.E. 2562).

RequirementProduct supportMaturityOperator action
Lawful basis / purpose limitationConfiguration stores only what is necessary for access control, billing, and safetyShippedDocument your legal basis for processing member emails and audit data
Data minimisationGuardrail snippet ≤280 chars; no prompt body storedShippedReview retentionDays; evaluate disabling snippet column (G4 roadmap)
Retention and erasureaudit.retentionDays configurable; DB DELETE API for orgs/membersShippedSet short retention (e.g. 90 days) for GDPR/PDPA minimisation; document erasure procedure
Right to access / portabilityAdmin can query audit log and member records via API or psqlShippedDocument DSR (Data Subject Request) procedure for your org
Right to erasureDelete member record + associated keys/usageShipped (manual)Document erasure workflow; test it
Security of processing (Art. 32 / §37)TLS, RBAC, audit log, network isolationShippedAdd etcd encryption (G3); enable backups; wire alerts
Data transfer outside EEA / ThailandPrompts sent to your configured providers onlyCustomerAssess provider data-transfer terms; use providers in the required geography or self-host (Ollama)
Data Protection Officer notificationNo automatic DPO notificationCustomerImplement your own incident notification workflow
Consent for AI trainingNo consent mechanism nativeCustomerUse providers with no-train terms, or self-host

Enterprise AI governance, on infrastructure you own.