mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-27 18:24:01 -04:00
The hcp-sbom provisioner is a provisioner that acts essentially like a download-only file provisioner, which also verifies the file downloaded is a SPDX/CycloneDX JSON-encoded SBOM file, and sets up its upload to HCP Packer later on.
17 lines
407 B
Go
17 lines
407 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package version
|
|
|
|
import (
|
|
"github.com/hashicorp/packer-plugin-sdk/version"
|
|
packerVersion "github.com/hashicorp/packer/version"
|
|
)
|
|
|
|
var HCPSBOMPluginVersion *version.PluginVersion
|
|
|
|
func init() {
|
|
HCPSBOMPluginVersion = version.NewPluginVersion(
|
|
packerVersion.Version, packerVersion.VersionPrerelease, packerVersion.VersionMetadata)
|
|
}
|