Skip to content

Commit

Permalink
Check for whitespace and change version back to 11.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcnally-r7 committed Jan 8, 2025
1 parent c05dc4a commit e8daee1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 16 deletions.
8 changes: 4 additions & 4 deletions plugins/sentinelone/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "3c5580352019ace6c6b4a0bbb5fad9d9",
"manifest": "38aff416d59c85b3fc4b18618290accf",
"setup": "adc2b69e7c46068b1d13fe8ae3dc01bd",
"spec": "48ac05b73973308fdc9ec8bc325a1372",
"manifest": "bf2f37bb010ec31daf0a4aee3ae45b89",
"setup": "1e8d3387ed4d46dc2171d7ee9c3c4a2c",
"schemas": [
{
"identifier": "activities_list/schema.py",
Expand Down Expand Up @@ -129,7 +129,7 @@
},
{
"identifier": "monitor_logs/schema.py",
"hash": "6ee7bc26267a2fd719aecccb08ec7f18"
"hash": "90852af2f999f070b9386c3f9cf6f953"
},
{
"identifier": "get_threats/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion plugins/sentinelone/bin/komand_sentinelone
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "SentinelOne"
Vendor = "rapid7"
Version = "11.1.4"
Version = "11.1.3"
Description = "The SentinelOne plugin allows you to manage and mitigate all your security operations through SentinelOne"


Expand Down
3 changes: 1 addition & 2 deletions plugins/sentinelone/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -2351,8 +2351,7 @@ Example output:

# Version History

* 11.1.4 - Fix issue with URL input validation
* 11.1.3 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities
* 11.1.3 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities | Fix issue with URL input validation
* 11.1.2 - Resolve issue where unexpected timestamps returned from SentinelOne were not parsed in task `Monitor Logs` | Update plugin to be FedRAMP compliant
* 11.1.1 - Updated Plugin connection to improve `instance` input usability
* 11.1.0 - Added connection test for task `Monitor Logs` | Update SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ class MonitorLogsOutput(insightconnect_plugin_runtime.Output):
"type": "array",
"title": "Logs",
"description": "List of activity, device control event, and threat logs within the specified time range",
"items": {
"type": "object"
},
"items": {},
"definitions": {}
}
""")
Expand Down
7 changes: 5 additions & 2 deletions plugins/sentinelone/komand_sentinelone/util/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,14 @@ def format_subdomain(instance: str) -> str:
If an input subdomain contains a scheme or the SentinelOne second-level domain, strip these values
"""

# Remove leading and trailing whitespace
instance = instance.strip()

# Remove the scheme if it exists
if instance.startswith("http://"):
instance = instance[len("http://") :]
instance = instance[7:]
elif instance.startswith("https://"):
instance = instance[len("https://") :]
instance = instance[8:]

# Remove the SentinelOne domain suffix
if ".sentinelone.net" in instance:
Expand Down
5 changes: 2 additions & 3 deletions plugins/sentinelone/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extension: plugin
products: [insightconnect]
name: sentinelone
title: SentinelOne
version: 11.1.4
version: 11.1.3
connection_version: 10
cloud_ready: true
fedramp_ready: true
Expand Down Expand Up @@ -58,8 +58,7 @@ hub_tags:
keywords: [sentinelone, endpoint, detection, cloud_enabled]
features: []
version_history:
- "11.1.4 - Fix issue with URL input validation"
- "11.1.3 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities"
- "11.1.3 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities | Fix issue with URL input validation"
- "11.1.2 - Resolve issue where unexpected timestamps returned from SentinelOne were not parsed in task `Monitor Logs` | Update plugin to be FedRAMP compliant"
- "11.1.1 - Updated Plugin connection to improve `instance` input usability"
- "11.1.0 - Added connection test for task `Monitor Logs` | Update SDK"
Expand Down
2 changes: 1 addition & 1 deletion plugins/sentinelone/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="sentinelone-rapid7-plugin",
version="11.1.4",
version="11.1.3",
description="The SentinelOne plugin allows you to manage and mitigate all your security operations through SentinelOne",
author="rapid7",
author_email="",
Expand Down

0 comments on commit e8daee1

Please sign in to comment.