Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Hardening] F-03: Recommended Mandatory 2FA Enforcement from the Start.

未关闭 适合新手
#13,335 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
java

调研方向

从 CloudStack Management UI 的 Global Settings 开始,找到 mandate.user.2fa 的定义。检查其默认值如何应用,以及如何验证首次登录时的强制要求;当新安装默认启用该设置,并提示新创建的用户设置 2FA 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

hardening
The required feature described as a wish
Image

Description: The "Tyranny of Default" principle recommends enabling the global setting mandate.user.2fa from the start. Security can always be downgraded later, but most users will simply accept whatever defaults they are given. If mandate.user.2fa is not set, 2FA remains ineffective even for those users who have already enrolled.

Affected Components: Management UI

Impact: Without mandatory enforcement, users may choose not to enroll in 2FA. In environments with regulatory or compliance requirements (e.g., PCI-DSS, SOC 2), the absence of enforced MFA may constitute a compliance gap.

Steps to Reproduce:

  • Log in to the CloudStack Management UI as a Root Admin.
  • Navigate to Configuration > Global Settings.
  • Search for mandate.user.2fa and confirm the value is False.
  • Create a new user account at any permission level.
  • Log in as that user and confirm that access is granted without any 2FA prompt.

Recommended Remediation: Set mandate.user.2fa to True by default. Users will be naturally guided to set up 2FA at first login without friction, and the first impression of the ACS project will reflect a stronger security posture.

主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 20 小时
30 天内合并 PR
27

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/cloudstack 的其他 Issue

查看 apache/cloudstack 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。