onetrust-api 1.3.3__tar.gz → 1.3.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. {onetrust_api-1.3.3/onetrust_api.egg-info → onetrust_api-1.3.5}/PKG-INFO +18 -18
  2. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/README.md +14 -14
  3. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/__init__.py +18 -0
  4. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/_operation_manifest.py +22 -22
  5. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_base.py +4 -4
  6. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/auth.py +12 -12
  7. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/connector_sources.py +1 -21
  8. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/kg_ingest.py +2 -2
  9. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp_server.py +12 -14
  10. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/__init__.py +1 -1
  11. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/certification.json +5 -5
  12. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/onetrust.ttl +1 -1
  13. onetrust_api-1.3.5/onetrust_api/skills/onetrust-api-development/SKILL.md +92 -0
  14. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-cookie-consent/SKILL.md +1 -1
  15. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-data-mapping/SKILL.md +1 -1
  16. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-privacy-assessments/SKILL.md +1 -1
  17. onetrust_api-1.3.5/onetrust_api/specs/consent-preferences-consent-management-platform-cmp.json +1 -0
  18. onetrust_api-1.3.5/onetrust_api/specs/consent-preferences-consent-receipts.json +1 -0
  19. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-cookie-consent-swagger.json +1 -1
  20. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-cookie-consent.json +1 -1
  21. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-policy-notice-management.json +1 -1
  22. onetrust_api-1.3.5/onetrust_api/specs/consent-preferences-universal-consent-preference-management-oas.json +1 -0
  23. onetrust_api-1.3.5/onetrust_api/specs/platform-access-management.json +1 -0
  24. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-user-provisioning.json +1 -1
  25. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-it-risk-management.json +1 -1
  26. {onetrust_api-1.3.3 → onetrust_api-1.3.5/onetrust_api.egg-info}/PKG-INFO +18 -18
  27. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api.egg-info/SOURCES.txt +1 -1
  28. onetrust_api-1.3.5/onetrust_api.egg-info/entry_points.txt +8 -0
  29. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api.egg-info/requires.txt +2 -2
  30. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/pyproject.toml +12 -15
  31. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_api_client_base.py +1 -1
  32. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_auth.py +4 -4
  33. onetrust_api-1.3.5/tests/test_default_content_surfaces.py +248 -0
  34. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_fleet_name.py +3 -3
  35. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_kg_ingest.py +6 -4
  36. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_onetrust_coverage.py +3 -3
  37. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_startup.py +1 -3
  38. onetrust_api-1.3.3/onetrust_api/specs/consent-preferences-consent-management-platform-cmp.json +0 -1
  39. onetrust_api-1.3.3/onetrust_api/specs/consent-preferences-consent-receipts.json +0 -1
  40. onetrust_api-1.3.3/onetrust_api/specs/consent-preferences-universal-consent-preference-management-oas.json +0 -1
  41. onetrust_api-1.3.3/onetrust_api/specs/platform-access-management.json +0 -1
  42. onetrust_api-1.3.3/onetrust_api.egg-info/entry_points.txt +0 -14
  43. onetrust_api-1.3.3/scripts/security_sanitizer.py +0 -318
  44. onetrust_api-1.3.3/tests/test_default_content_surfaces.py +0 -43
  45. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/LICENSE +0 -0
  46. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/MANIFEST.in +0 -0
  47. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/__main__.py +0 -0
  48. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/__init__.py +0 -0
  49. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_access_management.py +0 -0
  50. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_ai_governance.py +0 -0
  51. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_assessments.py +0 -0
  52. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_audit_management.py +0 -0
  53. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_bulk_export.py +0 -0
  54. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_cmp.py +0 -0
  55. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_compliance_automation.py +0 -0
  56. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_consent_interfaces.py +0 -0
  57. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_consent_receipts.py +0 -0
  58. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_cookie_consent.py +0 -0
  59. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_cookie_consent_legacy.py +0 -0
  60. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_cookie_domain_data.py +0 -0
  61. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_cross_device_consent.py +0 -0
  62. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_data_catalog.py +0 -0
  63. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_data_discovery.py +0 -0
  64. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_data_discovery_worker.py +0 -0
  65. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_data_mapping.py +0 -0
  66. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_data_mapping_legacy.py +0 -0
  67. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_documents.py +0 -0
  68. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_dsar.py +0 -0
  69. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_esg.py +0 -0
  70. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_incidents.py +0 -0
  71. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_integrations.py +0 -0
  72. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_inventory.py +0 -0
  73. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_issues_management.py +0 -0
  74. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_it_risk_management.py +0 -0
  75. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_mobile_app_consent.py +0 -0
  76. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_object_manager.py +0 -0
  77. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_policy_management.py +0 -0
  78. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_privacy_notices.py +0 -0
  79. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_task_management.py +0 -0
  80. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_tprm.py +0 -0
  81. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_training.py +0 -0
  82. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_universal_consent.py +0 -0
  83. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api/api_client_user_provisioning.py +0 -0
  84. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/api_client.py +0 -0
  85. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/connectors/__init__.py +0 -0
  86. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/__init__.py +0 -0
  87. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_access_management.py +0 -0
  88. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_ai_governance.py +0 -0
  89. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_assessments.py +0 -0
  90. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_audit_management.py +0 -0
  91. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_bulk_export.py +0 -0
  92. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_cmp.py +0 -0
  93. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_compliance_automation.py +0 -0
  94. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_consent_interfaces.py +0 -0
  95. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_consent_receipts.py +0 -0
  96. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_cookie_consent.py +0 -0
  97. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_cookie_consent_legacy.py +0 -0
  98. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_cookie_domain_data.py +0 -0
  99. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_cross_device_consent.py +0 -0
  100. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_custom_api.py +0 -0
  101. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_data_catalog.py +0 -0
  102. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_data_discovery.py +0 -0
  103. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_data_discovery_worker.py +0 -0
  104. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_data_mapping.py +0 -0
  105. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_data_mapping_legacy.py +0 -0
  106. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_documents.py +0 -0
  107. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_dsar.py +0 -0
  108. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_esg.py +0 -0
  109. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_incidents.py +0 -0
  110. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_integrations.py +0 -0
  111. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_inventory.py +0 -0
  112. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_issues_management.py +0 -0
  113. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_it_risk_management.py +0 -0
  114. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_mobile_app_consent.py +0 -0
  115. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_object_manager.py +0 -0
  116. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_policy_management.py +0 -0
  117. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_privacy_notices.py +0 -0
  118. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_task_management.py +0 -0
  119. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_tprm.py +0 -0
  120. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_training.py +0 -0
  121. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_universal_consent.py +0 -0
  122. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/mcp/mcp_user_provisioning.py +0 -0
  123. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/onetrust_models.py +0 -0
  124. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/fixtures/records.json +0 -0
  125. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/mappings/source.yaml +0 -0
  126. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/migrations/manifest.json +0 -0
  127. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/ontology/shapes/connector.shacl.ttl +0 -0
  128. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/prompts/__init__.py +0 -0
  129. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/prompts/consent_cookie_specialist.json +0 -0
  130. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/prompts/privacy_governance_specialist.json +0 -0
  131. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/__init__.py +0 -0
  132. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-api-operations/SKILL.md +0 -0
  133. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-api-operations/agents/openai.yaml +0 -0
  134. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-api-operations/references/catalog.md +0 -0
  135. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-cookie-consent/WORKFLOW.md +0 -0
  136. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-data-mapping/WORKFLOW.md +0 -0
  137. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/skills/onetrust-privacy-assessments/WORKFLOW.md +0 -0
  138. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/ai-governance.json +0 -0
  139. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-consent-interfaces.json +0 -0
  140. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-cookie-domain-data.json +0 -0
  141. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-cross-device-consent.json +0 -0
  142. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/consent-preferences-mobile-app-consent.json +0 -0
  143. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/data-use-governance-data-catalog.json +0 -0
  144. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/data-use-governance-data-discovery-worker-node.json +0 -0
  145. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/data-use-governance-data-discovery.json +0 -0
  146. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/esg-program-reporting-disclosures.json +0 -0
  147. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-bulk-export.json +0 -0
  148. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-documents.json +0 -0
  149. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-integrations.json +0 -0
  150. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-inventory.json +0 -0
  151. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-object-manager.json +0 -0
  152. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/platform-task-management.json +0 -0
  153. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/privacy-automation-assessment-automation.json +0 -0
  154. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/privacy-automation-data-mapping-automation-swagger.json +0 -0
  155. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/privacy-automation-data-mapping-automation.json +0 -0
  156. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/privacy-automation-data-subject-request-dsr-automation.json +0 -0
  157. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/privacy-automation-incident-management.json +0 -0
  158. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-audit-management.json +0 -0
  159. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-compliance-automation.json +0 -0
  160. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-enterprise-policy-management.json +0 -0
  161. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-issues-management.json +0 -0
  162. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/tech-risk-compliance-training.json +0 -0
  163. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api/specs/third-party-management-third-party-risk-management.json +0 -0
  164. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api.egg-info/dependency_links.txt +0 -0
  165. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/onetrust_api.egg-info/top_level.txt +0 -0
  166. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/requirements.txt +0 -0
  167. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/scripts/generate_from_openapi.py +0 -0
  168. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/setup.cfg +0 -0
  169. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/__init__.py +0 -0
  170. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/conftest.py +0 -0
  171. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_cxa_fl_onetrustapi_01_characterization.py +0 -0
  172. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_generate_from_openapi.py +0 -0
  173. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_mcp_server.py +0 -0
  174. {onetrust_api-1.3.3 → onetrust_api-1.3.5}/tests/test_onetrust_api_brute_force_coverage.py +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onetrust-api
3
- Version: 1.3.3
3
+ Version: 1.3.5
4
4
  Summary: OneTrust API + MCP Server + A2A Agent — 100% API coverage
5
- Author-email: Project Maintainers <maintainers@users.noreply.github.com>
5
+ Author-email: Repository Maintainers <maintainers@knuckles.team>
6
6
  License: MIT
7
7
  Classifier: Development Status :: 4 - Beta
8
8
  Classifier: License :: OSI Approved :: MIT License
@@ -12,11 +12,11 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.12
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1
15
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3
16
16
  Requires-Dist: python-dotenv>=1.2.4
17
17
  Requires-Dist: requests>=2.34.2
18
18
  Provides-Extra: mcp
19
- Requires-Dist: agent-connector-sdk[mcp]<1.0.0,>=0.4.1; extra == "mcp"
19
+ Requires-Dist: scion-sdk[mcp]<0.7.0,>=0.6.3; extra == "mcp"
20
20
  Provides-Extra: all
21
21
  Requires-Dist: onetrust-api[mcp]>=1.3.0; extra == "all"
22
22
  Provides-Extra: test
@@ -49,7 +49,7 @@ Dynamic: license-file
49
49
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/onetrust-api)
50
50
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/onetrust-api)
51
51
 
52
- *Version: 1.3.3*
52
+ *Version: 1.3.4*
53
53
 
54
54
  ## Overview
55
55
 
@@ -75,7 +75,7 @@ and a coverage test asserts the three sets stay in lock-step.
75
75
  Incidents), Tech Risk & Compliance, Third-Party Management, ESG, and Platform.
76
76
  - **Flexible auth** — a pre-minted OAuth2 bearer token *or* the OAuth2
77
77
  client-credentials flow (auto-exchanged and refreshed), plus OIDC delegation
78
- (RFC 8693) via `agent-connector-sdk`.
78
+ (RFC 8693) via `scion-sdk`.
79
79
  - **Multi-region / multi-service aware** — regional tenant pods, the consent
80
80
  privacy-portal host, and on-prem worker nodes are resolved per-operation.
81
81
  - **Resilient** — honours `429` `Retry-After`, retries transient `5xx`, and
@@ -106,7 +106,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
106
106
  | `ONETRUST_WORKER_URL` | — | On-prem Data Discovery worker-node host |
107
107
  | `TLS_PROFILE` | `private-pki` | ─── HTTP behaviour ──────────────────────────────────────────────────── TLS verification is mandatory. Select a named runtime profile from AgentConfig. |
108
108
  | `TLS_PROFILES_REF` | `secret://runtime/tls-profiles` | |
109
- | `FASTMCP_LOG_LEVEL` | `INFO` | ─── MCP transport / auth (agent-connector-sdk) ──────────────────────────── |
109
+ | `FASTMCP_LOG_LEVEL` | `INFO` | ─── MCP transport / auth (scion-sdk) ──────────────────────────── |
110
110
  | `TRANSPORT` | `stdio` | |
111
111
  | `AUTH_TYPE` | `none` | |
112
112
  | `ACCESS_MANAGEMENTTOOL` | `True` | ─── Tool Toggle Switches (per-domain <DOMAIN>TOOL; set False to disable) ─ These names match the authoritative "Toggle Env Var" column in the README MCP tools table (condensed action-routed surface). |
@@ -151,7 +151,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
151
151
  | `ONETRUST_TLS_PROFILE_REF` | — | |
152
152
  | `INGESTTOOL` | — | The drift scanner derives this name from register_ingest_tools, but this connector registers ingest tools directly and does not read this toggle. This is documentation of that limitation, not a working disable switch. |
153
153
 
154
- #### Inherited agent-connector-sdk variables (apply to every connector)
154
+ #### Inherited scion-sdk variables (apply to every connector)
155
155
 
156
156
  | Variable | Example | Description |
157
157
  |----------|---------|-------------|
@@ -175,7 +175,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
175
175
  | `PYTHONUNBUFFERED` | `1` | Unbuffered stdout (recommended in containers) |
176
176
  | `MCP_URL` | `http://localhost:8000/mcp` | URL of the MCP server the agent connects to |
177
177
 
178
- _53 package + 22 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
178
+ _53 package + 22 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
179
179
  <!-- ENV-VARS-TABLE:END -->
180
180
 
181
181
 
@@ -219,7 +219,7 @@ onetrust-mcp --transport "streamable-http" --host "0.0.0.0" --port "8000"
219
219
 
220
220
  ### Available MCP Tools
221
221
 
222
- <!-- This table is auto-generated by `python -m agent_connector_sdk.mcp.readme_tools` — do not edit by hand. -->
222
+ <!-- This table is auto-generated by `python -m scion_sdk.mcp.readme_tools` — do not edit by hand. -->
223
223
 
224
224
  <!-- MCP-TOOLS-TABLE:START -->
225
225
 
@@ -275,7 +275,7 @@ _39 intent tool(s) · 0 operation(s). Call an operation as `act(action='<operati
275
275
  <!-- MCP-CONFIG-EXAMPLES:START -->
276
276
 
277
277
  > **Install the connector-focused `[mcp]` extra.** Examples use `onetrust-api[mcp]` to add
278
- > FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
278
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
279
279
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
280
280
  > enables model orchestration.
281
281
 
@@ -532,8 +532,8 @@ Pick the extra that matches what the operator want to run:
532
532
 
533
533
  | Extra | Installs | Use when |
534
534
  |-------|----------|----------|
535
- | `onetrust-api[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
536
- | `onetrust-api[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
535
+ | `onetrust-api[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
536
+ | `onetrust-api[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
537
537
  | `onetrust-api[all]` | Everything (`mcp` + `agent`) | Development / both surfaces |
538
538
 
539
539
  ```bash
@@ -649,15 +649,15 @@ the source of truth for installation, usage, and deployment.
649
649
  ![GitHub User's stars](https://img.shields.io/github/stars/example)
650
650
 
651
651
 
652
- <!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
652
+ <!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
653
653
 
654
- ## Deploy with `agent-connector-sdk-deployment`
654
+ ## Deploy with `scion-sdk-deployment`
655
655
 
656
- Provision this package with the consolidated **`agent-connector-sdk-deployment`**
656
+ Provision this package with the consolidated **`scion-sdk-deployment`**
657
657
  workflow. It selects an installed-package, editable-source, or immutable-container
658
658
  path; records only runtime secret and TLS-profile references in `AgentConfig`; and
659
659
  runs doctor, registration, policy, observability, and rollback gates. Ask your agent
660
- to **"deploy `onetrust-api` with agent-connector-sdk-deployment"**.
660
+ to **"deploy `onetrust-api` with scion-sdk-deployment"**.
661
661
 
662
662
  | Install mode | Command |
663
663
  |------|---------|
@@ -669,7 +669,7 @@ The repository embeds no deployment profile, credential value, certificate path,
669
669
  environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
670
670
  configured secret provider.
671
671
 
672
- <!-- END agent-connector-sdk-deployment -->
672
+ <!-- END scion-sdk-deployment -->
673
673
 
674
674
  <!-- GOVERNED-CAPABILITY:START -->
675
675
  ## Governed capability contract
@@ -21,7 +21,7 @@
21
21
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/onetrust-api)
22
22
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/onetrust-api)
23
23
 
24
- *Version: 1.3.3*
24
+ *Version: 1.3.4*
25
25
 
26
26
  ## Overview
27
27
 
@@ -47,7 +47,7 @@ and a coverage test asserts the three sets stay in lock-step.
47
47
  Incidents), Tech Risk & Compliance, Third-Party Management, ESG, and Platform.
48
48
  - **Flexible auth** — a pre-minted OAuth2 bearer token *or* the OAuth2
49
49
  client-credentials flow (auto-exchanged and refreshed), plus OIDC delegation
50
- (RFC 8693) via `agent-connector-sdk`.
50
+ (RFC 8693) via `scion-sdk`.
51
51
  - **Multi-region / multi-service aware** — regional tenant pods, the consent
52
52
  privacy-portal host, and on-prem worker nodes are resolved per-operation.
53
53
  - **Resilient** — honours `429` `Retry-After`, retries transient `5xx`, and
@@ -78,7 +78,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
78
78
  | `ONETRUST_WORKER_URL` | — | On-prem Data Discovery worker-node host |
79
79
  | `TLS_PROFILE` | `private-pki` | ─── HTTP behaviour ──────────────────────────────────────────────────── TLS verification is mandatory. Select a named runtime profile from AgentConfig. |
80
80
  | `TLS_PROFILES_REF` | `secret://runtime/tls-profiles` | |
81
- | `FASTMCP_LOG_LEVEL` | `INFO` | ─── MCP transport / auth (agent-connector-sdk) ──────────────────────────── |
81
+ | `FASTMCP_LOG_LEVEL` | `INFO` | ─── MCP transport / auth (scion-sdk) ──────────────────────────── |
82
82
  | `TRANSPORT` | `stdio` | |
83
83
  | `AUTH_TYPE` | `none` | |
84
84
  | `ACCESS_MANAGEMENTTOOL` | `True` | ─── Tool Toggle Switches (per-domain <DOMAIN>TOOL; set False to disable) ─ These names match the authoritative "Toggle Env Var" column in the README MCP tools table (condensed action-routed surface). |
@@ -123,7 +123,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
123
123
  | `ONETRUST_TLS_PROFILE_REF` | — | |
124
124
  | `INGESTTOOL` | — | The drift scanner derives this name from register_ingest_tools, but this connector registers ingest tools directly and does not read this toggle. This is documentation of that limitation, not a working disable switch. |
125
125
 
126
- #### Inherited agent-connector-sdk variables (apply to every connector)
126
+ #### Inherited scion-sdk variables (apply to every connector)
127
127
 
128
128
  | Variable | Example | Description |
129
129
  |----------|---------|-------------|
@@ -147,7 +147,7 @@ so the operator can scope the surface (e.g. set `ESGTOOL=False` to drop ESG).
147
147
  | `PYTHONUNBUFFERED` | `1` | Unbuffered stdout (recommended in containers) |
148
148
  | `MCP_URL` | `http://localhost:8000/mcp` | URL of the MCP server the agent connects to |
149
149
 
150
- _53 package + 22 inherited variable(s). Auto-generated from `.env.example` + the shared agent-connector-sdk set — do not edit._
150
+ _53 package + 22 inherited variable(s). Auto-generated from `.env.example` + the shared scion-sdk set — do not edit._
151
151
  <!-- ENV-VARS-TABLE:END -->
152
152
 
153
153
 
@@ -191,7 +191,7 @@ onetrust-mcp --transport "streamable-http" --host "0.0.0.0" --port "8000"
191
191
 
192
192
  ### Available MCP Tools
193
193
 
194
- <!-- This table is auto-generated by `python -m agent_connector_sdk.mcp.readme_tools` — do not edit by hand. -->
194
+ <!-- This table is auto-generated by `python -m scion_sdk.mcp.readme_tools` — do not edit by hand. -->
195
195
 
196
196
  <!-- MCP-TOOLS-TABLE:START -->
197
197
 
@@ -247,7 +247,7 @@ _39 intent tool(s) · 0 operation(s). Call an operation as `act(action='<operati
247
247
  <!-- MCP-CONFIG-EXAMPLES:START -->
248
248
 
249
249
  > **Install the connector-focused `[mcp]` extra.** Examples use `onetrust-api[mcp]` to add
250
- > FastMCP / FastAPI through `agent-connector-sdk[mcp]`; the required Agent Utilities core
250
+ > FastMCP / FastAPI through `scion-sdk[mcp]`; the required Agent Utilities core
251
251
  > still carries `epistemic-graph[full]`. The `[agent-runtime]` extra additionally
252
252
  > enables model orchestration.
253
253
 
@@ -504,8 +504,8 @@ Pick the extra that matches what the operator want to run:
504
504
 
505
505
  | Extra | Installs | Use when |
506
506
  |-------|----------|----------|
507
- | `onetrust-api[mcp]` | Connector-focused MCP server (`agent-connector-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
508
- | `onetrust-api[agent]` | Agent runtime (`agent-connector-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
507
+ | `onetrust-api[mcp]` | Connector-focused MCP server (`scion-sdk[mcp]` — FastMCP/FastAPI + `epistemic-graph[full]`) | The operator only run the **MCP server** (smallest install / image) |
508
+ | `onetrust-api[agent]` | Agent runtime (`scion-sdk[agent-runtime,logfire]` — model orchestration + `epistemic-graph[full]`) | The operator run the **integrated agent** |
509
509
  | `onetrust-api[all]` | Everything (`mcp` + `agent`) | Development / both surfaces |
510
510
 
511
511
  ```bash
@@ -621,15 +621,15 @@ the source of truth for installation, usage, and deployment.
621
621
  ![GitHub User's stars](https://img.shields.io/github/stars/example)
622
622
 
623
623
 
624
- <!-- BEGIN agent-connector-sdk-deployment (generated; do not edit between markers) -->
624
+ <!-- BEGIN scion-sdk-deployment (generated; do not edit between markers) -->
625
625
 
626
- ## Deploy with `agent-connector-sdk-deployment`
626
+ ## Deploy with `scion-sdk-deployment`
627
627
 
628
- Provision this package with the consolidated **`agent-connector-sdk-deployment`**
628
+ Provision this package with the consolidated **`scion-sdk-deployment`**
629
629
  workflow. It selects an installed-package, editable-source, or immutable-container
630
630
  path; records only runtime secret and TLS-profile references in `AgentConfig`; and
631
631
  runs doctor, registration, policy, observability, and rollback gates. Ask your agent
632
- to **"deploy `onetrust-api` with agent-connector-sdk-deployment"**.
632
+ to **"deploy `onetrust-api` with scion-sdk-deployment"**.
633
633
 
634
634
  | Install mode | Command |
635
635
  |------|---------|
@@ -641,7 +641,7 @@ The repository embeds no deployment profile, credential value, certificate path,
641
641
  environment-specific endpoint. Supply those at runtime through `AgentConfig` and the
642
642
  configured secret provider.
643
643
 
644
- <!-- END agent-connector-sdk-deployment -->
644
+ <!-- END scion-sdk-deployment -->
645
645
 
646
646
  <!-- GOVERNED-CAPABILITY:START -->
647
647
  ## Governed capability contract
@@ -58,3 +58,21 @@ onetrust-api
58
58
 
59
59
  Python OneTrust API client + MCP server + A2A agent with 100% API coverage
60
60
  """
61
+
62
+
63
+ from scion_sdk.connector import Connector
64
+ from scion_sdk.connector_hooks import RegistrationContext
65
+
66
+
67
+ def _register_legacy_surface(context: RegistrationContext) -> None:
68
+ from onetrust_api.mcp_server import register_server_surface
69
+
70
+ vars(context.server)["_onetrust_registered_tags"] = register_server_surface(
71
+ context.server
72
+ )
73
+
74
+
75
+ connector = Connector(
76
+ instructions="OneTrust Api MCP Server",
77
+ extra_registrations=(_register_legacy_surface,),
78
+ )
@@ -1882,7 +1882,7 @@ OPERATIONS = [
1882
1882
  "name": "userId",
1883
1883
  "type": "string",
1884
1884
  "required": True,
1885
- "description": ">- `userId` can be retireved using the [Retrieve list of Users](https://{$$.env.developer}/api-reference/general/user-provisioning/user-provisioning-apis/users/getallusersusingget) API",
1885
+ "description": ">- `userId` can be retrieved using the [Retrieve list of Users](https://{$$.env.developer}/api-reference/general/user-provisioning/user-provisioning-apis/users/getallusersusingget) API",
1886
1886
  },
1887
1887
  {
1888
1888
  "name": "includeChildObjects",
@@ -1909,7 +1909,7 @@ OPERATIONS = [
1909
1909
  "in": "path",
1910
1910
  "required": True,
1911
1911
  "schema": {"type": "string"},
1912
- "description": ">- `userId` can be retireved using the [Retrieve list of Users](https://{$$.env.developer}/api-reference/general/user-provisioning/user-provisioning-apis/users/getallusersusingget) API",
1912
+ "description": ">- `userId` can be retrieved using the [Retrieve list of Users](https://{$$.env.developer}/api-reference/general/user-provisioning/user-provisioning-apis/users/getallusersusingget) API",
1913
1913
  },
1914
1914
  {
1915
1915
  "name": "includeChildObjects",
@@ -7085,7 +7085,7 @@ OPERATIONS = [
7085
7085
  "name": "deleteFinding",
7086
7086
  "type": "boolean",
7087
7087
  "required": False,
7088
- "description": "Boolean which determines if associated findings to be deleted. If TRUE, findings associated with the Audit will be deleted. If FALSE, findings will have that relationship removed but still be availabl",
7088
+ "description": "Boolean which determines if associated findings to be deleted. If TRUE, findings associated with the Audit will be deleted. If FALSE, findings will have that relationship removed but still be available",
7089
7089
  },
7090
7090
  ],
7091
7091
  "parameters": [
@@ -7101,7 +7101,7 @@ OPERATIONS = [
7101
7101
  "in": "query",
7102
7102
  "required": False,
7103
7103
  "schema": {"type": "boolean"},
7104
- "description": "Boolean which determines if associated findings to be deleted. If TRUE, findings associated with the Audit will be deleted. If FALSE, findings will have that relationship removed but still be availabl",
7104
+ "description": "Boolean which determines if associated findings to be deleted. If TRUE, findings associated with the Audit will be deleted. If FALSE, findings will have that relationship removed but still be available",
7105
7105
  },
7106
7106
  ],
7107
7107
  },
@@ -8801,7 +8801,7 @@ OPERATIONS = [
8801
8801
  "name": "publishVersion",
8802
8802
  "type": "string",
8803
8803
  "required": False,
8804
- "description": "Version to publish, by default the lastest version will be used.",
8804
+ "description": "Version to publish, by default the latest version will be used.",
8805
8805
  },
8806
8806
  {
8807
8807
  "name": "production",
@@ -8847,7 +8847,7 @@ OPERATIONS = [
8847
8847
  "in": "query",
8848
8848
  "required": False,
8849
8849
  "schema": {"type": "string"},
8850
- "description": "Version to publish, by default the lastest version will be used.",
8850
+ "description": "Version to publish, by default the latest version will be used.",
8851
8851
  },
8852
8852
  {
8853
8853
  "name": "production",
@@ -10787,7 +10787,7 @@ OPERATIONS = [
10787
10787
  "name": "website",
10788
10788
  "type": "string",
10789
10789
  "required": True,
10790
- "description": "ID of the webiste or URL of the website.",
10790
+ "description": "ID of the website or URL of the website.",
10791
10791
  },
10792
10792
  {
10793
10793
  "name": "scriptType",
@@ -10802,7 +10802,7 @@ OPERATIONS = [
10802
10802
  "in": "query",
10803
10803
  "required": True,
10804
10804
  "schema": {"type": "string"},
10805
- "description": "ID of the webiste or URL of the website.",
10805
+ "description": "ID of the website or URL of the website.",
10806
10806
  },
10807
10807
  {
10808
10808
  "name": "scriptType",
@@ -10827,7 +10827,7 @@ OPERATIONS = [
10827
10827
  "name": "website",
10828
10828
  "type": "string",
10829
10829
  "required": True,
10830
- "description": "ID of the webiste or URL of the website.",
10830
+ "description": "ID of the website or URL of the website.",
10831
10831
  },
10832
10832
  {
10833
10833
  "name": "scriptType",
@@ -10857,13 +10857,13 @@ OPERATIONS = [
10857
10857
  "name": "languageDetectionHtml",
10858
10858
  "type": "boolean",
10859
10859
  "required": False,
10860
- "description": "Indicates the script should detect the website visitors langauge based on the webpages language.",
10860
+ "description": "Indicates the script should detect the website visitors language based on the webpages language.",
10861
10861
  },
10862
10862
  {
10863
10863
  "name": "languageDetectionVisitor",
10864
10864
  "type": "boolean",
10865
10865
  "required": False,
10866
- "description": "Indicates the script should detect the website visitors langauge based on their browser language. By default this is ’True’.",
10866
+ "description": "Indicates the script should detect the website visitors language based on their browser language. By default this is ’True’.",
10867
10867
  },
10868
10868
  {
10869
10869
  "name": "languages",
@@ -10875,7 +10875,7 @@ OPERATIONS = [
10875
10875
  "name": "publishIndividualLanguages",
10876
10876
  "type": "boolean",
10877
10877
  "required": False,
10878
- "description": "By default, this flag is ‘False’. Setting to ’True’ indicates you only wish to publish a subset of langauges.",
10878
+ "description": "By default, this flag is ‘False’. Setting to ’True’ indicates you only wish to publish a subset of languages.",
10879
10879
  },
10880
10880
  {
10881
10881
  "name": "requireReconsent",
@@ -10902,7 +10902,7 @@ OPERATIONS = [
10902
10902
  "in": "query",
10903
10903
  "required": True,
10904
10904
  "schema": {"type": "string"},
10905
- "description": "ID of the webiste or URL of the website.",
10905
+ "description": "ID of the website or URL of the website.",
10906
10906
  },
10907
10907
  {
10908
10908
  "name": "scriptType",
@@ -10937,14 +10937,14 @@ OPERATIONS = [
10937
10937
  "in": "query",
10938
10938
  "required": False,
10939
10939
  "schema": {"type": "boolean"},
10940
- "description": "Indicates the script should detect the website visitors langauge based on the webpages language.",
10940
+ "description": "Indicates the script should detect the website visitors language based on the webpages language.",
10941
10941
  },
10942
10942
  {
10943
10943
  "name": "languageDetectionVisitor",
10944
10944
  "in": "query",
10945
10945
  "required": False,
10946
10946
  "schema": {"type": "boolean"},
10947
- "description": "Indicates the script should detect the website visitors langauge based on their browser language. By default this is ’True’.",
10947
+ "description": "Indicates the script should detect the website visitors language based on their browser language. By default this is ’True’.",
10948
10948
  },
10949
10949
  {
10950
10950
  "name": "languages",
@@ -10958,7 +10958,7 @@ OPERATIONS = [
10958
10958
  "in": "query",
10959
10959
  "required": False,
10960
10960
  "schema": {"type": "boolean"},
10961
- "description": "By default, this flag is ‘False’. Setting to ’True’ indicates you only wish to publish a subset of langauges.",
10961
+ "description": "By default, this flag is ‘False’. Setting to ’True’ indicates you only wish to publish a subset of languages.",
10962
10962
  },
10963
10963
  {
10964
10964
  "name": "requireReconsent",
@@ -17851,7 +17851,7 @@ OPERATIONS = [
17851
17851
  "name": "showAll",
17852
17852
  "type": "string",
17853
17853
  "required": False,
17854
- "description": "When set to `true`, returns the complete schema including all attribute details such as allowed values, validation rules, and metadata. When `false` or omitted, returns only basic attribute informatio",
17854
+ "description": "When set to `true`, returns the complete schema including all attribute details such as allowed values, validation rules, and metadata. When `false` or omitted, returns only basic attribute information",
17855
17855
  },
17856
17856
  ],
17857
17857
  "parameters": [
@@ -17867,7 +17867,7 @@ OPERATIONS = [
17867
17867
  "in": "query",
17868
17868
  "required": False,
17869
17869
  "schema": {"type": "string"},
17870
- "description": "When set to `true`, returns the complete schema including all attribute details such as allowed values, validation rules, and metadata. When `false` or omitted, returns only basic attribute informatio",
17870
+ "description": "When set to `true`, returns the complete schema including all attribute details such as allowed values, validation rules, and metadata. When `false` or omitted, returns only basic attribute information",
17871
17871
  },
17872
17872
  ],
17873
17873
  },
@@ -35193,7 +35193,7 @@ OPERATIONS = [
35193
35193
  "name": "DOISendConfirmationEmail",
35194
35194
  "type": "boolean",
35195
35195
  "required": False,
35196
- "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom emai",
35196
+ "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email",
35197
35197
  },
35198
35198
  {
35199
35199
  "name": "DoiEmailToParent",
@@ -35580,7 +35580,7 @@ OPERATIONS = [
35580
35580
  "in": "query",
35581
35581
  "required": False,
35582
35582
  "schema": {"type": "boolean"},
35583
- "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom emai",
35583
+ "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email",
35584
35584
  },
35585
35585
  {
35586
35586
  "name": "DoiEmailToParent",
@@ -36064,7 +36064,7 @@ OPERATIONS = [
36064
36064
  "name": "DOISendConfirmationEmail",
36065
36065
  "type": "boolean",
36066
36066
  "required": False,
36067
- "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom emai",
36067
+ "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email",
36068
36068
  },
36069
36069
  {
36070
36070
  "name": "DoiEmailToParent",
@@ -36513,7 +36513,7 @@ OPERATIONS = [
36513
36513
  "in": "query",
36514
36514
  "required": False,
36515
36515
  "schema": {"type": "boolean"},
36516
- "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom emai",
36516
+ "description": "Double Opt In child setting to send the confirmation email or not. Note: the confirmation link is included in the Data Subject Profile Updated integrations event, which can be used to send custom email",
36517
36517
  },
36518
36518
  {
36519
36519
  "name": "DoiEmailToParent",
@@ -24,15 +24,15 @@ import time
24
24
  from typing import Any, TypeVar
25
25
 
26
26
  import requests
27
- from agent_connector_sdk.exceptions import (
27
+ from pydantic import ValidationError
28
+ from scion_sdk.exceptions import (
28
29
  AuthError,
29
30
  MissingParameterError,
30
31
  ParameterError,
31
32
  UnauthorizedError,
32
33
  )
33
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
34
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
35
- from pydantic import ValidationError
34
+ from scion_sdk.tls.profile import ResolvedTLSProfile
35
+ from scion_sdk.tls.resolve import resolve_tls_profile
36
36
 
37
37
  from onetrust_api.onetrust_models import Response
38
38
 
@@ -4,7 +4,7 @@ Authentication priority:
4
4
 
5
5
  1. **OIDC Delegation** — If ``ENABLE_DELEGATION`` is active, exchanges the
6
6
  IdP-issued user token for a downstream OneTrust access token via RFC 8693
7
- Token Exchange using ``agent_connector_sdk.auth.delegation``.
7
+ Token Exchange using ``scion_sdk.auth.delegation``.
8
8
  2. **Fixed Credentials** — Falls back to a pre-minted bearer token
9
9
  (``ONETRUST_TOKEN``) or an OAuth2 client-credentials pair
10
10
  (``ONETRUST_CLIENT_ID`` / ``ONETRUST_CLIENT_SECRET``).
@@ -15,10 +15,10 @@ import threading
15
15
  from dataclasses import dataclass
16
16
  from typing import Any
17
17
 
18
- from agent_connector_sdk.config import setting
19
- from agent_connector_sdk.exceptions import AuthError, UnauthorizedError
20
- from agent_connector_sdk.tls.profile import ResolvedTLSProfile
21
- from agent_connector_sdk.tls.resolve import resolve_tls_profile
18
+ from scion_sdk.config import setting
19
+ from scion_sdk.exceptions import AuthError, UnauthorizedError
20
+ from scion_sdk.tls.profile import ResolvedTLSProfile
21
+ from scion_sdk.tls.resolve import resolve_tls_profile
22
22
 
23
23
  local = threading.local()
24
24
  from onetrust_api.api_client import Api
@@ -91,11 +91,11 @@ def _is_delegation_enabled(config: dict[str, Any] | None) -> bool:
91
91
 
92
92
  An explicit ``config`` dict (test injection only -- no production caller
93
93
  passes one) wins outright; otherwise reads the real ``ENABLE_DELEGATION``
94
- setting through ``agent_connector_sdk.auth.delegation.DelegationSettings``.
94
+ setting through ``scion_sdk.auth.delegation.DelegationSettings``.
95
95
  """
96
96
  if config is not None:
97
97
  return bool(config.get("enable_delegation", False))
98
- from agent_connector_sdk.auth.delegation import DelegationSettings
98
+ from scion_sdk.auth.delegation import DelegationSettings
99
99
 
100
100
  return DelegationSettings.from_settings().enabled
101
101
 
@@ -107,18 +107,18 @@ def _delegated_client(
107
107
 
108
108
  Reads delegation settings (``OIDC_TOKEN_URL``/``OIDC_CLIENT_ID``/
109
109
  ``OIDC_CLIENT_SECRET_REF``/``AUDIENCE``/``DELEGATED_SCOPES``) from the
110
- process settings via ``agent_connector_sdk.auth.delegation.DelegationSettings``;
111
- unlike the old ``agent_connector_sdk`` helper, this has no per-call ``config``
110
+ process settings via ``scion_sdk.auth.delegation.DelegationSettings``;
111
+ unlike the old ``scion_sdk`` helper, this has no per-call ``config``
112
112
  override for those fields, only for whether delegation is attempted at all
113
113
  (see :func:`_is_delegation_enabled`).
114
114
  """
115
115
  import httpx
116
- from agent_connector_sdk.auth.delegation import (
116
+ from scion_sdk.auth.delegation import (
117
117
  DelegationSettings,
118
118
  current_user_token,
119
119
  exchange_token,
120
120
  )
121
- from agent_connector_sdk.exceptions import LoginRequiredError
121
+ from scion_sdk.exceptions import LoginRequiredError
122
122
 
123
123
  try:
124
124
  settings = DelegationSettings.from_settings()
@@ -184,7 +184,7 @@ def get_client(
184
184
  Credentials resolve live through the shared config layer (the one XDG
185
185
  ``config.json`` / env), read at call time rather than frozen at import.
186
186
  Supports OIDC delegation, a fixed bearer token, and the OAuth2
187
- client-credentials flow via ``agent_connector_sdk.auth.delegation``.
187
+ client-credentials flow via ``scion_sdk.auth.delegation``.
188
188
  """
189
189
  resolved = _resolve_client_config(
190
190
  _ClientOverrides(
@@ -6,8 +6,7 @@ Served live as ``connector://resources``. Regenerate by editing the declarations
6
6
  # ruff: noqa: E501
7
7
  from __future__ import annotations
8
8
 
9
- from agent_connector_sdk.ingest.live_declaration import source_meta
10
- from agent_connector_sdk.ingest.sources import IngestSourceDeclaration, IngestSourceSpec
9
+ from scion_sdk.ingest.live_declaration import source_meta
11
10
 
12
11
  CONNECTOR = "onetrust-mcp"
13
12
 
@@ -233,22 +232,3 @@ RESOURCES = (
233
232
  "name": "Inventory",
234
233
  },
235
234
  )
236
-
237
-
238
- def declaration() -> IngestSourceDeclaration:
239
- """The declaration the server assembles from this module."""
240
- specs = []
241
- for item in SOURCES:
242
- for entry in item["connector_sources"]:
243
- body = {k: v for k, v in entry.items() if k not in ("tool", "mapping")}
244
- specs.append(
245
- IngestSourceSpec.model_validate({**body, "tools": (entry["tool"],)})
246
- )
247
- return IngestSourceDeclaration.model_validate(
248
- {
249
- "connector": CONNECTOR,
250
- "sources": specs,
251
- "schema_mappings": SCHEMA_MAPPINGS,
252
- "resources": RESOURCES,
253
- }
254
- )
@@ -1,7 +1,7 @@
1
1
  """Epistemic-graph ingestion for OneTrust records.
2
2
 
3
3
  CONCEPT:AU-KG.ingest.enterprise-source-extractor. Connector-specific mappers emit
4
- canonical node_type nodes and relationship edges. ``agent_connector_sdk.ingest`` --
4
+ canonical node_type nodes and relationship edges. ``scion_sdk.ingest`` --
5
5
  the generated ``SourceIngest`` client, not a local ingestion helper -- owns the
6
6
  transaction and raises ``IngestError`` when epistemic-graph cannot commit.
7
7
  """
@@ -10,7 +10,7 @@ from __future__ import annotations
10
10
 
11
11
  from typing import Any
12
12
 
13
- from agent_connector_sdk.ingest import (
13
+ from scion_sdk.ingest import (
14
14
  ChangeSet,
15
15
  Document,
16
16
  Entity,
@@ -4,17 +4,18 @@ import logging
4
4
  import sys
5
5
  from typing import Any
6
6
 
7
- from agent_connector_sdk.config import load_config
8
- from agent_connector_sdk.mcp.server import create_mcp_server
9
- from agent_connector_sdk.mcp.tool_surface import register_tool_surface
10
7
  from fastmcp import FastMCP
11
8
  from fastmcp.utilities.logging import get_logger
9
+ from scion_sdk.config import load_config
10
+ from scion_sdk.connector import build_server
11
+ from scion_sdk.connector_identity import connector_version
12
+ from scion_sdk.mcp.tool_surface import register_tool_surface
12
13
 
13
14
  from onetrust_api.api._operation_manifest import OPERATIONS
14
15
  from onetrust_api.api_client import Api
15
16
  from onetrust_api.auth import get_client
16
17
 
17
- __version__ = "1.3.3"
18
+ __version__ = connector_version("onetrust_api")
18
19
 
19
20
  # Redirect logging to stderr to prevent MCP stdout corruption
20
21
  logger = get_logger(name="onetrust_mcp")
@@ -122,16 +123,16 @@ def register_ingest_tools(mcp: FastMCP):
122
123
  return {"listed": len(records), "ingested": nodes}
123
124
 
124
125
 
125
- def get_mcp_instance() -> tuple[Any, Any, Any, Any]:
126
+ def get_mcp_instance(*, command_args=None) -> tuple[Any, Any, Any, Any]:
126
127
  """Initialize and return the OneTrust Api MCP instance, args, and middlewares."""
127
128
  load_config()
128
129
 
129
- args, mcp, middlewares = create_mcp_server(
130
- name="OneTrust Api MCP",
131
- version=__version__,
132
- instructions="OneTrust Api MCP Server",
133
- )
130
+ args, mcp = build_server("onetrust_api", command_args=command_args)
131
+ return mcp, args, list(mcp.middleware), vars(mcp)["_onetrust_registered_tags"]
132
+
134
133
 
134
+ def register_server_surface(mcp: FastMCP) -> list[str]:
135
+ """Reuse the manifest-backed surface, prompts and ingest tools in order."""
135
136
  # One central call selects the surface per MCP_TOOL_MODE: condensed gates each
136
137
  # generated TOOL_REGISTRY domain via setting("<TAG>TOOL", True); verbose adds
137
138
  # the fully-typed 1:1 tools sourced from the OpenAPI manifest (OPERATIONS).
@@ -149,10 +150,7 @@ def get_mcp_instance() -> tuple[Any, Any, Any, Any]:
149
150
  register_prompts(mcp)
150
151
  register_ingest_tools(mcp)
151
152
 
152
- for mw in middlewares:
153
- mcp.add_middleware(mw)
154
-
155
- return mcp, args, middlewares, registered_tags
153
+ return registered_tags
156
154
 
157
155
 
158
156
  def mcp_server():