Documentation ¶
Index ¶
Constants ¶
View Source
const (
SchemaVersion = db.SchemaVersion
)
Variables ¶
View Source
var DefaultRepository = fmt.Sprintf("%s:%d", "ghcr.io/aquasecurity/trivy-java-db", SchemaVersion)
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) SearchByArtifactID ¶
func (*DB) SearchBySHA1 ¶
func (d *DB) SearchBySHA1(sha1 string) (jar.Properties, error)
Click to show internal directories.
Click to hide internal directories.