Audit config, seams for enterprise audit features

allow oss to parse sink duration

clean up audit sink parsing

ent eventer config reload

fix typo

SetEnabled to eventer interface

client acl test

rm dead code

fix failing test
This commit is contained in:
Drew Bailey
2020-03-22 12:17:33 -04:00
parent f0505a24ad
commit ae5777c4ea
21 changed files with 779 additions and 23 deletions

View File

@@ -142,6 +142,27 @@ acl {
replication_token = "foobar"
}
audit {
enabled = true
sink "file" {
type = "file"
delivery_guarantee = "enforced"
format = "json"
path = "/opt/nomad/audit.log"
rotate_bytes = 100
rotate_duration = "24h"
rotate_max_files = 10
}
filter "default" {
type = "HTTPEvent"
endpoints = ["/ui/", "/v1/agent/health"]
stages = ["*"]
operations = ["*"]
}
}
telemetry {
statsite_address = "127.0.0.1:1234"
statsd_address = "127.0.0.1:2345"