Actions
Bug #27345
openRHEL 8 - Section 3.4 : error on control point
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
On control point 3.4.2.5, as we should get nothing from the command in the benchmark, we can just keep the commands without the test part and expect an exit code of 1.
(for information, the actual commands fails with following error : bash: test: =: unary operator expected).
_3_4_2_5 = hardening.Leaf { _item_nb = "3.4.2.5" id = "c5e98ff1-a92a-423b-ab2b-abf579858075" _audit_items = [ rudder.Method { method = "audit_from_command" params = { command = r"test $(nft list ruleset | grep 'hook input' | grep -v 'policy drop') = '' && test $(nft list ruleset | grep 'hook forward' | grep -v 'policy drop') = ''" compliant_codes = "0" } } ] }
Updated by Lucas FRANCOIS 2 days ago
- Status changed from New to In progress
- Assignee set to Lucas FRANCOIS
Updated by Lucas FRANCOIS 2 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/1103
Updated by Lucas FRANCOIS 1 day ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-plugins-private:commit:rudder-plugins-private|2fdffe54e032166322f37aae0b2c8922cdf777ba.
Actions