Rapid7 IntSights 1.0.0 Bug

New rapid7/rapid7_intsights:1.0.0 Plug-In has a bug. The “Get Alerts” action is expecting either “Closed” or “Open” but instead sends “False”. Not sure how this was missed. Please update, thanks!

Connect: Connecting…
(‘action input JSON was invalid’, <ValidationError: “False is not one of [‘Closed’, ‘Open’]”>)
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/insightconnect_plugin_runtime-4.2.0-py3.8.egg/insightconnect_plugin_runtime/plugin.py”, line 435, in start_step
step.input.validate(params)
File “/usr/local/lib/python3.8/site-packages/insightconnect_plugin_runtime-4.2.0-py3.8.egg/insightconnect_plugin_runtime/variables.py”, line 22, in validate
validate(parameters, self.schema)
File “/usr/local/lib/python3.8/site-packages/jsonschema-3.2.0-py3.8.egg/jsonschema/validators.py”, line 934, in validate
raise error
jsonschema.exceptions.ValidationError: False is not one of [‘Closed’, ‘Open’]

Failed validating ‘enum’ in schema[‘properties’][‘is_closed’]:
{‘description’: ‘Status of the alert, either closed or open’,
‘enum’: [‘Closed’, ‘Open’],
‘order’: 13,
‘title’: ‘Closed Status’,
‘type’: ‘boolean’}

On instance[‘is_closed’]:
False

@john_breen we’re working on a fix right now - it should be out soon!

1 Like

Thanks Mike. Let me know if you need more details.