Kandji Source
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 |
12 hours | List Devices |
12 hours | Device Activities |
12 hours | Device Details |
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.
- To generate the Bearer Token, follow the instructions mentioned in the Kandji documentation.
Source configuration
Threat Details endpoint is only available for EDR customers.
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.
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.
To configure Kandji Source:
- Classic UI. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
New 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. - On the Collectors page, click Add Source next to a Hosted Collector.
- Search for and select the Kandji icon.
- Enter a Name to display for the Source in Sumo Logic. The description is optional.
- (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
. - (Optional) Fields. Click the +Add Field link to define the fields you want to associate. Each field needs a name (key) and value.
- A green circle with a check mark is shown when the field exists in the Fields table schema.
- 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.
- In Endpoint URL, enter the endpoint URL collected from the Kandji platform.
- In Bearer Token, enter the bearer token collected from the Kandji platform.
- Select the Collect Threat Details checkbox to collect threat data. By default, Collect Threat Details checkbox will be selected.
- The Threat Details Interval is set for 5 minutes by default. You can adjust it based on your needs.
- In the Devices section, select the type of devices data: Collect Devices, Collect Device Activities, and/or Collect Device Details.
- The Devices Interval is set for 12 hours hours by default. You can adjust it based on your needs.
- Processing Rules. Configure any desired filters, such as allowlist, deny list, hash, or mask, as described in Create a Processing Rule.
- 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 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 | 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 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 field _sourceCategory . See 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
{
"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"
}
}
Terraform example
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"
}
FAQ
Click here for more information about Cloud-to-Cloud sources.