The example should have several conditions scripted, like
ransomware check - infected files count 0 - do nothing
ransomware check - infected files count > 0 - send an alert to grafana on call
malware check - infected files count 0 - do nothing
malware check - infected files count > 0 - send an alert to grafana
both checks - infected files count 0 - do nothing
both checks - infected files count > 0 - send an alert to grafana
The example should have several conditions scripted, like
ransomware check - infected files count 0 - do nothing
ransomware check - infected files count > 0 - send an alert to grafana on call
malware check - infected files count 0 - do nothing
malware check - infected files count > 0 - send an alert to grafana
both checks - infected files count 0 - do nothing
both checks - infected files count > 0 - send an alert to grafana