mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
17 lines
401 B
Go
17 lines
401 B
Go
package cyclonedx13xml
|
|
|
|
import (
|
|
"github.com/CycloneDX/cyclonedx-go"
|
|
"github.com/anchore/syft/internal/formats/common/cyclonedxhelpers"
|
|
"github.com/anchore/syft/syft/format"
|
|
)
|
|
|
|
func Format() format.Format {
|
|
return format.NewFormat(
|
|
format.CycloneDxXMLOption,
|
|
encoder,
|
|
cyclonedxhelpers.GetDecoder(cyclonedx.BOMFileFormatXML),
|
|
cyclonedxhelpers.GetValidator(cyclonedx.BOMFileFormatXML),
|
|
)
|
|
}
|