- Application management
- RESTful API
- User API
- Device API
- Get devices
- Get devices extended
- Get device count
- Get device
- Get device by MAC address
- Get device by hostname
- Update device
- Get device threat
- Update device threat
- Get zone devices
- Get agent installer link
- Delete Devices
- Get Device Lifecycle Management settings
- Update Device Lifecycle Management Settings
- Exempt devices from the Device Lifecycle Management process
- Include devices in the Device Lifecycle Management process
- Reset the inactive period for a list of devices that are included in the Device Lifecycle Management process
- Global list API
- Policy API
- Zone API
- Threat API
- Memory protection API
- Detections API
- Package deployment API
- Detection rule API
- Detection rule sets API
- Detection exceptions API
- Device commands API
- Focus view API
- InstaQuery API
- CylanceOPTICS policy API
- Lockdown configurations API
- BlackBerry Docs
- Cylance Endpoint Security
- Cylance User API guide
- Detection rule API
- Get detection rule counts
Get detection rule counts
Retrieve counts of how many devices, detection rule sets, and policies that have a particular detection rule applied.
Service endpoint | /rules/v2/{rule_id}/counts |
Optional query string parameters | — |
Example | https://protectapi.cylance.com/rules/v2/c407f28a-3805-4014-b32c-0c2553ac1e10/counts |
Method | HTTP/1.1 GET |
Request headers |
|
Request
None
Response
Please see the Response status codes for more information.
Response JSON schema
Field Name | Description |
---|---|
DeviceCount | This is the number of devices that have the requested detection rule applied. |
PolicyCount | This is the number of device policies that have the requested detection rule applied. |
RulesetCount | This is the number of detection rule sets that have the requested detection rule enabled. |