Skip to content

Commit

Permalink
Change Result in Vulnerability Attestation to interface{} (#2096)
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <[email protected]>
  • Loading branch information
knqyf263 authored Jul 26, 2022
1 parent 8066a9e commit e0547cf
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 e0547cf

Please sign in to comment.