diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..6f361d0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +# 依赖更新工具(scorecard DependencyUpdateTool;ADR-0011 安全姿态基线遗留项): +# 仅管理 workflows 里的 github-actions 引用(SHA 锚定+版本注释,dependabot 可提更新 PR)。 +# gate.yml 的 pyyaml==6.0.3 为运行时一次性安装(无 Python manifest)——不纳入 dependabot: +# 本仓 .github/ 属 C1 路径,依赖升级 PR 须引用 ADR(adr-required),自动 PR 无法自携, +# 升级走显式人工 PR(评审项:避免注释误读为已覆盖全部第三方依赖)。 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + cooldown: # zizmor dependabot-cooldown:新版本冷却 7 天再提 PR(供应链缓冲) + default-days: 7 diff --git a/.github/workflows/gate.yml b/.github/workflows/gate.yml index 076d2cd..3b04162 100644 --- a/.github/workflows/gate.yml +++ b/.github/workflows/gate.yml @@ -26,7 +26,7 @@ jobs: python-version: "3.12" - name: YAML 全量解析(governance + standards) run: | - pip install pyyaml -q + pip install pyyaml==6.0.3 -q # 版本钉死(scorecard PinnedDependencies;ADR-0011 版本钉死遗留项) python3 - <<'EOF' import glob, sys, yaml files = glob.glob("governance/**/*.yaml", recursive=True) + glob.glob("standards/**/*.yaml", recursive=True) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5ef822c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Cloudbird Software + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/SECURITY.md b/SECURITY.md index 479b543..e694a23 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## 报告漏洞 -请通过仓库 **Security → Report a vulnerability** 提交(Private vulnerability reporting 已开启)。不要在 Issue/PR/讨论中公开披露。 +请通过仓库 **Security → Report a vulnerability** 提交(Private vulnerability reporting 已开启,[报告入口文档](https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/report-privately))。不要在 Issue/PR/讨论中公开披露。 ## 响应时限(红队修复:此前无 SLA)