onetrust-api 1.3.2__tar.gz → 1.3.4__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 (172) hide show
  1. {onetrust_api-1.3.2/onetrust_api.egg-info → onetrust_api-1.3.4}/PKG-INFO +4 -4
  2. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/README.md +1 -1
  3. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/__init__.py +18 -0
  4. onetrust_api-1.3.4/onetrust_api/connector_sources.py +234 -0
  5. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp_server.py +10 -12
  6. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/certification.json +0 -3
  7. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/onetrust.ttl +10 -5
  8. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/prompts/consent_cookie_specialist.json +0 -2
  9. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/prompts/privacy_governance_specialist.json +0 -2
  10. {onetrust_api-1.3.2 → onetrust_api-1.3.4/onetrust_api.egg-info}/PKG-INFO +4 -4
  11. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api.egg-info/SOURCES.txt +2 -2
  12. onetrust_api-1.3.4/onetrust_api.egg-info/entry_points.txt +8 -0
  13. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api.egg-info/requires.txt +2 -2
  14. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/pyproject.toml +4 -13
  15. onetrust_api-1.3.4/tests/test_default_content_surfaces.py +248 -0
  16. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_fleet_name.py +3 -14
  17. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_kg_ingest.py +1 -1
  18. onetrust_api-1.3.4/tests/test_publication_workflow.py +81 -0
  19. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_startup.py +0 -2
  20. onetrust_api-1.3.2/onetrust_api/connectors/mcp_source_presets.json +0 -33
  21. onetrust_api-1.3.2/onetrust_api/connectors/tool_schema_fingerprints.json +0 -9
  22. onetrust_api-1.3.2/onetrust_api.egg-info/entry_points.txt +0 -17
  23. onetrust_api-1.3.2/tests/test_default_content_surfaces.py +0 -43
  24. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/LICENSE +0 -0
  25. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/MANIFEST.in +0 -0
  26. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/__main__.py +0 -0
  27. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/__init__.py +0 -0
  28. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/_operation_manifest.py +0 -0
  29. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_access_management.py +0 -0
  30. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_ai_governance.py +0 -0
  31. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_assessments.py +0 -0
  32. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_audit_management.py +0 -0
  33. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_base.py +0 -0
  34. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_bulk_export.py +0 -0
  35. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_cmp.py +0 -0
  36. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_compliance_automation.py +0 -0
  37. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_consent_interfaces.py +0 -0
  38. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_consent_receipts.py +0 -0
  39. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_cookie_consent.py +0 -0
  40. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_cookie_consent_legacy.py +0 -0
  41. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_cookie_domain_data.py +0 -0
  42. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_cross_device_consent.py +0 -0
  43. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_data_catalog.py +0 -0
  44. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_data_discovery.py +0 -0
  45. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_data_discovery_worker.py +0 -0
  46. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_data_mapping.py +0 -0
  47. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_data_mapping_legacy.py +0 -0
  48. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_documents.py +0 -0
  49. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_dsar.py +0 -0
  50. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_esg.py +0 -0
  51. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_incidents.py +0 -0
  52. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_integrations.py +0 -0
  53. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_inventory.py +0 -0
  54. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_issues_management.py +0 -0
  55. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_it_risk_management.py +0 -0
  56. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_mobile_app_consent.py +0 -0
  57. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_object_manager.py +0 -0
  58. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_policy_management.py +0 -0
  59. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_privacy_notices.py +0 -0
  60. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_task_management.py +0 -0
  61. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_tprm.py +0 -0
  62. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_training.py +0 -0
  63. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_universal_consent.py +0 -0
  64. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api/api_client_user_provisioning.py +0 -0
  65. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/api_client.py +0 -0
  66. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/auth.py +0 -0
  67. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/connectors/__init__.py +0 -0
  68. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/kg_ingest.py +0 -0
  69. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/__init__.py +0 -0
  70. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_access_management.py +0 -0
  71. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_ai_governance.py +0 -0
  72. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_assessments.py +0 -0
  73. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_audit_management.py +0 -0
  74. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_bulk_export.py +0 -0
  75. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_cmp.py +0 -0
  76. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_compliance_automation.py +0 -0
  77. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_consent_interfaces.py +0 -0
  78. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_consent_receipts.py +0 -0
  79. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_cookie_consent.py +0 -0
  80. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_cookie_consent_legacy.py +0 -0
  81. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_cookie_domain_data.py +0 -0
  82. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_cross_device_consent.py +0 -0
  83. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_custom_api.py +0 -0
  84. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_data_catalog.py +0 -0
  85. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_data_discovery.py +0 -0
  86. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_data_discovery_worker.py +0 -0
  87. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_data_mapping.py +0 -0
  88. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_data_mapping_legacy.py +0 -0
  89. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_documents.py +0 -0
  90. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_dsar.py +0 -0
  91. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_esg.py +0 -0
  92. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_incidents.py +0 -0
  93. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_integrations.py +0 -0
  94. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_inventory.py +0 -0
  95. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_issues_management.py +0 -0
  96. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_it_risk_management.py +0 -0
  97. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_mobile_app_consent.py +0 -0
  98. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_object_manager.py +0 -0
  99. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_policy_management.py +0 -0
  100. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_privacy_notices.py +0 -0
  101. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_task_management.py +0 -0
  102. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_tprm.py +0 -0
  103. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_training.py +0 -0
  104. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_universal_consent.py +0 -0
  105. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/mcp/mcp_user_provisioning.py +0 -0
  106. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/onetrust_models.py +0 -0
  107. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/__init__.py +0 -0
  108. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/fixtures/records.json +0 -0
  109. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/mappings/source.yaml +0 -0
  110. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/migrations/manifest.json +0 -0
  111. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/ontology/shapes/connector.shacl.ttl +0 -0
  112. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/prompts/__init__.py +0 -0
  113. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/__init__.py +0 -0
  114. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-api-operations/SKILL.md +0 -0
  115. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-api-operations/agents/openai.yaml +0 -0
  116. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-api-operations/references/catalog.md +0 -0
  117. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-cookie-consent/SKILL.md +0 -0
  118. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-cookie-consent/WORKFLOW.md +0 -0
  119. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-data-mapping/SKILL.md +0 -0
  120. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-data-mapping/WORKFLOW.md +0 -0
  121. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-privacy-assessments/SKILL.md +0 -0
  122. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/skills/onetrust-privacy-assessments/WORKFLOW.md +0 -0
  123. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/ai-governance.json +0 -0
  124. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-consent-interfaces.json +0 -0
  125. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-consent-management-platform-cmp.json +0 -0
  126. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-consent-receipts.json +0 -0
  127. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-cookie-consent-swagger.json +0 -0
  128. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-cookie-consent.json +0 -0
  129. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-cookie-domain-data.json +0 -0
  130. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-cross-device-consent.json +0 -0
  131. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-mobile-app-consent.json +0 -0
  132. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-policy-notice-management.json +0 -0
  133. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/consent-preferences-universal-consent-preference-management-oas.json +0 -0
  134. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/data-use-governance-data-catalog.json +0 -0
  135. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/data-use-governance-data-discovery-worker-node.json +0 -0
  136. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/data-use-governance-data-discovery.json +0 -0
  137. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/esg-program-reporting-disclosures.json +0 -0
  138. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-access-management.json +0 -0
  139. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-bulk-export.json +0 -0
  140. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-documents.json +0 -0
  141. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-integrations.json +0 -0
  142. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-inventory.json +0 -0
  143. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-object-manager.json +0 -0
  144. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-task-management.json +0 -0
  145. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/platform-user-provisioning.json +0 -0
  146. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/privacy-automation-assessment-automation.json +0 -0
  147. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/privacy-automation-data-mapping-automation-swagger.json +0 -0
  148. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/privacy-automation-data-mapping-automation.json +0 -0
  149. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/privacy-automation-data-subject-request-dsr-automation.json +0 -0
  150. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/privacy-automation-incident-management.json +0 -0
  151. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-audit-management.json +0 -0
  152. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-compliance-automation.json +0 -0
  153. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-enterprise-policy-management.json +0 -0
  154. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-issues-management.json +0 -0
  155. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-it-risk-management.json +0 -0
  156. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/tech-risk-compliance-training.json +0 -0
  157. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api/specs/third-party-management-third-party-risk-management.json +0 -0
  158. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api.egg-info/dependency_links.txt +0 -0
  159. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/onetrust_api.egg-info/top_level.txt +0 -0
  160. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/requirements.txt +0 -0
  161. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/scripts/generate_from_openapi.py +0 -0
  162. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/scripts/security_sanitizer.py +0 -0
  163. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/setup.cfg +0 -0
  164. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/__init__.py +0 -0
  165. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/conftest.py +0 -0
  166. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_api_client_base.py +0 -0
  167. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_auth.py +0 -0
  168. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_cxa_fl_onetrustapi_01_characterization.py +0 -0
  169. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_generate_from_openapi.py +0 -0
  170. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_mcp_server.py +0 -0
  171. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_onetrust_api_brute_force_coverage.py +0 -0
  172. {onetrust_api-1.3.2 → onetrust_api-1.3.4}/tests/test_onetrust_coverage.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onetrust-api
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: OneTrust API + MCP Server + A2A Agent — 100% API coverage
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -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.3.18
15
+ Requires-Dist: scion-sdk[mcp]<1.0.0,>=0.5.6
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.3.18; extra == "mcp"
19
+ Requires-Dist: scion-sdk[mcp]<1.0.0,>=0.5.6; 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.2*
52
+ *Version: 1.3.4*
53
53
 
54
54
  ## Overview
55
55
 
@@ -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.2*
24
+ *Version: 1.3.4*
25
25
 
26
26
  ## Overview
27
27
 
@@ -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 agent_connector_sdk.connector import Connector
64
+ from agent_connector_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
+ )
@@ -0,0 +1,234 @@
1
+ """Data sources of this connector, declared by tool name (generated by connector-ontology-map migrate).
2
+
3
+ Served live as ``connector://resources``. Regenerate by editing the declarations, not the tools.
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+ from __future__ import annotations
8
+
9
+ from agent_connector_sdk.ingest.live_declaration import source_meta
10
+
11
+ CONNECTOR = "onetrust-mcp"
12
+
13
+ SOURCES = (
14
+ source_meta(
15
+ tool="onetrust_get_all_assessment_basic_details_using_get",
16
+ source_id="onetrust-assessments",
17
+ record_type="Assessment",
18
+ id_field="assessmentId",
19
+ cursor_field="lastUpdated",
20
+ page_param="page",
21
+ page_size_param="size",
22
+ pagination="page",
23
+ preset={
24
+ "doc_type": "assessment",
25
+ "page_kind": "number",
26
+ "params_style": "args",
27
+ },
28
+ records_path="data",
29
+ server="onetrust-mcp",
30
+ text_field="templateName",
31
+ title_field="name",
32
+ ),
33
+ source_meta(
34
+ tool="onetrust_get_list_of_inventories_using_get",
35
+ source_id="onetrust-inventory",
36
+ record_type="Inventory",
37
+ id_field="id",
38
+ cursor_field="lastUpdated",
39
+ page_param="page",
40
+ page_size_param="size",
41
+ pagination="page",
42
+ preset={
43
+ "doc_type": "inventory",
44
+ "page_kind": "number",
45
+ "params_style": "args",
46
+ },
47
+ records_path="data",
48
+ server="onetrust-mcp",
49
+ text_field="description",
50
+ title_field="name",
51
+ ),
52
+ )
53
+
54
+ SCHEMA_MAPPINGS = {
55
+ "Assessment": {
56
+ "fields": {
57
+ "cookieCategory": "xsd:string",
58
+ "deadline": "xsd:string",
59
+ "externalId": "xsd:string",
60
+ "host": "xsd:string",
61
+ "inventoryType": "xsd:string",
62
+ "lifespan": "xsd:string",
63
+ "number": "xsd:string",
64
+ "result": "xsd:string",
65
+ "riskLevel": "xsd:string",
66
+ "riskScore": "xsd:decimal",
67
+ "status": "xsd:string",
68
+ "thirdParty": "xsd:boolean",
69
+ },
70
+ "ontology_class": None,
71
+ },
72
+ "AssessmentTemplate": {
73
+ "fields": {
74
+ "cookieCategory": "xsd:string",
75
+ "deadline": "xsd:string",
76
+ "externalId": "xsd:string",
77
+ "host": "xsd:string",
78
+ "inventoryType": "xsd:string",
79
+ "lifespan": "xsd:string",
80
+ "number": "xsd:string",
81
+ "result": "xsd:string",
82
+ "riskLevel": "xsd:string",
83
+ "riskScore": "xsd:decimal",
84
+ "status": "xsd:string",
85
+ "thirdParty": "xsd:boolean",
86
+ },
87
+ "ontology_class": None,
88
+ },
89
+ "ConsentReceipt": {
90
+ "fields": {
91
+ "cookieCategory": "xsd:string",
92
+ "deadline": "xsd:string",
93
+ "externalId": "xsd:string",
94
+ "host": "xsd:string",
95
+ "inventoryType": "xsd:string",
96
+ "lifespan": "xsd:string",
97
+ "number": "xsd:string",
98
+ "result": "xsd:string",
99
+ "riskLevel": "xsd:string",
100
+ "riskScore": "xsd:decimal",
101
+ "status": "xsd:string",
102
+ "thirdParty": "xsd:boolean",
103
+ },
104
+ "ontology_class": None,
105
+ },
106
+ "Cookie": {
107
+ "fields": {
108
+ "cookieCategory": "xsd:string",
109
+ "deadline": "xsd:string",
110
+ "externalId": "xsd:string",
111
+ "host": "xsd:string",
112
+ "inventoryType": "xsd:string",
113
+ "lifespan": "xsd:string",
114
+ "number": "xsd:string",
115
+ "result": "xsd:string",
116
+ "riskLevel": "xsd:string",
117
+ "riskScore": "xsd:decimal",
118
+ "status": "xsd:string",
119
+ "thirdParty": "xsd:boolean",
120
+ },
121
+ "ontology_class": None,
122
+ },
123
+ "CookieDomain": {
124
+ "fields": {
125
+ "cookieCategory": "xsd:string",
126
+ "deadline": "xsd:string",
127
+ "externalId": "xsd:string",
128
+ "host": "xsd:string",
129
+ "inventoryType": "xsd:string",
130
+ "lifespan": "xsd:string",
131
+ "number": "xsd:string",
132
+ "result": "xsd:string",
133
+ "riskLevel": "xsd:string",
134
+ "riskScore": "xsd:decimal",
135
+ "status": "xsd:string",
136
+ "thirdParty": "xsd:boolean",
137
+ },
138
+ "ontology_class": None,
139
+ },
140
+ "DataElement": {
141
+ "fields": {
142
+ "cookieCategory": "xsd:string",
143
+ "deadline": "xsd:string",
144
+ "externalId": "xsd:string",
145
+ "host": "xsd:string",
146
+ "inventoryType": "xsd:string",
147
+ "lifespan": "xsd:string",
148
+ "number": "xsd:string",
149
+ "result": "xsd:string",
150
+ "riskLevel": "xsd:string",
151
+ "riskScore": "xsd:decimal",
152
+ "status": "xsd:string",
153
+ "thirdParty": "xsd:boolean",
154
+ },
155
+ "ontology_class": None,
156
+ },
157
+ "DataSubject": {
158
+ "fields": {
159
+ "cookieCategory": "xsd:string",
160
+ "deadline": "xsd:string",
161
+ "externalId": "xsd:string",
162
+ "host": "xsd:string",
163
+ "inventoryType": "xsd:string",
164
+ "lifespan": "xsd:string",
165
+ "number": "xsd:string",
166
+ "result": "xsd:string",
167
+ "riskLevel": "xsd:string",
168
+ "riskScore": "xsd:decimal",
169
+ "status": "xsd:string",
170
+ "thirdParty": "xsd:boolean",
171
+ },
172
+ "ontology_class": None,
173
+ },
174
+ "Inventory": {
175
+ "fields": {
176
+ "cookieCategory": "xsd:string",
177
+ "deadline": "xsd:string",
178
+ "externalId": "xsd:string",
179
+ "host": "xsd:string",
180
+ "inventoryType": "xsd:string",
181
+ "lifespan": "xsd:string",
182
+ "number": "xsd:string",
183
+ "result": "xsd:string",
184
+ "riskLevel": "xsd:string",
185
+ "riskScore": "xsd:decimal",
186
+ "status": "xsd:string",
187
+ "thirdParty": "xsd:boolean",
188
+ },
189
+ "ontology_class": None,
190
+ },
191
+ }
192
+
193
+ RESOURCES = (
194
+ {
195
+ "id_prefix": "assessment",
196
+ "label": "Assessment",
197
+ "name": "Assessment",
198
+ },
199
+ {
200
+ "id_prefix": "assessmenttemplate",
201
+ "label": "Assessment Template",
202
+ "name": "AssessmentTemplate",
203
+ },
204
+ {
205
+ "id_prefix": "consentreceipt",
206
+ "label": "Consent Receipt",
207
+ "name": "ConsentReceipt",
208
+ },
209
+ {
210
+ "id_prefix": "cookie",
211
+ "label": "Cookie",
212
+ "name": "Cookie",
213
+ },
214
+ {
215
+ "id_prefix": "cookiedomain",
216
+ "label": "Cookie Domain",
217
+ "name": "CookieDomain",
218
+ },
219
+ {
220
+ "id_prefix": "dataelement",
221
+ "label": "Data Element",
222
+ "name": "DataElement",
223
+ },
224
+ {
225
+ "id_prefix": "datasubject",
226
+ "label": "Data Subject",
227
+ "name": "DataSubject",
228
+ },
229
+ {
230
+ "id_prefix": "inventory",
231
+ "label": "Inventory Record",
232
+ "name": "Inventory",
233
+ },
234
+ )
@@ -5,7 +5,8 @@ import sys
5
5
  from typing import Any
6
6
 
7
7
  from agent_connector_sdk.config import load_config
8
- from agent_connector_sdk.mcp.server import create_mcp_server
8
+ from agent_connector_sdk.connector import build_server
9
+ from agent_connector_sdk.connector_identity import connector_version
9
10
  from agent_connector_sdk.mcp.tool_surface import register_tool_surface
10
11
  from fastmcp import FastMCP
11
12
  from fastmcp.utilities.logging import get_logger
@@ -14,7 +15,7 @@ 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.2"
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():
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "api_version": "arbora.io/v1",
3
3
  "artifacts": {
4
- "connector_manifest.yml": "1a8b73faace7484546029f7106e1f2f8d1068f32405b57541909519415f6fbb9",
5
- "onetrust_api/connectors/mcp_source_presets.json": "468df6da898dd721ccdd65a5d418c569f1607c984a8e2397c002e086c9b01296",
6
- "onetrust_api/connectors/tool_schema_fingerprints.json": "283f2cc283103148a312741a4bb60e94a58dc3693cefbdd2c6ef2a0b57d34c9d",
7
4
  "onetrust_api/ontology/fixtures/records.json": "2477764beb1371ec2a6644e015135e2f7088a2bec6697052a4a402e06cb5b87d",
8
5
  "onetrust_api/ontology/mappings/source.yaml": "6aaaf1e64fcd9c12284a3f6121be43c6086d626b277fd5056949c3a022354074",
9
6
  "onetrust_api/ontology/migrations/manifest.json": "3a2a2b64f7038569b8e096313e70789bad95387e2b97ecb2f17c00d993c4d894",
@@ -15,9 +15,8 @@
15
15
 
16
16
  # --- classes (owl:Class) ---
17
17
 
18
- :Assessment a owl:Class ;
19
- rdfs:label "Assessment" ;
20
- rdfs:comment "A OneTrust privacy/risk assessment instance (PIA/DPIA/TRA) launched from a template (onetrust_assessments)." .
18
+ :Assessment a owl:Class .
19
+
21
20
 
22
21
  :AssessmentTemplate a owl:Class ;
23
22
  rdfs:label "Assessment Template" ;
@@ -164,5 +163,11 @@
164
163
  rdfs:comment """OneTrust trust-governance model — privacy/risk assessments (PIA/DPIA)
165
164
  and their templates, the data inventory and its data elements + data subjects, and
166
165
  cookie-consent scan results (cookies and the domains they were found on) — federated
167
- into the agent-connector-sdk knowledge-graph hub's enterprise layer.""" ;
168
- owl:imports <http://knuckles.team/kg/enterprise> .
166
+ into the agent-connector-sdk knowledge-graph hub's enterprise layer.""" .
167
+
168
+ # ontology-codemod R3
169
+ <http://knuckles.team/kg#AssessmentTemplate> rdfs:subClassOf <http://knuckles.team/kg#Template> .
170
+
171
+ # ontology-codemod R4
172
+ <http://knuckles.team/kg#Cookie> rdfs:subClassOf <http://knuckles.team/kg#Artifact> .
173
+ <http://knuckles.team/kg#CookieDomain> rdfs:subClassOf <http://knuckles.team/kg#Place> .
@@ -4,8 +4,6 @@
4
4
  "schema_version": "1.0",
5
5
  "prompt_version": "0.1.0",
6
6
  "source": "onetrust-api",
7
- "extends": "agent-connector-sdk:base",
8
- "compose": "append",
9
7
  "description": "OneTrust consent & cookie specialist: cookie scanning, categorization, and consent-script publishing over the onetrust-api MCP server.",
10
8
  "metadata": {
11
9
  "topic": "OneTrust Cookie Consent",
@@ -4,8 +4,6 @@
4
4
  "schema_version": "1.0",
5
5
  "prompt_version": "0.1.0",
6
6
  "source": "onetrust-api",
7
- "extends": "agent-connector-sdk:base",
8
- "compose": "append",
9
7
  "description": "OneTrust privacy-governance specialist: privacy/risk assessments and the data inventory over the onetrust-api MCP server.",
10
8
  "metadata": {
11
9
  "topic": "OneTrust Privacy Governance",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: onetrust-api
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: OneTrust API + MCP Server + A2A Agent — 100% API coverage
5
5
  Author-email: Project Maintainers <maintainers@users.noreply.github.com>
6
6
  License: MIT
@@ -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.3.18
15
+ Requires-Dist: scion-sdk[mcp]<1.0.0,>=0.5.6
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.3.18; extra == "mcp"
19
+ Requires-Dist: scion-sdk[mcp]<1.0.0,>=0.5.6; 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.2*
52
+ *Version: 1.3.4*
53
53
 
54
54
  ## Overview
55
55
 
@@ -7,6 +7,7 @@ onetrust_api/__init__.py
7
7
  onetrust_api/__main__.py
8
8
  onetrust_api/api_client.py
9
9
  onetrust_api/auth.py
10
+ onetrust_api/connector_sources.py
10
11
  onetrust_api/kg_ingest.py
11
12
  onetrust_api/mcp_server.py
12
13
  onetrust_api/onetrust_models.py
@@ -55,8 +56,6 @@ onetrust_api/api/api_client_training.py
55
56
  onetrust_api/api/api_client_universal_consent.py
56
57
  onetrust_api/api/api_client_user_provisioning.py
57
58
  onetrust_api/connectors/__init__.py
58
- onetrust_api/connectors/mcp_source_presets.json
59
- onetrust_api/connectors/tool_schema_fingerprints.json
60
59
  onetrust_api/mcp/__init__.py
61
60
  onetrust_api/mcp/mcp_access_management.py
62
61
  onetrust_api/mcp/mcp_ai_governance.py
@@ -163,4 +162,5 @@ tests/test_kg_ingest.py
163
162
  tests/test_mcp_server.py
164
163
  tests/test_onetrust_api_brute_force_coverage.py
165
164
  tests/test_onetrust_coverage.py
165
+ tests/test_publication_workflow.py
166
166
  tests/test_startup.py
@@ -0,0 +1,8 @@
1
+ [agent_connector_sdk.connector]
2
+ onetrust-mcp = onetrust_api:connector
3
+
4
+ [agent_connector_sdk.prompt_providers]
5
+ onetrust-api = onetrust_api.prompts
6
+
7
+ [console_scripts]
8
+ onetrust-mcp = onetrust_api.mcp_server:mcp_server
@@ -1,4 +1,4 @@
1
- agent-connector-sdk[mcp]<1.0.0,>=0.3.18
1
+ scion-sdk[mcp]<1.0.0,>=0.5.6
2
2
  python-dotenv>=1.2.4
3
3
  requests>=2.34.2
4
4
 
@@ -6,7 +6,7 @@ requests>=2.34.2
6
6
  onetrust-api[mcp]>=1.3.0
7
7
 
8
8
  [mcp]
9
- agent-connector-sdk[mcp]<1.0.0,>=0.3.18
9
+ scion-sdk[mcp]<1.0.0,>=0.5.6
10
10
 
11
11
  [test]
12
12
  pytest-xdist>=3.8.0
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "onetrust-api"
7
- version = "1.3.2"
7
+ version = "1.3.4"
8
8
  description = "OneTrust API + MCP Server + A2A Agent — 100% API coverage"
9
9
  readme = "README.md"
10
10
  classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Environment :: Console", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3",]
11
11
  requires-python = ">=3.12"
12
- dependencies = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0", "python-dotenv>=1.2.4", "requests>=2.34.2",]
12
+ dependencies = [ "scion-sdk[mcp]>=0.5.6,<1.0.0", "python-dotenv>=1.2.4", "requests>=2.34.2",]
13
13
  [[project.authors]]
14
14
  name = "Project Maintainers"
15
15
  email = "maintainers@users.noreply.github.com"
@@ -18,7 +18,7 @@ email = "maintainers@users.noreply.github.com"
18
18
  text = "MIT"
19
19
 
20
20
  [project.optional-dependencies]
21
- mcp = [ "agent-connector-sdk[mcp]>=0.3.18,<1.0.0",]
21
+ mcp = [ "scion-sdk[mcp]>=0.5.6,<1.0.0",]
22
22
  all = [ "onetrust-api[mcp]>=1.3.0",]
23
23
  test = [
24
24
  "pytest-xdist>=3.8.0", "pytest>=9.1.1", "pytest-asyncio>=1.4.0", "pytest-cov>=7.1.0",]
@@ -26,21 +26,12 @@ test = [
26
26
  [project.scripts]
27
27
  onetrust-mcp = "onetrust_api.mcp_server:mcp_server"
28
28
 
29
- [project.entry-points."agent_connector_sdk.skill_providers"]
30
- onetrust-api = "onetrust_api.skills"
31
-
32
- [project.entry-points."agent_connector_sdk.ontology_providers"]
33
- onetrust-api = "onetrust_api.ontology"
34
-
35
- [project.entry-points."agent_connector_sdk.source_connector_providers"]
36
- onetrust-api = "onetrust_api.connectors"
37
-
38
29
  [project.entry-points."agent_connector_sdk.prompt_providers"]
39
30
  onetrust-api = "onetrust_api.prompts"
40
31
 
41
32
  # The one declared connector identity: the fleet name (SDK-CONNECTOR-CONTROL-R071).
42
33
  [project.entry-points."agent_connector_sdk.connector"]
43
- onetrust-mcp = "onetrust_api"
34
+ onetrust-mcp = "onetrust_api:connector"
44
35
 
45
36
  [tool.uv.workspace]
46
37
  members = ["."]