Skip to content

Exclude system _cli_ user from HasInsecureBackendUsers counts - #55

Open
elaphos wants to merge 1 commit into
WapplerSystems:release/v14from
elaphos:feature/exclude-cli-user-from-security-checks
Open

Exclude system _cli_ user from HasInsecureBackendUsers counts#55
elaphos wants to merge 1 commit into
WapplerSystems:release/v14from
elaphos:feature/exclude-cli-user-from-security-checks

Conversation

@elaphos

@elaphos elaphos commented Jul 7, 2026

Copy link
Copy Markdown

The TYPO3 core auto-creates a cli backend user (admin=1, random unusable password, no MFA, no email) for CLI/scheduler execution. The totalAdmins, adminsWithoutMfa and noEmail counters included it, so every stock v13/v14 install reported at least one admin without MFA and one user without email, firing the corresponding Zabbix triggers (last()>0) permanently.

Exclude CommandLineUserCreation::CLI_USERNAME from those three queries. staleUsers is unaffected as cli never performs an interactive login.

Adds a functional test with a dedicated be_users fixture.

Closes elaphos#1

The TYPO3 core auto-creates a _cli_ backend user (admin=1, random
unusable password, no MFA, no email) for CLI/scheduler execution. The
totalAdmins, adminsWithoutMfa and noEmail counters included it, so every
stock v13/v14 install reported at least one admin without MFA and one
user without email, firing the corresponding Zabbix triggers (last()>0)
permanently.

Exclude CommandLineUserCreation::CLI_USERNAME from those three queries.
staleUsers is unaffected as _cli_ never performs an interactive login.

Adds a functional test with a dedicated be_users fixture.

Closes #1
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.

HasInsecureBackendUsers counts the system "_cli_" user (false-positive adminsWithoutMfa / noEmail)

1 participant