-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
191 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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 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,26 @@ | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
paths: | ||
- "src/**" | ||
jobs: | ||
release: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: sudo apt-get install -y jq | ||
- name: Get version | ||
id: version | ||
run: echo "::set-output name=version::$(cat src/SA-CrowdstrikeDevices/app.manifest | jq -r .info.id.version)" | ||
- name: Create release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true | ||
name: SA-CrowdstrikeDevices v${{ steps.version.outputs.version }} | ||
tag_name: v${{ steps.version.outputs.version }} |
This file contains 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 |
---|---|---|
@@ -1,47 +1,50 @@ | ||
# SA-CrowdstrikeDevices for Splunk Enterprise Security | ||
[![SA-CrowdstrikeDevices](./docs/assets/sa-crowdstrike-logo-dark.svg)](https://splunk-sa-crowdstrike.ztsplunker.com) | ||
|
||
[![GitHub](https://img.shields.io/github/license/ZachChristensen28/SA-CrowdstrikeDevices)]() | ||
![GitHub](https://img.shields.io/github/license/zachchristensen28/SA-CrowdstrikeDevices) | ||
[![Docs](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices/actions/workflows/docs.yml/badge.svg)](https://splunk-sa-crowdstrike.ztsplunker.com/) | ||
![Appinspect](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices/actions/workflows/appinspect.yml/badge.svg) | ||
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ZachChristensen28/SA-CrowdstrikeDevices) | ||
[![Splunkbase App](https://img.shields.io/badge/Splunkbase-SA--CrowdstrikeDevices-blue)](https://splunkbase.splunk.com/app/4505/) | ||
[![Splunkbase App](https://img.shields.io/badge/Splunkbase-SA--CrowdstrikeDevices-blue)](https://splunkbase.splunk.com/app/6573) | ||
[![Splunk ES Compatibility](https://img.shields.io/badge/Splunk%20ES%20Compatibility-7.x%20|%206.x-success)](https://splunkbase.splunk.com/app/263) | ||
![Splunk Cloud Compatibility](https://img.shields.io/badge/Splunk%20Cloud%20Ready-Victoria%20|%20Classic-informational?logo=splunk) | ||
|
||
This supporting add-on comes with prebuilt content for CrowdStrike device data to be easily used with Splunk Enterprise Security's asset database. | ||
|
||
## Documentation | ||
|
||
Full documentation can be found at [https://splunk-sa-crowdstrike.ztsplunker.com](https://splunk-sa-crowdstrike.ztsplunker.com) | ||
|
||
``` | ||
```markdown | ||
** This supporting add-on is only intended to work with Splunk Enterprise Security deployments ** | ||
``` | ||
|
||
![SA-CrowdstrikeDevices](./docs/assets/sa-crowdstrike-logo-dark.svg) | ||
## Documentation | ||
|
||
Full documentation can be found at [https://splunk-sa-crowdstrike.ztsplunker.com](https://splunk-sa-crowdstrike.ztsplunker.com). | ||
|
||
## Disclaimer | ||
|
||
> *This Splunk Supporting Add-on is __not__ affiliated with* [__Crowdstrike, Inc.__](https://www.crowdstrike.com) *and is not sponsored or sanctioned by the Crowdstrike team. As such, the included documentation does not contain information on how to get started with the Crowdstrike. Rather, this documentation serves as a guide to use Crowdstrike device data with Splunk Enterprise Security. Please visit [https://www.crowdstrike.com](https://www.crowdstrike.com) for more information about Crowdstrike.* | ||
> *This Splunk Supporting Add-on is __not__ affiliated with [__Crowdstrike, Inc.__](https://www.crowdstrike.com) and is not sponsored or sanctioned by the Crowdstrike team. As such, the included documentation does not contain information on how to get started with Crowdstrike. Rather, this documentation serves as a guide to use Crowdstrike device data with Splunk Enterprise Security. Please visit [https://www.crowdstrike.com](https://www.crowdstrike.com) for more information about Crowdstrike.* | ||
## About | ||
|
||
Info | Description | ||
------|---------- | ||
SA-CrowdstrikeDevices | 1.0.1 - [Splunkbase](https://splunkbase.splunk.com/app/6573/) \| [GitHub](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices) | ||
Splunk Enterprise Security Version <small>(Required)</small> | [7.x \| 6.x](https://splunkbase.splunk.com/app/263) | ||
Crowdstrike Devices Add-on <small>(Required)</small> | [3.x](https://splunkbase.splunk.com/app/5570) | ||
SA-CrowdstrikeDevices | 1.0.2 - [Splunkbase](https://splunkbase.splunk.com/app/6573/) \| [GitHub](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices) | ||
Splunk Enterprise Security Version (Required) | [7.x \| 6.x](https://splunkbase.splunk.com/app/263) | ||
Crowdstrike Devices Add-on (Required) | [3.x](https://splunkbase.splunk.com/app/5570) | ||
Add-on has a web UI | No, this add-on does not contain views. | ||
|
||
```TEXT | ||
Version 1.0.1 | ||
```text | ||
Version 1.0.2 | ||
New | ||
- added `first_seen`, `last_seen`, and `last_updated` to category field (#8). | ||
- added `site_name` to existing `bunit` field (#13). | ||
Updated | ||
- Changed app logo background to transparent. | ||
- Initial release | ||
- Hotfix for missing `_key` field in saved search. | ||
Fixed | ||
- Updated saved search to preserve hosts with multiple IP/MAC addresses (#11). | ||
``` | ||
|
||
## Issues or Feature Request | ||
## Issues or Feature Requests | ||
|
||
Please open an issue or feature request on [Github](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices/issues) | ||
Please open an issue or feature request on [Github](https://github.com/ZachChristensen28/SA-CrowdstrikeDevices/issues). |
This file contains 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,23 @@ | ||
# Clone default saved search | ||
|
||
In order to preserve the default behavior and to compare changes to new releases, it is recommended to clone the default search `Crowdstrike Devices Lookup - Gen` before making any changes. | ||
|
||
## Clone | ||
|
||
Perform the following to clone the default search: | ||
|
||
1. Navigate to Settings > Searches, reports, and alerts. | ||
1. Change "App" filter to `SA-CrowdstrikeDevices`. | ||
1. Change "Owner" to `All`. | ||
1. For the search named "Crowdstrike Devices Lookup - Gen" click "Edit" under Actions. | ||
1. From the dropdown menu click "Clone." | ||
1. <small>(optional)</small> Update the Title. | ||
1. Set "Permissions" to `clone`. | ||
1. Click "Clone Report" to finish. | ||
|
||
## Disable default search | ||
|
||
Disable the original search: | ||
|
||
1. For the search named "Crowdstrike Devices Lookup - Gen" click "Edit" under Actions. | ||
1. From the dropdown menu click "Disable" to disable the default search. |
This file contains 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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
# Business Unit Field (bunit) | ||
|
||
!!! info "To update the `bunit` field modify the `Crowdstrike Devices Lookup - Gen` saved search." | ||
!!! info "To update the `bunit` field modify the `Crowdstrike Devices Lookup - Gen` saved search. It is recommended to clone the default search before making changes (see [Clone Saved Search](../best-practice/clone-search))." | ||
|
||
The bunit field will most likely need to be updated. Every organization will have different values for this field. The current configuration is described in the following table. | ||
|
||
Mapped Field | Crowdstrike field | ||
------------ | ----------------- | ||
bunit | `falcon_device.ou{}` | ||
The bunit field will most likely need to be updated. Every organization will have different values for this field. See [Asset Mappings](/reference/asset-mapping) for description of the default fields used. |
This file contains 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 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 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 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,13 @@ | ||
# Update Schedule | ||
|
||
!!! info "To update the schedule modify the `Crowdstrike Devices Lookup - Gen` saved search. It is recommended to clone the default search before making changes (see [Clone Saved Search](../best-practice/clone-search))." | ||
|
||
The default saved search runs on the 19th minute of every hour to update and continually build the Crowdstrike assets. Most users will find that this schedule works for their environment. | ||
|
||
To update the default schedule perform the following steps: | ||
|
||
1. Navigate to Settings > Searches, reports, and alerts. | ||
1. Set the "App" dropdown to `SA-CrowdstrikeDevices`. | ||
1. Set the "Owner" dropdown to `All`. | ||
1. Click "Edit" under actions for the search `Crowdstrike Devices Lookup - Gen` or the name of the cloned search (see [Clone Saved Search](../best-practice/clone-search)). | ||
1. Click "Edit Schedule" and update the schedule and necessary. |
This file contains 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 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 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 |
---|---|---|
@@ -1,26 +1,31 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
|
||
# Asset Database Mapping | ||
|
||
The following table describes how this add-on maps to the Asset Database. | ||
|
||
> reference [Format an asset or identity in Splunk ES](https://docs.splunk.com/Documentation/ES/latest/Admin/Formatassetoridentitylist#Asset_lookup_header) | ||
ES Asset lookup field | SA-CrowdstrikeDevices example value | ||
--------------------- | ----------------------------------- | ||
ip | 10.15.23.8 | ||
mac | 61:se:e3:1s:7r:38 | ||
nt_host | dev-server01 | ||
dns | dev-server01.example.com | ||
owner | `not mapped` | ||
priority | medium | ||
lat | 40.76073 | ||
long | -111.89096 | ||
city | Salt Lake City | ||
country | United States | ||
bunit | computer,finance | ||
category | see [Category Field reference](../category) | ||
pci_domain | `not mapped` | ||
is_expected | `not mapped` | ||
should_timesync | `not mapped` | ||
should_update | `not mapped` | ||
requires_av | `not mapped` | ||
cim_entity_zone | `not mapped` | ||
ES Asset lookup field | [Crowdstrike Device TA Fields](https://splunkbase.splunk.com/app/5570) | Example value | Multi-value allowed | ||
--- | --- | --- | --- | ||
ip | `falcon_device.local_ip` | 10.15.23.8 | true | ||
mac | `mac` | 61:se:e3:1s:7r:38 | true | ||
nt_host | `falcon_device.hostname` | dev-server01 | false | ||
dns | `nt_host` + `falcon_device.machine_domain` | dev-server01.example.com | true | ||
owner | n/a | `not mapped` | n/a | ||
priority | see [Configure Priority](/configure/priority) | medium | false | ||
lat | from `iplocation` of `falcon_device.external_ip` | 40.76073 | false | ||
long | from `iplocation` of `falcon_device.external_ip` | -111.89096 | false | ||
city | from `iplocation` of `falcon_device.external_ip` | Salt Lake City | false | ||
country | from `iplocation` of `falcon_device.external_ip` | United States | false | ||
bunit | `falcon_device.ou{}` + `falcon_device.site_name` | computer,finance | true | ||
category | see [Category field reference](../category) | see [Category field reference](../category) | true | ||
pci_domain | n/a | `not mapped` | n/a | ||
is_expected | n/a | `not mapped` | n/a | ||
should_timesync | n/a | `not mapped` | n/a | ||
should_update | n/a | `not mapped` | n/a | ||
requires_av | n/a | `not mapped` | n/a | ||
cim_entity_zone | n/a | `not mapped` | n/a |
This file contains 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 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 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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Release history | ||
|
||
## v1.0.1 <small>August 25, 2022</small> | ||
|
||
- Hotfix for missing `_key` field in saved search. | ||
|
||
## v1.0.0 <small>August 25, 2022</small> | ||
|
||
- Initial Release |
This file contains 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
Oops, something went wrong.