Skip to content

Commit 2f1b2b0

Browse files
JV0812jpipkin1kimsauce
authored
Jamf C2C doc (Beta) (#4165)
* Jamf C2C doc and release notes * Update jamf-source.md * Update jamf-source.md * Add Jamf Source to product list * Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/jamf-source.md Co-authored-by: John Pipkin (Sumo Logic) <jpipkin@sumologic.com> * Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/jamf-source.md Co-authored-by: John Pipkin (Sumo Logic) <jpipkin@sumologic.com> * Update blog-service/2024-06-07-collection.md Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com> * Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/jamf-source.md Co-authored-by: John Pipkin (Sumo Logic) <jpipkin@sumologic.com> * Update blog-service/2024-06-07-collection.md Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com> * releasing this doc as Beta --------- Co-authored-by: John Pipkin <jpipkin@sumologic.com> Co-authored-by: Kim (Sumo Logic) <56411016+kimsauce@users.noreply.github.com>
1 parent 513ba4f commit 2f1b2b0

File tree

5 files changed

+129
-0
lines changed

5 files changed

+129
-0
lines changed

cid-redirects.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,6 +2378,7 @@
23782378
"/cid/06152020": "/docs/get-started/training-certification-faq",
23792379
"/cid/6690": "/docs/manage/security/access-keys",
23802380
"/cid/6966": "/docs/integrations/databases/redis",
2381+
"/cid/13427": "/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/jamf-source",
23812382
"/cid/7000": "/",
23822383
"/cid/7001": "/docs/dashboards/panels/modify-chart",
23832384
"/cid/70015": "/docs/metrics/metrics-operators/outlier",
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
id: jamf-source
3+
title: Jamf Source (Beta)
4+
sidebar_label: Jamf
5+
tags:
6+
- cloud-to-cloud
7+
- jamf
8+
description: Learn how to collect data from the Jamf platform.
9+
---
10+
import CodeBlock from '@theme/CodeBlock';
11+
import ExampleJSON from '/files/c2c/jamf/example.json';
12+
import MyComponentSource from '!!raw-loader!/files/c2c/jamf/example.json';
13+
import TerraformExample from '!!raw-loader!/files/c2c/jamf/example.tf';
14+
import useBaseUrl from '@docusaurus/useBaseUrl';
15+
16+
<img src={useBaseUrl('img/send-data/jamf.png')} alt="thumbnail icon" width="85"/>
17+
18+
<head>
19+
<meta name="robots" content="noindex" />
20+
</head>
21+
22+
<p><a href="/docs/beta"><span className="beta">Beta</span></a></p>
23+
24+
Jamf is a software company that specializes in mobile device management (MDM) and endpoint management solutions for Apple devices such as Macs, iPhones, iPads, and Apple TVs. This Jamf integration helps you to ingest inventory data using the [Jamf Pro API](https://developer.jamf.com/jamf-pro/v11.4.0/docs/jamf-pro-api-overview) and [Jamf Classic API](https://developer.jamf.com/jamf-pro/v11.4.0/docs/getting-started-2).
25+
26+
## Data collected
27+
28+
| Polling Interval | Data |
29+
| :--- | :--- |
30+
| 24 hours | [Inventory ID](https://developer.jamf.com/jamf-pro/reference/get_v1-computers-inventory) <ul><li>[Computer History](https://developer.jamf.com/jamf-pro/reference/findcomputerhistorybyid)</li><li>[Computer Management](https://developer.jamf.com/jamf-pro/reference/findcomputermanagementbyid)</li></ul> |
31+
32+
33+
## Setup
34+
35+
### Vendor configuration
36+
37+
The Jamf source requires you to provide the Base URL, Client ID, and Client Secret to access the source data.
38+
39+
- The Base URL is used to retrieve the source data from Jamf. The **Base URL** for Jamf is `https://yourServer.jamfcloud.com`. Replace `yourServer` with your organization server.
40+
- To generate the **Client ID** and **Client Secret**, follow the instructions mentioned in the [Jamf documentation](https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/API_Roles_and_Clients.html).
41+
42+
### Source configuration
43+
44+
When you create a Jamf 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).
45+
46+
To configure the Jamf Source:
47+
1. <!--Kanso [**Classic UI**](/docs/get-started/sumo-logic-ui/). Kanso--> In the main Sumo Logic menu, select **Manage Data > Collection > Collection**. <!--Kanso <br/>[**New UI**](/docs/get-started/sumo-logic-ui-new/). 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**. Kanso-->
48+
1. On the Collectors page, click **Add Source** next to a Hosted Collector.
49+
1. Search for and select the **Jamf** icon.
50+
1. Enter a **Name** to display for the Source in Sumo Logic. The description is optional.
51+
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`.
52+
1. (Optional) **Fields**. Click the **+Add Field** link to define the fields you want to associate. Each field needs a name (key) and value.
53+
* ![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.
54+
* ![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.
55+
1. In **Base URL**, enter your Jamf instance domain, `https://yourServer.jamfcloud.com`.
56+
1. In **Client ID**, enter the Client ID you generated from the Jamf platform.
57+
1. In **Client Secret**, enter the Client Secret you generated from the Jamf platform.
58+
1. (Optional) The **Polling Interval** is set for 24 hours by default. You can adjust it based on your needs.
59+
1. (Optional) **Processing Rules for Logs**. Configure any desired filters, such as allowlist, denylist, hash, or mask, as described in [Create a Processing Rule](/docs/send-data/collection/processing-rules/create-processing-rule).
60+
1. When you are finished configuring the Source, click **Save**.
61+
62+
## JSON schema
63+
64+
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. 
65+
66+
| Parameter | Type | Value | Required | Description |
67+
|:--|:--|:--|:--|:--|
68+
| schemaRef | JSON Object | `{"type":"Jamf"}` | Yes | Define the specific schema type. |
69+
| sourceType | String | `"Universal"` | Yes | Type of source. |
70+
| config | JSON Object | [Configuration object](#configuration-object) | Yes | Source type specific values. |
71+
72+
### Configuration Object
73+
74+
| Parameter | Type | Required | Default | Description | Example |
75+
|:--|:--|:--|:--|:--|:--|
76+
| 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"` |
77+
| description | String | No | `null` | Type a description of the source. | `"Testing source"`
78+
| 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"`
79+
| 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"}` |
80+
| baseURL | String | Yes | `null` | Your Jamf instance domain. | `https://yourServer.jamfcloud.com` |
81+
| clientID | Boolean | No | `null` | Client ID generated from the JAMF platform. | |
82+
| clientSecret | String | No | `null` | Client Secret generated from the Jamf platform. | |
83+
| pollingInterval | String | No | 24 hours | This sets how often the Source checks for data. | `24 Hours` |
84+
85+
### JSON example
86+
87+
<CodeBlock language="json">{MyComponentSource}</CodeBlock>
88+
89+
[Download example](/files/c2c/jamf/example.json)
90+
91+
### Terraform example
92+
93+
<CodeBlock language="json">{TerraformExample}</CodeBlock>
94+
95+
[Download example](/files/c2c/jamf/example.tf)

static/files/c2c/jamf/example.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"api.version": "v1",
3+
"source": {
4+
"config": {
5+
"name": "Jamf",
6+
"baseURL": "https://yourServer.jamfcloud.com",
7+
"clientID": "6cabf059-21c9-44d6-bbde-02898f7430dd",
8+
"clientSecret": "dzmsPks-******",
9+
"pollingInterval": 24
10+
},
11+
"schemaRef": {
12+
"type": "JAMF"
13+
},
14+
"sourceType": "Universal"
15+
}
16+
}

static/files/c2c/jamf/example.tf

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
resource "sumologic_cloud_to_cloud_source" "jamf_source" {
2+
collector_id = sumologic_collector.collector.id
3+
schema_ref = {
4+
type = "JAMF"
5+
}
6+
config = jsonencode({
7+
"name": "Jamf",
8+
"baseURL": "https://yourServer.jamfcloud.com",
9+
"clientID": "6cabf059-21c9-44d6-bbde-02898f7430dd",
10+
"clientSecret": "dzmsPks-******",
11+
"pollingInterval": "24"
12+
})
13+
}
14+
resource "sumologic_collector" "collector" {
15+
name = "my-collector"
16+
description = "Just testing this"
17+
}

static/img/send-data/jamf.png

7.53 KB
Loading

0 commit comments

Comments
 (0)