rapid7 / nexpose-client-python

DEPRECATED : Rapid7 Nexpose API client library written in Python
https://www.rapid7.com/
BSD 3-Clause "New" or "Revised" License
25 stars 20 forks source link

Fix for GetFilteredAssets internal server error #10

Closed gschneider-r7 closed 7 years ago

gschneider-r7 commented 7 years ago

Description

Convert asset filter criteria to double-quoted json.

The double-quotes are required for Nexpose to be able to parse the criteria correctly, as of some recent version of Nexpose. Single-quoted json is not considered valid anymore.

Motivation and Context

Resolves #5

How Has This Been Tested?

Followed the steps in #5 and verified the returned results had data.

Types of changes