Networking Requirements

AI Guard requires specific network connectivity for SDK communication, token validation, metrics publishing, and classification profile retrieval.

Network Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Customer Network    β”‚         β”‚  Workernode Kubernetes Cluster           β”‚
β”‚                      β”‚         β”‚                                          β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚  HTTPS  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚  AI App + SDK  │──┼────────►│  β”‚  AI Guard    │───►│ scan-job-mgr  β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚  :4443  β”‚  β”‚  Service     β”‚    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚                      β”‚         β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜         β”‚         β”‚           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
                                 β”‚         └──────────►│ onprem-agent  β”‚   β”‚
                                 β”‚                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
                                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                        β”‚
                                              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                              β”‚  OneTrust Cloud    β”‚
                                              β”‚  (Token Validation)β”‚
                                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Required Connectivity

Inbound β€” SDK Traffic

ParameterValue
SourceCustomer application network (where the SDK runs)
DestinationAI Guard service pod
Port4443 (default, configurable)
ProtocolHTTPS (TLS)
DirectionInbound to Workernode cluster

The AI Guard service must be reachable from your application network. If the SDK runs on a different network than the Workernode host network, configure network bridging:

MethodDescription
NodePortExpose the service on a static port on each cluster node
LoadBalancerProvision an external load balancer (cloud environments)
IngressRoute through an Ingress controller with TLS termination

Outbound β€” Token Validation

ParameterValue
SourceAI Guard service pod
DestinationCustomer's OneTrust tenant URL
Port443 (HTTPS)
ProtocolHTTPS
DirectionOutbound from Workernode cluster
Configservice.authorization.validation-endpoint / OT_SERVICE_BASE_URL

The service must reach the customer's OneTrust tenant to validate API tokens. This requires outbound internet access or at minimum connectivity to the tenant URL.

Internal β€” Metrics Publishing

ParameterValue
SourceAI Guard service pod
Destinationdatadiscovery-onprem-agent
Port8080
ProtocolHTTP
DirectionInternal (Kubernetes network only)
Configmetrics.exporter.collector-endpoint / DATADISCOVERY_ONPREM_AGENT_URI

Metrics are pushed to the on-prem agent over the internal Kubernetes network. No external network access is needed.

Internal β€” Classification Profiles

ParameterValue
SourceAI Guard service pod
Destinationscan-job-manager
Port8080
ProtocolHTTP
DirectionInternal (Kubernetes network only)
Configclassification.client.classifier-base-url / JOB_EXECUTOR_BASE_URL

Classification profiles are fetched from the scan job manager over the internal Kubernetes network. No external network access is needed.

Summary

ConnectionDirectionPortNetworkRequired
SDK β†’ AI GuardInbound4443ExternalYes
AI Guard β†’ OneTrust TenantOutbound443InternetYes
AI Guard β†’ onprem-agentInternal8080KubernetesFor metrics
AI Guard β†’ scan-job-managerInternal8080KubernetesFor classification

Firewall Rules

Ensure the following firewall rules are configured:

# Inbound: Allow SDK traffic to AI Guard
ALLOW TCP dst-port 4443 from <application-network-cidr> to <workernode-cidr>

# Outbound: Allow AI Guard to reach OneTrust tenant
ALLOW TCP dst-port 443 from <workernode-cidr> to <onetrust-tenant-ip>

Troubleshooting

SymptomLikely CauseResolution
SDK: connection timeoutFirewall blocking port 4443Open inbound rule for port 4443
SDK: connection refusedService not running or wrong portCheck pod status and service port
401 Unauthorized on all requestsToken validation endpoint unreachableVerify outbound access to OneTrust tenant
Metrics not appearing in AI Governanceonprem-agent not reachableCheck internal K8s DNS and connectivity
Classification returns empty resultsscan-job-manager not reachableCheck internal K8s DNS and connectivity

What's Next?