Skip to content

fix(rule-4.1.4): handle allow out ports set to 'all' correctly - #342

Open
tmeckel wants to merge 1 commit into
ansible-lockdown:develfrom
tmeckel:fix/rule-4.1.4-all
Open

fix(rule-4.1.4): handle allow out ports set to 'all' correctly#342
tmeckel wants to merge 1 commit into
ansible-lockdown:develfrom
tmeckel:fix/rule-4.1.4-all

Conversation

@tmeckel

@tmeckel tmeckel commented May 18, 2026

Copy link
Copy Markdown
Contributor

Overall Review of Changes:

Changed tasks/section_4/cis_4.1.x.yml so the loop in the 4.1.5 "Custom ports" task uses an empty list when ubtu22cis_ufw_allow_out_ports == 'all', instead of looping over the raw value.

Issue Fixes:

Closes: #328

Enhancements:

N/A

How has this been tested?:

Local image builder

Signed-off-by: Thomas Meckel <tmeckel@users.noreply.github.com>
@tmeckel
tmeckel force-pushed the fix/rule-4.1.4-all branch from e2a0107 to 2448d64 Compare May 18, 2026 13:15
@dderemiah

Copy link
Copy Markdown
Contributor

Can you please merge this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants