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
3 changes: 3 additions & 0 deletions actions/get_note/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
# SPDX-License-Identifier: Apache-2.0
---
name: Gets data from a git note
description: Gets data from the git note and stores it in the provided path.
inputs:
Expand Down
3 changes: 3 additions & 0 deletions actions/slsa_with_provenance/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
# SPDX-License-Identifier: Apache-2.0
---
name: SLSA Source Provenance Creator

description: Creates SLSA Source Track Provenance
Expand Down
3 changes: 3 additions & 0 deletions actions/store_note/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
# SPDX-License-Identifier: Apache-2.0
---
name: Store data in git notes
description: Stores provided data in a git note for the current commit.
inputs:
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/audit.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright 2025 Carabiner Systems, Inc
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/checklevel.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/checklevelprov.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/checktag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/createpolicy.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cmd/logo.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

var logo = []string{
Expand Down
3 changes: 3 additions & 0 deletions internal/cmd/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cmd/policy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/prov.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cmd/setup.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/status.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: Copyright 2025 Carabiner Systems, Inc
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/verifycommit.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package cmd

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/tools.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

//go:build tools

// This file forces the import of modules used for build scripts and tests
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
*/
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/log.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/provenance.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/provenance_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/sign.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/statement.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/statement_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/verify.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/vsa.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/attest/vsa_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package attest

// TODO: This test package uses some functions that live in provenance_test.go
Expand Down
3 changes: 3 additions & 0 deletions pkg/audit/audit.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package audit

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/auth/authenticator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate

package auth
Expand Down
3 changes: 3 additions & 0 deletions pkg/auth/implementation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package auth

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/checklevel.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/checklevel_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/connection.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/connection_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/git_types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/notes.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/notes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/ghcontrol/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package ghcontrol

var defaultOptions = Options{
Expand Down
3 changes: 3 additions & 0 deletions pkg/policy/marshalers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package policy

import "encoding/json"
Expand Down
3 changes: 3 additions & 0 deletions pkg/policy/policy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package policy

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/policy/policy_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package policy

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/provenance/predicate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package provenance

import "encoding/json"
Expand Down
3 changes: 3 additions & 0 deletions pkg/repo/clone.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/repo/implementation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate
package repo

Expand Down
3 changes: 3 additions & 0 deletions pkg/repo/options/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package options

import "errors"
Expand Down
3 changes: 3 additions & 0 deletions pkg/repo/options/options_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package options

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/repo/pullrequest.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/slsa/slsa_types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package slsa

import (
Expand Down
4 changes: 3 additions & 1 deletion pkg/sourcetool/backends/attestation/notes/backend.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

// Package notes implements an attestation storage backend that reads from
// git commit notes

package notes

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/sourcetool/backends/vcs/github/github.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package github

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/sourcetool/backends/vcs/github/manage.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package github

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/sourcetool/implementation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
// SPDX-License-Identifier: Apache-2.0

package sourcetool

import (
Expand Down
Loading
Loading