Configured Product Groups API

The information required to read the each Product Smart Group results is organized into the following tabs:

Configured Product Groups API Information

Requirement Types

Details

API

https://csi7.secunia.com/csi/api/?uid=<xyz>&action=<xyz>&which=<xyz>&smartGroupTextType=<xyz>&smartGroupId=<xyz>&_dc=1563425993660&start=0&limit=20&sort=product_name&dir=ASC&sorters=%5B%7B%22field%22%3A%22product_name%22%2C%22direction%22%3A%22ASC%22%7D%5D&product_name=

Note:The value for <XYZ> in the above API is defined in the Parameters section.

Methods

GET

Parameters

uid = UID value taken from successful login. See How to Obtain the Token .
action = smart_groups
which = getSmartGroupContents
smartGroupTextType = product
smartGroupId = "id":"n" value from the JSON response of Product Smart Group API.

Note:These parameters have to be entered in the <XYZ> of the above API respectively

Response

{"success":true,"error_code":0,"data":{"rows":[{"product_id":"60103","product_name":"7-zip 18.x","vendor_name":"","vuln_criticality":"-","vuln_id":"-","vuln_title":"-","vuln_cvss_score_all":"","vuln_cvss_score":"0","vuln_cvss3_score":"0","num_insecure":"0","num_eol":"0","num_patched":"2","num_installations":"2","num_hosts":"1","direct_download":"http:\/\/dl.secunia.com\/SPS\/7-Zip_18.05_32-bit_SPS.exe","secure_version":"18.05","soft_type":"2","vuln_threat_score":"","vpm_id":"9"},{"product_id":"16455","product_name":"ActiveTcl 8.x","vendor_name":"ActiveState","vuln_criticality":"-","vuln_id":"-","vuln_title":"-","vuln_cvss_score_all":"","vuln_cvss_score":"0","vuln_cvss3_score":"0","num_insecure":"0","num_eol":"0","num_patched":"1","num_installations":"1","num_hosts":"1","direct_download":"","secure_version":"","soft_type":"2","vuln_threat_score":"","vpm_id":""},{"product_id":"59498","product_name":"Adobe Acrobat Reader 2017 17.x","vendor_name":"Adobe Systems","vuln_criticality":"-","vuln_id":"-","vuln_title":"-","vuln_cvss_score_all":"","vuln_cvss_score":"0","vuln_cvss3_score":"0","num_insecure":"0","num_eol":"0","num_patched":"1","num_installations":"1","num_hosts":"1","direct_download":"http:\/\/dl.secunia.com\/SPS\/AdobeReader2017_2017.011.30142_MUI_SPS.exe","secure_version":"2017.011.30142","soft_type":"2","vuln_threat_score":"","vpm_id":"163"},

Note:The numerical value received as "product_id":"60068" from the JSON response is the productId parameter for View Installations API - Products, where “n” is the numerical number.

Received Information

The following information will be received in the API response:

"product_id"—Product Id
"product_name"—Product Name
"vendor_name"—Vendor Name
"vuln_criticality"—Vulnerability Criticality
"vuln_id"—SAID
"vuln_title"—Title of SAID
"vuln_cvss_score_all"—CVSS Base Score
"vuln_cvss_score"—CVSS2 Base score
"vuln_cvss3_score"—CVSS3 Base score
"vuln_cvss4_score"—CVSS4 Base score
"num_insecure"—Number of insecure installations
"num_eol"—Number of end-of-life installations
"num_patched"—Number of secure installations
"num_installations"—Total number of installations
"num_hosts"—Number of Host which has this product
"direct_download"—Download Link for product
"secure_version"—Patched Version of product
"soft_type"—Product is OS or not 1=> OS ,2=> Not-OS
"vuln_threat_score"—Threat Score
"vpm_id"—ID of VPM package