ComplianceAsCode / ComplianceAsCode/content

Error when running check content_rule_accounts_umask_interactive_users

Open
#14,018 2 comments 0 reactions 0 assignees View on GitHub
triaged Ubuntu
Dominant language
Shell
Stars
2.8k
Forks
828
Avg merge
3d 8m
Merged PRs (30d)
80

Description

#### Description of problem:
Running the check xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users results in an error.

#### SCAP Security Guide Version:
0.1.78

#### Operating System Version:
Ubuntu 22.04 LTS

#### Steps to Reproduce:

1. Run openscap evaluation with profile "ssg-ubuntu2204_custom_cis-level-1-server"

#### Actual Results:

Running the check xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users results in following error:

`Title Ensure the Default Umask is Set Correctly For Interactive Users
Rule xccdf_org.ssgproject.content_rule_accounts_umask_interactive_users
E: probe_textfilecontent54: Function pcre_exec() failed to match a regular expression with return code -10 on string '#
U CQօ΄Y)yjV.yK|l[+󽚮MaC-sv#M0mX(k~f9zVST7&ᄅ3|3'. e&eh
Result error`

#### Expected Results:

The test should pass or fail but not throw an error.

#### Additional Information/Debugging Steps:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.