-
Notifications
You must be signed in to change notification settings - Fork 228
CONN-4022 Add new ZeroFox C2C documentation #4919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8bcfef7
Add new ZeroFox C2C documentation
carlos-castillo-jask 0f83724
Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-fr…
carlos-castillo-jask a9b9a41
Swap logo
kimsauce 2d7756a
Fix links to example files
jpipkin1 bd038a7
Update docs/send-data/hosted-collectors/cloud-to-cloud-integration-fr…
jpipkin1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
105 changes: 105 additions & 0 deletions
105
.../hosted-collectors/cloud-to-cloud-integration-framework/zerofox-intel-source.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| --- | ||
| id: zerofox-intel-source | ||
| title: ZeroFox Threat Intel Source | ||
| sidebar_label: ZeroFox Threat Intel | ||
| tags: | ||
| - cloud-to-cloud | ||
| - zerofox-threat-intel | ||
| description: This integration collects threat indicators using the ZeroFox API and sends them to Sumo Logic for analysis. | ||
| --- | ||
| import CodeBlock from '@theme/CodeBlock'; | ||
| import ExampleJSON from '/files/c2c/zerofox/example.json'; | ||
| import MyComponentSource from '!!raw-loader!/files/c2c/zerofox/example.json'; | ||
| import TerraformExample from '!!raw-loader!/files/c2c/zerofox/example.tf'; | ||
| import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
|
||
| <head> | ||
| <meta name="robots" content="noindex" /> | ||
| </head> | ||
|
|
||
| <p><a href="/docs/beta"><span className="beta">Beta</span></a></p> | ||
|
|
||
| <img src={useBaseUrl('img/integrations/security-threat-detection/ZeroFox_logo.png')} alt="ZeroFox-threat-intel.png" width="50" /> | ||
|
|
||
| ZeroFox is a cybersecurity firm specializing in providing cyber threat intelligence services. | ||
|
|
||
| The ZeroFox source collects threat indicators using the [ZeroFox CTI API](https://api.zerofox.com/cti/docs/) and sends them to Sumo Logic as normalized threat indicators for analysis. | ||
|
|
||
| ## Data collected | ||
|
|
||
| | Polling Interval | API Endpoint | | ||
| |:-----------------|:------------------| | ||
| | 1 hour | `/cti/botnet` | | ||
| | 1 hour | `/cti/c2-domains` | | ||
| | 1 hour | `/cti/disruption` | | ||
| | 1 hour | `/cti/malware` | | ||
| | 1 hour | `/cti/phishing` | | ||
| | 1 hour | `/cti/ransomware` | | ||
|
|
||
| ## Setup | ||
|
|
||
| ### Vendor configuration | ||
|
|
||
| The ZeroFox Threat Intel source requires you to provide your ZeroFox account **Username** and **Password**. | ||
|
|
||
| ### Source configuration | ||
|
|
||
| When you create an ZeroFox Threat Intel 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 an ZeroFox Threat Intel 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 **ZeroFox Threat Intel**. | ||
| 1. Enter a **Name** to display for the Source in the Sumo web application. 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. | ||
| *  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 that does not exist in the Fields schema it is ignored, known as dropped. | ||
| 1. **Username**. Enter your ZeroFox username. | ||
| 1. **Password**. Enter your Zerofox password. | ||
| 1. **Sumo Logic Threat Intel Source ID**. Enter the Sumo Logic namespace where the indicators will be stored. | ||
| 1. **Polling Interval**. The polling interval is set for one hour by default. You can adjust it based on your needs. This sets how often the source checks for new data. | ||
| 1. **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). | ||
| 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”: “ZeroFox Threat Intel”}` | 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"}` | | ||
| | username | String | Yes | `null` | ZeroFox username. | | | ||
| | password | String | Yes | `null` | Zerofox password. | | | ||
| | userSourceId | String | Yes | `null` | The Sumo Logic namespace in which the indicators will be stored. | | | ||
| | pollingIntervalHour | integer | Yes | `1 hour` | Time interval (in hours) after which the source will check for new data. | | | ||
|
|
||
| ### JSON example | ||
|
|
||
| <CodeBlock language="json">{MyComponentSource}</CodeBlock> | ||
|
|
||
| <a href="/files/c2c/zerofox/example.json" target="_blank">Download example</a> | ||
|
|
||
| ### Terraform example | ||
|
|
||
| <CodeBlock language="json">{TerraformExample}</CodeBlock> | ||
|
|
||
| <a href="/files/c2c/zerofox/example.tf" target="_blank">Download example</a> | ||
|
|
||
| ## FAQ | ||
|
|
||
| :::info | ||
| Click [here](/docs/c2c/info) for more information about Cloud-to-Cloud sources. | ||
| ::: | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "api.version": "v1", | ||
| "source": { | ||
| "config": { | ||
| "name": "Zerofox", | ||
| "username": "my-user", | ||
| "apiKey": "xxxxxxxx", | ||
| "userSourceId": "ZeroFox Intel", | ||
| "pollingIntervalHour": "1h" | ||
| }, | ||
| "schemaRef": { | ||
| "type": "ZeroFox Threat Intel" | ||
| }, | ||
| "sourceType": "Universal" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| resource "sumologic_cloud_to_cloud_source" "zerofox-threat-intel-source" { | ||
| collector_id = sumologic_collector.collector.id | ||
| schema_ref = { | ||
| type = "ZeroFox Threat Intel" | ||
| } | ||
| config = jsonencode({ | ||
| "name": "Zerofox Intel", | ||
| "username": "my-user", | ||
| "apiKey": "xxxxxxxx", | ||
| "userSourceId": "ZeroFox Intel", | ||
| "pollingIntervalHour": "1h" | ||
| }) | ||
| } | ||
| resource "sumologic_collector" "collector" { | ||
| name = "my-collector" | ||
| description = "Just testing this" | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.