List All the Host and Scan Status
This section describes the API information to view the following details from the Completed Scan page:
• | Host Details |
• | Scan Status |
• | Results Exist |
• | Scan Type |
• | Zombie Files |
• | Insecure |
• | End-of-Life |
• | Secure |
The information required to view the Completed Scans is organized into the following tabs:
Requirement Types |
Details |
|||||||||
API URL |
https://csi7.secunia.com/csi/api/?uid=<xyz>&action=<xyz>&which=<xyz> Note:The value for <XYZ> in the above API is defined in the Parameters section. |
|||||||||
Parameters |
Note:These parameters have to be entered in the <XYZ> of above API respectively |
|||||||||
Sample Sort |
&sort=status_date&dir=DESC&sorters=%5B%7B%22field%22%3A%22status_date%22%2C%22direction%22%3A%22DESC%22%7D%5D&from=2019-07-09%2018%3A30%3A00&to=2019-07-24%2018%3A30%3A00&host=&start=0&limit=21 |
|||||||||
Methods |
GET |
|||||||||
Sample JSON Response |
{"success":true,"error_code":0,"data":{"rows":[{"nsi_device_id":"736","status_date":"2019-07-23 12:55:41","host":"QA_WIN81E","langroup":"SCCM","scan_type":"2","short_msg":"Partial: Windows Update failed","long_msg":"The scan was partially successful. An error occurred during the Windows Update check.\\n\\nIt appears that the RPC service is not running or that the Host is firewalled to disallow access to the RPC service.\\n\\nNOTE: This means that certain Microsoft products for this Host, are listed with a potential incorrect security state.","no_insecure":"12","no_eol":"3","no_patched":"167","no_total":"182","no_zombie":"included","id":"18577","software_inspector_id":"21","results_exist":"1"},{"nsi_device_id":"736","status_date":"2019-07-23 12:48:14","host":"QA_WIN81E","langroup":"SCCM","scan_type":"2","short_msg":"Success: OK","long_msg":"Scan executed successfully","no_insecure":"12","no_eol":"3","no_patched":"167","no_total":"182","no_zombie":"included","id":"18576","software_inspector_id":"21","results_exist":"1"},... |
|||||||||
Received Information |
Time, Host Name, Scan Status, Results Exist, Device ID, etc. |