Antivirus (sec-av)

Checks the status of Windows Defender: real-time protection, signature freshness, and detected threats.

Configuration

ParameterTypeDefaultDescription
enabledbooltrueEnable/disable module
signature_age_warning_hoursint48Signature age for warning (hours)
signature_age_error_hoursint168Signature age for error (7 days)
check_third_party_avbooltrueCheck third-party antivirus

YAML Example

sec_av:
  enabled: true
  signature_age_warning_hours: 24
  signature_age_error_hours: 72
  check_third_party_av: true

Diagnostic Codes

CodeSeverityMeaningRecommendation
30000Defender active, no threats
30012Malware detectedInvestigate and remediate threat immediately
30021–2Signatures outdatedRun Windows Update
30032Real-time protection or service disabledRe-enable Defender
30901Unable to query Defender statusCheck PowerShell permissions

Platform Support

  • Linux: Not available (ClamAV support planned).
  • Windows: Checks Windows Defender via Get-MpComputerStatus and Get-MpThreatDetection.