Products¶
Resource | Operation | Description |
---|---|---|
Products | GET /vendors/(string:vname)/products/(string:pname)/cve | Get the list of CVE associated to a product. |
GET /vendors/(string:vname)/products/(string:pname) | Get a specific product. | |
GET /vendors/(string:vname)/products | Get the list of products associated to a vendor. |
-
GET
/vendors/
(string: vname)/products/
(string: pname)/cve
¶ Get the list of CVE associated to a product.
Example request:
GET /vendors/sun/products/virtualbox/cve HTTP/1.1 Host: api.saucs.com Accept: application/json
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json [ { "created_at": "2009-10-13 10:30:00Z", "name": "CVE-2009-3692", "summary": "Unspecified vulnerability in the VBoxNetAdpCtl configuration tool in Sun VirtualBox 3.0.x before 3.0.8 on Solaris x86, Linux, and Mac OS X allows local users to gain privileges via unknown vectors.", "updated_at": "2017-08-17 01:31:14Z" }, { "created_at": "2009-11-16 19:30:01Z", "name": "CVE-2009-3940", "summary": "Unspecified vulnerability in Guest Additions in Sun xVM VirtualBox 1.6.x and 2.0.x before 2.0.12, 2.1.x, and 2.2.x, and Sun VirtualBox before 3.0.10, allows guest OS users to cause a denial of service (memory consumption) on the guest OS via unknown vectors.", "updated_at": "2010-03-04 06:40:10Z" } ]
Query Parameters: - page – page number. default is 1
Response Headers: - Content-Type – application/json
Status Codes: - 200 OK – list of CVE found
-
GET
/vendors/
(string: vname)/products/
(string: pname)¶ Get a specific product.
Example request:
GET /vendors/sun/products/virtualbox HTTP/1.1 Host: api.saucs.com Accept: application/json
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json { "human_name": "Virtualbox", "name": "virtualbox", "versions": [ "2.0.10", "2.0.8", "2.2", "3.0", "3.0.0", "3.0.2", "3.0.4", "3.0.6", "3.0.8" ] }
Response Headers: - Content-Type – application/json
Status Codes: - 200 OK – product found
- 404 Not Found – product not found
-
GET
/vendors/
(string: vname)/products
¶ Get the list of products associated to a vendor.
Example request:
GET /vendors/sun/products HTTP/1.1 Host: api.saucs.com Accept: application/json
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: application/json [ { "human_name": "Java", "name": "java" }, { "human_name": "Solaris", "name": "solaris" } ]
Response Headers: - Content-Type – application/json
Status Codes: - 200 OK – list of products found