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

[SOAR-16962] Rest - Initial updates for fedramp compliance | Updated SDK to the latest version (#2781) #2788

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions plugins/rest/.CHECKSUM
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"spec": "097258d7623c14121f7c7e47aa43f4e6",
"manifest": "7b11571c8f236466479dff5366cdbd5f",
"setup": "af61c496247996a0dd95e95b11a7d1ff",
"spec": "f425e921d555b8b8506def03985faca1",
"manifest": "682e0c73e6860a545d766c54eba69bb3",
"setup": "4aafb58bbcb649945c459ed1d720e6f7",
"schemas": [
{
"identifier": "delete/schema.py",
Expand Down
2 changes: 1 addition & 1 deletion plugins/rest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:5.4.4
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.1.0

LABEL organization=rapid7
LABEL sdk=python
Expand Down
2 changes: 1 addition & 1 deletion plugins/rest/bin/komand_rest
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from sys import argv

Name = "HTTP Requests"
Vendor = "rapid7"
Version = "6.0.7"
Version = "6.0.8"
Description = "The HTTP Requests plugin makes it easy to integrate with RESTful services"


Expand Down
107 changes: 54 additions & 53 deletions plugins/rest/help.md

Large diffs are not rendered by default.

48 changes: 45 additions & 3 deletions plugins/rest/plugin.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ products: [insightconnect]
name: rest
title: HTTP Requests
description: The HTTP Requests plugin makes it easy to integrate with RESTful services
version: 6.0.7
version: 6.0.8
connection_version: 6
vendor: rapid7
support: community
supported_versions: ["2023-10-19"]
supported_versions: ["2024-09-10"]
fedramp_ready: true
status: []
resources:
source_url: https://github.com/rapid7/insightconnect-plugins/tree/master/plugins/rest
Expand All @@ -31,8 +32,49 @@ hub_tags:
enable_cache: true
sdk:
type: full
version: 5.4.4
version: 6.1.0
user: root
troubleshooting: |
Any headers set in the action will overwrite the default ones in the connection.
Any issues connecting to the remote service should be present in the log of the job that ran. If you find any issues that represent bugs in the plugin itself, please contact someone at Komand directly.
version_history:
- "6.0.8 - Initial updates for fedramp compliance | Updated SDK to the latest version"
- "6.0.7 - Connection: fix hard overriding custom header from `CUSTOM_SECRET_INPUT`"
- "6.0.6 - Updated the SDK to the latest version to address memory usage issues"
- "6.0.5 - Fixed a bug where we dropped the slash at the end of URLs when joining them together"
- "6.0.4 - Custom Auth: Fix bug where we could not pass the API Key from the input into the Authentication header if the header value included a prefix"
- "6.0.3 - Added empty `__init__.py` file to `unit_test` folder | Refreshed with new tooling | Updated `requirements.txt`"
- "6.0.2 - Fixed a bug that would cause an incorrect error message whenever a 400 error was received and the response object was a list"
- "6.0.1 - Improved ability of 'Body Any' input to handle non-standard characters and JSON input"
- "6.0.0 - All actions: Changed body as array to body as any (string input)"
- "5.2.0 - All actions: Added body as an array input for remaining actions"
- "5.1.1 - Get: Fix issue where requests were failing when certificate file input field was empty"
- "5.1.0 - Add support for Get with Body with new Body input of type object | Add support for TLS by providing new inputs for the connection, Client Certificate and Private Key of type file"
- "5.0.3 - POST supports x-www-form-urlencoded | PATCH to now take in an array of objects"
- "5.0.2 - Fix issue with JSON data parser for PATCH request"
- "5.0.1 - Update to make 'No Authentication' the default connection type"
- "5.0.0 - Add ability for user to choose if the plugin should fail on standard HTTP error codes (4xx-5xx) | Add 'No Authentication' as another authentication type"
- "4.0.5 - Fix issue where if an API returned a list it would crash the plugin"
- "4.0.4 - Fix issue with SSL Verify"
- "4.0.3 - Update `requests` to the latest version | Update python version to `python-3-38-plugin:4` | Add `USER` in Dockerfile | Use input and output constants | Code refactor | Strip leading and trailing whitespace from route"
- "4.0.2 - Updated `docs_url` to [HTTP Requests - Plugin Connection Guide](https://docs.rapid7.com/insightconnect/http-requests)"
- "4.0.1 - Fix issue where the connection test fails when a base URL is provided with a web resource path for the Rapid7 Insight and Pendo auth types"
- "4.0.0 - Support new authentication types: Digest Auth and Bearer Token | Add a workaround to encrypt a secret key when used in custom HTTP headers | Add built-in authentication for services: Insight Platform, Pendo and OpsGenie"
- "3.0.5 - Fix issue where a null body return on a successful request would crash the plugin"
- "3.0.4 - Update REST plugin title to HTTP Requests"
- "3.0.3 - Add `docs_url` to plugin spec with link to [plugin setup guide](https://insightconnect.help.rapid7.com/docs/rest)"
- "3.0.2 - Update to v3 Python plugin architecture | Support get endpoints returning lists"
- "3.0.1 - New spec and help.md format for the Extension Library"
- "3.0.0 - Add basic auth support"
- "2.0.0 - Update connection to handle SSL verification"
- "1.0.0 - Update to v2 Python plugin architecture | Support web server mode"
- "0.1.4 - Bug fix for CI tool incorrectly uploading plugins"
- "0.1.3 - Fix post and put actions by using JSON argument instead of body"
- "0.1.2 - SSL bug fix in SDK"
- "0.1.1 - Update tags"
- "0.1.0 - Initial plugin"
links:
- "[HTTP Request Architecture Style](http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm)"
connection:
base_url:
title: Base URL
Expand Down
1 change: 0 additions & 1 deletion plugins/rest/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# List third-party dependencies here, separated by newlines.
# All dependencies must be version-pinned, eg. requests==1.2.0
# See: https://pip.pypa.io/en/stable/user_guide/#requirements-files
requests==2.31.0
parameterized==0.8.1
2 changes: 1 addition & 1 deletion plugins/rest/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


setup(name="rest-rapid7-plugin",
version="6.0.7",
version="6.0.8",
description="The HTTP Requests plugin makes it easy to integrate with RESTful services",
author="rapid7",
author_email="",
Expand Down
Loading