nexpose.nexpose.NexposeConnectionException: Unable to execute the request: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.!
Observed when editing run_demo.py and uncommenting DemonstrateVulnerabilityAPI()
Motivation and Context
DemonstrateVulnerabilityAPI() demo does not work as is
How Has This Been Tested?
Ran run_demo.py with DemonstrateVulnerabilityAPI() uncommented.
Note Currently unable to test against all of the Demonstration methods as some appear to be broken;
Working
DemonstrateTagAPI()
DemonstrateAssetAPI()
DemonstrateVulnerabilityAPI()
DemonstrateSiteAPI()
DemonstrateAssetGroupAPI()
DemonstrateVulnerabilityExceptionAPI()
DemonstrateRoleAPI()
DemonstrateEngineAPI()
DemonstrateScanPI()
DemonstrateTicketAPI()
Not-working
DemonstrateBackupAPI()
DemonstrateCriteriaAPI()
DemonstrateSharedCredentialsAPI()
DemonstrateAssetFilterAPI()
DemonstrateDiscoveryConnectionAPI()
DemonstrateUserAPI()
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
[ ] I have updated the documentation accordingly (if changes are required).
Description
Workaround for the following error
Observed when editing
run_demo.py
and uncommentingDemonstrateVulnerabilityAPI()
Motivation and Context
DemonstrateVulnerabilityAPI()
demo does not work as isHow Has This Been Tested?
Ran run_demo.py with DemonstrateVulnerabilityAPI() uncommented.
Note Currently unable to test against all of the Demonstration methods as some appear to be broken;
Working
Not-working
Types of changes
Checklist: