Skip to content

Commit

Permalink
[Security Solution] Remove unused mock data (#92357)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
angorayc and kibanamachine authored Mar 1, 2021
1 parent 4b42574 commit 1fa774c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4,144,955 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function ({ getService }: FtrProviderContext) {
fakePossibleCount: 3,
querySize: 1,
},
defaultIndex: ['auditbeat-*', 'filebeat-*', 'packetbeat-*', 'winlogbeat-*'],
defaultIndex: ['auditbeat-uncommon-processes'],
docValueFields: [],
inspect: false,
})
Expand Down Expand Up @@ -78,7 +78,7 @@ export default function ({ getService }: FtrProviderContext) {
fakePossibleCount: 3,
querySize: 2,
},
defaultIndex: ['auditbeat-*'],
defaultIndex: ['auditbeat-uncommon-processes'],
docValueFields: [],
inspect: false,
wait_for_completion_timeout: '10s',
Expand Down Expand Up @@ -109,7 +109,7 @@ export default function ({ getService }: FtrProviderContext) {
fakePossibleCount: 3,
querySize: 1,
},
defaultIndex: ['auditbeat-*'],
defaultIndex: ['auditbeat-uncommon-processes'],
docValueFields: [],
inspect: false,
wait_for_completion_timeout: '10s',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function ({ getService }: FtrProviderContext) {
to: TO,
from: FROM,
},
defaultIndex: ['auditbeat-*'],
defaultIndex: ['auditbeat-users'],
docValueFields: [],
ip: IP,
flowTarget: FlowTarget.destination,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "doc",
"value": {
"id": "HCFxB2kBR346wHgnL4ik",
"index": "auditbeat-8.0.0-2019.02.19-000001",
"index": "auditbeat-uncommon-processes",
"source": {
"@timestamp": "2019-02-19T20:27:31.074Z",
"agent": {
Expand Down Expand Up @@ -88,7 +88,7 @@
"type": "doc",
"value": {
"id": "AyJ8B2kBR346wHgnJDDU",
"index": "auditbeat-8.0.0-2019.02.19-000001",
"index": "auditbeat-uncommon-processes",
"source": {
"@timestamp": "2019-02-19T20:39:29.051Z",
"agent": {
Expand Down Expand Up @@ -173,7 +173,7 @@
"type": "doc",
"value": {
"id": "dSJ-B2kBR346wHgnV1E4",
"index": "auditbeat-8.0.0-2019.02.19-000001",
"index": "auditbeat-uncommon-processes",
"source": {
"@timestamp": "2019-02-19T20:41:53.180Z",
"agent": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"is_write_index": true
}
},
"index": "auditbeat-8.0.0-2019.02.19-000001",
"index": "auditbeat-uncommon-processes",
"mappings": {
"_meta": {
"beat": "auditbeat",
Expand Down
10 changes: 5 additions & 5 deletions x-pack/test/functional/es_archives/auditbeat/users/data.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "doc",
"value": {
"index": "auditbeat-7.0.0-alpha1-2018.11.27",
"type": "doc",
"index": "auditbeat-users",
"type": "_doc",
"id": "Xa2ipWkBCQofM5eXEgsv",
"source": {
"@timestamp": "2018-11-27T02:59:28.060Z",
Expand All @@ -29,8 +29,7 @@
"session": "unset"
},
"destination" : {
"ip" : "0.0.0.0",
"port" : "22"
"ip" : "0.0.0.0"
},
"event": {
"type": "user_err",
Expand All @@ -51,7 +50,8 @@
"pid": "13647"
},
"source": {
"ip": "51.38.82.60"
"ip": "51.38.82.60",
"port": "22"
},
"network": {
"direction": "incoming"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "index",
"value": {
"index": "auditbeat-7.0.0-alpha1-2018.11.27",
"index": "auditbeat-users",
"settings": {
"index": {
"codec": "best_compression",
Expand Down Expand Up @@ -1900,4 +1900,4 @@
},
"aliases": {}
}
}
}
Loading

0 comments on commit 1fa774c

Please sign in to comment.