AnthropicClaudeApiModule
Provides common Anthropic Claude Compliance API code shared by the AnthropicClaude and AnthropicClaudeStandardConnector integrations.
python · ApiModules
Details
| ID | AnthropicClaudeApiModule |
|---|---|
| Language | python |
| From Version | 6.10.0 |
| Docker Image | demisto/parse-emails:0.1.48.10569905 |
| Tags | infra server |
README
AnthropicClaudeApiModule
Common Anthropic Claude Compliance API code shared by:
- The full
AnthropicClaudeintegration (parent pack, all commands + event collector). - The narrower
AnthropicClaudeStandardConnectorintegration (ConnectUs satellite pack, delete commands only).
The module carries only what the two irreversible compliance delete commands
(claude-chat-file-delete and claude-project-document-delete) need. The LLM
client, the compliance list/get commands, and the event collector stay inline
in the parent pack because they are not shared.
What lives here
Config— retry/back-off constants and the compliance-key docs URL.ApiPaths— the two flat delete paths (CHAT_FILES,PROJECT_DOCUMENTS).ComplianceClient— subclass ofBaseClientthat:- Pre-populates the
x-api-keyheader on the legacy Cortex XSOAR path. - Overrides
_apply_ucp_api_keyto writex-api-key(notAuthorization: Bearer …) on the ConnectUs / UCP path.
- Pre-populates the
ensure_compliance_key,_delete_command,chat_file_delete_command,project_document_delete_command.
UCP auth override
The ConnectUs profile for this connector uses type: api_key with
metadata.auth.parameter: api_key. The Content Serialization Protocol aliases
that to the envelope key key. Because the Anthropic Compliance API rejects
Bearer auth and requires x-api-key, the client overrides the default
BaseClient._apply_ucp_api_key and writes the header directly.
commonfields: id: AnthropicClaudeApiModule version: -1 name: AnthropicClaudeApiModule script: '' type: python subtype: python3 tags: - infra - server comment: Provides common Anthropic Claude Compliance API code shared by the AnthropicClaude and AnthropicClaudeStandardConnector integrations. system: true scripttarget: 0 dependson: {} timeout: 0s dockerimage: demisto/parse-emails:0.1.48.10569905 fromversion: 6.10.0 tests: - No tests