anchore/sbom-action — 254★ trên GitHub (TypeScript). GitHub Action for creating software bill of materials using Syft.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A GitHub Action for creating a software bill of materials (SBOM) using Syft.
Basic Usage
- uses: anchore/sbom-action@v0
By default, this action will execute a Syft scan in the workspace directory
and upload a workflow artifact SBOM in SPDX format. It will also detect
if being run during a GitHub release
and upload the SBOM as a release asset.
[!IMPORTANT]
To upload the SBOM to releases, you will need to give the action permission to read the artifact from the action, and write it to the release:
The image will be fetched using the Docker daemon if available,
which will use any authentication available to the daemon.
If the Docker daemon is not available, the action will retrieve the image
directly from the container registry.
It is also possible to directly connect to the container registry with the
registry-username and registry-password parameters. This will always bypass the
Docker daemon:
The sbom-action will detect being run during a
GitHub release
and automatically upload all SBOMs as release assets. However,
it may be desirable to upload SBOMs generated with other tools or using Syft
outside this action. To do this, use the anchore/sbom-action/publish-sbom sub-action
and specify a regular expression with the sbom-artifact-match
parameter:
[!IMPORTANT]
If using this action within a matrix build, you must specify a unique artifact-name
based on matrix parameters or the artifact upload will fail due to duplicate names. See
an example here.
Permissions
This action needs the following permissions, depending on how it is being used:
contents: write # for sbom-action artifact uploads
If attaching release assets, the actions: read permission is also required.
This may be implicit for public repositories, but is likely to be necessary for
private repositories.
actions: read # to find workflow artifacts when attaching release assets
Configuration
anchore/sbom-action
The main SBOM action, responsible for generating SBOMs
and uploading them as workflow artifacts and release assets.
Parameter
Description
Default
path
A path on the filesystem to scan. This is mutually exclusive to file and image.
<current directory>
file
A file on the filesystem to scan. This is mutually exclusive to path and image.
image
A container image to scan. This is mutually exclusive to path and file. See Scan a container image for more information.
registry-username
The registry username to use when authenticating to an external registry
registry-password
The registry password to use when authenticating to an external registry
artifact-name
The name to use for the generated SBOM artifact. See: Naming the SBOM output
sbom-<job>-<step-id>.spdx.json
output-file
The location to output a resulting SBOM
format
The SBOM format to export. One of: spdx, spdx-json, cyclonedx, cyclonedx-json
spdx-json
dependency-snapshot
Whether to upload the SBOM to the GitHub Dependency submission API
false
upload-artifact
Upload artifact to workflow
true
upload-artifact-retention
Retention policy in days for uploaded artifact to workflow.
upload-release-assets
Upload release assets
true
syft-version
The version of Syft to use
github-token
Authorized secret GitHub Personal Access Token.
github.token
config
Syft configuration file to use.
anchore/sbom-action/publish-sbom
A sub-action to upload multiple SBOMs to GitHub releases.
Parameter
Description
Default
sbom-artifact-match
A pattern to find SBOM artifacts.
.*\\.spdx\\.json$
anchore/sbom-action/download-syft
A sub-action to download Syft.
Parameter
Description
Default
syft-version
The version of Syft to download
Output parameters:
Parameter
Description
cmd
a reference to the Syft binary.
cmd can be referenced in a workflow like other output parameters:
${{ steps.<step-id>.outputs.cmd }}
Windows
This action is tested on Windows, and should work natively on Windows hosts
without WSL. (Note that it previously required WSL, but should now be run
natively on Windows.)
Diagnostics
This action makes extensive use of GitHub Action debug logging,
which can be enabled as described here
by setting a secret in your repository of ACTIONS_STEP_DEBUG to true.
anchore/sbom-action có 254 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/anchore/sbom-action. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
anchore/sbom-action có phải mã nguồn mở không?
Có — anchore/sbom-action phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/anchore/sbom-action.
anchore/sbom-action có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho anchore/sbom-action. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
anchore/sbom-action có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho anchore/sbom-action. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
anchore/sbom-action còn đang phát triển không?
Commit gần nhất trên anchore/sbom-action là 2 ngày trước (theo timestamp GitHub). Repo có 44 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc thêm về anchore/sbom-action ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/anchore/sbom-action là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về sbom-action?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về sbom-action.