Integrate with "Cisco PSIRT openVuln API" from cisco.com in no time with Mockoon's ready to use mock sample
cisco.com
Version: 0.0.3
Integrate third-party APIs faster by using "Cisco PSIRT openVuln API" ready-to-use mock sample. Mocking this API will help you accelerate your development lifecycles and improves your integration tests' quality and reliability by accounting for random failures, slow response time, etc.
It also helps reduce your dependency on third-party APIs: no more accounts to create, API keys to provision, accesses to configure, unplanned downtime, etc.
The Cisco Product Security Incident Response Team (PSIRT) openVuln API is a RESTful API that allows customers to obtain Cisco Security Vulnerability information in different machine-consumable formats. APIs are important for customers because they allow their technical staff and programmers to build tools that help them do their job more effectively (in this case, to keep up with security vulnerability information).
For more information about the Cisco PSIRT openVuln API visit https://developer.cisco.com/site/PSIRT/discover/overview
For detail steps on how to use the API go to:https://developer.cisco.com/site/PSIRT/get-started/getting-started.gsp
This is a beta release of a swagger YAML for the Cisco PSIRT openVuln API
To access the API sign in with your Cisco CCO account at http://apiconsole.cisco.com and register an application
to recieve a clientid and a clientsecret
You can then get your token using curl or any other method you prefer.
'curl -s -k -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "clientid=" -d "clientsecret=" -d "granttype=clientcredentials" https://cloudsso.cisco.com/as/token.oauth2'
You will receive an access token as demonstrated in the following example:
'{"accesstoken":"I7omWtBDAieSiUX3shOxNJfuy4J6","tokentype":"Bearer","expires_in":3599}'
In Swagger, click on Change Authentication
enter the text "I7omWtBDAieSiUX3shOxNJfuy4J6" (which is the token you received)
then click on "Try this operation"