You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: plugins/python_3_script/bin/icon_python_3_script
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ from sys import argv
6
6
7
7
Name="Python 3 Script"
8
8
Vendor="rapid7"
9
-
Version="5.1.0"
10
-
Description="[Python](https://www.python.org/) is a programming language that lets you work quickly and integrate systems more effectively. This plugin allows you to run Python 3 code. It includes Python 3.9.19 and its standard library as well as the following 3rd party libraries:"
9
+
Version="5.1.1"
10
+
Description="[Python](https://www.python.org/) is a language for fast development and system integration. This plugin runs Python 3.12.8 with its standard library and other libraries such as:* [requests](https://requests.readthedocs.io/en/latest/)* [arrow](https://pypi.org/project/arrow/)* [lxml](http://lxml.de/)* [beautifulsoup](https://www.crummy.com/software/BeautifulSoup/)It supports loading custom modules and passing credentials (`username`, `password`, `secret_key`)"
Copy file name to clipboardexpand all lines: plugins/python_3_script/help.md
+9-14
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,13 @@
1
1
# Description
2
2
3
-
[Python](https://www.python.org/) is a programming language that lets you work quickly and integrate systems more effectively. This plugin allows you to run Python 3 code. It includes Python 3.9.19 and its standard library as well as the following 3rd party libraries:
3
+
[Python](https://www.python.org/) is a language for fast development and system integration. This plugin runs Python 3.12.8 with its standard library and other libraries such as:
The Python 3 Script plugin also allows you to load custom modules via its connection parameters.
15
-
16
-
Also, this plugin allows you to provide additional credentials in the connection such as username, password, secret_key available in the script as Python variables (`username`, `password`, `secret_key`)
10
+
It supports loading custom modules and passing credentials (`username`, `password`, `secret_key`)
17
11
18
12
# Key Features
19
13
@@ -25,7 +19,7 @@ Also, this plugin allows you to provide additional credentials in the connection
25
19
26
20
# Supported Product Versions
27
21
28
-
* Python 3.9.18
22
+
* Python 3.12.8
29
23
30
24
# Documentation
31
25
@@ -116,10 +110,11 @@ Example output:
116
110
117
111
## Troubleshooting
118
112
119
-
Some third-party modules defined in the Modules connection input (such as pandas) can take a long time to install. If installation fails, try increasing the Timeout connection input to 900 (15 minutes)
113
+
*Some third-party modules defined in the Modules connection input (such as pandas) can take a long time to install. If installation fails, try increasing the Timeout connection input to 900 (15 minutes)
120
114
121
115
# Version History
122
116
117
+
* 5.1.1 - Updated SDK to the latest version (6.2.5)
123
118
* 5.1.0 - Action `Run`: Added `timeout` optional parameter | Updated SDK to the latest version
124
119
* 5.0.1 - Updated SDK to the latest version | Initial updates for fedramp compliance
125
120
* 5.0.0 - Updated SDK to the latest version | Removing records as its not maintained | Replacing maya with arrow (maya not maintained)
Copy file name to clipboardexpand all lines: plugins/python_3_script/plugin.spec.yaml
+78-48
Original file line number
Diff line number
Diff line change
@@ -6,72 +6,98 @@ title: Python 3 Script
6
6
vendor: rapid7
7
7
support: rapid7
8
8
status: []
9
-
description: "[Python](https://www.python.org/) is a programming language that lets you work quickly and integrate systems more effectively. This plugin allows you to run Python 3 code. It includes Python 3.9.19 and its standard library as well as the following 3rd party libraries:"
10
-
version: 5.1.0
9
+
description: "[Python](https://www.python.org/) is a language for fast development\
10
+
\ and system integration. This plugin runs Python 3.12.8 with its standard library\
11
+
\ and other libraries such as:\n\n* [requests](https://requests.readthedocs.io/en/latest/)\n\
troubleshooting: "Some third-party modules defined in the Modules connection input (such as pandas) can take a long time to install. If installation fails, try increasing the Timeout connection input to 900 (15 minutes)"
32
+
troubleshooting:
33
+
- Some third-party modules defined in the Modules connection input (such as pandas)
34
+
can take a long time to install. If installation fails, try increasing the Timeout
- "5.1.0 - Action `Run`: Added `timeout` optional parameter | Updated SDK to the latest version"
44
-
- "5.0.1 - Updated SDK to the latest version | Initial updates for fedramp compliance"
45
-
- "5.0.0 - Updated SDK to the latest version | Removing records as its not maintained | Replacing maya with arrow (maya not maintained)"
46
-
- "4.0.10 - Updated the SDK to the latest version | Updated Python version to `3.9.19` | Fixed issue with invalid unicode character"
47
-
- "4.0.9 - Updated the SDK to the latest version to address memory usage issues"
48
-
- "4.0.8 - Updated the SDK to latest version | Fix issue where input argument was too long"
49
-
- "4.0.7 - Updated the SDK | Updated Python version to `3.9.18` | Added handler to run function separately"
50
-
- "4.0.6 - Added empty `__init__.py` file to `unit_test` folder | Refreshed with new tooling"
51
-
- "4.0.5 - Updated the SDK version to include output masking | Updated all dependencies to the newest versions"
52
-
- "4.0.4 - Update Pyyaml to version 6.0.0"
53
-
- "4.0.3 - Run: Fix logging issue"
54
-
- "4.0.2 - Run: Fix issue with indentation where users have non-empty credentials for input function"
55
-
- "4.0.1 - Resolve issue where users experience issues with installing Python packages, and indentation for input function"
56
-
- "4.0.0 - Add custom script credentials in Connection"
57
-
- "3.0.0 - Add custom credentials in Run action"
58
-
- "2.0.4 - Update help documentation for installing third-party modules"
59
-
- "2.0.3 - Update `docs_url` in plugin spec with a new link to [plugin setup guide](https://docs.rapid7.com/insightconnect/python-2-or-3-script/)"
60
-
- "2.0.2 - Add `docs_url` to plugin spec with link to [plugin setup guide](https://insightconnect.help.rapid7.com/docs/python-2-or-3-script)"
61
-
- "2.0.1 - New spec and help.md format for the Extension Library"
62
-
- "2.0.0 - Add the ability to download and install third-party libraries for use while configuring the plugin Connection"
63
-
- "1.0.6 - Fix issue where undefined output exceptions were not being handled correctly"
64
-
- "1.0.5 - Add `utilities` plugin tag for Marketplace searchability"
65
-
- "1.0.4 - Fix issue where run action was excluded from plugin on build"
66
-
- "1.0.3 - Update to v2 Python plugin architecture | Support web server mode | Add and pin 3rd party libraries: lxml, beautifulsoup, pyyaml, maya, and records;"
67
-
- "1.0.2 - SDK update"
68
-
- "1.0.1 - SSL bug fix in SDK"
69
-
- "0.1.0 - Initial plugin"
56
+
- 5.1.1 - Updated SDK to the latest version (6.2.5)
57
+
- '5.1.0 - Action `Run`: Added `timeout` optional parameter | Updated SDK to the latest
58
+
version'
59
+
- 5.0.1 - Updated SDK to the latest version | Initial updates for fedramp compliance
60
+
- 5.0.0 - Updated SDK to the latest version | Removing records as its not maintained
61
+
| Replacing maya with arrow (maya not maintained)
62
+
- 4.0.10 - Updated the SDK to the latest version | Updated Python version to `3.9.19`
63
+
| Fixed issue with invalid unicode character
64
+
- 4.0.9 - Updated the SDK to the latest version to address memory usage issues
65
+
- 4.0.8 - Updated the SDK to latest version | Fix issue where input argument was too
66
+
long
67
+
- 4.0.7 - Updated the SDK | Updated Python version to `3.9.18` | Added handler to
68
+
run function separately
69
+
- 4.0.6 - Added empty `__init__.py` file to `unit_test` folder | Refreshed with new
70
+
tooling
71
+
- 4.0.5 - Updated the SDK version to include output masking | Updated all dependencies
72
+
to the newest versions
73
+
- 4.0.4 - Update Pyyaml to version 6.0.0
74
+
- '4.0.3 - Run: Fix logging issue'
75
+
- '4.0.2 - Run: Fix issue with indentation where users have non-empty credentials
76
+
for input function'
77
+
- 4.0.1 - Resolve issue where users experience issues with installing Python packages,
78
+
and indentation for input function
79
+
- 4.0.0 - Add custom script credentials in Connection
80
+
- 3.0.0 - Add custom credentials in Run action
81
+
- 2.0.4 - Update help documentation for installing third-party modules
82
+
- 2.0.3 - Update `docs_url` in plugin spec with a new link to [plugin setup guide](https://docs.rapid7.com/insightconnect/python-2-or-3-script/)
83
+
- 2.0.2 - Add `docs_url` to plugin spec with link to [plugin setup guide](https://insightconnect.help.rapid7.com/docs/python-2-or-3-script)
84
+
- 2.0.1 - New spec and help.md format for the Extension Library
85
+
- 2.0.0 - Add the ability to download and install third-party libraries for use while
86
+
configuring the plugin Connection
87
+
- 1.0.6 - Fix issue where undefined output exceptions were not being handled correctly
88
+
- 1.0.5 - Add `utilities` plugin tag for Marketplace searchability
89
+
- 1.0.4 - Fix issue where run action was excluded from plugin on build
90
+
- '1.0.3 - Update to v2 Python plugin architecture | Support web server mode | Add
91
+
and pin 3rd party libraries: lxml, beautifulsoup, pyyaml, maya, and records;'
92
+
- 1.0.2 - SDK update
93
+
- 1.0.1 - SSL bug fix in SDK
94
+
- 0.1.0 - Initial plugin
70
95
connection:
71
96
modules:
72
97
title: Third-Party Modules
73
-
description: List of third-party modules to install for use in the supplied Python script
74
-
type: "[]string"
98
+
description: List of third-party modules to install for use in the supplied Python
description: Function definition. Must be named `run`. Accepts the `input` object as params. Returns the dict as output. In this action you can use `username`, `password`, `secret_key` variables if defined in connection
129
+
description: Function definition. Must be named `run`. Accepts the `input`
130
+
object as params. Returns the dict as output. In this action you can use
131
+
`username`, `password`, `secret_key` variables if defined in connection
Copy file name to clipboardexpand all lines: plugins/python_3_script/setup.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@
3
3
4
4
5
5
setup(name="python_3_script-rapid7-plugin",
6
-
version="5.1.0",
7
-
description="[Python](https://www.python.org/) is a programming language that lets you work quickly and integrate systems more effectively. This plugin allows you to run Python 3 code. It includes Python 3.9.19 and its standard library as well as the following 3rd party libraries:",
6
+
version="5.1.1",
7
+
description="[Python](https://www.python.org/) is a language for fast development and system integration. This plugin runs Python 3.12.8 with its standard library and other libraries such as:* [requests](https://requests.readthedocs.io/en/latest/)* [arrow](https://pypi.org/project/arrow/)* [lxml](http://lxml.de/)* [beautifulsoup](https://www.crummy.com/software/BeautifulSoup/)It supports loading custom modules and passing credentials (`username`, `password`, `secret_key`)",
0 commit comments