ComplianceAsCode / ComplianceAsCode/content
How should the file_owner template handle symlinks?
Open
triaged
- Dominant language
- Shell
- Stars
- 2.8k
- Forks
- 828
- Avg merge
- 3d 8m
- Merged PRs (30d)
- 80
Description
#### Description of problem:
The OVAL check of the `file_owner` template is not following symlinks. However, sometimes it might be a valid case.
See https://github.com/ComplianceAsCode/content/pull/12590 for the context.
#### SCAP Security Guide Version:
33a7ba243d70917a657448fe32c0264bdaa33ca8
#### Operating System Version:
all
#### Steps to Reproduce:
1. revert the https://github.com/ComplianceAsCode/content/pull/12590
2. run test of rule file_owner_etc_issue on Fedora >= 40
#### Actual Results:
The test fails because there is a symlink /etc/issue by default on Fedora
#### Expected Results:
Tests should pass.
Contributor guide
Assessment
This issue has not been assessed yet.