mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Removed All_Changes submodel from
two detections which use more than one submodel in Changes.
This commit is contained in:
@@ -9,7 +9,7 @@ datamodel:
|
||||
description: This search looks for cloud compute instances being created with previously
|
||||
unseen image IDs.
|
||||
search: '| tstats count earliest(_time) as firstTime, latest(_time) as lastTime values(All_Changes.object_id)
|
||||
as dest from datamodel=Change.All_Changes where All_Changes.action=created by All_Changes.Instance_Changes.image_id,
|
||||
as dest from datamodel=Change where All_Changes.action=created by All_Changes.Instance_Changes.image_id,
|
||||
All_Changes.user | `drop_dm_object_name("All_Changes")` | `drop_dm_object_name("Instance_Changes")`
|
||||
| where image_id != "unknown" | lookup previously_seen_cloud_compute_images image_id
|
||||
as image_id OUTPUT firstTimeSeen, enough_data | eventstats max(enough_data) as enough_data
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ datamodel:
|
||||
- Change
|
||||
description: Find EC2 instances being created with previously unseen instance types.
|
||||
search: '| tstats earliest(_time) as firstTime, latest(_time) as lastTime values(All_Changes.object_id)
|
||||
as dest, count from datamodel=Change.All_Changes where All_Changes.action=created by All_Changes.Instance_Changes.instance_type,
|
||||
as dest, count from datamodel=Change where All_Changes.action=created by All_Changes.Instance_Changes.instance_type,
|
||||
All_Changes.user | `drop_dm_object_name("All_Changes")` | `drop_dm_object_name("Instance_Changes")`
|
||||
| where instance_type != "unknown" | lookup previously_seen_cloud_compute_instance_types
|
||||
instance_type as instance_type OUTPUTNEW firstTimeSeen, enough_data | eventstats
|
||||
|
||||
Reference in New Issue
Block a user