Skip to content

Commit

Permalink
Playing around with SBOM generation
Browse files Browse the repository at this point in the history
  • Loading branch information
andip1403 committed Oct 30, 2024
1 parent fddf05a commit dbd8913
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/createSBOM.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
name: createSBOM.yml

on:
release:
types: [created]

jobs:
create-sbom:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Generate SBOM with Syft
uses: anchore/sbom-action@v0
with:
path: .
config: ".syft/config.yml"
12 changes: 12 additions & 0 deletions .syft/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# a list of globs to exclude from scanning, for example:
# exclude:
# - "/etc/**"
# - "./out/**/*.json"
# SYFT_EXCLUDE env var / --exclude flag
#
# For studio-client plugins you can skip the scanning process
# because they are not supposed to introduce new dependencies.
# The dependencies in the lockfile are considered runtime dependencies.
# The actual version is determined by the studio-client application.
exclude:
- "/studio-client/**"

0 comments on commit dbd8913

Please sign in to comment.