Skip to content

Commit

Permalink
fix: don't hardcode Cosign attest type (anchore#1533)
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Hanke <[email protected]>
  • Loading branch information
Nirusu authored Feb 2, 2023
1 parent 48b58c7 commit ff12e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/syft/cli/attest/attest.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func execWorker(app *config.Application, si source.Input, writer sbom.Writer) <-
return
}

args := []string{"attest", si.UserInput, "--type", "custom", "--predicate", f.Name()}
args := []string{"attest", si.UserInput, "--predicate", f.Name()}
if app.Attest.Key != "" {
args = append(args, "--key", app.Attest.Key)
}
Expand Down

0 comments on commit ff12e06

Please sign in to comment.