Automated Bootstrapping for Derived Catalogs
还没有人认领这个 Issue。
评估
调研方向
未指定文件或测试。首先检查现有的 extend/import 实现和 grcli 命令结构,以了解 catalog 解析、验证和生成。完成内容应包括一个定义明确的 init 工作流,用于验证父 URI 和 Gemara 数据、记录父版本、支持选择 controls,并生成子 catalog 的 boilerplate。
由索引模型根据 Issue 内容生成。
描述
Description
Currently, the Gemara spec supports creating a catalog based on another (inheritance/selection - extend/import), but the process is manual for creation. Based on the ORBIT Working Group discussion on 2026-05-07, there seems to be a growing need to create layered catalogs on top of the OSPS Baseline.
We need a bootstrapping mechanism in the SDK that supports a user to programmatically generate a "child" catalog from a "parent" catalog.
Proposed Workflow
- User runs a command like
grcli init --from [Parent-Catalog-URI]. - User selects whether they want to inherit all controls or a specific subset.
- The tool generates a new Gemara catalog file with metadata already populated.
Success Criteria
- The bootstrapping logic ensures the parent URI is reachable and valid Gemara.
- The metadata is automatically linked tso the child catalog knows which version of the parent it was created from.
- Provide a boilerplate structure for the "new" controls to be added.
Context
- Specifically addressed the friction point of keeping the Baseline clean while allowing specialized extensions.
- This functionality would be supported the Gemara Hub initiative by making it easier to publish derivative works.
- 主要语言
- Go
- 星标
- 0
- 派生
- 2
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
gemaraproj/grcli 的其他 Issue
-
grcli cat has a confusing error if you are testing different options可能已有人在做 @PaarthPandey10 于 17 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 66/100
gemaraproj/grcli#10 · 1 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 8/100
gemaraproj/grcli#9 ·
相似的 Issue
-
Pin and verify Security Insights schema in lintinsights target可能已有人在做 @imshubham22apr-gif 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
gemaraproj/gemara#618 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
a2aproject/a2a-go#597 ·
维护者通常 1 天内回复
-
scopes: GetAllowedTopics, GetProtectedTopics, and GetScopedTopics include empty topic names and do not trim whitespace characters可能已有人在做 @patelshivani2283-lab 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/networking kind/bug
难度 2/5 1-3 小时 新手友好度 69/100
siderolabs/talos#14972 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复