Feature request: Add support to report the versions to the dependency graph API

未关闭
#122 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, go
领域
cli, devops, security

调研方向

先审查现有的自动依赖提交流程和 lockfile 生成过程,然后对比链接的 actions-dependency-submission 实现。跟踪 floating tags、branches 和 SHAs 如何被收窄,以及版本如何传递到 dependency graph API。当从现有或临时 lockfile 解析出的依赖项以实际版本提交,从而使漏洞报告正常工作时,即算完成。

由索引模型根据 Issue 内容生成。

描述

area:dependency-graph-integration feature-request

Right now security vulnerability reporting is broken when a workflow uses a floating tag, branch or sha.

The lock file is a perfect source for the dependency graph to record the dependencies.

The built-in narrowing could also report the actual versions so that de vulnerability reporting works.

I currently have an action that implements this based on parsing the workflows directly:
https://github.com/jessehouwing/actions-dependency-submission

It would be awesome if the "automatic dependency submission" would actually use the existing lock file or generate a ephemeral lockfile.

主要语言
Go
星标
295
派生
21
平均合并
1 天 3 小时
30 天内合并 PR
64

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/gh-actions-lock 的其他 Issue

查看 github/gh-actions-lock 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。