github.com/khulnasoft-lab/tunnel-db@v0.0.0-20231117205118-74e1113bd007/pkg/vulnsrc/ubuntu/types.go (about)

     1  package ubuntu
     2  
     3  type UbuntuCVE struct {
     4  	Description string `json:"description"`
     5  	Candidate   string
     6  	Priority    string
     7  	Patches     map[PackageName]Patch
     8  	References  []string
     9  	PublicDate  string // for extensibility, not used in tunnel-db
    10  }
    11  
    12  type PackageName string
    13  type Release string
    14  type Patch map[Release]Status
    15  
    16  type Status struct {
    17  	Status string
    18  	Note   string
    19  }