Generic.Detection.TestAlert
Type: Client
Raises a single harmless alert from the client, so the alerts pipeline and the dashboard can be checked end to end. Nothing on the host is changed.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Message |
string | This is a test alert. Nothing happened on this host. |
Source
Defined in artifacts/definitions/Generic/Detection/TestAlert.yaml.
name: Generic.Detection.TestAlert
description: |
Raises a single harmless alert from the client, so the alerts
pipeline and the dashboard can be checked end to end. Nothing on the
host is changed.
type: CLIENT
parameters:
- name: Message
default: This is a test alert. Nothing happened on this host.
sources:
- query: |
SELECT Hostname, OS, now() AS Time,
alert(name="Test alert",
dedup=1,
source="test",
rule="Test alert",
level="low",
description=Message,
hostname=Hostname) AS _Alert
FROM info()