Skip to content
Open
Changes from 15 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
21 changes: 21 additions & 0 deletions rfcs/text/0046/rule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
- name: rule
fields:
- name: remediation
level: extended
type: wildcard
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would remediations usually be human-readable? In that case, using text type could be better than wildcard: https://www.elastic.co/guide/en/elasticsearch/reference/current/keyword.html#wildcard-field-type

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjwolf I have created a PR (#2448) for the suggested changes in https://github.com/elastic/ecs/blob/main/rfcs/text/0046-additional-rule-field.md. Please let me know if thats the right way.

short: Recommended remediation steps if the rule evaluation fails
description: >
Used to capture remediation instructions that come from the benchmark / framework the rule is from
example: >
'["Perform the following to enable MFA:
From Console:
Sign in to the AWS Management Console and open the IAM console at 'https://console.aws.amazon.com/iam/'
In the left pane, select Users.
and so on", "From cli: <comman>"]'
normalize:
- array