mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
fix community gather cert rule
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
"enabled": true,
|
||||
"collectorType": "command_allowlisted",
|
||||
"target": "$c = Get-ChildItem Cert:\\LocalMachine\\My; if ($c) { $c | Select-Object Subject, Thumbprint, Issuer, NotBefore, NotAfter, HasPrivateKey | ConvertTo-Json } else { '{\"CertificateCount\": 0}' }",
|
||||
"trigger": "startup",
|
||||
"trigger": "phase_change",
|
||||
"triggerPhase": "FinalizingSetup",
|
||||
"outputEventType": "gather_machine_cert_store",
|
||||
"outputSeverity": "Info",
|
||||
"tags": ["identity", "certificates", "machine-store", "powershell"]
|
||||
|
||||
Reference in New Issue
Block a user