insightconnect-plugin-runtime 6.1.0__tar.gz → 6.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. {insightconnect_plugin_runtime-6.1.0/insightconnect_plugin_runtime.egg-info → insightconnect_plugin_runtime-6.1.2}/PKG-INFO +3 -1
  2. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/README.md +2 -0
  3. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/api/endpoints.py +7 -3
  4. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2/insightconnect_plugin_runtime.egg-info}/PKG-INFO +3 -1
  5. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/setup.py +1 -1
  6. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/MANIFEST.in +0 -0
  7. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect-plugin-swagger.json +0 -0
  8. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/__init__.py +0 -0
  9. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/action.py +0 -0
  10. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/api/__init__.py +0 -0
  11. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/api/schemas.py +0 -0
  12. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/cli.py +0 -0
  13. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/clients/__init__.py +0 -0
  14. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/clients/aws_client.py +0 -0
  15. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/clients/oauth.py +0 -0
  16. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/connection.py +0 -0
  17. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/data/input_message_schema.json +0 -0
  18. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/data/output_message_schema.json +0 -0
  19. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/dispatcher.py +0 -0
  20. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/exceptions.py +0 -0
  21. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/helper.py +0 -0
  22. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/metrics.py +0 -0
  23. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/plugin.py +0 -0
  24. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/schema.py +0 -0
  25. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/server.py +0 -0
  26. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/step.py +0 -0
  27. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/task.py +0 -0
  28. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/trigger.py +0 -0
  29. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/util.py +0 -0
  30. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime/variables.py +0 -0
  31. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime.egg-info/SOURCES.txt +0 -0
  32. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime.egg-info/dependency_links.txt +0 -0
  33. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime.egg-info/requires.txt +0 -0
  34. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/insightconnect_plugin_runtime.egg-info/top_level.txt +0 -0
  35. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/setup.cfg +0 -0
  36. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/__init__.py +0 -0
  37. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/__init__.py +0 -0
  38. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/__init__.py +0 -0
  39. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/__init__.py +0 -0
  40. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/__init__.py +0 -0
  41. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/__init__.py +0 -0
  42. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/__init__.py +0 -0
  43. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/action.py +0 -0
  44. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/schema.py +0 -0
  45. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/__init__.py +0 -0
  46. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/action.py +0 -0
  47. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/schema.py +0 -0
  48. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/__init__.py +0 -0
  49. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/action.py +0 -0
  50. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/schema.py +0 -0
  51. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/__init__.py +0 -0
  52. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/connection.py +0 -0
  53. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/schema.py +0 -0
  54. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/__init__.py +0 -0
  55. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/__init__.py +0 -0
  56. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/schema.py +0 -0
  57. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/task.py +0 -0
  58. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/__init__.py +0 -0
  59. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/__init__.py +0 -0
  60. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/schema.py +0 -0
  61. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/trigger.py +0 -0
  62. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/__init__.py +0 -0
  63. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/schema.py +0 -0
  64. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/trigger.py +0 -0
  65. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/__init__.py +0 -0
  66. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/schema.py +0 -0
  67. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/trigger.py +0 -0
  68. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/komand_hello_world/util/__init__.py +0 -0
  69. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/hello_world/setup.py +0 -0
  70. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/tests/__init__.py +0 -0
  71. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/tests/conftest.py +0 -0
  72. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/tests/test_cli.py +0 -0
  73. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/tests/test_hello_world.py +0 -0
  74. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/plugin/hello_world/tests/test_server.py +0 -0
  75. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/__init__.py +0 -0
  76. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_action.py +0 -0
  77. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_api.py +0 -0
  78. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_aws_action.py +0 -0
  79. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_custom_encoder.py +0 -0
  80. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_endpoints.py +0 -0
  81. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_exceptions.py +0 -0
  82. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_helpers.py +0 -0
  83. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_metrics.py +0 -0
  84. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_oauth.py +0 -0
  85. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_plugin.py +0 -0
  86. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_schema.py +0 -0
  87. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_server_cloud_plugins.py +0 -0
  88. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_server_spec.py +0 -0
  89. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_trigger.py +0 -0
  90. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/test_variables.py +0 -0
  91. {insightconnect_plugin_runtime-6.1.0 → insightconnect_plugin_runtime-6.1.2}/tests/unit/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 6.1.0
3
+ Version: 6.1.2
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -211,6 +211,8 @@ contributed. Black is installed as a test dependency and the hook can be initial
211
211
  after cloning this repository.
212
212
 
213
213
  ## Changelog
214
+ * 6.1.2 - Removing the call to mask_output_data for task code.
215
+ * 6.1.1 - Addressed vulnerabilities within the slim and non-slim Python images (bumping packages).
214
216
  * 6.1.0 - Update AWSAction tests to utilise AWS Client Error names for connection test | Update `request_error_handling` to include input for custom configuration
215
217
  * 6.0.1 - Address vulnerabilities within the following python packages: `Jinja2`, `requests`, `urllib3`, `zipp` and `setuptools`.
216
218
  * 6.0.0 - Address vulnerabilities within `certifi` python package | Bump the version of OpenSSL used | If running a task connection test, return a custom message from the task test and not the full log.
@@ -182,6 +182,8 @@ contributed. Black is installed as a test dependency and the hook can be initial
182
182
  after cloning this repository.
183
183
 
184
184
  ## Changelog
185
+ * 6.1.2 - Removing the call to mask_output_data for task code.
186
+ * 6.1.1 - Addressed vulnerabilities within the slim and non-slim Python images (bumping packages).
185
187
  * 6.1.0 - Update AWSAction tests to utilise AWS Client Error names for connection test | Update `request_error_handling` to include input for custom configuration
186
188
  * 6.0.1 - Address vulnerabilities within the following python packages: `Jinja2`, `requests`, `urllib3`, `zipp` and `setuptools`.
187
189
  * 6.0.0 - Address vulnerabilities within `certifi` python package | Bump the version of OpenSSL used | If running a task connection test, return a custom message from the task test and not the full log.
@@ -183,7 +183,7 @@ class Endpoints:
183
183
  input_message = self.add_plugin_custom_config(
184
184
  input_message, request.headers.get(ORG_ID)
185
185
  )
186
- output = self.run_action_trigger_task(input_message)
186
+ output = self.run_action_trigger_task(input_message, mask_output=False)
187
187
  self.logger.info("Plugin task finished execution...")
188
188
  return output
189
189
 
@@ -827,7 +827,7 @@ class Endpoints:
827
827
 
828
828
  return input_data
829
829
 
830
- def run_action_trigger_task(self, input_message, test=False, connection_test_type="test"):
830
+ def run_action_trigger_task(self, input_message, test=False, connection_test_type="test", mask_output=True):
831
831
  connection = input_message.get("body", {}).get("connection", {})
832
832
  status_code = 200
833
833
  output = None
@@ -856,7 +856,11 @@ class Endpoints:
856
856
  status_code = 500
857
857
  finally:
858
858
  self.logger.debug("Request output: %s", output)
859
- response = jsonify(OutputMasker.mask_output_data(connection, output))
859
+ # As this processing can take quite a while on large task ouputs we want to skip this
860
+ if mask_output:
861
+ response = jsonify(OutputMasker.mask_output_data(connection, output))
862
+ else:
863
+ response = jsonify(output)
860
864
  response.status_code = status_code
861
865
  return response
862
866
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 6.1.0
3
+ Version: 6.1.2
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -211,6 +211,8 @@ contributed. Black is installed as a test dependency and the hook can be initial
211
211
  after cloning this repository.
212
212
 
213
213
  ## Changelog
214
+ * 6.1.2 - Removing the call to mask_output_data for task code.
215
+ * 6.1.1 - Addressed vulnerabilities within the slim and non-slim Python images (bumping packages).
214
216
  * 6.1.0 - Update AWSAction tests to utilise AWS Client Error names for connection test | Update `request_error_handling` to include input for custom configuration
215
217
  * 6.0.1 - Address vulnerabilities within the following python packages: `Jinja2`, `requests`, `urllib3`, `zipp` and `setuptools`.
216
218
  * 6.0.0 - Address vulnerabilities within `certifi` python package | Bump the version of OpenSSL used | If running a task connection test, return a custom message from the task test and not the full log.
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="insightconnect-plugin-runtime",
8
- version="6.1.0",
8
+ version="6.1.2",
9
9
  description="InsightConnect Plugin Runtime",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",