Feature Request: Improve compatibility with SHA pinning best practices
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, typescript, vscode
- Ambito
- ci-cd, developer-experience, devtools
Direzione di ricerca
Non sono indicati file o test. Inizia tracciando i flussi esistenti dell'estensione per le annotazioni inline e l'aggiornamento della versione, quindi determina come i riferimenti SHA vengono mappati ai tag semver pubblicati. Il lavoro è completato quando il comportamento concordato di SHA-pinning è implementato per le proposte selezionate e verificato nelle interazioni tra annotazioni e aggiornamenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
With recent security escalations around unpinned SHAs and non-immutable release tags, the best practice in many orgs (and the best practice recommended by GitHub) is to hard-pin to SHA releases instead of semver refs.
However, this creates some issues in terms of readability and updates that otherwise would be nicely streamlined by this VS Code extension.
Describe the solution you'd like
- If the action is pinned to a SHA that is the same as a published semver tag, ideally that semver version would be shown inline in the extension annotation.
- If the user is pinned to a SHA and they click on the option to upgrade to the latest version, the extension would ideally recognize they are SHA-pinned and give them a SHA-pinned upgrade to that tag, rather than move to only pinning to the semver.
- If the user is pinned to a semver ref, the UI could give them an option to pin instead to the SHA ref that represents the latest from that semver. This could help users migrate to SHA-pinned references.
(Note: While both proposal 2 and proposal 3 are valuable together, they solve a similar problem. If proposal 3 is delivered, proposal 2 is less needed, and vice versa.)
Additional context
I think these features could go a long way to helping modernize GitHub Actions security, and make it more convenient for people keep their workflows safe (read: "safer") from exploits. Thanks!
- Lingua principale
- TypeScript
- Stelle
- 661
- Fork
- 214
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/vscode-github-actions
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/vscode-github-actions#627 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
github/vscode-github-actions#625 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
github/vscode-github-actions#621 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
github/vscode-github-actions#619 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
github/vscode-github-actions#618 · 2 commenti ·
Tutte le issue di github/vscode-github-actions
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Add: Star Sports 2 Telugu HD Apertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100