-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [Fleet] Install security_rule assets as saved objects * Add security-rule to update_assets.ts * Update UUIDs for security_rule asset * Change .type to match the saved object type not the asset type * Add saved object mapping for security-rule * Make SO non-hidden * Fix SO mapping for security-rule * Make security-rule a non-hidden asset Co-authored-by: Ross Wolf <[email protected]>
- Loading branch information
1 parent
36d86ad
commit 95992f0
Showing
11 changed files
with
152 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...is/fixtures/test_packages/all_assets/0.1.0/kibana/security_rule/sample_security_rule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"attributes": { | ||
"author": [ | ||
"Elastic" | ||
], | ||
"description": "Identifies a suspicious parent child process relationship with cmd.exe descending from svchost.exe", | ||
"from": "now-9m", | ||
"index": [ | ||
"winlogbeat-*", | ||
"logs-endpoint.events.*", | ||
"logs-windows.*" | ||
], | ||
"language": "kuery", | ||
"license": "Elastic License v2", | ||
"name": "Svchost spawning Cmd", | ||
"query": "event.category:process and event.type:(start or process_started) and process.parent.name:svchost.exe and process.name:cmd.exe", | ||
"risk_score": 21, | ||
"rule_id": "sample_security_rule", | ||
"severity": "low", | ||
"tags": [ | ||
"Elastic", | ||
"Host", | ||
"Windows", | ||
"Threat Detection", | ||
"Execution" | ||
], | ||
"threat": [ | ||
{ | ||
"framework": "MITRE ATT\u0026CK", | ||
"tactic": { | ||
"id": "TA0002", | ||
"name": "Execution", | ||
"reference": "https://attack.mitre.org/tactics/TA0002/" | ||
}, | ||
"technique": [ | ||
{ | ||
"id": "T1059", | ||
"name": "Command and Scripting Interpreter", | ||
"reference": "https://attack.mitre.org/techniques/T1059/" | ||
} | ||
] | ||
} | ||
], | ||
"timestamp_override": "event.ingested", | ||
"type": "query", | ||
"version": 7 | ||
}, | ||
"id": "sample_security_rule", | ||
"type": "security-rule" | ||
} |
50 changes: 50 additions & 0 deletions
50
...is/fixtures/test_packages/all_assets/0.2.0/kibana/security_rule/sample_security_rule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"attributes": { | ||
"author": [ | ||
"Elastic" | ||
], | ||
"description": "Identifies a suspicious parent child process relationship with cmd.exe descending from svchost.exe", | ||
"from": "now-9m", | ||
"index": [ | ||
"winlogbeat-*", | ||
"logs-endpoint.events.*", | ||
"logs-windows.*" | ||
], | ||
"language": "kuery", | ||
"license": "Elastic License v2", | ||
"name": "Svchost spawning Cmd", | ||
"query": "event.category:process and event.type:(start or process_started) and process.parent.name:svchost.exe and process.name:cmd.exe", | ||
"risk_score": 21, | ||
"rule_id": "sample_security_rule", | ||
"severity": "low", | ||
"tags": [ | ||
"Elastic", | ||
"Host", | ||
"Windows", | ||
"Threat Detection", | ||
"Execution" | ||
], | ||
"threat": [ | ||
{ | ||
"framework": "MITRE ATT\u0026CK", | ||
"tactic": { | ||
"id": "TA0002", | ||
"name": "Execution", | ||
"reference": "https://attack.mitre.org/tactics/TA0002/" | ||
}, | ||
"technique": [ | ||
{ | ||
"id": "T1059", | ||
"name": "Command and Scripting Interpreter", | ||
"reference": "https://attack.mitre.org/techniques/T1059/" | ||
} | ||
] | ||
} | ||
], | ||
"timestamp_override": "event.ingested", | ||
"type": "query", | ||
"version": 7 | ||
}, | ||
"id": "sample_security_rule", | ||
"type": "security-rule" | ||
} |