Skip to content

Commit 6a6109a

Browse files
authored
Release Powershell 3.0.12 (#3713) (#3714)
1 parent 6be816d commit 6a6109a

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

plugins/powershell/.CHECKSUM

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"spec": "46cf7814bb0ef6d55a5595ad1213c28f",
3-
"manifest": "ac4eac337d09c70a8cf08f754d29312f",
4-
"setup": "b9a3e53e328c1cf3b0c036f3a0d2d0a0",
2+
"spec": "2ea2d75f5eeb9a83f7848aed2e14f2ac",
3+
"manifest": "2edf13d9cccc71ed8e015a5f05073ac2",
4+
"setup": "a745426691f0a64bf3dd6637c3ca5e50",
55
"schemas": [
66
{
77
"identifier": "execute_script/schema.py",

plugins/powershell/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.4.1 AS builder
1+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.4.3 AS builder
22

33
WORKDIR /python/src
44

@@ -11,7 +11,7 @@ ADD . /python/src
1111
RUN pip install .
1212
RUN pip uninstall -y setuptools
1313

14-
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.4.1
14+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-slim-plugin:6.4.3
1515

1616
LABEL organization=rapid7
1717
LABEL sdk=python
@@ -42,6 +42,7 @@ RUN apt-get update && apt-get install -y \
4242
RUN wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/powershell-7.5.4-linux-x64.tar.gz \
4343
&& mkdir /opt/powershell \
4444
&& tar -xzf powershell-7.5.4-linux-x64.tar.gz -C /opt/powershell \
45+
&& chmod 500 /opt/powershell/pwsh \
4546
&& ln -s /opt/powershell/pwsh /usr/bin/pwsh \
4647
&& rm powershell-7.5.4-linux-x64.tar.gz
4748

plugins/powershell/bin/icon_powershell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from sys import argv
66

77
Name = "PowerShell"
88
Vendor = "rapid7"
9-
Version = "3.0.11"
9+
Version = "3.0.12"
1010
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"
1111

1212

plugins/powershell/help.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Supported Product Versions
1717

18-
* PowerShell 7.4.6
18+
* PowerShell 7.5.4
1919

2020
# Documentation
2121

@@ -188,6 +188,7 @@ Invoke-Expression ((New-Object System.Net.Webclient).DownloadString('https://raw
188188

189189
# Version History
190190

191+
* 3.0.12 - Updated dependencies | Updated SDK to the latest version (6.4.3)
191192
* 3.0.11 - Updated dependencies | Updated SDK to the latest version (6.4.1)
192193
* 3.0.10 - Resolved Snyk Vulnerabilities | SDK bump to latest version (6.3.7)
193194
* 3.0.9 - Resolved Snyk Vulnerability | SDK bump to latest version (6.3.6)

plugins/powershell/plugin.spec.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: '[PowerShell](https://docs.microsoft.com/en-us/powershell/scripting
88
system administrators, power-users, and InsightConnect customers rapidly automate
99
tasks that manage operating systems and processes. This plugin runs a PowerShell
1010
script on a remote host or locally on an InsightConnect Orchestrator'
11-
version: 3.0.11
11+
version: 3.0.12
1212
connection_version: 3
1313
key_features:
1414
- Run a PowerShell script to manage (remote) computers from the command line
@@ -21,7 +21,7 @@ requirements:
2121
- The use of round-robin DNS lookups is not supported
2222
sdk:
2323
type: slim
24-
version: 6.4.1
24+
version: 6.4.3
2525
user: root
2626
custom_cmd:
2727
- '# Add any package dependencies here'
@@ -45,6 +45,7 @@ sdk:
4545
- RUN wget https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/powershell-7.5.4-linux-x64.tar.gz \
4646
- ' && mkdir /opt/powershell \'
4747
- ' && tar -xzf powershell-7.5.4-linux-x64.tar.gz -C /opt/powershell \'
48+
- ' && chmod 500 /opt/powershell/pwsh \'
4849
- ' && ln -s /opt/powershell/pwsh /usr/bin/pwsh \'
4950
- ' && rm powershell-7.5.4-linux-x64.tar.gz'
5051
links:
@@ -54,7 +55,7 @@ references:
5455
- '[samba-common](https://packages.debian.org/sid/samba-common)'
5556
- '[krb5-user](https://packages.debian.org/search?keywords=krb5-user)'
5657
- '[realmd](https://packages.debian.org/jessie/admin/realmd)'
57-
supported_versions: [PowerShell 7.4.6]
58+
supported_versions: [PowerShell 7.5.4]
5859
vendor: rapid7
5960
support: community
6061
status: []
@@ -103,6 +104,7 @@ troubleshooting:
103104
```"
104105
- SSL is not configured for port `5985`
105106
version_history:
107+
- 3.0.12 - Updated dependencies | Updated SDK to the latest version (6.4.3)
106108
- 3.0.11 - Updated dependencies | Updated SDK to the latest version (6.4.1)
107109
- 3.0.10 - Resolved Snyk Vulnerabilities | SDK bump to latest version (6.3.7)
108110
- 3.0.9 - Resolved Snyk Vulnerability | SDK bump to latest version (6.3.6)

plugins/powershell/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ pywinrm[kerberos]==0.5.0
55
requests-kerberos==0.15.0
66
requests-credssp==2.0.0
77
parameterized==0.9.0
8-
cryptography==44.0.1
9-
idna==3.10
10-
urllib3==2.6.0
8+
cryptography==46.0.4
9+
idna==3.11
10+
xmltodict==1.0.2

plugins/powershell/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name="powershell-rapid7-plugin",
7-
version="3.0.11",
7+
version="3.0.12",
88
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",
99
author="rapid7",
1010
author_email="",

0 commit comments

Comments
 (0)