github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/syft/pkg/kb_package_metadata.go (about)

     1  package pkg
     2  
     3  // KbPackageMetadata is slightly odd in how it is expected to map onto data.
     4  // This is critical to grasp because there is no MSRC cataloger. The `ProductID`
     5  // field is expected to be the MSRC Product ID, for example:
     6  // "Windows 10 Version 1703 for 32-bit Systems".
     7  // `Kb` is expected to be the actual KB number, for example "5001028"
     8  type KbPackageMetadata struct {
     9  	ProductID string `toml:"product_id" json:"product_id"`
    10  	Kb        string `toml:"kb" json:"kb"`
    11  }