Skip to content

Commit

Permalink
Merge pull request #36 from pantheon-systems/fix-example-link-in-readme
Browse files Browse the repository at this point in the history
[skip ci] docs: update broken examples link in README
  • Loading branch information
joemiller authored Oct 30, 2019
2 parents 8e4a0f9 + e90254e commit f9499a5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,18 @@ The `pauditd` binary can be run in inside a docker container running on the serv
To run with the docker command:
```sh
```console
docker run -v <pathtoconfigfile>:/config --privileged --pid="host" quay.io/getpantheon/pauditd:latest
```
If you are monitoring the host file system with file system watch rules then you will have to mount the host directory that you are monitoring into the container with an additional `-v <path-to-monitored>:<path-to-monitored>` to allow access to that filesystem.
### Example Config
See [pauditd.yaml.example](pauditd.yaml.example)
See [./examples/pauditd.yaml.example](./examples/pauditd.yaml.example)
### Metrics
Metrics have been added and are provided by the statsd client. Statsd is the only supported metrics in pauditd at this time. The available metrics are as follows:
- `pauditd.<hostname>.messages`
Expand Down Expand Up @@ -156,7 +157,7 @@ The kernel doesn't always know the filename for file access. Figuring out the fi
You can map back to a filename, possibly not *the* filename, that triggured the audit line though.
```sh
```console
sudo debugfs -R "ncheck <inode to map>" /dev/<your block device here>
```
Expand All @@ -168,7 +169,7 @@ Wikipedia has a pretty good [page](https://en.wikipedia.org/wiki/Syslog) on this
This is likely because you are running `journald` which is also reading audit events. To disable it you need to disable the functionality in `journald`.
```sh
```console
sudo systemctl mask systemd-journald-audit.socket
```
Expand Down

0 comments on commit f9499a5

Please sign in to comment.