Migrate Github Protected Branch/Tag Rules rules to Github Repository Rules rulesets
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- github
- 領域
- security
調査の方向性
移行の目標とリンクされている GitHub Repository Rules の議論から始め、次に、完了済みの strong-error-handler 項目を含むリポジトリのチェックリストを確認します。既存の保護されたブランチおよびタグのルールのうち、どれを rulesets に移行する必要があるか、また、以前のルールと API を無効化することが何を意味するかを定義します。完了条件は、文書化され合意された移行計画、または適用済みのリポジトリ設定です。
索引モデルが issue の本文から書いたものです。
説明
Github Repository Rules, which has reached general-availability, is an evolution of Github Protected Branch/Tag. This issue is to track:
- Converting existing Github Protected Branch/Tag rules to Github Repository Rules rulesets
- Disabling the older branch protection rules and api
Further discussions
With this new solution, we should also consider the new potentials for enforcing repository security.
Org-wide enforcement
Enforcing an org-wide Github Repository Rules ruleset is only available for Github Enterprise users. However, we can consider creating a Github Action workflow in https://github.com/loopbackio/cicd to periodically poll and enforce. This would be of similar concept to our potential adoption of Peribolos (https://github.com/loopbackio/cicd/issues/26).
Although the adoption of the OpenSSF Scorecard Action (https://github.com/loopbackio/security/issues/25) would allow us to detect non-compliance, it is not granular enough, does not have auditable self-remediation capabilities, and does not provide a single pane of glass.
Restricting bots' branches
TLDR: This is not fully possible.
Bots such as Renovate require push-rights to our Github repositories. However, this opens us up to third-party vendor risk where misused bot credentials can cause unwanted, destructive commit and tag modification to our repositories.
This is already partially-alleviated with the older Github Protected Branch/Tag feature, where we're able to mandate the creation of a pull request and restrict who can push new Git tags. However, we are not able to enforce this for the non-publishing (i.e. work-in-progress) branches which are created and deleted day-to-day.
Although Github Repository Rules allows layering and creation of bypass lists, it does not have an "apply to select bots/people only". This means that, even with a bypass list with non-bot members, we would still need to "bypass " the rules (i.e. "override" the rule) via the pull request page every time we want to merge. This is not ideal.
Repositories
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
loopbackio/security のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
loopbackio/security#42 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
loopbackio/security#41 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
loopbackio/security#40 ·
-
openjsf
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
loopbackio/security#39 ·
-
openssf
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
loopbackio/security#37 ·
loopbackio/security の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·