Rule `set_password_hashing_yescrypt_cost_factor_logindefs` fails SCAP validation (SRC-38-1) · Issue #13545 · ComplianceAsCode/content · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
evgenyz opened this issue
Jun 6, 2025
· 3 comments
Labels
OVALOVAL update. Related to the systems assessments.productization-issueIssue found in upstream stabilization process.RHELRed Hat Enterprise Linux product related.RHEL10Red Hat Enterprise Linux 10 product related.standardsBenchmarks related.triaged
Valid SCAP content must correctly coerce XCCDF and OVAL datatypes for external variables. The variable var_password_yescrypt_cost_factor_login_defs is defined as number but imported in the set_password_hashing_yescrypt_cost_factor_logindefs as string because of the template (key_value_pair_in_file).
SCAP Security Guide Version:
master, stabilization-0.1.77
Operating System Version:
RHEL10
Steps to Reproduce:
Build the content
Run scapval
Actual Results:
SRC-38-1 failure.
Expected Results:
No SRC-38 failures.
Additional Information/Debugging Steps:
Resulting external variable definition that violates type coercion:
<oval-def:external_variableid="oval:ssg-var_password_yescrypt_cost_factor_login_defs:var:1"version="1"datatype="string"comment="Variable defining the value the argument should have"/>
The text was updated successfully, but these errors were encountered:
Option 1 is good as a patch for the release, option 2 is the right way to do it. Another possible variety of the option 2 is to introduce type and operation parameters to the template.
OVALOVAL update. Related to the systems assessments.productization-issueIssue found in upstream stabilization process.RHELRed Hat Enterprise Linux product related.RHEL10Red Hat Enterprise Linux 10 product related.standardsBenchmarks related.triaged
Description of problem:
Valid SCAP content must correctly coerce XCCDF and OVAL datatypes for external variables. The variable
var_password_yescrypt_cost_factor_login_defs
is defined asnumber
but imported in theset_password_hashing_yescrypt_cost_factor_logindefs
asstring
because of the template (key_value_pair_in_file
).SCAP Security Guide Version:
master
,stabilization-0.1.77
Operating System Version:
RHEL10
Steps to Reproduce:
scapval
Actual Results:
SRC-38-1 failure.
Expected Results:
No SRC-38 failures.
Additional Information/Debugging Steps:
Resulting external variable definition that violates type coercion:
The text was updated successfully, but these errors were encountered: