Repository navigation
Expand file tree
/
Copy pathtests.spec.json
More file actions
57 lines (57 loc) · 1.59 KB
/
Copy pathtests.spec.json
File metadata and controls
57 lines (57 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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"
}