Skip to content

Commit

Permalink
Add default query fields
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Oct 17, 2023
1 parent 190c6f9 commit ae9d106
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion ecs/vulnerability-detector/fields/template-settings-legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,23 @@
},
"number_of_shards": "1",
"number_of_replicas": "0",
"refresh_interval": "2s"
"refresh_interval": "2s",
"query.default_field": [
"base.tags",
"agent.id",
"ecs.version",
"event.id",
"event.module",
"event.severity",
"host.os.family",
"host.os.full.text",
"host.os.version",
"package.name",
"package.version",
"vulnerability.id",
"vulnerability.description.text",
"vulnerability.severity"
]
}
}
}
18 changes: 17 additions & 1 deletion ecs/vulnerability-detector/fields/template-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,23 @@
},
"number_of_shards": "1",
"number_of_replicas": "0",
"refresh_interval": "2s"
"refresh_interval": "2s",
"query.default_field": [
"base.tags",
"agent.id",
"ecs.version",
"event.id",
"event.module",
"event.severity",
"host.os.family",
"host.os.full.text",
"host.os.version",
"package.name",
"package.version",
"vulnerability.id",
"vulnerability.description.text",
"vulnerability.severity"
]
}
}
}
Expand Down

0 comments on commit ae9d106

Please sign in to comment.