Skip to content

Stabilization: Restore Hummingbird 65532 user exclusion in interactive users OVAL macro - #15067

Merged
Mab879 merged 1 commit into
ComplianceAsCode:stabilizationfrom
ggbecker:fix-hummingbird-interactive-user-65532-carveout-stabilization
Aug 27, 2026
Merged

Stabilization: Restore Hummingbird 65532 user exclusion in interactive users OVAL macro#15067
Mab879 merged 1 commit into
ComplianceAsCode:stabilizationfrom
ggbecker:fix-hummingbird-interactive-user-65532-carveout-stabilization

Conversation

@ggbecker

Copy link
Copy Markdown
Member

Backport of #15066

PR ComplianceAsCode#15008 migrated file_groupownership_home_directories (and the other
interactive-user checks that share create_interactive_users_list_object)
from the local /etc/passwd macro to the getpwent-based one, but the
getpwent macro never carried the Hummingbird-specific carve-out that
excludes the special "container user" named 65532.

On Hummingbird distroless images that account has UID 65532, primary
group 0, and home /home/build (group-owned by 65532). Without the
exclusion it is treated as a regular interactive user, so
file_groupownership_home_directories now compares /home/build's group
(65532) against the interactive users' primary GID set ({0}) and fails,
producing a false positive that the previous content did not report.

Reintroduce the same product == "hummingbird" carve-out in
create_interactive_users_list_object so the special user is ignored,
restoring the prior behavior for all rules using this macro.
@ggbecker ggbecker added this to the 0.1.82 milestone Aug 27, 2026
@Mab879 Mab879 changed the title Restore Hummingbird 65532 user exclusion in interactive users OVAL macro Restore Hummingbird 65532 user exclusion in interactive users OVAL macro - stabilization Aug 27, 2026
@Mab879 Mab879 self-assigned this Aug 27, 2026
@Mab879
Mab879 merged commit a4872d4 into ComplianceAsCode:stabilization Aug 27, 2026
58 checks passed
@jan-cerny jan-cerny changed the title Restore Hummingbird 65532 user exclusion in interactive users OVAL macro - stabilization Stabilization: Restore Hummingbird 65532 user exclusion in interactive users OVAL macro Sep 1, 2026
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