Governance
Sovereignty Compliance

Sovereignty Compliance

Track, audit, and remediate data sovereignty violations across your agent fleet.

Violation Records

When a sovereignty violation is detected — either by the agent runtime or the security gateway — a SovereigntyViolationSummary is recorded:

FieldDescription
runIdAgent run that produced the violation
agentIdAgent that triggered the violation
turnIndexTurn within the run
toolNameTool that was invoked
piiCategoriesPII types detected (e.g., ['email', 'name'])
fromJurisdictionSource jurisdiction
toJurisdictionDestination jurisdiction
regulationViolated regulation (e.g., 'GDPR Art. 44-49')
timestampUnix timestamp

Querying Violations

Via Control Plane

import { RemoteControlPlaneClient } from '@veridex/agents-control-plane';
 
const client = new RemoteControlPlaneClient({
  baseUrl: 'https://cp.example.com',
  token: process.env.CP_TOKEN,
});
 
const traces = await client.queryTraces({
  eventType: 'sovereignty_violation',
  startAfter: Date.now() - 30 * 86_400_000, // last 30 days
});

Via Agent Events

agent.events.on('sovereignty_violation', (violation) => {
  logger.warn('Sovereignty violation', {
    agent: violation.agentId,
    tool: violation.toolName,
    pii: violation.piiCategories,
    route: `${violation.fromJurisdiction}${violation.toJurisdiction}`,
    regulation: violation.regulation,
  });
});

Compliance Reports

Export sovereignty violations as part of evidence bundles:

import { exportTraces, generateEvidenceBundle } from '@veridex/agents-control-plane';
 
const bundle = await generateEvidenceBundle(traceId, policyDecisions, approvalDecisions);
// bundle includes sovereignty violations with full context

Remediation

Violation TypeRecommended Action
Cross-border PII transfer (blocked)Route data to compliant jurisdiction, obtain user consent
PII detected in tool output (flagged)Review data flow, add PII scrubbing
Missing jurisdiction mappingConfigure toolJurisdictions in sovereignty pack
Recurring violationsUpdate policy packs to block at source

Related