Skip to content

Commit

Permalink
Add rule group win_auth_failure to metrics (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
juankaromo authored Feb 26, 2020
1 parent ad4659b commit baab817
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 9 additions & 3 deletions server/integration-files/visualizations/agents/agents-general.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ export default [
"index": "wazuh-alerts",
"type": "phrases",
"key": "rule.groups",
"value": "authentication_failed, authentication_failures",
"value": "win_authentication_failed, authentication_failed, authentication_failures",
"params": [
"win_authentication_failed",
"authentication_failed",
"win_authentication_failed"
"authentication_failures"
],
"negate": false,
"disabled": false,
Expand All @@ -116,14 +117,19 @@ export default [
"query": {
"bool": {
"should": [
{
"match_phrase": {
"rule.groups": "win_authentication_failed"
}
},
{
"match_phrase": {
"rule.groups": "authentication_failed"
}
},
{
"match_phrase": {
"rule.groups": "win_authentication_failed"
"rule.groups": "authentication_failures"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ export default [
"index": "wazuh-alerts",
"type": "phrases",
"key": "rule.groups",
"value": "authentication_failed, authentication_failures",
"value": "win_authentication_failed, authentication_failed, authentication_failures",
"params": [
"win_authentication_failed",
"authentication_failed",
"authentication_failures"
],
Expand All @@ -117,6 +118,11 @@ export default [
"query": {
"bool": {
"should": [
{
"match_phrase": {
"rule.groups": "win_authentication_failed"
}
},
{
"match_phrase": {
"rule.groups": "authentication_failed"
Expand Down

0 comments on commit baab817

Please sign in to comment.