Repository navigation
Initial release of Spycloud #10608
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
Initial release of Spycloud #10608
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2e7bfa9
Initial release of Spycloud
muskan-crest 72c4e3b
Updated Changelog, codeowners, manifest owner type
muskan-crest c393155
Reoslved comments
muskan-crest e6ed02b
Resolved data-collection comments
muskan-crest 33c44c2
Resolved data-collection and pipeline comments
muskan-crest ed00556
Resolve comments
muskan-crest a01e480
Resolving comment
muskan-crest 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
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
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,3 @@ | ||
| dependencies: | ||
| ecs: | ||
| reference: git@v8.11.0 |
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,112 @@ | ||
| # SpyCloud Enterprise Protection | ||
|
|
||
| ## Ingest SpyCloud Cybercrime Analytics into Elastic Agent | ||
|
|
||
| [SpyCloud’s Enterprise Protection](https://spycloud.com/) integration leverages recaptured darknet data to safeguard employees' digital identities by producing actionable insights to proactively prevent account takeover and follow-on targeted attacks before they happen. | ||
|
|
||
| The Elastic Agent uses the SpyCloud Enterprise Protection REST API to collect data. | ||
|
|
||
| ## Compatibility | ||
|
|
||
| This module has been tested against the latest SpyCloud Enterprise Protection API **V2**. | ||
|
|
||
| ## Data streams | ||
|
|
||
| The SpyCloud integration collects three types of logs: Breach Catalog, Breach Record and Compass Malware Records. | ||
|
|
||
| **[Breach Catalog](https://spycloud-external.readme.io/sc-enterprise-api/reference/catalog-list)** - a collection of third-party breach and malware data ingested into SpyCloud. The catalog contains thousands of breach objects, each of which contain metadata for a particular breach. A typical breach object contains a variety of metadata including a breach title, description, acquisition date, link to affected websites and many more data points. | ||
|
|
||
| **[Breach Record](https://spycloud-external.readme.io/sc-enterprise-api/reference/data-watchlist)** - a collection of data assets extracted from third-party breach and malware data. These assets are grouped together to form a data record which represents a single user account or individual persona in parsed data. | ||
|
|
||
| **[Compass Malware Records](https://spycloud-external.readme.io/sc-enterprise-api/reference/compass-data-get)** - a collection of data assets extracted from malware data that provides full visibility into infection events to enable post-infection remediation on compromised devices, users, and applications. | ||
|
|
||
| ## Requirements | ||
|
|
||
| - Elastic Agent must be installed. | ||
| - You can install only one Elastic Agent per host. | ||
| - Elastic Agent is required to stream data through the REST API and ship the data to Elastic, where the events will then be processed via the integration's ingest pipelines. | ||
|
|
||
| ### Installing and managing an Elastic Agent: | ||
|
|
||
| You have a few options for installing and managing an Elastic Agent: | ||
|
|
||
| ### Install a Fleet-managed Elastic Agent (recommended): | ||
|
|
||
| With this approach, you install Elastic Agent and use Fleet in Kibana to define, configure, and manage your agents in a central location. We recommend using Fleet management because it makes the management and upgrade of your agents considerably easier. | ||
|
|
||
| ### Install Elastic Agent in standalone mode (advanced users): | ||
|
|
||
| With this approach, you install Elastic Agent and manually configure the agent locally on the system where it’s installed. You are responsible for managing and upgrading the agents. This approach is reserved for advanced users only. | ||
|
|
||
| ### Install Elastic Agent in a containerized environment: | ||
|
|
||
| You can run Elastic Agent inside a container, either with Fleet Server or standalone. Docker images for all versions of Elastic Agent are available from the Elastic Docker registry, and we provide deployment manifests for running on Kubernetes. | ||
|
|
||
| There are some minimum requirements for running Elastic Agent and for more information, refer to the link [here](https://www.elastic.co/guide/en/fleet/current/elastic-agent-installation.html). | ||
|
|
||
| ## Setup | ||
|
|
||
| ### To collect logs through REST API, follow the below steps: | ||
|
|
||
| - Considering you already have a SpyCloud account, log in to your SpyCloud instance to obtain your API key. Navigate to Main > API, where you will find your API key under the Keys > API Key section. | ||
| - To obtain the Base URL, navigate to Main > API and click on the "View Docs" link, your URL can be located within the API Reference section. | ||
|
|
||
| **NOTE**: Your system's IP should be allowlisted by the SpyCloud team to be able to access the APIs and get the data. | ||
|
|
||
| ### Enabling the integration in Elastic: | ||
|
|
||
| 1. In Kibana go to Management > Integrations. | ||
| 2. In "Search for integrations" search bar, type SpyCloud Enterprise Protection. | ||
| 3. Click on the "SpyCloud Enterprise Protection" integration from the search results. | ||
| 4. Click on the Add SpyCloud Enterprise Protection Integration button to add the integration. | ||
| 5. While adding the integration, if you want to collect Breach Catalog logs via REST API, please enter the following details: | ||
| - URL | ||
| - API Key | ||
| - Interval | ||
|
|
||
| or if you want to collect Breach Record logs via REST API, please enter the following details: | ||
| - URL | ||
| - API Key | ||
| - Initial Interval | ||
| - Interval | ||
| - Severity | ||
|
|
||
| or if you want to collect Compass logs via REST API, please enter the following details: | ||
| - URL | ||
| - API Key | ||
| - Initial Interval | ||
| - Interval | ||
|
|
||
| **NOTE**: By default, the URL is set to "https://api.spycloud.io/enterprise-v2". | ||
|
|
||
| ## Logs Reference | ||
|
|
||
| ### Breach Catalog | ||
|
|
||
| This is the `Breach Catalog` dataset. | ||
|
|
||
| #### Example | ||
|
|
||
| {{event "breach_catalog"}} | ||
|
|
||
| {{fields "breach_catalog"}} | ||
|
|
||
| ### Breach Record | ||
|
|
||
| This is the `Breach Record` dataset. | ||
|
|
||
| #### Example | ||
|
|
||
| {{event "breach_record"}} | ||
|
|
||
| {{fields "breach_record"}} | ||
|
|
||
| ### Compass | ||
|
|
||
| This is the `Compass` dataset. | ||
|
|
||
| #### Example | ||
|
|
||
| {{event "compass"}} | ||
|
|
||
| {{fields "compass"}} | ||
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,15 @@ | ||
| version: '2.3' | ||
| services: | ||
| spycloud: | ||
| image: docker.elastic.co/observability/stream:v0.15.0 | ||
| hostname: spycloud | ||
| ports: | ||
| - 8090 | ||
| volumes: | ||
| - ./files:/files:ro | ||
| environment: | ||
| PORT: '8090' | ||
| command: | ||
| - http-server | ||
| - --addr=:8090 | ||
| - --config=/files/config.yml |
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.