AnthropicClaudeApiModule
Supported versions
Available on Cortex XSOAR (versions 6.10.0 and later), Cortex XSIAM, and Cortex XPANSE.
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.