Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/binary_provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,26 +122,25 @@ jobs:
env:
KOSLI_API_TOKEN: ${{ secrets.kosli_api_token }}
run:
kosli attest generic
kosli attest sbom
Comment thread
AlexKantor87 marked this conversation as resolved.
Comment thread
AlexKantor87 marked this conversation as resolved.
--flow ${{ inputs.flow_name }}
--trail ${{ inputs.trail_name }}
--name sbom
--fingerprint ${{ env.FINGERPRINT }}
--attachments ${{matrix.artifact.template_name}}-sbom.spdx.json
--sbom-file ${{matrix.artifact.template_name}}-sbom.spdx.json
--external-url sigstore=https://search.sigstore.dev/?logIndex=${{ env.SBOM_TLOG_INDEX }}
--org ${{ inputs.kosli_org }}

- name: Report cyclonedx SBOM attestation from sigstore to Kosli
env:
KOSLI_API_TOKEN: ${{ secrets.kosli_api_token }}
run:
kosli attest custom
kosli attest sbom
Comment thread
AlexKantor87 marked this conversation as resolved.
--flow ${{ inputs.flow_name }}
--trail ${{ inputs.trail_name }}
--name cyclone-dx-sbom
--type cyclone-dx-1-6
--fingerprint ${{ env.FINGERPRINT }}
--attestation-data ${{matrix.artifact.template_name}}-sbom.cyclonedx.json
--sbom-file ${{matrix.artifact.template_name}}-sbom.cyclonedx.json
--org ${{ inputs.kosli_org }}


Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,12 @@ jobs:
env:
KOSLI_API_TOKEN: ${{ secrets.kosli_api_token }}
run:
kosli attest generic
kosli attest sbom
--flow ${{ inputs.flow_name }}
--trail ${{ inputs.trail_name }}
--name container-sbom
--fingerprint ${{ env.FINGERPRINT }}
--attachments sbom.spdx.json
--sbom-file sbom.spdx.json
Comment thread
AlexKantor87 marked this conversation as resolved.
Comment thread
AlexKantor87 marked this conversation as resolved.
--org ${{ inputs.kosli_org }}

- name: Run Snyk Container Test to scan the Docker image for vulnerabilities
Expand Down
2 changes: 1 addition & 1 deletion main-flow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ trail:
- name: smoke-test
type: generic
- name: container-sbom
type: generic
type: "*"
28 changes: 14 additions & 14 deletions release-flow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,59 +17,59 @@ trail:
- name: smoke-test
type: generic
- name: container-sbom
type: generic
type: "*"
Comment thread
AlexKantor87 marked this conversation as resolved.
Comment thread
AlexKantor87 marked this conversation as resolved.

- name: linux-arm
attestations:
- name: sbom
type: generic
type: "*"
- name: windows-arm64
attestations:
- name: sbom
type: generic
type: "*"
- name: darwin-arm64
attestations:
- name: sbom
type: generic
type: "*"
- name: linux-arm64
attestations:
- name: sbom
type: generic
type: "*"
- name: linux-amd64
attestations:
- name: sbom
type: generic
type: "*"
- name: windows-amd64
attestations:
- name: sbom
type: generic
type: "*"
- name: darwin-amd64
attestations:
- name: sbom
type: generic
type: "*"
- name: rpm-pkg-amd64
attestations:
- name: sbom
type: generic
type: "*"
- name: rpm-pkg-arm64
attestations:
- name: sbom
type: generic
type: "*"
- name: rpm-pkg-arm
attestations:
- name: sbom
type: generic
type: "*"
- name: deb-pkg-arm64
attestations:
- name: sbom
type: generic
type: "*"
- name: deb-pkg-arm
attestations:
- name: sbom
type: generic
type: "*"
- name: deb-pkg-amd64
attestations:
- name: sbom
type: generic
type: "*"


Loading