|
| 1 | +--- |
| 2 | +id: dragos-source |
| 3 | +title: Dragos Source |
| 4 | +sidebar_label: Dragos |
| 5 | +tags: |
| 6 | + - Dragos |
| 7 | +description: Collect address, asset, vulnerability, and zone details from the Dragos API and send them to Sumo Logic. |
| 8 | +--- |
| 9 | +import CodeBlock from '@theme/CodeBlock'; |
| 10 | +import ExampleJSON from '/files/c2c/dragos/example.json'; |
| 11 | +import MyComponentSource from '!!raw-loader!/files/c2c/dragos/example.json'; |
| 12 | +import TerraformExample from '!!raw-loader!/files/c2c/dragos/example.tf'; |
| 13 | +import useBaseUrl from '@docusaurus/useBaseUrl'; |
| 14 | + |
| 15 | +<img src={useBaseUrl('img/send-data/dragos-logo.png')} alt="dragos-logo" width="80" /> |
| 16 | + |
| 17 | +Dragos is a cybersecurity platform with an ecosystem tailored for industrial environments, including Industrial Control Systems (ICS), Supervisory Control and Data Acquisition (SCADA), Distributed Control System (DCS), and Operational Technology (OT) environments. |
| 18 | +Dragos's Operational Technology (OT) offers clear visibility into your Industrial Control System (ICS) assets and communications. It monitors networks, detects threats, and addresses vulnerabilities without causing disruptions or shutdowns, helping you respond confidently to potential threats. |
| 19 | + |
| 20 | +The Dragos source collects address, asset, vulnerability, and zone details from the Dragos API and sends it to Sumo Logic for streamlined analysis. |
| 21 | + |
| 22 | +## Data collected |
| 23 | + |
| 24 | +| Polling Interval | Data | |
| 25 | +| :--- | :--- | |
| 26 | +| 5 min | Vulnerability | |
| 27 | +| 24 hrs | Addresses | |
| 28 | +| 24 hrs | Zones | |
| 29 | +| 24 hrs | Assets | |
| 30 | + |
| 31 | +## Setup |
| 32 | + |
| 33 | +### Vendor configuration |
| 34 | + |
| 35 | +The Dragos source supports API token-based authentication and requires you to provide the **Endpoint URL**, **API ID**, and **API Secret** to access the data. |
| 36 | + |
| 37 | +#### Endpoint URL |
| 38 | + |
| 39 | +You can use the Hostname to create the Endpoint URL. For example, `https://<hostname>/`. |
| 40 | + |
| 41 | +#### API ID and API Secret |
| 42 | + |
| 43 | +Follow the instructions below to generate the API ID and API Secret: |
| 44 | + |
| 45 | +1. Open the Dragos platform and navigate to the **Admin** > **User**. |
| 46 | +1. Click **ADD NEW API KEY** under the **API Keys** section. |
| 47 | +1. Enter the name of the API Key in the **Name** field and then click **GENERATE KEY**. |
| 48 | +1. Copy the **API ID** and **API Secrect**. |
| 49 | + |
| 50 | +### Source configuration |
| 51 | + |
| 52 | +When you create a Dragos 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](/docs/send-data/hosted-collectors/configure-hosted-collector). |
| 53 | + |
| 54 | +To configure a Dragos Source: |
| 55 | +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**. |
| 56 | +1. On the Collection page, click **Add Source** next to a Hosted Collector. |
| 57 | +1. Search for and select **Dragos**. |
| 58 | +1. Enter a **Name** for the Source. The description is optional. |
| 59 | +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`. |
| 60 | +1. (Optional) **Fields**. Click the **+Add** button to define the fields you want to associate. Each field needs a name (key) and value. |
| 61 | + *  A green circle with a check mark is shown when the field exists in the Fields table schema. |
| 62 | + *  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 is ignored, known as dropped. |
| 63 | +1. Enter the **Endpoint URL** of Dragos platform. For example, `https://test.cxc.dragos.cloud/`. |
| 64 | +1. Enter the following details for authorization: |
| 65 | + 1. **API ID**. API ID of your account. For example, `036fxxxx-b642-xxxx-99d3-fcxxxx2exxxx`. |
| 66 | + 1. **API Secret**. API Secret of your account. For example, `xxxU1TxxxxxxxxKSJwHYOpK37xxxxxxxxrEHAkU91xxxxxxxxxFrrJ06xxx`. |
| 67 | +1. Check the following boxes to collect the required data: |
| 68 | + 1. **Collect Vulnerability** |
| 69 | + 1. **Collect Addresses** |
| 70 | + 1. **Collect Zones** |
| 71 | + 1. **Collect Assets** |
| 72 | +1. **Processing Rules**. 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). |
| 73 | +1. When you are finished configuring the Source, click **Save**. |
| 74 | + |
| 75 | +## JSON schema |
| 76 | + |
| 77 | +Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See [how to use JSON to configure Sources](/docs/send-data/use-json-configure-sources) for details. |
| 78 | + |
| 79 | +| Parameter | Type | Value | Required | Description | |
| 80 | +|:--|:--|:--|:--|:--| |
| 81 | +| schemaRef | JSON Object | `{"type":"Dragos"}` | Yes | Define the specific schema type. | |
| 82 | +| sourceType | String | `"Universal"` | Yes | Type of source. | |
| 83 | +| config | JSON Object | [Configuration object](#configuration-object) | Yes | Source type specific values. | |
| 84 | + |
| 85 | +### Configuration Object |
| 86 | + |
| 87 | +| Parameter | Type | Required | Default | Description | Example | |
| 88 | +|:--|:--|:--|:--|:--|:--| |
| 89 | +| 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"` | |
| 90 | +| description | String | No | `null` | Type a description of the source. | `"Testing source"` | |
| 91 | +| 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"` | |
| 92 | +| 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"}` | |
| 93 | +| requestEndpoint | String | Yes | `null` | The API URL to fetch the data from the Dragos log source. | `https://sumologic-dragos.cxc.dragos.cloud/` | |
| 94 | +| apiID | String | Yes | `null` | API ID of your account for authorization. | `036fxxxx-b642-xxxx-99d3-fcxxxx2exxxx` | |
| 95 | +| apiSecret | String | Yes | `null` | API Secret of your account for authorization. | `xxxU1TxxxxxxxxKSJwHYOpK37xxxxxxxxrEHAkU91xxxxxxxxxFrrJ06xxx` | |
| 96 | +| pollingIntervalVulnerabilityMin | String | Yes | `5 mins` | Time interval (in minutes) after which the source will check for new data for API. |
| 97 | +Default: 5 min |
| 98 | +Min: 5 min |
| 99 | +Max: 60 min | | |
| 100 | +| pollingIntervalAddressesHour | String | Yes | `24 hrs` | Time interval (in hours) after which the source will check for new data for API. |
| 101 | +Default: 24 hrs |
| 102 | +Min: 12 hrs |
| 103 | +Max: 24 hrs | | |
| 104 | +| pollingIntervalZonesHour | String | Yes | `24 hrs` | Time interval (in hours) after which the source will check for new data for API. |
| 105 | +Default: 24 hrs |
| 106 | +Min: 12 hrs |
| 107 | +Max: 24 hrs | | |
| 108 | +| pollingIntervalAssetsHour | String | Yes | `24 hrs` | Time interval (in hours) after which the source will check for new data for API. |
| 109 | +Default: 24 hrs |
| 110 | +Min: 12 hrs |
| 111 | +Max: 24 hrs | | |
| 112 | +| collectAddressDetails | Boolean | No | `True` | Specify if you need to collect the address details. | | |
| 113 | +| collectZoneDetails | Boolean | No | `True` | Specify if you need to collect the zone details. | | |
| 114 | +| collectDeviceDetails | Boolean | No | `True` | Specify if you need to collect the assets details. | | |
| 115 | +| collectVulnerabilityDetails | Boolean | No | `True` | Specify if you need to collect the vulnerability details. | | |
| 116 | + |
| 117 | +### JSON example |
| 118 | + |
| 119 | +<CodeBlock language="json">{MyComponentSource}</CodeBlock> |
| 120 | + |
| 121 | +<a href="/files/c2c/dragos/example.json" target="_blank">Download example</a> |
| 122 | + |
| 123 | +### Terraform example |
| 124 | + |
| 125 | +<CodeBlock language="json">{TerraformExample}</CodeBlock> |
| 126 | + |
| 127 | +<a href="/files/c2c/dragos/example.tf" target="_blank">Download example</a> |
| 128 | + |
| 129 | +## FAQ |
| 130 | + |
| 131 | +:::info |
| 132 | +Click [here](/docs/c2c/info) for more information about Cloud-to-Cloud sources. |
| 133 | +::: |
| 134 | + |
| 135 | + |
0 commit comments