OAuth Audit Logs Must Be Owned By Root
An XCCDF Rule
Description
All audit logs must be owned by root user and group. By default, the path for the OAuth audit log is
/var/log/oauth-apiserver/. To properly set the owner of
/var/log/oauth-apiserver
, run the command:
$ sudo chown root /var/log/oauth-apiserverTo properly set the owner of
/var/log/oauth-apiserver/*
, run the command:
$ sudo chown root /var/log/oauth-apiserver/*
Rationale
Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.
- ID
- xccdf_org.ssgproject.content_rule_file_ownership_var_log_oauth_audit
- Severity
- Medium
- References
- Updated