-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renamed auditd module fields #6080
Merged
ruflin
merged 2 commits into
elastic:master
from
andrewkroh:feature/ab/auditd-event-format
Jan 16, 2018
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -3,7 +3,121 @@ | |
description: > | ||
Contains common fields available in all event types. | ||
fields: | ||
- name: event.module | ||
- name: event.module | ||
description: > | ||
The name of the module that generated the event. | ||
|
||
- name: event.action | ||
type: keyword | ||
example: logged-in | ||
description: > | ||
Action describes the change that triggered the event. | ||
|
||
For the file integrity module the possible values are: | ||
attributes_modified, created, deleted, updated, moved, and config_change. | ||
|
||
- name: file | ||
type: group | ||
description: File attributes. | ||
fields: | ||
- name: path | ||
type: text | ||
description: The path to the file. | ||
multi_fields: | ||
- name: raw | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @andrewkroh Potentially something we should support in ECS by default. |
||
type: keyword | ||
description: > | ||
The path to the file. This is a non-analyzed field that is useful | ||
for aggregations. | ||
|
||
- name: target_path | ||
type: keyword | ||
description: The target path for symlinks. | ||
|
||
- name: type | ||
type: keyword | ||
description: The file type (file, dir, or symlink). | ||
|
||
- name: device | ||
type: keyword | ||
description: The device. | ||
|
||
- name: inode | ||
type: keyword | ||
description: The inode representing the file in the filesystem. | ||
|
||
- name: uid | ||
type: keyword | ||
description: > | ||
The user ID (UID) or security identifier (SID) of the file owner. | ||
|
||
- name: owner | ||
type: keyword | ||
description: The file owner's username. | ||
|
||
- name: gid | ||
type: keyword | ||
description: The primary group ID (GID) of the file. | ||
|
||
- name: group | ||
type: keyword | ||
description: The primary group name of the file. | ||
|
||
- name: mode | ||
type: keyword | ||
example: 0640 | ||
description: The mode of the file in octal representation. | ||
|
||
- name: setuid | ||
type: boolean | ||
example: true | ||
description: Set if the file has the `setuid` bit set. Omitted otherwise. | ||
|
||
- name: setgid | ||
type: boolean | ||
example: true | ||
description: Set if the file has the `setgid` bit set. Omitted otherwise. | ||
|
||
- name: size | ||
type: long | ||
description: The file size in bytes (field is only added when `type` is `file`). | ||
|
||
- name: mtime | ||
type: date | ||
description: The last modified time of the file (time when content was modified). | ||
|
||
- name: ctime | ||
type: date | ||
description: The last change time of the file (time when metadata was changed). | ||
|
||
- name: origin | ||
type: text | ||
description: > | ||
The name of the module that generated the event. | ||
An array of strings describing a possible external origin for | ||
this file. For example, the URL it was downloaded from. Only | ||
supported in macOS, via the kMDItemWhereFroms attribute. | ||
Omitted if origin information is not available. | ||
multi_fields: | ||
- name: raw | ||
type: keyword | ||
description: > | ||
This is a non-analyzed field that is useful for aggregations on the | ||
origin data. | ||
|
||
- name: selinux | ||
type: group | ||
description: The SELinux identity of the file. | ||
fields: | ||
- name: user | ||
type: keyword | ||
description: The owner of the object. | ||
- name: role | ||
type: keyword | ||
description: The object's SELinux role. | ||
- name: domain | ||
type: keyword | ||
description: The object's SELinux domain or type. | ||
- name: level | ||
type: keyword | ||
example: s0 | ||
description: The object's SELinux level. |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikePaquette That is an interesting field. I wonder if we can reuse this.