diff --git a/plugins/powershell/.CHECKSUM b/plugins/powershell/.CHECKSUM index aa2460f5e6..2db57d2f10 100644 --- a/plugins/powershell/.CHECKSUM +++ b/plugins/powershell/.CHECKSUM @@ -1,7 +1,7 @@ { - "spec": "4c0f0a9d3911e20cccf8f93b93bddbeb", - "manifest": "d6319a4bb7241fbf2c4f33ca7a77e365", - "setup": "7c1ec93a7aa9285d5f54c76e2f8de14d", + "spec": "b1e8b7c586c71fd8400f42e59e1081d6", + "manifest": "c073e033710bb75079c46d1d9d5d5038", + "setup": "9c3f4261176735eca46c01c8fd842f72", "schemas": [ { "identifier": "execute_script/schema.py", diff --git a/plugins/powershell/Dockerfile b/plugins/powershell/Dockerfile index fa80c0719e..36e5bd8376 100755 --- a/plugins/powershell/Dockerfile +++ b/plugins/powershell/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.0 +FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.1.4 LABEL organization=rapid7 LABEL sdk=python diff --git a/plugins/powershell/bin/icon_powershell b/plugins/powershell/bin/icon_powershell index 688888883a..63c66ecc91 100755 --- a/plugins/powershell/bin/icon_powershell +++ b/plugins/powershell/bin/icon_powershell @@ -6,7 +6,7 @@ from sys import argv Name = "PowerShell" Vendor = "rapid7" -Version = "3.0.4" +Version = "3.0.5" Description = "[PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-6) is a task-based command-line shell and scripting language from Microsoft that helps system administrators, power-users, and InsightConnect customers rapidly automate tasks that manage operating systems and processes. This plugin runs a PowerShell script on a remote host or locally on an InsightConnect Orchestrator" diff --git a/plugins/powershell/help.md b/plugins/powershell/help.md index 459d5e5980..8fa211df98 100644 --- a/plugins/powershell/help.md +++ b/plugins/powershell/help.md @@ -11,6 +11,7 @@ * For local Orchestrator execution, ensure connectivity to any network resources the script will use * For remote server execution, a PowerShell-enabled server and administrative credentials * When adding a password for the script, try to avoid special or escape characters such as single or double quotes +* The use of round-robin DNS lookups is not supported # Supported Product Versions @@ -152,6 +153,10 @@ Example output: ## Troubleshooting +The use of round-robin DNS lookups is not supported + +Currently we do not support the use of round-robin DNS lookups. + If Auth Type is set to "None" the PowerShell script will execute locally on the Komand host. This can also by accomplished by leaving the address field blank. @@ -196,7 +201,8 @@ Invoke-Expression ((New-Object System.Net.Webclient).DownloadString('https://raw # Version History -* 3.0.4 - Upgrade user from `nobody` to `root` | bump SDK to 6.1.0 | Add in the realm package +* 3.0.5 - Bump requirements.txt | Bump SDK to 6.1.4 | Update help.md to enforce that the use of round-robin DNS lookups is not supported +* 3.0.4 - Upgrade user from `nobody` to `root` | bump SDK to 6.0.1 and switch back to `Bullseye` based SDK image * 3.0.3 - Fix decoding error in `Execute Script` action | Update SDK | Update packages for alpine image * 3.0.2 - Updated the SDK version to include output masking | Updated all the dependencies to the newest versions * 3.0.1 - Bug fix - Fix issue where single quotes in password causes parsing error @@ -226,4 +232,4 @@ Invoke-Expression ((New-Object System.Net.Webclient).DownloadString('https://raw * [pywinrm library](https://pypi.python.org/pypi/pywinrm) * [samba-common](https://packages.debian.org/sid/samba-common) * [krb5-user](https://packages.debian.org/search?keywords=krb5-user) -* [realmd](https://packages.debian.org/jessie/admin/realmd) +* [realmd](https://packages.debian.org/jessie/admin/realmd) \ No newline at end of file diff --git a/plugins/powershell/plugin.spec.yaml b/plugins/powershell/plugin.spec.yaml index 24016e41e9..6dfbf15de6 100644 --- a/plugins/powershell/plugin.spec.yaml +++ b/plugins/powershell/plugin.spec.yaml @@ -4,7 +4,7 @@ products: [insightconnect] name: powershell title: PowerShell description: "[PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-6) is a task-based command-line shell and scripting language from Microsoft that helps system administrators, power-users, and InsightConnect customers rapidly automate tasks that manage operating systems and processes. This plugin runs a PowerShell script on a remote host or locally on an InsightConnect Orchestrator" -version: 3.0.4 +version: 3.0.5 connection_version: 3 key_features: - "Run a PowerShell script to manage (remote) computers from the command line" @@ -12,9 +12,10 @@ requirements: - "For local Orchestrator execution, ensure connectivity to any network resources the script will use" - "For remote server execution, a PowerShell-enabled server and administrative credentials" - "When adding a password for the script, try to avoid special or escape characters such as single or double quotes" + - "The use of round-robin DNS lookups is not supported" sdk: type: slim - version: 6.1.0 + version: 6.1.4 user: nobody links: - "[InsightConnect Powershell Plugin Guide](https://docs.rapid7.com/insightconnect/mass-delete-with-PowerShell/)" @@ -27,6 +28,7 @@ supported_versions: ["PowerShell 6.1.2"] vendor: rapid7 support: community status: [] +troubleshooting: "The use of round-robin DNS lookups is not supported" resources: source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/powershell license_url: https://github.com/rapid7/insightconnect-plugins/blob/master/LICENSE @@ -40,6 +42,7 @@ hub_tags: keywords: [powershell, microsoft] features: [] version_history: + - "3.0.5 - Bump requirements.txt | Bump SDK to 6.1.4 | Update help.md to enforce that the use of round-robin DNS lookups is not supported" - "3.0.4 - Upgrade user from `nobody` to `root` | bump SDK to 6.0.1 and switch back to `Bullseye` based SDK image" - "3.0.3 - Fix decoding error in `Execute Script` action | Update SDK | Update packages for alpine image" - "3.0.2 - Updated the SDK version to include output masking | Updated all the dependencies to the newest versions" diff --git a/plugins/powershell/requirements.txt b/plugins/powershell/requirements.txt index c115b6f6d2..28619b7729 100755 --- a/plugins/powershell/requirements.txt +++ b/plugins/powershell/requirements.txt @@ -5,6 +5,6 @@ git+https://github.com/komand/pywinrm.git@v0.3.1dev0#pywinrm requests-kerberos==0.14.0 requests-credssp==2.0.0 parameterized==0.8.1 -requests==2.32.0 -cryptography==42.0.6 +requests==2.32.2 +cryptography==43.0.1 idna==3.7 \ No newline at end of file diff --git a/plugins/powershell/setup.py b/plugins/powershell/setup.py index ec73121074..619aa9741a 100755 --- a/plugins/powershell/setup.py +++ b/plugins/powershell/setup.py @@ -3,7 +3,7 @@ setup(name="powershell-rapid7-plugin", - version="3.0.4", + version="3.0.5", description="[PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-6) is a task-based command-line shell and scripting language from Microsoft that helps system administrators, power-users, and InsightConnect customers rapidly automate tasks that manage operating systems and processes. This plugin runs a PowerShell script on a remote host or locally on an InsightConnect Orchestrator", author="rapid7", author_email="",