CrowdStrike

Overview

The CrowdStrike connector enables your AI Colleagues to integrate with your organization's CrowdStrike Falcon platform, facilitating automated security operations, incident management, detection lifecycle management, device operations, and user administration workflows.

CrowdStrike Falcon is a cloud-native endpoint security platform that provides comprehensive visibility into endpoint activities and real-time threat detection and prevention. The CrowdStrike connector allows Leena AI to automate security workflows, manage incidents and detections, perform device remediation actions, and administer users and roles seamlessly.

API Details

Leena AI integrates with CrowdStrike via REST APIs.

Documentation link: https://falcon.crowdstrike.com/documentation

Setup

The CrowdStrike connector uses OAuth 2.0 authentication with the client credentials grant type.

Prerequisites

Before setting up the CrowdStrike connector, ensure you have:

  • Administrator access to your CrowdStrike Falcon Console
  • Access to CrowdStrike API Clients and Keys management
  • Ability to create OAuth API clients in CrowdStrike
  • Access to your Leena AI workspace with connector management permissions

Get credentials

Here is how to create an OAuth API client in CrowdStrike Falcon Console:

  1. Log in to CrowdStrike Falcon Console (Ensure you're signed in as an admin).
  2. Navigate to API Clients and Keys:
    1. Go to Support and resources in the navigation menu
    2. Select API Clients and Keys
  3. Create API Client:
    1. Click Create API client
    2. Enter a Client name (e.g., "Leena AI Integration")
    3. Enter a Description for your API client
  4. Configure API Scopes:
    1. Enable the required scopes based on the actions you need to perform:
      • Detections: Read and Write (for detection management)
      • Incidents: Read and Write (for incident management)
      • Hosts: Read and Write (for device operations)
      • User Management: Read and Write (for user administration)
      • Alerts: Read and Write (for alert management)
  5. Save and Note Credentials:
    1. Click Create
    2. Copy the Client ID (32-character lowercase hexadecimal string)
    3. Copy the Client Secret (40-character alphanumeric string)
    4. Note: The Secret is displayed only once during creation - store it securely
  6. Identify Your API URL:
    1. Your API base URL depends on your CrowdStrike cloud region:
      • US-1: https://api.crowdstrike.com
      • US-2: https://api.us-2.crowdstrike.com
      • EU-1: https://api.eu-1.crowdstrike.com
      • US-GOV-1: https://api.laggar.gcw.crowdstrike.com

Add connection

Here is how to add a connection on Leena AI:

  1. Log in to your Leena AI workspace
  2. Navigate to Settings > Integrations
  3. Search for "CrowdStrike" and select it from the list to add its new connector
  4. Start configuring the connector:
    1. Client Id: OAuth API client ID from CrowdStrike
    2. Client Secret: OAuth API client secret from CrowdStrike
    3. API URL: Your CrowdStrike API base URL (e.g., https://api.us-2.crowdstrike.com)
  5. Complete Connection Setup:
    1. Click Connect in Leena AI for CrowdStrike connector setup
    2. The connector will authenticate using the provided credentials
    3. Upon successful authentication, the connector will be saved

Actions

The following actions are supported for the CrowdStrike connector:

Incidents: Get Incidents

Retrieves a list of incident IDs from CrowdStrike Falcon. The Agent can leverage the skill (workflow), which has been designed to query incidents using Falcon Query Language (FQL), once the user raises a query to do so.

Input Parameters

Here are the input parameters required to set up this action:

Optional

NameDescription
FilterFQL syntax to filter incidents
LimitMaximum number of results to return
OffsetIndex to start pagination
SortSort results using supported fields (e.g., start|desc)

Here is a sample JSON input:

{
  "filter": "status:'new'+state:'open'",
  "limit": "50",
  "offset": "0",
  "sort": "start|desc"
}

Response

Upon successful query, the action returns:

  • List of incident IDs
  • Pagination metadata
  • Query execution status

Incidents: Get Incident By ID

Retrieves detailed information for specific incidents by their IDs. The Agent can leverage this action to fetch comprehensive incident details for investigation purposes.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Incident IDsEnter incident ID(s), comma-separated for multiple

Here is a sample JSON input:

{
  "ids": "inc:abc123xyz789:1234567890,inc:def456uvw012:0987654321"
}

Response

Upon successful retrieval, the action returns:

  • Incident details including status, severity, and timestamps
  • Associated hosts and users
  • Incident timeline and events
  • Tags and assigned analysts

Incidents: Perform Incident Action

Updates an existing incident in CrowdStrike Falcon. The Agent can leverage this action to modify incident status, assign analysts, add comments, and manage tags.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Incident IDsEnter incident ID(s), comma-separated for multiple

Optional

NameDescription
Add CommentAdd a comment to the incident(s)
Add TagAdd a tag to the incident(s)
Delete TagDelete a tag from the incident(s)
Update NameUpdate the name of the incident(s)
Update DescriptionUpdate the description of the incident(s)
Update StatusUpdate status, options: New (20), Reopened (25), In Progress (30), Closed (40)
Assign To User UUIDUUID of the user to assign
UnassignUnassign the incident from the current analyst
Update DetectsUpdate associated detections
Overwrite DetectsOverwrite existing set of associated detections

Here is a sample JSON input:

{
  "ids": "inc:abc123xyz789:1234567890",
  "action_parameters": {
    "update_status": "30",
    "add_comment": "Investigation in progress - analyzing endpoint logs",
    "add_tag": "high-priority",
    "update_assigned_to_v2": "user-uuid-12345"
  }
}

Response

Upon successful update, the action returns:

  • Confirmation of successful update
  • Updated incident properties
  • Modification timestamp

Detections: Get Detects

Retrieves a list of detection IDs from CrowdStrike Falcon. The Agent can leverage this action to query detections using FQL filtering and full-text search.

Input Parameters

Here are the input parameters required to set up this action:

Optional

NameDescription
FilterFQL filter (e.g., status:'new')
LimitMaximum number of resources to return
OffsetStarting index of overall result set from which to return resources
QuerySearch all detection metadata for the provided string
SortSort order (e.g., first_behavior.asc, last_behavior.desc)

Here is a sample JSON input:

{
  "filter": "status:'new'+severity:'high'",
  "limit": "100",
  "offset": "0",
  "sort": "last_behavior|desc"
}

Response

Upon successful query, the action returns:

  • List of detection IDs
  • Pagination metadata
  • Query execution status

Detections: Update Detects

Updates the state of one or more detections in CrowdStrike Falcon. The Agent can leverage this action to change status, assign analysts, add comments, and control visibility.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Detection IDsEnter detection ID(s)

Optional

NameDescription
Assign To User UUIDUUID of the user to assign
CommentAdd a comment to the detection(s)
New Behaviors ProcessedNew behaviors processed
Show in UIWhether to display this detection in the Falcon console
StatusDetection status, options: Ignored, New, In Progress, True Positive, False Positive

Here is a sample JSON input:

{
  "ids": "ldt:abc123xyz789:1234567890",
  "status": "in_progress",
  "assigned_to_uuid": "user-uuid-12345",
  "comment": "Investigating suspicious activity",
  "show_in_ui": true
}

Response

Upon successful update, the action returns:

  • Confirmation of successful update
  • Updated detection properties
  • Modification timestamp

Alerts: Get Alerts

Retrieves a list of alert IDs from CrowdStrike Falcon. The Agent can leverage this action to query alerts with filtering and search capabilities.

Input Parameters

Here are the input parameters required to set up this action:

Optional

NameDescription
FilterFQL filter for alerts
Include HiddenInclude hidden alerts in results
LimitMaximum number of results to return
OffsetIndex to start pagination
SortSort order for results
QueryFull-text search query

Here is a sample JSON input:

{
  "filter": "severity:'critical'",
  "include_hidden": false,
  "limit": "50",
  "offset": "0",
  "sort": "created_timestamp|desc"
}

Response

Upon successful query, the action returns:

  • List of alert IDs
  • Pagination metadata
  • Query execution status

Alerts: Update Alerts

Updates the state of one or more alerts in CrowdStrike Falcon. The Agent can leverage this action to manage alert status, assignment, tags, and visibility.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Composite IDsAlert composite IDs to update

Optional

NameDescription
Add TagAdd a tag to the alert(s)
Append CommentAppend a comment to the alert(s)
Assign To NameName of the user to assign
Assign To User IDUser ID to assign
Assign To UUIDUUID of the user to assign
New Behavior ProcessedNew behavior processed
Remove TagRemove a tag from the alert(s)
Remove Tag By PrefixRemove tags by prefix
Show In UIWhether to display in the Falcon console
UnassignUnassign the alert
Update StatusUpdate alert status
Include HiddenInclude hidden alerts

Here is a sample JSON input:

{
  "composite_ids": "alert_composite_id_123",
  "action_parameters": {
    "add_tag": "reviewed",
    "append_comment": "Alert reviewed and escalated",
    "assign_to_uuid": "user-uuid-12345",
    "update_status": "in_progress",
    "show_in_ui": true
  }
}

Response

Upon successful update, the action returns:

  • Confirmation of successful update
  • Updated alert properties
  • Modification timestamp

Devices: Get Combined Devices by Filter

Retrieves a comprehensive list of devices from CrowdStrike Falcon with detailed information. The Agent can leverage this action to search, sort, and paginate through large device datasets.

Input Parameters

Here are the input parameters required to set up this action:

Optional

NameDescription
FieldsSpecific fields to return (e.g., device_id,first_login_user,last_login_user)
FilterFQL filter for devices
LimitMaximum number of results to return
OffsetIndex to start pagination
SortSort order for results

Here is a sample JSON input:

{
  "filter": "platform_name:'Windows'+status:'normal'",
  "fields": "device_id,hostname,platform_name,os_version",
  "limit": "100",
  "offset": "0",
  "sort": "hostname|asc"
}

Response

Upon successful query, the action returns:

  • List of device details
  • Device properties including hostname, OS, agent version
  • Network configuration and logged-in users
  • Pagination metadata

Devices: Get Device Details

Retrieves detailed information for specific devices by their IDs. The Agent can leverage this action to fetch comprehensive device information for investigation purposes.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Device IDsEnter the device ID, comma-separated for multiple

Here is a sample JSON input:

{
  "ids": "device_id_123abc,device_id_456def"
}

Response

Upon successful retrieval, the action returns:

  • Device details including hostname and platform
  • Agent version and configuration
  • Network configuration
  • Security policies applied
  • Logged-in users history

Devices: Perform Action on Device

Executes a remediation or management action on one or more CrowdStrike devices. The Agent can leverage this action to contain threats, manage host visibility, and control detection suppression.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
Action NameThe action to perform, options: Contain, Lift Containment, Detection Suppress, Detection Unsuppress, Hide Host, Unhide Host
Device IDsComma separated list of device IDs

Here is a sample JSON input:

{
  "action_name": "contain",
  "ids": "device_id_123abc,device_id_456def"
}

Response

Upon successful execution, the action returns:

  • Confirmation of action execution
  • Affected device IDs
  • Action execution status

Users: Create User

Creates a new user account in CrowdStrike Falcon. The Agent can leverage this action to automate user onboarding and provisioning workflows.

Input Parameters

Here are the input parameters required to set up this action:

Mandatory

NameDescription
First NameUser's first name
Last NameUser's last name
User IDUser email ID

Here is a sample JSON input:

{
  "first_name": "John",
  "last_name": "Doe",
  "uid": "[email protected]"
}

Response

Upon successful creation, the action returns:

  • Created user details
  • User UUID
  • Creation timestamp

Users: List Users

Retrieves a list of user IDs from CrowdStrike Falcon with filtering and pagination. The Agent can leverage this action for user auditing and administration purposes.

Input Parameters

Here are the input parameters required to set up this action:

Optional

NameDescription
LimitMax number of records to return (default: 0, max: 500)
OffsetIndex to start retrieving records from (default: 0)
SortSort field (e.g., first_name, last_name, name, uid)
FilterFQL filter (e.g., first_name:'John', status:'active'). Filterable fields: assigned_cids, cid, first_name, last_name, name, status, uid

Here is a sample JSON input:

{
  "filter": "status:'active'",
  "limit": "100",
  "offset": "0",
  "sort": "last_name"
}

Response

Upon successful query, the action returns:

  • List of user IDs
  • Pagination metadata
  • Query execution status