add example of using auditprint to README

This commit is contained in:
Aaron Meihm 2017-08-28 16:19:10 -05:00
Родитель 540a0375f4
Коммит 80726f8d73
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -16,6 +16,14 @@ To get started see package documentation at [godoc](https://godoc.org/github.com
For a simple example of usage, see the [auditprint](./auditprint/) tool included in this repository.
```bash
sudo service stop auditd
go get -u github.com/mozilla/libaudit-go
cd $GOPATH/src/github.com/mozilla/libaudit-go
go install github.com/mozilla/libaudit-go/auditprint
sudo $GOPATH/bin/auditprint testdata/rules.json
```
Some key functions are discussed in the overview section below.
## Overview