-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1235 from splunk/TR-407_orphan_tests
TR-407_orphan_tests
- Loading branch information
Showing
8 changed files
with
86 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"$id": "https://raw.githubusercontent.com/splunk/security_content/develop/docs/spec/tests.spec.json", | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"additionalProperties": true, | ||
"default": {}, | ||
"description": "schema test file", | ||
"properties": { | ||
"name": { | ||
"$id": "#/properties/name", | ||
"default": "", | ||
"description": "Name of the Analytics Story", | ||
"examples": [ | ||
"Credential Dumping" | ||
], | ||
"type": "string" | ||
}, | ||
"tests": { | ||
"$id": "#/properties/tests", | ||
"additionalProperties": true, | ||
"default": {}, | ||
"description": "a test description.", | ||
"examples": [ | ||
[ | ||
{ | ||
"name": "Detect Activity Related to Pass the Hash Attacks", | ||
"file": "endpoint/detect_activity_related_to_pass_the_hash_attacks.yml", | ||
"pass_condition": "| stats count | where count > 0", | ||
"earliest_time": "-24h", | ||
"latest_time": "now", | ||
"attack_data": [ | ||
{ | ||
"file_name": "windows-security.log", | ||
"data": "https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1550.002/atomic_red_team/windows-security.log", | ||
"source": "WinEventLog:Security", | ||
"sourcetype": "WinEventLog", | ||
"update_timestamp": true | ||
} | ||
] | ||
} | ||
] | ||
], | ||
"minItems": 1, | ||
"type": "array", | ||
"items": [ | ||
{ | ||
"type": "object" | ||
} | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"tests" | ||
], | ||
"title": "Test file schema", | ||
"type": "object" | ||
} |
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
2 changes: 1 addition & 1 deletion
2
tests/cloud/high_number_of_login_failures_from_a_single_source.test.yml
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
2 changes: 1 addition & 1 deletion
2
tests/network/detect_ipv6_network_infrastructure_threats.test.yml
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