insightconnect-plugin-runtime 5.6.0__tar.gz → 6.0.0__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-5.6.0/insightconnect_plugin_runtime.egg-info → insightconnect_plugin_runtime-6.0.0}/PKG-INFO +4 -2
  2. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/README.md +2 -0
  3. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/api/endpoints.py +5 -3
  4. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/plugin.py +36 -11
  5. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0/insightconnect_plugin_runtime.egg-info}/PKG-INFO +4 -2
  6. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime.egg-info/requires.txt +1 -1
  7. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/setup.py +2 -2
  8. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/MANIFEST.in +0 -0
  9. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect-plugin-swagger.json +0 -0
  10. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/__init__.py +0 -0
  11. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/action.py +0 -0
  12. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/api/__init__.py +0 -0
  13. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/api/schemas.py +0 -0
  14. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/cli.py +0 -0
  15. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/clients/__init__.py +0 -0
  16. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/clients/aws_client.py +0 -0
  17. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/clients/oauth.py +0 -0
  18. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/connection.py +0 -0
  19. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/data/input_message_schema.json +0 -0
  20. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/data/output_message_schema.json +0 -0
  21. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/dispatcher.py +0 -0
  22. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/exceptions.py +0 -0
  23. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/helper.py +0 -0
  24. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/metrics.py +0 -0
  25. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/schema.py +0 -0
  26. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/server.py +0 -0
  27. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/step.py +0 -0
  28. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/task.py +0 -0
  29. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/trigger.py +0 -0
  30. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/util.py +0 -0
  31. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime/variables.py +0 -0
  32. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime.egg-info/SOURCES.txt +0 -0
  33. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime.egg-info/dependency_links.txt +0 -0
  34. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/insightconnect_plugin_runtime.egg-info/top_level.txt +0 -0
  35. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/setup.cfg +0 -0
  36. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/__init__.py +0 -0
  37. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/__init__.py +0 -0
  38. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/__init__.py +0 -0
  39. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/__init__.py +0 -0
  40. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/__init__.py +0 -0
  41. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/__init__.py +0 -0
  42. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/__init__.py +0 -0
  43. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/action.py +0 -0
  44. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/schema.py +0 -0
  45. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/__init__.py +0 -0
  46. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/action.py +0 -0
  47. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/schema.py +0 -0
  48. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/__init__.py +0 -0
  49. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/action.py +0 -0
  50. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/schema.py +0 -0
  51. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/__init__.py +0 -0
  52. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/connection.py +0 -0
  53. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/schema.py +0 -0
  54. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/__init__.py +0 -0
  55. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/__init__.py +0 -0
  56. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/schema.py +0 -0
  57. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/tasks/monitor_events/task.py +0 -0
  58. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/__init__.py +0 -0
  59. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/__init__.py +0 -0
  60. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/schema.py +0 -0
  61. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/trigger.py +0 -0
  62. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/__init__.py +0 -0
  63. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/schema.py +0 -0
  64. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/trigger.py +0 -0
  65. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/__init__.py +0 -0
  66. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/schema.py +0 -0
  67. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/trigger.py +0 -0
  68. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/komand_hello_world/util/__init__.py +0 -0
  69. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/hello_world/setup.py +0 -0
  70. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/tests/__init__.py +0 -0
  71. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/tests/conftest.py +0 -0
  72. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/tests/test_cli.py +0 -0
  73. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/tests/test_hello_world.py +0 -0
  74. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/plugin/hello_world/tests/test_server.py +0 -0
  75. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/__init__.py +0 -0
  76. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_action.py +0 -0
  77. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_api.py +0 -0
  78. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_aws_action.py +0 -0
  79. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_custom_encoder.py +0 -0
  80. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_endpoints.py +0 -0
  81. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_exceptions.py +0 -0
  82. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_helpers.py +0 -0
  83. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_metrics.py +0 -0
  84. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_oauth.py +0 -0
  85. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_plugin.py +0 -0
  86. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_schema.py +0 -0
  87. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_server_cloud_plugins.py +0 -0
  88. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_server_spec.py +0 -0
  89. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_trigger.py +0 -0
  90. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/test_variables.py +0 -0
  91. {insightconnect_plugin_runtime-5.6.0 → insightconnect_plugin_runtime-6.0.0}/tests/unit/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 5.6.0
3
+ Version: 6.0.0
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -15,7 +15,7 @@ Description-Content-Type: text/markdown
15
15
  Requires-Dist: requests==2.32.0
16
16
  Requires-Dist: python_jsonschema_objects==0.5.2
17
17
  Requires-Dist: jsonschema==4.21.1
18
- Requires-Dist: certifi==2024.2.2
18
+ Requires-Dist: certifi==2024.07.04
19
19
  Requires-Dist: Flask==3.0.2
20
20
  Requires-Dist: gunicorn==22.0.0
21
21
  Requires-Dist: greenlet==3.0.3
@@ -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.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.
215
+ * 5.6.1 - Making sure all paths that can call the task connection test endpoints return a 400 error if the test fails
214
216
  * 5.6.0 - Add APIException class for error handling | Fix error in response_handler where data of type Response was not correctly being returned
215
217
  * 5.5.5 - Address bug with typing for type `Dict` in Python 3.8
216
218
  * 5.5.4 - Support pagination parameters within AWS client.
@@ -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.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.
186
+ * 5.6.1 - Making sure all paths that can call the task connection test endpoints return a 400 error if the test fails
185
187
  * 5.6.0 - Add APIException class for error handling | Fix error in response_handler where data of type Response was not correctly being returned
186
188
  * 5.5.5 - Address bug with typing for type `Dict` in Python 3.8
187
189
  * 5.5.4 - Support pagination parameters within AWS client.
@@ -283,7 +283,7 @@ class Endpoints:
283
283
  self.logger.debug("Request input: %s", input_message)
284
284
  Endpoints.validate_action_trigger_task_empty_input(input_message)
285
285
  Endpoints.validate_action_trigger_task_name(input_message, name, "task")
286
- output = self.run_action_trigger_task(input_message, True)
286
+ output = self.run_action_trigger_task(input_message, True, connection_test_type="test_task")
287
287
  return output
288
288
 
289
289
  @v1.route("/api")
@@ -821,13 +821,13 @@ class Endpoints:
821
821
 
822
822
  return input_data
823
823
 
824
- def run_action_trigger_task(self, input_message, test=False):
824
+ def run_action_trigger_task(self, input_message, test=False, connection_test_type="test"):
825
825
  connection = input_message.get("body", {}).get("connection", {})
826
826
  status_code = 200
827
827
  output = None
828
828
  try:
829
829
  output = self.plugin.handle_step(
830
- input_message, is_debug=self.debug, is_test=test
830
+ input_message, is_debug=self.debug, is_test=test, connection_test_type=connection_test_type
831
831
  )
832
832
  except LoggedException as error:
833
833
  wrapped_exception = error.ex
@@ -841,6 +841,8 @@ class Endpoints:
841
841
  and wrapped_exception.preset is PluginException.Preset.BAD_REQUEST
842
842
  ):
843
843
  status_code = 400
844
+ elif isinstance(wrapped_exception, (ConnectionTestException, ClientException)):
845
+ status_code = 400
844
846
  elif isinstance(wrapped_exception, ServerException):
845
847
  # I'm unsure about this
846
848
  status_code = 500
@@ -402,6 +402,9 @@ class Plugin(object):
402
402
  status_code = None
403
403
  error_object = None
404
404
 
405
+ # Properties specific to tasks tests
406
+ task_test_log = None
407
+
405
408
  try:
406
409
  # Attempt to grab message type first
407
410
  message_type = input_message.get("type")
@@ -444,7 +447,7 @@ class Plugin(object):
444
447
  out_type = "task_event"
445
448
  if is_test:
446
449
  # state will not be returned by task's test method
447
- output = self.start_step(
450
+ output, task_test_log = self.start_step(
448
451
  input_message["body"],
449
452
  "task",
450
453
  struct_logger,
@@ -471,7 +474,7 @@ class Plugin(object):
471
474
  )
472
475
  elif message_type == "connection_test":
473
476
  out_type = "connection_test"
474
- output = self.start_step(
477
+ output, task_test_log = self.start_step(
475
478
  input_message["body"],
476
479
  "connection_test",
477
480
  struct_logger,
@@ -481,15 +484,28 @@ class Plugin(object):
481
484
  is_connection_test=True,
482
485
  connection_test_type=connection_test_type
483
486
  )
484
- except (ClientException, ServerException, PluginException, Exception) as e:
487
+ except (
488
+ ClientException,
489
+ ServerException,
490
+ PluginException,
491
+ ConnectionTestException,
492
+ Exception,
493
+ ) as error_message:
485
494
  success = False
486
- caught_exception = e
487
- struct_logger.exception(e)
495
+ caught_exception = error_message
496
+ struct_logger.exception(error_message)
497
+
498
+ # now returning the value of data instead of the log buffer for connection task tests - SOAR-16566
499
+ if isinstance(error_message, ConnectionTestException) and connection_test_type == "test_task":
500
+ task_test_log = f"{error_message.data}" if error_message.data else "Connection test failed"
488
501
  finally:
502
+ # if we are running a task connection test we want to return the pre-defined message
503
+ # rather than a stack trace of logs - SOAR-16566
504
+ log_message = task_test_log if task_test_log else log_stream.getvalue()
489
505
  output = self.envelope(
490
506
  out_type,
491
507
  input_message,
492
- log_stream.getvalue(),
508
+ log_message,
493
509
  success,
494
510
  output,
495
511
  str(caught_exception),
@@ -541,18 +557,25 @@ class Plugin(object):
541
557
  plugin_version=connection.meta.version,
542
558
  )
543
559
  )
560
+
561
+ # As the message type for both api/v1/connection/test and api/v1/connection/test_task calls are
562
+ # message_type == "connection_test", this means that both the task and normal connection test code
563
+ # hits this path and needs to have the same return structure, as a result we return None when
564
+ # connection.test is called, as there is no message returned along side it,
565
+ # and the code above then sees this and reads the "message" from the io buffer as normal
544
566
  if hasattr(connection, "test_task") and connection_test_type == "test_task":
545
567
  func = connection.test_task
568
+ output, log = func()
569
+ return output, log
546
570
  elif hasattr(connection, "test"):
547
571
  func = connection.test
572
+ output = func()
573
+ return output, None
548
574
  else:
549
575
  raise NotImplementedError(
550
576
  "The server successfully processed the request and is not "
551
577
  "returning any content (no connection test function)"
552
578
  )
553
- output = func()
554
-
555
- return output
556
579
 
557
580
  else:
558
581
  action_name = message_body[step_key]
@@ -626,8 +649,10 @@ class Plugin(object):
626
649
  if is_test:
627
650
  # Check if connection test func available. If so - use it (preferred). Else fallback to action/trigger test
628
651
  if hasattr(step.connection, "test"):
629
- if hasattr(step.connection, "test") and connection_test_type == "test_task":
630
- func = step.connection.task_test
652
+ if hasattr(step.connection, "test_task") and connection_test_type == "test_task":
653
+ func = step.connection.test_task
654
+ output, log = func()
655
+ return output, log
631
656
  else:
632
657
  func = step.connection.test
633
658
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 5.6.0
3
+ Version: 6.0.0
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -15,7 +15,7 @@ Description-Content-Type: text/markdown
15
15
  Requires-Dist: requests==2.32.0
16
16
  Requires-Dist: python_jsonschema_objects==0.5.2
17
17
  Requires-Dist: jsonschema==4.21.1
18
- Requires-Dist: certifi==2024.2.2
18
+ Requires-Dist: certifi==2024.07.04
19
19
  Requires-Dist: Flask==3.0.2
20
20
  Requires-Dist: gunicorn==22.0.0
21
21
  Requires-Dist: greenlet==3.0.3
@@ -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.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.
215
+ * 5.6.1 - Making sure all paths that can call the task connection test endpoints return a 400 error if the test fails
214
216
  * 5.6.0 - Add APIException class for error handling | Fix error in response_handler where data of type Response was not correctly being returned
215
217
  * 5.5.5 - Address bug with typing for type `Dict` in Python 3.8
216
218
  * 5.5.4 - Support pagination parameters within AWS client.
@@ -1,7 +1,7 @@
1
1
  requests==2.32.0
2
2
  python_jsonschema_objects==0.5.2
3
3
  jsonschema==4.21.1
4
- certifi==2024.2.2
4
+ certifi==2024.07.04
5
5
  Flask==3.0.2
6
6
  gunicorn==22.0.0
7
7
  greenlet==3.0.3
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="insightconnect-plugin-runtime",
8
- version="5.6.0",
8
+ version="6.0.0",
9
9
  description="InsightConnect Plugin Runtime",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
@@ -17,7 +17,7 @@ setup(
17
17
  "requests==2.32.0",
18
18
  "python_jsonschema_objects==0.5.2",
19
19
  "jsonschema==4.21.1",
20
- "certifi==2024.2.2",
20
+ "certifi==2024.07.04",
21
21
  "Flask==3.0.2",
22
22
  "gunicorn==22.0.0",
23
23
  "greenlet==3.0.3",