ConflueraDetectionsCount
Logs detections count.
- Type
- python
- Pack
- Confluera
Source
from CommonServerPython import *
from CommonServerUserPython import *
# Executes confluera-fetch-detections command/script
detections_data = demisto.executeCommand("confluera-fetch-detections", {"hours": "72"})
det_count = 0
if detections_data[1] and detections_data[1]["Contents"]:
det_count = len(detections_data[1]["Contents"])
return_results(det_count)
README
ConflueraDetectionsCount Script
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Confluera |
| Cortex XSOAR Version | 6.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| N/A | N/A |
Outputs
| Path | Description | Type |
|---|---|---|
| N/A | N/A | N/A |
Script Example
!ConflueraDetectionsCount
Human Readable Output
