Skip to main content

Anthropic Claude

This Integration is part of the Anthropic Claude Pack.#

Supported versions

Available on Cortex XSOAR (versions 6.0.0 and later) and Cortex XSIAM.

Designed to assist security professionals with security investigations, threat hunting, and anomaly detection, leveraging Anthropic Claude's natural language conversational capabilities.

Configure Anthropic Claude on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.
  2. Search for Anthropic Claude.
  3. Click Add instance to create and configure a new integration instance.
ParameterDescriptionRequired
Server URLTrue
API KeyAnthropic API Key used for the LLM commands (claude-send-message, claude-check-email-*, claude-create-soc-email-template). Generate one at https://console.anthropic.com/keys.False
ModelThe model that will process the inputs and generate the response.False
Model (Optional - overrides selected choice)The model that will process the inputs and generate the response.False
Max tokensThe maximum number of tokens that can be generated for the response. Required by Anthropic's API (defaults to 1024).True
TemperatureSets the randomness in responses. Lower values (closer to 0) produce more deterministic and consistent outputs, while higher values (up to 1) increase randomness and variety.False
Top PEnables nucleus sampling where only the top 'p' percent (0 to 1) of probable tokens are considered. Lower values result in more focused outputs, while higher values increase diversity.False
Compliance Access KeyAnthropic Compliance Access Key (sk-ant-api01-...) used for event collection and the read-only compliance commands. Required to fetch events and to run the claude-list-* / claude-get-* commands.False
Organization UUIDThe default Organization UUID to use for compliance commands that accept an org_uuid argument. The command argument overrides this value when provided.False
Fetch eventsFalse
Activity typesA comma-separated list of Activity Feed types to narrow the feed (e.g., user.login,chat.created). Leave empty to fetch all activity types. See the available activity types here: https://platform.claude.com/docs/en/api/compliance/activities/list.False
Maximum number of events per fetchThe maximum number of events to fetch per cycle. Defaults to 50000 (5000 x 10 calls).False
Trust any certificate (not secure)False
Use system proxy settingsFalse
  1. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

claude-send-message#


Send a plain message to the selected Claude model and receive the generated response.

Base Command#

claude-send-message

Input#

Argument NameDescriptionRequired
messageThe message that the Claude model will respond to.Required
reset_conversation_historyWhether to keep previously sent messages in a conversation context or start a new conversation. Possible values are: yes, no.Optional
max_tokensThe maximum number of tokens that can be generated for the response.Optional
temperatureSets the randomness in responses. Lower values (closer to 0) produce more deterministic and consistent outputs, while higher values (up to 1) increase randomness and variety.Optional
top_p(0-1) Enables nucleus sampling where only the top 'p' percent of probable tokens are considered. Lower values result in more focused outputs, while higher values increase diversity.Optional

Context Output#

PathTypeDescription
AnthropicClaude.ConversationDictionaryEntire conversation (if not reset) between the user and the Claude model.

claude-check-email-header#


Checking email header for possible security issues. It is possible to keep asking questions on the provided info using 'claude-send-message'. Resets conversation context by default.

Base Command#

claude-check-email-header

Input#

Argument NameDescriptionRequired
entry_idEntry ID of an uploaded '.eml' file.Required
additional_instructionsAdditional instructions or security issue to focus on.Optional
max_tokensThe maximum number of tokens that can be generated for the response.Optional
temperatureSets the randomness in responses. Lower values (closer to 0) produce more deterministic and consistent outputs, while higher values (up to 1) increase randomness and variety.Optional
top_pEnables nucleus sampling where only the top 'p' percent of probable tokens are considered. Lower values result in more focused outputs, while higher values increase diversity.Optional

Context Output#

PathTypeDescription
AnthropicClaude.ConversationDictionaryEntire conversation (if not reset) between the user and the Claude model.

claude-check-email-body#


Check email body for possible security issues. It is possible to keep asking questions on the provided info using 'claude-send-message'. Resets conversation context by default.

Base Command#

claude-check-email-body

Input#

Argument NameDescriptionRequired
entry_idEntry ID of an uploaded '.eml' file.Required
additional_instructionsAdditional instructions or security issue to focus on.Optional
max_tokensThe maximum number of tokens that can be generated for the response.Optional
temperatureSets the randomness in responses. Lower values (closer to 0) produce more deterministic and consistent outputs, while higher values (up to 1) increase randomness and variety.Optional
top_pEnables nucleus sampling where only the top 'p' percent of probable tokens are considered. Lower values result in more focused outputs, while higher values increase diversity.Optional

Context Output#

PathTypeDescription
AnthropicClaude.ConversationDictionaryEntire conversation (if not reset) between the user and the Claude model.

claude-create-soc-email-template#


Create an email template out of the conversation context to be sent from the SOC.

Base Command#

claude-create-soc-email-template

Input#

Argument NameDescriptionRequired
additional_instructionsAdditional instructions or security issue to focus on.Optional
max_tokensThe maximum number of tokens that can be generated for the response.Optional
temperatureSets the randomness in responses. Lower values (closer to 0) produce more deterministic and consistent outputs, while higher values (up to 1) increase randomness and variety.Optional
top_pEnables nucleus sampling where only the top 'p' percent of probable tokens are considered. Lower values result in more focused outputs, while higher values increase diversity.Optional

Context Output#

PathTypeDescription
AnthropicClaude.ConversationDictionaryEntire conversation (if not reset) between the user and the Claude model.

claude-list-chats#


List chats metadata (Compliance API).

Base Command#

claude-list-chats

Input#

Argument NameDescriptionRequired
user_idsUp to 10 user IDs. Run claude-list-organization-users first to obtain them.Required
organization_idsFilter by organization UUID(s).Optional
project_idsFilter by project ID(s).Optional
created_at_gteRFC 3339 lower bound on creation time (example: 2025-06-07T08:09:10Z).Optional
created_at_lteRFC 3339 upper bound on creation time.Optional
updated_at_gteRFC 3339 lower bound on update time.Optional
updated_at_lteRFC 3339 upper bound on update time.Optional
limitPage size.Optional
after_idCursor - walk toward newer chats.Optional
before_idCursor - walk toward older chats.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Chat.idStringThe chat ID.
AnthropicClaude.Chat.nameStringThe chat name.
AnthropicClaude.Chat.created_atDateThe chat creation time.
AnthropicClaude.Chat.updated_atDateThe chat update time.
AnthropicClaude.Chat.modelStringThe model used in the chat.
AnthropicClaude.Chat.organization_uuidStringThe organization UUID.
AnthropicClaude.Chat.project_idStringThe project ID.

claude-list-groups#


List groups, or retrieve a single group when group_id is provided (Compliance API).

Base Command#

claude-list-groups

Input#

Argument NameDescriptionRequired
group_idWhen provided, returns that single group instead of the list.Optional
limitPage size (list mode only).Optional
next_tokenPage token (list mode only).Optional

Context Output#

PathTypeDescription
AnthropicClaude.Group.idStringThe group ID.
AnthropicClaude.Group.nameStringThe group name.
AnthropicClaude.Group.descriptionStringThe group description.
AnthropicClaude.Group.source_typeStringThe group source type (direct or scim).
AnthropicClaude.Group.rolesUnknownArray of role IDs assigned to the group.
AnthropicClaude.Group.created_atDateThe group creation time.
AnthropicClaude.Group.updated_atDateThe group update time.

claude-get-events#


Manually retrieve Activity Feed events from the Anthropic Compliance API for testing and troubleshooting.

Base Command#

claude-get-events

Input#

Argument NameDescriptionRequired
limitMaximum number of events to retrieve. Default is 50.Optional
should_push_eventsIf true, the events are pushed to Cortex XSIAM. Possible values are: true, false. Default is false.Optional
activity_typesA comma-separated list of Activity Feed types to narrow the feed.Optional

Context Output#

There is no context output for this command.

claude-list-roles#


List roles of an organization, or retrieve a single role when role_id is provided (Compliance API).

Base Command#

claude-list-roles

Input#

Argument NameDescriptionRequired
org_uuidOrganization UUID. Overrides the instance Organization UUID parameter when provided.Optional
role_idWhen provided, returns that single role instead of the list.Optional
limitMaximum number of roles to return. Maximum: 1000. Default is 50.Optional
next_tokenPage token (list mode only).Optional

Context Output#

PathTypeDescription
AnthropicClaude.Organization.Role.idStringThe role ID.
AnthropicClaude.Organization.Role.nameStringThe role name.
AnthropicClaude.Organization.Role.descriptionStringThe role description.
AnthropicClaude.Organization.Role.created_atDateThe role creation time.
AnthropicClaude.Organization.Role.updated_atDateThe role update time.

claude-list-projects#


List projects, or retrieve a single project when project_id is provided (Compliance API).

Base Command#

claude-list-projects

Input#

Argument NameDescriptionRequired
project_idWhen provided, returns that single project instead of the list.Optional
limitMaximum number of projects to return. Maximum: 100. Default is 50.Optional
next_tokenPage token (list mode only).Optional

Context Output#

PathTypeDescription
AnthropicClaude.Project.idStringThe project ID.
AnthropicClaude.Project.nameStringThe project name.
AnthropicClaude.Project.is_privateBooleanWhether the project is private.
AnthropicClaude.Project.organization_uuidStringThe organization UUID.
AnthropicClaude.Project.created_atDateThe project creation time.
AnthropicClaude.Project.updated_atDateThe project update time.

claude-list-project-attachments#


List the attachments of a project (Compliance API).

Base Command#

claude-list-project-attachments

Input#

Argument NameDescriptionRequired
project_idProject ID.Required
next_tokenPage token.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Project.Attachment.idStringThe attachment ID.
AnthropicClaude.Project.Attachment.filenameStringThe attachment filename.
AnthropicClaude.Project.Attachment.mime_typeStringThe attachment MIME type.
AnthropicClaude.Project.Attachment.typeStringThe attachment type (project_file or project_doc).
AnthropicClaude.Project.Attachment.created_atDateThe attachment creation time.

claude-list-organization-users#


List the users of an organization (Compliance API).

Base Command#

claude-list-organization-users

Input#

Argument NameDescriptionRequired
org_uuidOrganization UUID. Overrides the instance Organization UUID parameter when provided.Optional
limitMaximum number of users to return. Maximum: 1000. Default is 50.Optional
next_tokenPage token from a previous response's next_page.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Organization.User.idStringThe user ID.
AnthropicClaude.Organization.User.full_nameStringThe user full name.
AnthropicClaude.Organization.User.emailStringThe user email.
AnthropicClaude.Organization.User.organization_roleStringThe user's role in the organization.
AnthropicClaude.Organization.User.created_atDateThe user creation time.

claude-list-role-permissions#


List the permissions of a role (Compliance API).

Base Command#

claude-list-role-permissions

Input#

Argument NameDescriptionRequired
org_uuidOrganization UUID. Overrides the instance Organization UUID parameter when provided.Optional
role_idRole ID.Required
limitMaximum number of permissions to return. Maximum: 1000. Default is 50.Optional
next_tokenPage token.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Organization.Role.Permission.resource_typeStringThe permission resource type.
AnthropicClaude.Organization.Role.Permission.resource_idStringThe permission resource ID.
AnthropicClaude.Organization.Role.Permission.actionStringThe permission action.

claude-list-group-members#


List the members of a group (Compliance API).

Base Command#

claude-list-group-members

Input#

Argument NameDescriptionRequired
group_idGroup ID.Required
limitMaximum number of members to return. Maximum: 1000. Default is 50.Optional
next_tokenPage token.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Group.Member.user_idStringThe member user ID.
AnthropicClaude.Group.Member.emailStringThe member email.
AnthropicClaude.Group.Member.created_atDateThe membership creation time.
AnthropicClaude.Group.Member.updated_atDateThe membership update time.

claude-get-project-document#


Retrieve a project document including its text content (Compliance API).

Base Command#

claude-get-project-document

Input#

Argument NameDescriptionRequired
project_idProject ID.Required
document_idProject document ID.Required

Context Output#

PathTypeDescription
AnthropicClaude.ProjectDocument.idStringThe document ID.
AnthropicClaude.ProjectDocument.filenameStringThe document filename.
AnthropicClaude.ProjectDocument.mime_typeStringThe document MIME type.
AnthropicClaude.ProjectDocument.created_atDateThe document creation time.
AnthropicClaude.ProjectDocument.contentStringThe document text content.

claude-list-organizations#


List the organizations under the parent organization (Compliance API).

Base Command#

claude-list-organizations

Input#

Argument NameDescriptionRequired
limitClient-side cap on the number of organizations returned. Maximum: 1000. Default is 50.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Organization.uuidStringThe organization UUID.
AnthropicClaude.Organization.nameStringThe organization name.
AnthropicClaude.Organization.created_atDateThe organization creation time.

claude-list-chat-messages#


List the messages of a chat (Compliance API).

Base Command#

claude-list-chat-messages

Input#

Argument NameDescriptionRequired
chat_idChat ID.Required
limitMaximum number of messages to return. Maximum: 1000. Default is 50.Optional
after_idCursor.Optional
before_idCursor.Optional
orderSort direction. Possible values are: asc, desc.Optional
created_at_gteRFC 3339 lower bound on creation time.Optional
created_at_lteRFC 3339 upper bound on creation time.Optional
updated_at_gteRFC 3339 lower bound on update time.Optional
updated_at_lteRFC 3339 upper bound on update time.Optional

Context Output#

PathTypeDescription
AnthropicClaude.Chat.Message.idStringThe message ID.
AnthropicClaude.Chat.Message.roleStringThe message role (user or assistant).
AnthropicClaude.Chat.Message.created_atDateThe message creation time.

claude-chat-file-delete#


Permanently delete a Claude file (a conversation file or a project binary file) via the Compliance API. This is an irreversible hard delete, and it requires a Compliance Access Key with the delete:compliance_user_data scope. Deleting an already-deleted or unknown file ID succeeds (idempotent).

Base Command#

claude-chat-file-delete

Input#

Argument NameDescriptionRequired
file_idThe Claude file ID to permanently delete (e.g., claudefile...). Deletes a file uploaded in a conversation or a project binary file (project_file). This is an irreversible hard delete.Required

Context Output#

PathTypeDescription
AnthropicClaude.DeletedFile.idStringThe ID of the file that was deleted.
AnthropicClaude.DeletedFile.typeStringThe deletion confirmation type (claude_file_deleted).
AnthropicClaude.DeletedFile.DeletedBooleanThe deletion result for the file (true when deleted).

Command example#

!claude-chat-file-delete file_id=claude_file_011CbqYrHZoNLmjzW2AC53fK

Context Example#

{
"AnthropicClaude": {
"DeletedFile": {
"Deleted": true,
"id": "claude_file_011CbqYrHZoNLmjzW2AC53fK",
"type": "claude_file_deleted"
}
}
}

Human Readable Output#

File deleted#

idtypeDeleted
claude_file_011CbqYrHZoNLmjzW2AC53fKclaude_file_deletedtrue

claude-project-document-delete#


Permanently delete a Claude project document (a plain-text project_doc) via the Compliance API. This is an irreversible hard delete, and it requires a Compliance Access Key with the delete:compliance_user_data scope. Deleting an already-deleted or unknown document ID succeeds (idempotent).

Base Command#

claude-project-document-delete

Input#

Argument NameDescriptionRequired
document_idThe Claude project document ID to permanently delete (e.g., claudeproj_doc...). Applies to project plain-text documents (project_doc). This is an irreversible hard delete.Required

Context Output#

PathTypeDescription
AnthropicClaude.DeletedProjectDocument.idStringThe ID of the project document that was deleted.
AnthropicClaude.DeletedProjectDocument.typeStringThe deletion confirmation type (claude_project_document_deleted).
AnthropicClaude.DeletedProjectDocument.DeletedBooleanThe deletion result for the project document (true when deleted).

Command example#

!claude-project-document-delete document_id=claude_proj_doc_011CbqYrHZoNLmjzW2AC53fK

Context Example#

{
"AnthropicClaude": {
"DeletedProjectDocument": {
"Deleted": true,
"id": "claude_proj_doc_011CbqYrHZoNLmjzW2AC53fK",
"type": "claude_project_document_deleted"
}
}
}

Human Readable Output#

Project document deleted#

idtypeDeleted
claude_proj_doc_011CbqYrHZoNLmjzW2AC53fKclaude_project_document_deletedtrue