Skip to content

Commit a49834a

Browse files
authored
rest sdk prep (#3238) (#3239)
1 parent 716521e commit a49834a

File tree

6 files changed

+187
-122
lines changed

6 files changed

+187
-122
lines changed

plugins/rest/.CHECKSUM

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"spec": "f425e921d555b8b8506def03985faca1",
3-
"manifest": "682e0c73e6860a545d766c54eba69bb3",
4-
"setup": "4aafb58bbcb649945c459ed1d720e6f7",
2+
"spec": "becbd4dd2f3389ca2dedb40086b884c2",
3+
"manifest": "de92dab02a59bf79152bee88011342d9",
4+
"setup": "7b6ea667eed8dc0bba71b60192ba6e28",
55
"schemas": [
66
{
77
"identifier": "delete/schema.py",

plugins/rest/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.1.0
1+
FROM --platform=linux/amd64 rapid7/insightconnect-python-3-plugin:6.2.5
22

33
LABEL organization=rapid7
44
LABEL sdk=python
@@ -12,7 +12,7 @@ RUN if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1212

1313
ADD . /python/src
1414

15-
RUN python setup.py build && python setup.py install
15+
RUN pip install .
1616

1717
# User to run plugin code. The two supported users are: root, nobody
1818
USER root

plugins/rest/bin/komand_rest

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ from sys import argv
66

77
Name = "HTTP Requests"
88
Vendor = "rapid7"
9-
Version = "6.0.8"
10-
Description = "The HTTP Requests plugin makes it easy to integrate with RESTful services"
9+
Version = "6.0.9"
10+
Description = "The HTTP Requests plugin simplifies integration with RESTful services, letting users automate HTTP requests (`DELETE`, `GET`, `PATCH`, `POST`, `PUT`) to APIs.It's ideal for ad-hoc third-party API integration within workflows without [building a new plugin](https://komand.github.io/python/index.html).Learn more about RESTful services [here](https://en.wikipedia.org/wiki/Representational_state_transfer)"
1111

1212

1313
def main():

plugins/rest/help.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Description
22

3-
The HTTP Requests plugin makes it easy to integrate with RESTful services
3+
The HTTP Requests plugin simplifies integration with RESTful services, letting users automate HTTP requests (`DELETE`, `GET`, `PATCH`, `POST`, `PUT`) to APIs.
44

5-
The HTTP Requests plugin allows users to automate HTTP requests to API services such as [RESTful based services](https://en.wikipedia.org/wiki/Representational_state_transfer).
5+
It's ideal for ad-hoc third-party API integration within workflows without [building a new plugin](https://komand.github.io/python/index.html).
66

7-
This plugin is often used to integrate with ad-hoc 3rd party API's in a workflow without going through the process of [building a new plugin](https://komand.github.io/python/index.html). It supports DELETE, GET, PATCH, POST, or PUT requests to the provided URI.
7+
Learn more about RESTful services [here](https://en.wikipedia.org/wiki/Representational_state_transfer)
88

99
# Key Features
1010

@@ -17,7 +17,7 @@ This plugin is often used to integrate with ad-hoc 3rd party API's in a workflow
1717

1818
# Supported Product Versions
1919

20-
* 2024-09-10
20+
* 2025-02-26
2121

2222
# Documentation
2323

@@ -336,12 +336,12 @@ Example output:
336336

337337
## Troubleshooting
338338

339-
Any headers set in the action will overwrite the default ones in the connection.
340-
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.
341-
339+
* Any headers set in the action will overwrite the default ones in the connection.
340+
* 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.
342341

343342
# Version History
344343

344+
* 6.0.9 - Updated SDK to the latest version (6.2.5)
345345
* 6.0.8 - Initial updates for fedramp compliance | Updated SDK to the latest version
346346
* 6.0.7 - Connection: fix hard overriding custom header from `CUSTOM_SECRET_INPUT`
347347
* 6.0.6 - Updated the SDK to the latest version to address memory usage issues

0 commit comments

Comments
 (0)