Server.Alerts.WinPmem
Type: Server event (monitoring)
Sends an alert via email when the pmem service installation is
detected by Windows.Events.ServiceCreation.
Note that this artifact requires that the
Windows.Event.ServiceCreation monitoring artifact is being
collected from clients.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
EmailAddress |
string | admin@example.com |
|
SkipVerify |
bool | If set we skip TLS verification. |
Source
Defined in artifacts/definitions/Server/Alerts/WinPmem.yaml.
name: Server.Alerts.WinPmem
description: |
Sends an alert via email when the pmem service installation is
detected by `Windows.Events.ServiceCreation`.
Note that this artifact requires that the
`Windows.Event.ServiceCreation` monitoring artifact is being
collected from clients.
type: SERVER_EVENT
parameters:
- name: EmailAddress
default: admin@example.com
- name: SkipVerify
type: bool
description: If set we skip TLS verification.
sources:
- query: |
SELECT * FROM foreach(
row={
SELECT * from watch_monitoring(
artifact='Windows.Events.ServiceCreation')
WHERE ServiceName =~ 'pmem'
},
query={
SELECT * FROM mail(
to=EmailAddress,
subject='Pmem launched on host',
period=60,
skip_verify=SkipVerify,
body=format(
format="WinPmem execution detected at %s for client %v",
args=[Timestamp, ClientId]
)
)
})