Skip to content

Commit 1fa774c

Browse files
[Security Solution] Remove unused mock data (#92357)
* update mocked index * update mocked index * update mocked index * remove unused mock data * update mock data Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
1 parent 4b42574 commit 1fa774c

File tree

7 files changed

+15
-4144955
lines changed

7 files changed

+15
-4144955
lines changed

x-pack/test/api_integration/apis/security_solution/uncommon_processes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function ({ getService }: FtrProviderContext) {
4949
fakePossibleCount: 3,
5050
querySize: 1,
5151
},
52-
defaultIndex: ['auditbeat-*', 'filebeat-*', 'packetbeat-*', 'winlogbeat-*'],
52+
defaultIndex: ['auditbeat-uncommon-processes'],
5353
docValueFields: [],
5454
inspect: false,
5555
})
@@ -78,7 +78,7 @@ export default function ({ getService }: FtrProviderContext) {
7878
fakePossibleCount: 3,
7979
querySize: 2,
8080
},
81-
defaultIndex: ['auditbeat-*'],
81+
defaultIndex: ['auditbeat-uncommon-processes'],
8282
docValueFields: [],
8383
inspect: false,
8484
wait_for_completion_timeout: '10s',
@@ -109,7 +109,7 @@ export default function ({ getService }: FtrProviderContext) {
109109
fakePossibleCount: 3,
110110
querySize: 1,
111111
},
112-
defaultIndex: ['auditbeat-*'],
112+
defaultIndex: ['auditbeat-uncommon-processes'],
113113
docValueFields: [],
114114
inspect: false,
115115
wait_for_completion_timeout: '10s',

x-pack/test/api_integration/apis/security_solution/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default function ({ getService }: FtrProviderContext) {
3939
to: TO,
4040
from: FROM,
4141
},
42-
defaultIndex: ['auditbeat-*'],
42+
defaultIndex: ['auditbeat-users'],
4343
docValueFields: [],
4444
ip: IP,
4545
flowTarget: FlowTarget.destination,

x-pack/test/functional/es_archives/auditbeat/uncommon_processes/data.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "doc",
44
"value": {
55
"id": "HCFxB2kBR346wHgnL4ik",
6-
"index": "auditbeat-8.0.0-2019.02.19-000001",
6+
"index": "auditbeat-uncommon-processes",
77
"source": {
88
"@timestamp": "2019-02-19T20:27:31.074Z",
99
"agent": {
@@ -88,7 +88,7 @@
8888
"type": "doc",
8989
"value": {
9090
"id": "AyJ8B2kBR346wHgnJDDU",
91-
"index": "auditbeat-8.0.0-2019.02.19-000001",
91+
"index": "auditbeat-uncommon-processes",
9292
"source": {
9393
"@timestamp": "2019-02-19T20:39:29.051Z",
9494
"agent": {
@@ -173,7 +173,7 @@
173173
"type": "doc",
174174
"value": {
175175
"id": "dSJ-B2kBR346wHgnV1E4",
176-
"index": "auditbeat-8.0.0-2019.02.19-000001",
176+
"index": "auditbeat-uncommon-processes",
177177
"source": {
178178
"@timestamp": "2019-02-19T20:41:53.180Z",
179179
"agent": {

x-pack/test/functional/es_archives/auditbeat/uncommon_processes/mappings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"is_write_index": true
77
}
88
},
9-
"index": "auditbeat-8.0.0-2019.02.19-000001",
9+
"index": "auditbeat-uncommon-processes",
1010
"mappings": {
1111
"_meta": {
1212
"beat": "auditbeat",

x-pack/test/functional/es_archives/auditbeat/users/data.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"type": "doc",
33
"value": {
4-
"index": "auditbeat-7.0.0-alpha1-2018.11.27",
5-
"type": "doc",
4+
"index": "auditbeat-users",
5+
"type": "_doc",
66
"id": "Xa2ipWkBCQofM5eXEgsv",
77
"source": {
88
"@timestamp": "2018-11-27T02:59:28.060Z",
@@ -29,8 +29,7 @@
2929
"session": "unset"
3030
},
3131
"destination" : {
32-
"ip" : "0.0.0.0",
33-
"port" : "22"
32+
"ip" : "0.0.0.0"
3433
},
3534
"event": {
3635
"type": "user_err",
@@ -51,7 +50,8 @@
5150
"pid": "13647"
5251
},
5352
"source": {
54-
"ip": "51.38.82.60"
53+
"ip": "51.38.82.60",
54+
"port": "22"
5555
},
5656
"network": {
5757
"direction": "incoming"

x-pack/test/functional/es_archives/auditbeat/users/mappings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "index",
33
"value": {
4-
"index": "auditbeat-7.0.0-alpha1-2018.11.27",
4+
"index": "auditbeat-users",
55
"settings": {
66
"index": {
77
"codec": "best_compression",
@@ -1900,4 +1900,4 @@
19001900
},
19011901
"aliases": {}
19021902
}
1903-
}
1903+
}

0 commit comments

Comments
 (0)