Skip to content
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

Auditbeat file module improvements #4636

Merged
merged 3 commits into from
Jul 13, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ cd ~/go/src/github.com/elastic
if [ -d "/vagrant" ]; then ln -s /vagrant beats; fi
SCRIPT

# Linux GVM
$linuxGvmProvision = <<SCRIPT
mkdir -p ~/bin
curl -sL -o ~/bin/gvm https://github.com/andrewkroh/gvm/releases/download/v0.0.1/gvm-linux-amd64
chmod +x ~/bin/gvm
echo 'export PATH=~/bin:$PATH' >> ~/.bash_profile
echo 'eval "$(gvm 1.8.3)"' >> ~/.bash_profile
SCRIPT

Vagrant.configure(2) do |config|

# Windows Server 2012 R2
Expand Down Expand Up @@ -110,6 +119,18 @@ Vagrant.configure(2) do |config|
openbsd.vm.provision "shell", inline: $unixProvision, privileged: false
end

# CentOS 7
config.vm.define "centos7", primary: true do |centos7|
#centos7.vm.box = "http://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7-x86_64-Vagrant-1706_02.VirtualBox.box"
centos7.vm.box = "ubuntu/precise64"
centos7.vm.network :forwarded_port, guest: 22, host: 2226, id: "ssh", auto_correct: true

centos7.vm.provision "shell", inline: $unixProvision, privileged: false
centos7.vm.provision "shell", inline: $linuxGvmProvision, privileged: false

centos7.vm.synced_folder ".", "/vagrant", type: "virtualbox"
end

end

# -*- mode: ruby -*-
Expand Down
44 changes: 43 additions & 1 deletion auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,30 @@ type: keyword

The path to the file.

[float]
=== audit.file.target_path

type: keyword

The target path for symlinks.

[float]
=== audit.file.action

type: keyword

example: attributes_modified

Action describes the change to the file. The possible values are: attributes_modified, created, deleted, updated, moved_to, collision_within, unmounted, root_changed.
Action describes the change to the file. The possible values are: attributes_modified, created, deleted, updated, and moved.


[float]
=== audit.file.type

type: keyword

The file type (file, dir, or symlink).

[float]
=== audit.file.inode

Expand Down Expand Up @@ -92,6 +106,13 @@ type: keyword

The primary group name of the file.

[float]
=== audit.file.sid

type: keyword

The security identifier (SID) of the file owner (Windows only).

[float]
=== audit.file.mode

Expand Down Expand Up @@ -137,6 +158,27 @@ type: boolean
Boolean indicating if the event includes a file hashes. If true the md5, sha1, and sha256 fields will be present.


[float]
=== audit.file.md5

type: keyword

MD5 hash of the file.

[float]
=== audit.file.sha1

type: keyword

SHA1 hash of the file.

[float]
=== audit.file.sha256

type: keyword

SHA256 hash of the file.

[float]
== kernel Fields

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading