Host Smart Groups API
The information required to view the Host Smart Groups is organized into the following tabs:
| Requirement Types | Details |
|---|---|
| API | https://csi7.secunia.com/csi/api/?uid=<xyz>&action=<xyz>&which=<xyz>&smartGroupTextType=<xyz>&_dc=1563347478676Note: The value for <xyz> in the above API is defined in the Parameters section. |
| Methods | GET |
| Parameters |
<xyz> of above API respectively. |
| Response | {"success":true,"error_code":0, "data": {"rows":[ {"id":"1","name":"All Hosts","editable":"0","description":"Smart Group containing all Hosts (default Flexera Smart Group). Note: Smart Group is NOT editable.","logic_type":"all","business_impact":"2","custom_columns":"","all_custom_columns":"1","date_modified":"2019-06-03 10:16:18","in_progress":"0","generate_asap":"0","compiled_time":"2019-07-16 10:31:35","hosts":"1","average_score":"88","num_installations":"219"}, {"id":"11","name":"Test1","editable":"1","description":"Test1","logic_type":"all","business_impact":"1","custom_columns":"","all_custom_columns":"1","date_modified":"2019-07-16 09:52:50","in_progress":"0","generate_asap":"0","compiled_time":"2019-07-16 10:31:35","hosts":"1","average_score":"88","num_installations":"219"}] ,"total":2}}Note: The numerical value received as "id":"n" from the JSON response is the smartGroupId parameter for Configured Host Groups API, where “n” is the numerical number. |
| Received Information | Name, Description, Business Impact, Compilation, Data Last Compiled, Average Score, Hosts, Installations, Host ID, Total number etc. |