Skip to content
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

Tanium threat response connector 2 #1693

Merged
merged 53 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
603fb68
CP4S-39527 Initial Translation Code - Draft
DerekRushton Oct 25, 2023
2d41003
Tanium Threat Response
DerekRushton Oct 26, 2023
6518434
Fix Azure log analytics results translation. (#1612)
thangaraj-ramesh Oct 30, 2023
2da1bb8
Bump aioboto3 from 11.3.1 to 12.0.0 in /stix_shifter (#1611)
dependabot[bot] Oct 31, 2023
65b57d0
Bump pyopenssl from 23.2.0 to 23.3.0 in /stix_shifter (#1610)
dependabot[bot] Oct 31, 2023
dd81972
table of mapping script update for to-stix dialects (#1609)
delliott90 Nov 2, 2023
fc72162
Bump azure-identity from 1.14.1 to 1.15.0 in /stix_shifter (#1614)
dependabot[bot] Nov 2, 2023
864df61
Bump flatten-json from 0.1.13 to 0.1.14 in /stix_shifter (#1613)
dependabot[bot] Nov 2, 2023
5613e39
Update CHANGELOG.md for 6.3.0
delliott90 Nov 2, 2023
efeafa4
Cisco secure email added readme detailed file. (#1615)
thangaraj-ramesh Nov 6, 2023
84abe79
Added tested communication code for Tanium
DerekRushton Nov 16, 2023
890b3cd
Merge branch 'develop' into Tanium_Threat_Response_Connector
DerekRushton Nov 16, 2023
ff3f446
Added suggestions from Azam.
DerekRushton Nov 21, 2023
cfc9ef9
Fix parameter assignment in error handling function (#1616)
mdazam1942 Nov 22, 2023
ab45dfc
Remove future timestamp qualifier conditions (#1619)
mdazam1942 Nov 22, 2023
26ada3a
Make sure certificate is verified when required by RestApiClientAsync…
mdazam1942 Nov 27, 2023
07fbd98
Update CHANGELOG.md for 7.0.0
delliott90 Nov 27, 2023
63a2b59
add email-message translation to ecs (#1621)
subbyte Nov 29, 2023
9c01cd5
Update group_ref keyword documenation (#1622)
mdazam1942 Dec 4, 2023
a47f9ee
Initial To Stix mapping - Event and Transformers
DerekRushton Nov 29, 2023
d018be0
Another temporary commit to hold x-oca-event form
DerekRushton Dec 4, 2023
3fbe023
Finished up the to_stix mapping + test.
DerekRushton Dec 7, 2023
6eb509d
Removed additional event data.
DerekRushton Dec 7, 2023
f2dad06
Fixing the unittest failure
DerekRushton Dec 7, 2023
09b9e8e
Another Attempt
DerekRushton Dec 7, 2023
5c2b563
Merge branch 'develop' into Tanium_Threat_Response_Connector
mdazam1942 Dec 7, 2023
2f19314
Merge branch 'develop' into Tanium_Threat_Response_Connector
DerekRushton Dec 7, 2023
ccfe55d
Added the missing fields to the Tanium API response and request.
DerekRushton Jan 8, 2024
1214c8d
Updated toStix and fromStix
DerekRushton Jan 16, 2024
76e9fab
Update CHANGELOG.md for 7.0.1
delliott90 Dec 11, 2023
a7c8421
second half of email.* mapping for elastic_ecs (#1632)
subbyte Jan 5, 2024
dde5cf2
Sysdig connector (#1630)
thangaraj-ramesh Jan 11, 2024
4ee7369
Update machine ID field in QRadar module (#1634)
Alex-Kidston Jan 12, 2024
336df8e
Sysdig Connector - Formatting issue in sysdig_supported_stix.md file …
thangaraj-ramesh Jan 16, 2024
0eeec0a
Added the readme (WIP)
DerekRushton Jan 16, 2024
8817460
Undid an unintended change.
DerekRushton Jan 16, 2024
96c86a3
Another Attempt to undo the change.
DerekRushton Jan 16, 2024
24ad812
Merge branch 'develop' into Tanium_Threat_Response_Connector
DerekRushton Jan 16, 2024
5ee4268
Removing one more unintended change.
DerekRushton Jan 16, 2024
a985a35
One more unintended change.
DerekRushton Jan 16, 2024
eaba86f
Updated the sample for the unit test.
DerekRushton Jan 16, 2024
89680fe
Merge branch 'develop' into Tanium_Threat_Response_Connector
mdazam1942 Jan 18, 2024
027bd65
Merge branch 'develop' into Tanium_Threat_Response_Connector
mdazam1942 Jan 23, 2024
33c0b37
Azam's suggestions.
DerekRushton Jan 23, 2024
b90148f
Cleaned out the testing code I had left.
DerekRushton Jan 23, 2024
e215dab
Clean-up - Fixed up the readme.
DerekRushton Jan 24, 2024
f88f1b2
Added Azam's suggestions
DerekRushton Jan 25, 2024
eb14bcd
Cleaned the Json so it's standardized.
DerekRushton Jan 25, 2024
9d3b2b0
Removed the total size from the meta data as it's not needed.
DerekRushton Jan 25, 2024
7557411
Merge branch 'develop' into Tanium_Threat_Response_Connector
DerekRushton May 28, 2024
30235be
Cleaning up some comments+fixed observation queries.
DerekRushton May 29, 2024
2ce961d
Making the config values consistent.
DerekRushton May 29, 2024
17facce
Merge branch 'develop' into Tanium_Threat_Response_Connector_2
DerekRushton Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
823 changes: 823 additions & 0 deletions stix_shifter_modules/tanium/README.md

Large diffs are not rendered by default.

Empty file.
30 changes: 30 additions & 0 deletions stix_shifter_modules/tanium/configuration/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"connection": {
"type": {
"displayName": "Tanium Threat Response",
"group": "tanium"
},
"host": {
"type": "text",
"regex": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9_:/\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9_:/\\-]*[A-Za-z0-9])$"
},
"port": {
"type": "number",
"default": 443,
"min": 1,
"max": 65535
},
"options": {
"unmapped_fallback": {
"default": true
}
}
},
"configuration": {
"auth": {
"accessToken": {
"type": "password"
}
}
}
}
20 changes: 20 additions & 0 deletions stix_shifter_modules/tanium/configuration/lang_en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"connection": {
"host": {
"label": "Management IP address or hostname",
"description": "Specify the IP address or hostname of the data source"
},
"port": {
"label": "Host port",
"description": "Set the port number that is associated with the hostname or IP address"
}
},
"configuration": {
"auth": {
"accessToken": {
"label": "Access Token",
"description": "An access token for the Tanium Threat Response API."
}
}
}
}
11 changes: 11 additions & 0 deletions stix_shifter_modules/tanium/entry_point.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from stix_shifter_utils.utils.base_entry_point import BaseEntryPoint

class EntryPoint(BaseEntryPoint):
def __init__(self, connection={}, configuration={}, options={}):
super().__init__(connection, configuration, options)
self.set_async(False)

if connection:
self.setup_transmission_basic(connection, configuration)

self.setup_translation_simple(dialect_default='default')
Empty file.
116 changes: 116 additions & 0 deletions stix_shifter_modules/tanium/stix_translation/json/from_stix_map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"x-oca-event": {
"fields": {
"outcome": [
"state"
],
"severity": [
"severity"
],
"category": [
"matchType"
],
"provider": [
"intelType"
],
"action": [
"intelDocName"
],
"host_ref.hostname": [
"computerName"
],
"host_ref.ip_refs.value": [
"computerIpAddress"
],
"host_ref.os_ref.name": [
"platform"
],
"file_ref.parent_directory_ref.path": [
"path"
],
"x_ttp_tagging_refs.technique_id": [
"mitreId"
]
}
},
"x-ibm-finding": {
"fields": {
"dst_ip_ref.value": [
"computerIpAddress"
],
"name": [
"intelDocName"
],
"severity": [
"severity"
],
"dst_os_ref.name": [
"platform"
],
"x_ttp_tagging_refs.technique_id": [
"mitreId"
],
"x_guid": [
"guid"
],
"x_priority": [
"priority"
],
"x_intel_doc_id": [
"intelDocId"
],
"x_scan_config_id": [
"scanConfigId"
],
"x_path": [
"path"
],
"x_type": [
"type"
],
"x_source": [
"intelSource"
],
"x_label_name": [
"labelName"
],
"x_details": [
"details"
]
}
},
"ipv4-addr": {
"fields": {
"value": [
"computerIpAddress"
]
}
},
"ipv6-addr": {
"fields": {
"value": [
"computerIpAddress"
]
}
},
"x-oca-asset": {
"fields": {
"hostname": [
"computerName"
],
"ip_refs.value": [
"computerIpAddress"
],
"os_ref.name": [
"platform"
]
}
},
"software": {
"fields": {
"name": [
"platform"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ComparisonExpressionOperators.And": "&",
"ComparisonExpressionOperators.Or": "&",
"ComparisonComparators.In": "IN",
"ComparisonComparators.Equal": "=",
"ObservationOperators.And": "&",
"ObservationOperators.Or": "&"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"x-oca-event": {
"fields": {
"outcome": [
"state"
],
"severity": [
"severity"
],
"category": [
"matchType"
],
"provider": [
"intelType"
],
"action": [
"intelDocName"
],
"host_ref.hostname": [
"computerName"
],
"host_ref.ip_refs.value": [
"computerIpAddress"
],
"host_ref.os_ref.name": [
"platform"
],
"file_ref.parent_directory_ref.path": [
"path"
],
"x_ttp_tagging_refs.technique_id": [
"mitreId"
]
}
},
"x-ibm-finding": {
"fields": {
"dst_ip_ref.value": [
"computerIpAddress"
],
"name": [
"intelDocName"
],
"severity": [
"severity"
],
"dst_os_ref.name": [
"platform"
],
"x_ttp_tagging_refs.technique_id": [
"mitreId"
],
"x_guid": [
"guid"
],
"x_priority": [
"priority"
],
"x_intel_doc_id": [
"intelDocId"
],
"x_scan_config_id": [
"scanConfigId"
],
"x_path": [
"path"
],
"x_type": [
"type"
],
"x_source": [
"intelSource"
],
"x_label_name": [
"labelName"
],
"x_details": [
"details"
]
}
},
"ipv4-addr": {
"fields": {
"value": [
"computerIpAddress"
]
}
},
"ipv6-addr": {
"fields": {
"value": [
"computerIpAddress"
]
}
},
"x-oca-asset": {
"fields": {
"hostname": [
"computerName"
],
"ip_refs.value": [
"computerIpAddress"
],
"os_ref.name": [
"platform"
]
}
},
"software": {
"fields": {
"name": [
"platform"
]
}
}
}
Loading
Loading