Feature Request: Improve compatibility with SHA pinning best practices
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions, typescript, vscode
- Lĩnh vực
- ci-cd, developer-experience, devtools
Hướng nghiên cứu
Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách truy vết các luồng hiện có của extension cho chú thích inline và nâng cấp phiên bản, sau đó xác định cách các tham chiếu SHA được ánh xạ tới các thẻ semver đã phát hành. Công việc được xem là hoàn tất khi hành vi SHA-pinning đã thống nhất được triển khai cho các đề xuất đã chọn và được xác minh qua các tương tác giữa chú thích và nâng cấp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- TypeScript
- Star
- 661
- Fork
- 214
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/vscode-github-actions
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/vscode-github-actions#627 · 1 reaction ·
-
long work Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
github/vscode-github-actions#628 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
github/vscode-github-actions#625 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
github/vscode-github-actions#621 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
github/vscode-github-actions#619 ·
Tất cả issue của github/vscode-github-actions
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
modelcontextprotocol/inspector#2458 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
carbon-design-system/ibm-products#9907 ·