audit: add file mode configuration parameter

Rest of implementation is in nomad-enterprise
This commit is contained in:
Michael Schurter 2021-07-20 10:54:53 -07:00
parent efe8ea2c2c
commit c06ea132d3
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ type AuditSink struct {
// RotateMaxFiles is the max number of log files to keep
RotateMaxFiles int `hcl:"rotate_max_files"`
// Mode is the octal formatted permissions for the audit log files.
Mode string `hcl:"mode"`
}
// AuditFilter is the configuration for a Audit Log Filter