Project

General

Profile

Actions

Bug #27343

open

RHEL 8 - Section 3.1 : errors on control point

Added by Lucas FRANCOIS 8 days ago. Updated 6 days ago.

Status:
Pending release
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

On control point 3.1.2, the {const.dollar} needs to be removed as resources_dir is not a parameter defined in the benchmark. Plus, the control should only be implemented on audit, then replacing _audit_and_enforce_items by _audit_items.

_3_1_2 = hardening.Leaf {
    _item_nb = "3.1.2" 
    id = "62c4ac54-0109-44c1-b52c-5dbafcfb5ebe" 
    _audit_and_enforce_items = [rudder.Method {
      method = "audit_from_command" 
        params = {
            command = r"/usr/bin/env bash ${const.dollar}{resources_dir}/3_1_2_wireless_interfaces_are_disabled.sh" 
            compliant_codes = "0" 
        }
    }]
}

Actions #1

Updated by Lucas FRANCOIS 8 days ago

  • Description updated (diff)
Actions #2

Updated by Lucas FRANCOIS 7 days ago

  • Status changed from New to In progress
  • Assignee set to Lucas FRANCOIS
Actions #3

Updated by Lucas FRANCOIS 7 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Lucas FRANCOIS to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-plugins-private/pull/1100
Actions #4

Updated by Lucas FRANCOIS 6 days ago

  • Status changed from Pending technical review to Pending release

Applied in changeset rudder-plugins-private:commit:rudder-plugins-private|ddad41e48ee038858a4eb76bcc018d9591fdddbe.

Actions

Also available in: Atom PDF