Skip to content

Commit

Permalink
Change Result in Vulnerability Attestation to interface{}
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <knqyf263@gmail.com>
  • Loading branch information
knqyf263 committed Jul 23, 2022
1 parent 3e49138 commit 8f9d314
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/cosign/attestation/attestation.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ type DB struct {
}

type Scanner struct {
URI string `json:"uri"`
Version string `json:"version"`
DB DB `json:"db"`
Result map[string]interface{} `json:"result"`
URI string `json:"uri"`
Version string `json:"version"`
DB DB `json:"db"`
Result interface{} `json:"result"`
}

type Metadata struct {
Expand Down

0 comments on commit 8f9d314

Please sign in to comment.