ibm / cp4s-car-connectors Goto Github PK
View Code? Open in Web Editor NEWConnected Asset/Risk (CAR) reference connector documentation
Connected Asset/Risk (CAR) reference connector documentation
Unless in comment out the get_applications
part that uses get_bearer_token
, the connector is crashed with error:
connectors/qualys/connector/server_access.py\", line 197, in get_bearer_token\n response_json = response.json()\n File \"/Users/barha/.pyenv/versions/3.9.13/lib/python3.9/site-packages/requests/models.py\", line 975, in json\n raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nrequests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n", "connector": "Qualys", "source": "qq2"}
Process finished with exit code 1
Here:
The connector assumes that there is sourceInfo
in every HostAsset
, which leads to erroring out.
Here:
and other places.
vmdrVulnList
assumed to be always an array, but it is an object when there is only one entry.
Some HostAsset
doesn't have os
fields which leads to erroring out.
There is no error handing in get_bearer_token function here: https://github.com/IBM/cp4s-car-connectors/blob/develop/connectors/qualys/connector/server_access.py#L132
This leads failure in get_applications
function without proper error message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.