зеркало из https://github.com/mozilla/libaudit-go.git
add example of using auditprint to README
This commit is contained in:
Родитель
540a0375f4
Коммит
80726f8d73
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче