mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
28
command/agent/testdata/basic.json
vendored
28
command/agent/testdata/basic.json
vendored
@@ -7,6 +7,34 @@
|
||||
"token_ttl": "60s"
|
||||
}
|
||||
],
|
||||
"audit": {
|
||||
"enabled": true,
|
||||
"sink": [
|
||||
{
|
||||
"file": {
|
||||
"type": "file",
|
||||
"format": "json",
|
||||
"delivery_guarantee": "enforced",
|
||||
"path": "/opt/nomad/audit.log",
|
||||
"rotate_bytes": 100,
|
||||
"rotate_duration": "24h",
|
||||
"rotate_max_files": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"endpoints": ["/ui/", "/v1/agent/health"],
|
||||
"operations": ["*"],
|
||||
"stages": ["*"],
|
||||
"type": "HTTPEvent"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"addresses": [
|
||||
{
|
||||
"http": "127.0.0.1",
|
||||
|
||||
Reference in New Issue
Block a user