-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
208 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{"event":{"action":"saved_object_create","category":["database"],"outcome":"unknown","type":["access"]},"kibana":{"saved_object":{"id":"fleet-default-settings","type":"ingest_manager_settings"}},"labels":{"application":"elastic/fleet"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-06-19T15:18:47.298+00:00","message":"User is accessing ingest_manager_settings [id=fleet-default-settings]","log":{"level":"INFO","logger":"plugins.security.audit.ecs"},"process":{"pid":7},"trace":{"id":"809d3449277aba205a3ac539d23dbf7e"},"transaction":{"id":"49a38064b0f1dc1e"}} | ||
{"event":{"action":"saved_object_create","category":["database"],"outcome":"unknown","type":["access"]},"kibana":{"saved_object":{"id":"a09a5397-7b9a-5a73-a622-e29f4c635658","type":"ingest-outputs"}},"labels":{"application":"elastic/fleet"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-06-19T15:18:48.987+00:00","message":"User is accessing ingest-outputs [id=a09a5397-7b9a-5a73-a622-e29f4c635658]","log":{"level":"INFO","logger":"plugins.security.audit.ecs"},"process":{"pid":7},"trace":{"id":"809d3449277aba205a3ac539d23dbf7e"},"transaction":{"id":"49a38064b0f1dc1e"}} | ||
{"event":{"action":"saved_object_create","category":["database"],"outcome":"unknown","type":["access"]},"kibana":{"saved_object":{"id":"synthetics","type":"epm-packages"}},"labels":{"application":"elastic/fleet"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-06-19T15:18:53.426+00:00","message":"User is accessing epm-packages [id=synthetics]","log":{"level":"INFO","logger":"plugins.security.audit.ecs"},"process":{"pid":7},"trace":{"id":"809d3449277aba205a3ac539d23dbf7e"},"transaction":{"id":"49a38064b0f1dc1e"}} | ||
{"event":{"action":"http_request","category":["web"],"outcome":"unknown"},"http":{"request":{"method":"get"}},"url":{"domain":"kibana","path":"/api/features","port":5601,"scheme":"http"},"user":{"name":"elastic","roles":["superuser"]},"kibana":{"space_id":"default"},"trace":{"id":"e2792f3f-4cf1-4f6d-b4eb-5b491724c295"},"client":{"ip":"172.22.0.2"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-06-19T15:19:18.882+00:00","message":"User is requesting [/api/features] endpoint","log":{"level":"INFO","logger":"plugins.security.audit.ecs"},"process":{"pid":7},"transaction":{"id":"cf44f52888b9ec5a"}} | ||
{"event":{"action":"saved_object_create","category":["database"],"outcome":"unknown","type":["access"]},"kibana":{"saved_object":{"id":"abcde-fghijk","type":"ingest_manager_settings","name":"fleet-object-name"}},"labels":{"application":"elastic/fleet"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-06-19T16:18:47.298+00:00","message":"User is accessing ingest_manager_settings [id=fleet-default-settings]","log":{"level":"INFO","logger":"plugins.security.audit.ecs"},"process":{"pid":7},"trace":{"id":"809d3449277aba205a3ac539d23dbf7e"},"transaction":{"id":"49a38064b0f1dc1e"}} |
171 changes: 171 additions & 0 deletions
171
filebeat/module/kibana/audit/test/test-audit-814.log-expected.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,171 @@ | ||
[ | ||
{ | ||
"@timestamp": "2023-06-19T15:18:47.298+00:00", | ||
"event.action": "saved_object_create", | ||
"event.category": [ | ||
"database" | ||
], | ||
"event.dataset": "kibana.audit", | ||
"event.kind": "event", | ||
"event.module": "kibana", | ||
"event.outcome": "unknown", | ||
"event.timezone": "-02:00", | ||
"event.type": [ | ||
"access" | ||
], | ||
"fileset.name": "audit", | ||
"input.type": "log", | ||
"kibana.saved_object.id": "fleet-default-settings", | ||
"kibana.saved_object.type": "ingest_manager_settings", | ||
"labels.application": "elastic/fleet", | ||
"log.level": "INFO", | ||
"log.logger": "plugins.security.audit.ecs", | ||
"log.offset": 0, | ||
"message": "User is accessing ingest_manager_settings [id=fleet-default-settings]", | ||
"process.pid": 7, | ||
"service.node.roles": [ | ||
"background_tasks", | ||
"ui" | ||
], | ||
"service.type": "kibana", | ||
"trace.id": "809d3449277aba205a3ac539d23dbf7e", | ||
"transaction.id": "49a38064b0f1dc1e" | ||
}, | ||
{ | ||
"@timestamp": "2023-06-19T15:18:48.987+00:00", | ||
"event.action": "saved_object_create", | ||
"event.category": [ | ||
"database" | ||
], | ||
"event.dataset": "kibana.audit", | ||
"event.kind": "event", | ||
"event.module": "kibana", | ||
"event.outcome": "unknown", | ||
"event.timezone": "-02:00", | ||
"event.type": [ | ||
"access" | ||
], | ||
"fileset.name": "audit", | ||
"input.type": "log", | ||
"kibana.saved_object.id": "a09a5397-7b9a-5a73-a622-e29f4c635658", | ||
"kibana.saved_object.type": "ingest-outputs", | ||
"labels.application": "elastic/fleet", | ||
"log.level": "INFO", | ||
"log.logger": "plugins.security.audit.ecs", | ||
"log.offset": 616, | ||
"message": "User is accessing ingest-outputs [id=a09a5397-7b9a-5a73-a622-e29f4c635658]", | ||
"process.pid": 7, | ||
"service.node.roles": [ | ||
"background_tasks", | ||
"ui" | ||
], | ||
"service.type": "kibana", | ||
"trace.id": "809d3449277aba205a3ac539d23dbf7e", | ||
"transaction.id": "49a38064b0f1dc1e" | ||
}, | ||
{ | ||
"@timestamp": "2023-06-19T15:18:53.426+00:00", | ||
"event.action": "saved_object_create", | ||
"event.category": [ | ||
"database" | ||
], | ||
"event.dataset": "kibana.audit", | ||
"event.kind": "event", | ||
"event.module": "kibana", | ||
"event.outcome": "unknown", | ||
"event.timezone": "-02:00", | ||
"event.type": [ | ||
"access" | ||
], | ||
"fileset.name": "audit", | ||
"input.type": "log", | ||
"kibana.saved_object.id": "synthetics", | ||
"kibana.saved_object.type": "epm-packages", | ||
"labels.application": "elastic/fleet", | ||
"log.level": "INFO", | ||
"log.logger": "plugins.security.audit.ecs", | ||
"log.offset": 1242, | ||
"message": "User is accessing epm-packages [id=synthetics]", | ||
"process.pid": 7, | ||
"service.node.roles": [ | ||
"background_tasks", | ||
"ui" | ||
], | ||
"service.type": "kibana", | ||
"trace.id": "809d3449277aba205a3ac539d23dbf7e", | ||
"transaction.id": "49a38064b0f1dc1e" | ||
}, | ||
{ | ||
"@timestamp": "2023-06-19T15:19:18.882+00:00", | ||
"client.ip": "172.22.0.2", | ||
"event.action": "http_request", | ||
"event.category": [ | ||
"web" | ||
], | ||
"event.dataset": "kibana.audit", | ||
"event.kind": "event", | ||
"event.module": "kibana", | ||
"event.outcome": "unknown", | ||
"event.timezone": "-02:00", | ||
"fileset.name": "audit", | ||
"http.request.method": "get", | ||
"input.type": "log", | ||
"kibana.space_id": "default", | ||
"log.level": "INFO", | ||
"log.logger": "plugins.security.audit.ecs", | ||
"log.offset": 1812, | ||
"message": "User is requesting [/api/features] endpoint", | ||
"process.pid": 7, | ||
"related.user": [ | ||
"elastic" | ||
], | ||
"service.node.roles": [ | ||
"background_tasks", | ||
"ui" | ||
], | ||
"service.type": "kibana", | ||
"trace.id": "e2792f3f-4cf1-4f6d-b4eb-5b491724c295", | ||
"transaction.id": "cf44f52888b9ec5a", | ||
"url.domain": "kibana", | ||
"url.path": "/api/features", | ||
"url.port": 5601, | ||
"url.scheme": "http", | ||
"user.name": "elastic", | ||
"user.roles": [ | ||
"superuser" | ||
] | ||
}, | ||
{ | ||
"@timestamp": "2023-06-19T16:18:47.298+00:00", | ||
"event.action": "saved_object_create", | ||
"event.category": [ | ||
"database" | ||
], | ||
"event.dataset": "kibana.audit", | ||
"event.kind": "event", | ||
"event.module": "kibana", | ||
"event.outcome": "unknown", | ||
"event.timezone": "-02:00", | ||
"event.type": [ | ||
"access" | ||
], | ||
"fileset.name": "audit", | ||
"input.type": "log", | ||
"kibana.saved_object.id": "abcde-fghijk", | ||
"kibana.saved_object.type": "ingest_manager_settings", | ||
"kibana.saved_object.name": "fleet-object-name", | ||
"labels.application": "elastic/fleet", | ||
"log.level": "INFO", | ||
"log.logger": "plugins.security.audit.ecs", | ||
"log.offset": 2466, | ||
"message": "User is accessing ingest_manager_settings [id=fleet-default-settings]", | ||
"process.pid": 7, | ||
"service.node.roles": [ | ||
"background_tasks", | ||
"ui" | ||
], | ||
"service.type": "kibana", | ||
"trace.id": "809d3449277aba205a3ac539d23dbf7e", | ||
"transaction.id": "49a38064b0f1dc1e" | ||
} | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.