Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifies description of new_terms_fields #3994

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/detections/api/rules/rules-api-create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ uses both `and` and `or` logic.
|==============================================
|Name |Type |Description

|new_terms_fields |String[] |Fields to monitor for new values. Must contain 1–3 field names.
|new_terms_fields |String[] |Fields to monitor for new values. Must contain 1 field name.

|history_window_start |String |Start date to use when checking if a term has been seen before.
Supports relative dates – for example, `now-30d` will search the last 30 days of data when checking if a term
Expand Down Expand Up @@ -833,7 +833,7 @@ POST api/detection_engine/rules
"type": "new_terms",
"language": "kuery",
"query": "*",
"new_terms_fields": ["user.id", "source.ip"],
"new_terms_fields": ["user.id"],
"history_window_start": "now-30d",
"index": ["auditbeat*"]
}
Expand Down Expand Up @@ -1196,7 +1196,7 @@ Example response for a new terms rule:
],
"query": "*",
"language": "kuery",
"new_terms_fields": ["user.id", "source.ip"],
"new_terms_fields": ["user.id"],
"history_window_start": "now-30d",
"related_integrations": [], <1>
"required_fields": [], <1>
Expand Down
2 changes: 1 addition & 1 deletion docs/detections/api/rules/rules-api-update.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ uses both `and` and `or` logic.
|==============================================
|Name |Type |Description

|new_terms_fields |String[] |Fields to monitor for new values. Must contain 1–3 field names.
|new_terms_fields |String[] |Fields to monitor for new values. Must contain 1 field name.

|history_window_start |String |Start date to use when checking if a term has been seen before.
Supports relative dates – for example, `now-30d` will search the last 30 days of data when checking if a term
Expand Down