Add file system checks for other shadow and passwd/group files
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- linux, ruby
调研方向
首先在 InSpec 配置文件中找到现有的 os-02 和 os-03 检查,并查看它们如何验证 /etc/shadow 和 /etc/passwd。为列出的六个 shadow、passwd、group 和 gshadow 文件添加相应的检查,然后运行配置文件现有的检查,以确认新路径已覆盖。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
We currently have os-02 and os-03 which checks the permissions of /etc/shadow and /etc/passwd.
There are other files related to those, which are currently ignored:
/etc/shadow-(backup for/etc/shadow/etc/gshadow(might contain group password hashes)/etc/gshadow-(backup for/etc/gshadow)/etc/passwd-(backup for/etc/passwd)/etc/group(contains available groups and memberships)/etc/group-(backup for/etc/group)
Describe the solution you'd like
Add checks for those files as well
- 主要语言
- Ruby
- 星标
- 876
- 派生
- 194
- 平均合并
- 9 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dev-sec/linux-baseline 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
dev-sec/linux-baseline#191 · 2 条评论 ·
-
Add two additional PATH env checks for the rule 'os-04'可能已有人在做 @MikhailAseev 于 777 天前认领。 未关闭enhancement
难度 2/5 1-3 小时 新手友好度 58/100
dev-sec/linux-baseline#188 ·
-
难度 1/5 1 小时以内 新手友好度 48/100
dev-sec/linux-baseline#173 · 6 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
dev-sec/linux-baseline#140 · 7 条评论 · 5 个 reaction ·
-
disable rpcbind未关闭
难度 4/5 3-5 天 新手友好度 35/100
dev-sec/linux-baseline#137 · 3 条评论 ·
查看 dev-sec/linux-baseline 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
IHP-GmbH/IHP-Open-PDK#1266 ·
维护者通常 2 天内回复
-
Add Zammad可能已有人在做 @Arslan-TR 今天认领。 未关闭request
难度 2/5 1-3 小时 新手友好度 66/100
endoflife-date/endoflife.date#11298 · 1 条评论 ·
维护者通常 1 天内回复
-
performance v/6
难度 2/5 1-3 小时 新手友好度 78/100
WITCodingClub/calendar-backend#689 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
rubys/roundhouse#571 ·
维护者通常 1 天内回复