insightconnect-plugin-runtime 5.3.0__tar.gz → 5.3.1__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 (84) hide show
  1. {insightconnect-plugin-runtime-5.3.0/insightconnect_plugin_runtime.egg-info → insightconnect-plugin-runtime-5.3.1}/PKG-INFO +2 -1
  2. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/README.md +1 -0
  3. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect-plugin-swagger.json +49 -49
  4. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/api/endpoints.py +2 -0
  5. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/exceptions.py +10 -0
  6. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1/insightconnect_plugin_runtime.egg-info}/PKG-INFO +2 -1
  7. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/setup.py +1 -1
  8. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/MANIFEST.in +0 -0
  9. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/__init__.py +0 -0
  10. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/action.py +0 -0
  11. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/api/__init__.py +0 -0
  12. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/api/schemas.py +0 -0
  13. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/cli.py +0 -0
  14. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/clients/__init__.py +0 -0
  15. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/clients/aws_client.py +0 -0
  16. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/clients/oauth.py +0 -0
  17. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/connection.py +0 -0
  18. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/data/input_message_schema.json +0 -0
  19. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/data/output_message_schema.json +0 -0
  20. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/dispatcher.py +0 -0
  21. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/helper.py +0 -0
  22. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/metrics.py +0 -0
  23. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/plugin.py +0 -0
  24. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/schema.py +0 -0
  25. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/server.py +0 -0
  26. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/step.py +0 -0
  27. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/task.py +0 -0
  28. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/trigger.py +0 -0
  29. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/util.py +0 -0
  30. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime/variables.py +0 -0
  31. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime.egg-info/SOURCES.txt +0 -0
  32. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime.egg-info/dependency_links.txt +0 -0
  33. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime.egg-info/requires.txt +0 -0
  34. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/insightconnect_plugin_runtime.egg-info/top_level.txt +0 -0
  35. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/setup.cfg +0 -0
  36. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/__init__.py +0 -0
  37. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/__init__.py +0 -0
  38. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/__init__.py +0 -0
  39. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/__init__.py +0 -0
  40. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/__init__.py +0 -0
  41. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/__init__.py +0 -0
  42. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/__init__.py +0 -0
  43. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/action.py +0 -0
  44. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/hello/schema.py +0 -0
  45. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/__init__.py +0 -0
  46. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/action.py +0 -0
  47. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/return_bad_json/schema.py +0 -0
  48. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/__init__.py +0 -0
  49. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/action.py +0 -0
  50. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/actions/throw_exception/schema.py +0 -0
  51. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/__init__.py +0 -0
  52. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/connection.py +0 -0
  53. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/connection/schema.py +0 -0
  54. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/__init__.py +0 -0
  55. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/__init__.py +0 -0
  56. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/schema.py +0 -0
  57. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/hello_trigger/trigger.py +0 -0
  58. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/__init__.py +0 -0
  59. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/schema.py +0 -0
  60. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/return_bad_json_trigger/trigger.py +0 -0
  61. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/__init__.py +0 -0
  62. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/schema.py +0 -0
  63. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/triggers/throw_exception_trigger/trigger.py +0 -0
  64. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/komand_hello_world/util/__init__.py +0 -0
  65. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/hello_world/setup.py +0 -0
  66. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/tests/__init__.py +0 -0
  67. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/tests/conftest.py +0 -0
  68. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/tests/test_cli.py +0 -0
  69. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/tests/test_hello_world.py +0 -0
  70. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/plugin/hello_world/tests/test_server.py +0 -0
  71. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/__init__.py +0 -0
  72. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_action.py +0 -0
  73. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_aws_action.py +0 -0
  74. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_custom_encoder.py +0 -0
  75. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_endpoints.py +0 -0
  76. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_exceptions.py +0 -0
  77. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_helpers.py +0 -0
  78. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_metrics.py +0 -0
  79. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_oauth.py +0 -0
  80. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_plugin.py +0 -0
  81. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_schema.py +0 -0
  82. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_server_spec.py +0 -0
  83. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_trigger.py +0 -0
  84. {insightconnect-plugin-runtime-5.3.0 → insightconnect-plugin-runtime-5.3.1}/tests/unit/test_variables.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 5.3.0
3
+ Version: 5.3.1
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -212,6 +212,7 @@ after cloning this repository.
212
212
 
213
213
  ## Changelog
214
214
 
215
+ * 5.3.1 - New logging added to the beginning and end of a task | New logging when an exception is instantiated.
215
216
  * 5.3.0 - Update base images to pull Python 3.9.18 | python packages bump | rename image to drop python minor version.
216
217
  * 5.2.4 - Extended logging with OrgID and IntID
217
218
  * 5.2.3 - Extended logging in AWSClient
@@ -183,6 +183,7 @@ after cloning this repository.
183
183
 
184
184
  ## Changelog
185
185
 
186
+ * 5.3.1 - New logging added to the beginning and end of a task | New logging when an exception is instantiated.
186
187
  * 5.3.0 - Update base images to pull Python 3.9.18 | python packages bump | rename image to drop python minor version.
187
188
  * 5.2.4 - Extended logging with OrgID and IntID
188
189
  * 5.2.3 - Extended logging in AWSClient
@@ -451,7 +451,7 @@
451
451
  "PluginInfo": {
452
452
  "type": "object",
453
453
  "properties": {
454
- "vendor": {
454
+ "sdk_version": {
455
455
  "type": "string"
456
456
  },
457
457
  "title": {
@@ -461,24 +461,27 @@
461
461
  "type": "integer",
462
462
  "format": "int32"
463
463
  },
464
- "plugin_spec_version": {
464
+ "version": {
465
465
  "type": "string"
466
466
  },
467
- "name": {
467
+ "vendor": {
468
468
  "type": "string"
469
469
  },
470
- "version": {
471
- "type": "string"
470
+ "threads": {
471
+ "type": "integer",
472
+ "format": "int32"
472
473
  },
473
- "support": {
474
+ "description": {
474
475
  "type": "string"
475
476
  },
476
- "description": {
477
+ "name": {
477
478
  "type": "string"
478
479
  },
479
- "threads": {
480
- "type": "integer",
481
- "format": "int32"
480
+ "enable_cache": {
481
+ "type": "boolean"
482
+ },
483
+ "support": {
484
+ "type": "string"
482
485
  },
483
486
  "tags": {
484
487
  "type": "array",
@@ -486,17 +489,17 @@
486
489
  "type": "string"
487
490
  }
488
491
  },
489
- "sdk_version": {
492
+ "plugin_spec_version": {
490
493
  "type": "string"
491
- },
492
- "enable_cache": {
493
- "type": "boolean"
494
494
  }
495
495
  }
496
496
  },
497
497
  "ActionTriggerOutputBody": {
498
498
  "type": "object",
499
499
  "properties": {
500
+ "meta": {
501
+ "type": "object"
502
+ },
500
503
  "status": {
501
504
  "type": "string"
502
505
  },
@@ -505,9 +508,6 @@
505
508
  },
506
509
  "output": {
507
510
  "type": "object"
508
- },
509
- "meta": {
510
- "type": "object"
511
511
  }
512
512
  },
513
513
  "required": [
@@ -527,11 +527,11 @@
527
527
  "trigger_event"
528
528
  ]
529
529
  },
530
- "body": {
531
- "$ref": "#/definitions/ActionTriggerOutputBody"
532
- },
533
530
  "version": {
534
531
  "type": "string"
532
+ },
533
+ "body": {
534
+ "$ref": "#/definitions/ActionTriggerOutputBody"
535
535
  }
536
536
  },
537
537
  "required": [
@@ -543,19 +543,19 @@
543
543
  "TaskOutputBody": {
544
544
  "type": "object",
545
545
  "properties": {
546
- "meta": {
547
- "type": "object"
548
- },
549
546
  "status": {
550
547
  "type": "string"
551
548
  },
552
- "state": {
549
+ "output": {
553
550
  "type": "object"
554
551
  },
555
552
  "log": {
556
553
  "type": "string"
557
554
  },
558
- "output": {
555
+ "meta": {
556
+ "type": "object"
557
+ },
558
+ "state": {
559
559
  "type": "object"
560
560
  }
561
561
  },
@@ -576,11 +576,11 @@
576
576
  "task_event"
577
577
  ]
578
578
  },
579
- "body": {
580
- "$ref": "#/definitions/TaskOutputBody"
581
- },
582
579
  "version": {
583
580
  "type": "string"
581
+ },
582
+ "body": {
583
+ "$ref": "#/definitions/TaskOutputBody"
584
584
  }
585
585
  },
586
586
  "required": [
@@ -592,14 +592,14 @@
592
592
  "ActionTriggerInputBody": {
593
593
  "type": "object",
594
594
  "properties": {
595
+ "connection": {
596
+ "type": "object"
597
+ },
595
598
  "input": {
596
599
  "type": "object"
597
600
  },
598
601
  "action": {
599
602
  "type": "string"
600
- },
601
- "connection": {
602
- "type": "object"
603
603
  }
604
604
  },
605
605
  "required": [
@@ -618,11 +618,11 @@
618
618
  "trigger_event"
619
619
  ]
620
620
  },
621
- "body": {
622
- "$ref": "#/definitions/ActionTriggerInputBody"
623
- },
624
621
  "version": {
625
622
  "type": "string"
623
+ },
624
+ "body": {
625
+ "$ref": "#/definitions/ActionTriggerInputBody"
626
626
  }
627
627
  },
628
628
  "required": [
@@ -637,13 +637,13 @@
637
637
  "state": {
638
638
  "type": "object"
639
639
  },
640
- "input": {
640
+ "connection": {
641
641
  "type": "object"
642
642
  },
643
643
  "task": {
644
644
  "type": "string"
645
645
  },
646
- "connection": {
646
+ "input": {
647
647
  "type": "object"
648
648
  }
649
649
  },
@@ -663,11 +663,11 @@
663
663
  "task_event"
664
664
  ]
665
665
  },
666
- "body": {
667
- "$ref": "#/definitions/TaskInputBody"
668
- },
669
666
  "version": {
670
667
  "type": "string"
668
+ },
669
+ "body": {
670
+ "$ref": "#/definitions/TaskInputBody"
671
671
  }
672
672
  },
673
673
  "required": [
@@ -682,24 +682,24 @@
682
682
  "input": {
683
683
  "type": "object"
684
684
  },
685
+ "output": {
686
+ "type": "object"
687
+ },
685
688
  "title": {
686
689
  "type": "string"
687
690
  },
688
691
  "description": {
689
692
  "type": "string"
690
- },
691
- "output": {
692
- "type": "object"
693
693
  }
694
694
  }
695
695
  },
696
696
  "ConnectionDetails": {
697
697
  "type": "object",
698
698
  "properties": {
699
- "title": {
699
+ "type": {
700
700
  "type": "string"
701
701
  },
702
- "type": {
702
+ "title": {
703
703
  "type": "string"
704
704
  },
705
705
  "required": {
@@ -724,22 +724,22 @@
724
724
  "TaskDetails": {
725
725
  "type": "object",
726
726
  "properties": {
727
+ "state": {
728
+ "type": "object"
729
+ },
727
730
  "title": {
728
731
  "type": "string"
729
732
  },
730
- "input": {
731
- "type": "object"
732
- },
733
733
  "schedule": {
734
734
  "type": "object"
735
735
  },
736
736
  "description": {
737
737
  "type": "string"
738
738
  },
739
- "state": {
739
+ "output": {
740
740
  "type": "object"
741
741
  },
742
- "output": {
742
+ "input": {
743
743
  "type": "object"
744
744
  }
745
745
  }
@@ -157,11 +157,13 @@ class Endpoints:
157
157
  500:
158
158
  description: Unexpected error
159
159
  """
160
+ self.logger.info("Plugin task beginning execution...")
160
161
  input_message = request.get_json(force=True)
161
162
  self.logger.debug("Request input: %s", input_message)
162
163
  Endpoints.validate_action_trigger_task_empty_input(input_message)
163
164
  Endpoints.validate_action_trigger_task_name(input_message, name, "task")
164
165
  output = self.run_action_trigger_task(input_message)
166
+ self.logger.info("Plugin task finished execution...")
165
167
  return output
166
168
 
167
169
  @legacy.route("/triggers/<string:name>/test", methods=["POST"])
@@ -1,4 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
+ import structlog
3
+ logger = structlog.get_logger("plugin")
4
+
5
+
2
6
  class ClientException(Exception):
3
7
  """
4
8
  An exception which marks an error made by the plugin invoker.
@@ -120,6 +124,12 @@ class ConnectionTestException(Exception):
120
124
 
121
125
  self.data = str(data) if data else ""
122
126
 
127
+ # Safeguard to ensure the exception is logged across all plugins even if the plugin
128
+ # itself does not call `self.logger.error(<error info>)`
129
+ params = ["cause", "assistance", "data", "preset"]
130
+ info_log = ", ".join([f"{atr}='{getattr(self, atr)}'" for atr in params if getattr(self, atr)])
131
+ logger.error(f"Plugin exception instantiated. {info_log}")
132
+
123
133
  def __str__(self):
124
134
  if self.data:
125
135
  return "Connection test failed!\n\n{cause} {assistance} Response was: {data}".format(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: insightconnect-plugin-runtime
3
- Version: 5.3.0
3
+ Version: 5.3.1
4
4
  Summary: InsightConnect Plugin Runtime
5
5
  Home-page: https://github.com/rapid7/komand-plugin-sdk-python
6
6
  Author: Rapid7 Integrations Alliance
@@ -212,6 +212,7 @@ after cloning this repository.
212
212
 
213
213
  ## Changelog
214
214
 
215
+ * 5.3.1 - New logging added to the beginning and end of a task | New logging when an exception is instantiated.
215
216
  * 5.3.0 - Update base images to pull Python 3.9.18 | python packages bump | rename image to drop python minor version.
216
217
  * 5.2.4 - Extended logging with OrgID and IntID
217
218
  * 5.2.3 - Extended logging in AWSClient
@@ -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.3.0",
8
+ version="5.3.1",
9
9
  description="InsightConnect Plugin Runtime",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",