Skip to content

Commit

Permalink
[ML] Adding v3 modules for Security_Linux and Security_Windows and De…
Browse files Browse the repository at this point in the history
…precating v1 + v2 (#131166)

* consolidate Security ML Modules

* removal of auditbeat host processes ecs module

* removing siem_winlogbeat_auth after consolidating into windows_security

* renamed to avoid job collisions

* Update recognize_module.ts

removed references to deprecated v1 modules which no longer exist

* test fixes

remove references to deprecated module and modify module names to match the latest v3 modules being committed.

* Update recognize_module.ts

think this is what the linter wants

* deprecating winlogbeat and auditbeat modules

* fixes test post-deprecation of modules

* fixes typo in test

* revert linting changes

* revert linting changes pt2

* fixing test in setup_module.ts

* ml module refactor

* manifest, job, and datafeed cleanup based on PR feedback

* commenting out security solution tests for ML Modules

* modified ml module tests and job descriptions

* Update datafeed_auth_high_count_logon_events_for_a_source_ip.json

added test for existence of source.ip field per #131376

* Update datafeed_auth_high_count_logon_events_for_a_source_ip.json

formatting

* descriptions

standardized descriptions between Linux and Windows jobs; removed the term "services" from the rare process jobs because it has a special meaning under Windows and is the target of a different job; added a sentence to the sudo job description, I think this was a stub description that never got fleshed out when it was developed.

* tags

added job tags

* tags

added Linux job tags

* tags

* linting

remove a dup json element

* Update v3_windows_anomalous_script.json

add the Security: Windows prefix which was missing

* Update v3_linux_anomalous_network_activity.json

missing bracket

* Update v3_windows_anomalous_script.json

the prefix was in the wrong place

Co-authored-by: Craig Chamberlain <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people authored May 18, 2022
1 parent 31bb2c7 commit f85c39e
Show file tree
Hide file tree
Showing 148 changed files with 2,220 additions and 3,314 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
{
"id": "auth_rare_user",
"file": "auth_rare_user.json"
},
{
"id": "suspicious_login_activity",
"file": "suspicious_login_activity.json"
}
],
"datafeeds": [
Expand Down Expand Up @@ -73,6 +77,11 @@
"id": "datafeed-auth_rare_user",
"file": "datafeed_auth_rare_user.json",
"job_id": "auth_rare_user"
},
{
"id": "datafeed-suspicious_login_activity",
"file": "datafeed_suspicious_login_activity.json",
"job_id": "suspicious_login_activity"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@
],
"max_empty_searches": 10,
"query": {
"bool": {
"filter": [
{
"term": {
"event.category": "authentication"
}
},
{
"term": {
"event.outcome": "success"
}
"bool": {
"filter": [{"exists": {"field": "source.ip"}}],
"must": [
{"bool": {
"should": [
{"term": {"event.category": "authentication"}},
{"term": {"event.outcome": "success"}}
]
}}
]
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"icon": "logoSecurity"
}
}
Loading

0 comments on commit f85c39e

Please sign in to comment.