SentinelOne: Count of Active Licenses of Singularity Control
submitted
B
Bryan
Returns the number of active licenses for SentinelOne Singularity Control. Add a different sku to return other licenses. This is a useful metric when reconciling services in the Gradient MSP billing module.
SystemInfo.activeLicenses || sku == 'Control'
Update use the following query instead:to_number(SystemInfo.sku ==
Control
&& ~.SystemInfo.totalLicenses | replace(to_string(@), to_string(false
), to_string(0
)))Devon
This will return the total count available not the current active count.Update Metric toto_number(SystemInfo.sku ==
Control
&& ~.SystemInfo.activeLicenses | replace(to_string(@), to_string(false
), to_string(0
)))For complete change Control to CompleteB
Bryan
To return false or 'null' query results to a 0 try:to_number(SystemInfo.sku ==
Control
&& ~.SystemInfo.totalLicenses | replace(to_string(@), to_string(false
), to_string(0
)))B
Bryan
to_number(SystemInfo.sku ==
Control
&& ~.SystemInfo.totalLicenses | replace(to_string(@), to_string(false
), to_string(0
)))T
Todd Smith
This did not work for us. It pulled in qty's of Complete SKU also, and vice versa when we tried 'Complete'. Any ideas?