Skip to content

Commit

Permalink
Kandji C2C source doc (#4633)
Browse files Browse the repository at this point in the history
* Kandji C2C source doc

* Update blog-service/2024-10-11-collection.md

Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com>

* Update static/files/c2c/kandji/example.json

Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com>

* Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source.md

* Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source.md

* Update kandji-source.md

* Update kandji-source.md

* Change release note date

---------

Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com>
Co-authored-by: John Pipkin (Sumo Logic) <jpipkin@sumologic.com>
  • Loading branch information
3 people authored Oct 15, 2024
1 parent 04a2580 commit c22b5f4
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 1 deletion.
14 changes: 14 additions & 0 deletions blog-service/2024-10-15-collection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Kandji C2C Source (Collection)
image: https://help.sumologic.com/img/sumo-square.png
keywords:
- collection
- kandji
hide_table_of_contents: true
---

import useBaseUrl from '@docusaurus/useBaseUrl';

<a href="https://help.sumologic.com/release-notes-service/rss.xml"><img src={useBaseUrl('img/release-notes/rss-orange2.png')} alt="icon" width="50"/></a>

We're excited to announce the release of our new cloud-to-cloud source for Kandji. This source helps you to collect threat details, device lists, activity logs, and device information from the Kandji platform, and ingest them into Sumo Logic for streamlined analysis. [Learn more](/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source).
1 change: 1 addition & 0 deletions cid-redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -2616,6 +2616,7 @@
"/cid/19878": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/airtable-source",
"/cid/19879": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/knowbe4-api-source",
"/cid/16323": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/druva-source",
"/cid/13428": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source",
"/cid/17343": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/automox-source",
"/cid/20172": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/cisco-vulnerability-management-source",
"/cid/19880": "/docs/metrics/metrics-operators/predict",
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/product-list/product-list-a-l.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ For descriptions of the different types of integrations Sumo Logic offers, see [
| :-- | :-- | :-- |
| <img src={useBaseUrl('/img/integrations/containers-orchestration/kafka.png')} alt="Thumbnail icon" width="75"/> | [Kafka](https://kafka.apache.org/) | Apps: <br/>- [Kafka](/docs/integrations/containers-orchestration/kafka/) <br/>- [Kafka - OpenTelemetry](/docs/integrations/containers-orchestration/opentelemetry/kafka-opentelemetry/) |
| <img src={useBaseUrl('/img/send-data/kaltura-logo.png')} alt="Thumbnail icon" width="75"/> | [Kaltura](https://corp.kaltura.com/) | Cloud SIEM integration: [Kaltura](https://github.com/SumoLogic/cloud-siem-content-catalog/blob/master/vendors/c65f8f5f-ea11-4b41-858b-99731d306f81.md) <br/>Collector: [Kaltura - Source](/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kaltura-source/) |
| <img src={useBaseUrl('/img/integrations/misc/kandji.png')} alt="Thumbnail icon" width="75"/> | [Kandji](https://www.kandji.io/) | Community app: [Kandji API Data Streamer](https://github.com/SumoLogic/sumologic-content/tree/master/Kandji) |
| <img src={useBaseUrl('/img/integrations/misc/kandji.png')} alt="Thumbnail icon" width="75"/> | [Kandji](https://www.kandji.io/) | Collector: [Kandji - Source](/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source/)<br/>Community app: [Kandji API Data Streamer](https://github.com/SumoLogic/sumologic-content/tree/master/Kandji) |
| <img src={useBaseUrl('img/platform-services/automation-service/app-central/logos/kaspersky-cybertrace.png')} alt="Thumbnail icon" width="75"/> | [Kaspersky](https://usa.kaspersky.com/) | Automation integrations: <br/>- [Kaspersky CyberTrace](/docs/platform-services/automation-service/app-central/integrations/kaspersky-cybertrace/) <br/>- [Kaspersky TIP](/docs/platform-services/automation-service/app-central/integrations/kaspersky-tip/) <br/>Cloud SIEM integration: [KasperskyLab](https://github.com/SumoLogic/cloud-siem-content-catalog/blob/master/vendors/8011e6fe-1e65-4603-aa2e-15c9b33cb0fd.md) |
| <img src={useBaseUrl('img/integrations/security-threat-detection/keeper.png')} alt="Thumbnail icon" width="75"/> | [Keeper Security](https://www.keepersecurity.com/) | Partner integration: [Keeper Security](https://docs.keeper.io/en/v/enterprise-guide/event-reporting/sumo-logic) |
| <img src={useBaseUrl('img/platform-services/automation-service/app-central/logos/kela-darkbeast.png')} alt="Thumbnail icon" width="50"/> | [Kela](https://www.kelacyber.com/) | Automation integrations: <br/>- [Kela Darkbeast](/docs/platform-services/automation-service/app-central/integrations/kela-darkbeast/) <br/>- [Kela RaDark](/docs/platform-services/automation-service/app-central/integrations/kela-radark/) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ In this section, we'll introduce the following concepts:
<p>Learn how to collect Audit Trail and Base Entry events from Kaltura platform.</p>
</div>
</div>
<div className="box smallbox card">
<div className="container">
<a href="/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source"><img src={useBaseUrl('img/send-data/kandji-logo.png')} alt="icon" width="75"/><h4>Kandji Source</h4></a>
<p>Learn how to collect threat details, devices list, device activities, and device details from the Kandji platform.</p>
</div>
</div>
<div className="box smallbox card">
<div className="container">
<a href="/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/knowbe4-api-source"><img src={useBaseUrl('img/send-data/knowbe4.png')} alt="icon" width="120"/><h4>KnowBe4 API Source</h4></a>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
id: kandji-source
title: Kandji Source
sidebar_label: Kandji
tags:
- cloud-to-cloud
- kandji-edr
description: The Kandji Source provides a secure endpoint to receive threat details, devices list, device activities, and device details from the Kandji platform.
---
import CodeBlock from '@theme/CodeBlock';
import ExampleJSON from '/files/c2c/kandji/example.json';
import MyComponentSource from '!!raw-loader!/files/c2c/kandji/example.json';
import TerraformExample from '!!raw-loader!/files/c2c/kandji/example.tf';
import ForwardToSiem from '/docs/reuse/forward-to-siem.md';
import useBaseUrl from '@docusaurus/useBaseUrl';

<img src={useBaseUrl('img/send-data/kandji-logo.png')} alt="icon" width="50"/>

Kandji is the Apple device management and security platform that empowers secure and productive global work. With Kandji, Apple devices transform themselves into enterprise-ready endpoints, with all the right apps, settings, and security systems in place. Through advanced automation and thoughtful experiences, Kandji brings much-needed harmony to the way IT, InfoSec, and Apple device users work.

## Data collected

| Polling Interval | Data |
| :--- | :--- |
| 5 min | [Threat Details](https://api-docs.kandji.io/#d041043a-ea47-47d5-b6f1-234ef422494d) |
| 12 hours | [List Devices](https://api-docs.kandji.io/#78209960-31a7-4e3b-a2c0-95c7e65bb5f9) |
| 12 hours | [Device Activities](https://api-docs.kandji.io/#80710108-fbdb-4dfd-af84-50adf15c5a23) |
| 12 hours | [Device Details](https://api-docs.kandji.io/#efa2170d-e5f7-4b97-8f4c-da6f84ba58b5) |

## Setup

### Vendor configuration

The Kandji source requires you to provide the Endpoint URL and Bearer Token. Follow the below steps to generate the required values:

- To generate the **Endpoint URL**, follow the instructions mentioned in the [Kandji documentation](https://api-docs.kandji.io/#intro).
- To generate the **Bearer Token**, follow the instructions mentioned in the [Kandji documentation](https://support.kandji.io/support/solutions/articles/72000560412-kandji-api).

### Source configuration

:::note
Threat Details endpoint is only available for EDR customers.
:::

:::info
While retrieving threats, the source can face data loss due to API limitations and improper pagination support. If you face any such discrepancies, contact [Sumo Logic Support](https://support.sumologic.com/support/s/).
:::

When you create a Kandji Source, you add it to a Hosted Collector. Before creating the Source, identify the Hosted Collector you want to use or create a new Hosted Collector. For instructions, see [Configure a Hosted Collector and Source](/docs/send-data/hosted-collectors/configure-hosted-collector).

To configure Kandji Source:
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data > Collection > Collection**. <br/>[**New UI**](/docs/get-started/sumo-logic-ui). In the Sumo Logic top menu select **Configuration**, and then under **Data Collection** select **Collection**. You can also click the **Go To...** menu at the top of the screen and select **Collection**.
1. On the Collectors page, click **Add Source** next to a Hosted Collector.
1. Search for and select the **Kandji** icon.
1. Enter a **Name** to display for the Source in Sumo Logic. The description is optional.
1. (Optional) For **Source Category**, enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called `_sourceCategory`.
1. (Optional) **Fields**. Click the **+Add Field** link to define the fields you want to associate. Each field needs a name (key) and value.
* ![green check circle.png](/img/reuse/green-check-circle.png) A green circle with a check mark is shown when the field exists in the Fields table schema.
* ![orange exclamation point.png](/img/reuse/orange-exclamation-point.png) An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored, known as dropped.
1. In **Endpoint URL**, enter the endpoint URL collected from the Kandji platform.
1. In **Bearer Token**, enter the bearer token collected from the Kandji platform.
1. Select the **Collect Threat Details** checkbox to collect threat data. By default, **Collect Threat Details** checkbox will be selected.
1. The **Threat Details Interval** is set for 5 minutes by default. You can adjust it based on your needs.
1. In the Devices section, select the type of devices data: **Collect Devices**, **Collect Device Activities**, and/or **Collect Device Details**.
1. The **Devices Interval** is set for 12 hours hours by default. You can adjust it based on your needs.
1. **Processing Rules**. Configure any desired filters, such as allowlist, deny list, hash, or mask, as described in [Create a Processing Rule](/docs/send-data/collection/processing-rules/create-processing-rule).
1. When you are finished configuring the Source, click **Save**.

## JSON schema

Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See [Use JSON to Configure Sources](/docs/send-data/use-json-configure-sources) for details.

| Parameter | Type | Value | Required | Description |
|:--|:--|:--|:--|:--|
| schemaRef | JSON Object | `{"type":"Kandji"}` | Yes | Define the specific schema type. |
| sourceType | String | `"Universal"` | Yes | Type of source. |
| config | JSON Object | [Configuration object](#configuration-object) | Yes | Source type specific values. |

### Configuration Object

| Parameter | Type | Required | Default | Description | Example |
|:--|:--|:--|:--|:--|:--|
| name | String | Yes | `null` | Type a desired name of the source. The name must be unique per Collector. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_source`. | `"mySource"` |
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
| category | String | No | `null` | Type a category of the source. This value is assigned to the [metadata](/docs/search/get-started-with-search/search-basics/built-in-metadata) field `_sourceCategory`. See [best practices](/docs/send-data/best-practices) for details. | `"mySource/test"`
| fields | JSON Object | No | `null` | JSON map of key-value fields (metadata) to apply to the Collector or Source. Use the boolean field `_siemForward` to enable forwarding to SIEM.|`{"_siemForward": false, "fieldA": "valueA"}` |
| requestEndpoint | String | Yes | `null` | The API URL to fetch the data from the Kandji EDR log source. | `https://SubDomain.api.kandji.io` |
| bearerToken | String | Yes | `null` | API Token created for the user account in the Kandji portal. | |
| pollingIntervalMin | Integer | Yes | 5 mins | Time interval (in minutes) after which the source will check for new data for API: Threat Details. | |
| pollingIntervalHour | Integer | Yes | 12 hours | Time interval (in hours) after which the source will check for new data for API: List Devices, Collect Activities, and Collect Details. | |
| collectThreatDetails | Boolean | No | `null` | Specify if we need to collect the tenant's threat details. | |
| collectDevices | Boolean | No | `null` | Specify if we need to collect the tenant's devices. | |
| collectDeviceActivities | Boolean | No | `null` | Specify if we need to collect the Device activity of the tenant. | |
| collectDeviceDetails | Boolean | No | `null` | Specify if we need to collect the Device details of the tenant. | |

### JSON example

<CodeBlock language="json">{MyComponentSource}</CodeBlock>

<a href="/files/c2c/kandji/example.json" target="_blank">Download example</a>

### Terraform example

<CodeBlock language="json">{TerraformExample}</CodeBlock>

<a href="/files/c2c/kandji/example.tf" target="_blank">Download example</a>

## FAQ

:::info
Click [here](/docs/c2c/info) for more information about Cloud-to-Cloud sources.
:::
1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ module.exports = {
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/jfrog-xray-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/jumpcloud-directory-insights-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/kaltura-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/kandji-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/knowbe4-api-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/lastpass-source',
'send-data/hosted-collectors/cloud-to-cloud-integration-framework/microsoft-azure-ad-inventory-source',
Expand Down
20 changes: 20 additions & 0 deletions static/files/c2c/kandji/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"api.version": "v1",
"source": {
"config": {
"name": "Kandji",
"requestEndpoint": "https://sumo.api.kandji.io",
"bearerToken": "xxxxxxxxxxxxxxxxxxxxxxxx",
"collectThreatDetails": true,
"collectDevices": true,
"pollingIntervalMin": 5,
"pollingIntervalHour": 12,
"collectDeviceActivities": true,
"collectDeviceDetails": true
},
"schemaRef": {
"type": "Kandji"
},
"sourceType": "Universal"
}
}
21 changes: 21 additions & 0 deletions static/files/c2c/kandji/example.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
resource "sumologic_cloud_to_cloud_source" "kandji" {
collector_id = sumologic_collector.collector.id
schema_ref = {
type = "Kandji"
}
config = jsonencode({
"name": "Kandji",
"requestEndpoint": "https://sumo.api.kandji.io",
"bearerToken": "xxxxxxxxxxxxxxxxxxxxxxxx",
"collectThreatDetails": true,
"collectDevices": true,
"pollingIntervalMin": 5,
"pollingIntervalHour": 12,
"collectDeviceActivities": true,
"collectDeviceDetails": true
})
}
resource "sumologic_collector" "collector" {
name = "my-collector"
description = "Just testing this"
}
Binary file added static/img/send-data/kandji-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c22b5f4

Please sign in to comment.