My First Rule

This rule helps you test and practice using alerts with Elastic Security as you get set up. It’s not a sign of threat activity.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2022/09/22"
 3maturity = "production"
 4min_stack_comments = "Guided Onboarding will be available in Elastic 8.6+"
 5min_stack_version = "8.7.0"
 6updated_date = "2024/03/14"
 7
 8[rule]
 9author = ["Elastic"]
10description = """
11This rule helps you test and practice using alerts with Elastic Security as you get set up. It’s not a sign of threat
12activity.
13"""
14enabled = false
15false_positives = [
16    "This rule is not looking for threat activity. Disable the rule if you're already familiar with alerts.",
17]
18from = "now-30m"
19index = ["auditbeat-*", "filebeat-*", "logs-*", "winlogbeat-*"]
20interval = "24h"
21language = "kuery"
22license = "Elastic License v2"
23max_signals = 1
24name = "My First Rule"
25note = """This is a test alert.
26
27This alert does not show threat activity. Elastic created this alert to help you understand how alerts work.
28
29For normal rules, the Investigation Guide will help analysts investigate alerts.
30
31This alert will show once every 24 hours for each host. It is safe to disable this rule.
32"""
33references = ["https://www.elastic.co/guide/en/security/current/prebuilt-rules.html"]
34risk_score = 21
35rule_id = "a198fbbd-9413-45ec-a269-47ae4ccf59ce"
36severity = "low"
37tags = ["Use Case: Guided Onboarding"]
38timestamp_override = "event.ingested"
39type = "threshold"
40
41query = '''
42event.kind:event
43'''
44
45
46
47[rule.threshold]
48field = ["host.name"]
49value = 1

This is a test alert.

This alert does not show threat activity. Elastic created this alert to help you understand how alerts work.

For normal rules, the Investigation Guide will help analysts investigate alerts.

This alert will show once every 24 hours for each host. It is safe to disable this rule.

References

to-top