diff --git a/.gitignore b/.gitignore index 63172472..3c3dd29e 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,5 @@ test/resolve/testdata/gradle/gradle.debricked.lock debricked-call-graph.* internal/scan/testdata/npm/result.json /internal/file/testdata/misc/yarn.lock +/internal/callgraph/finder/javafinder/testdata/guava/maven.debricked.lock +/internal/resolution/pm/maven/testdata/guava/maven.debricked.lock diff --git a/internal/cmd/report/report.go b/internal/cmd/report/report.go index f4ba3b06..d307f446 100644 --- a/internal/cmd/report/report.go +++ b/internal/cmd/report/report.go @@ -20,7 +20,7 @@ func NewReportCmd( Use: "report", Short: "Generate reports", Long: `Generate reports. -This is a premium feature. Please visit https://debricked.com/pricing/ for more info.`, +Premium is required for license and vulnerability reports. Enterprise is required for SBOM reports. Please visit https://debricked.com/pricing/ for more info.`, PreRun: func(cmd *cobra.Command, _ []string) { _ = viper.BindPFlags(cmd.Flags()) }, diff --git a/internal/report/sbom/report.go b/internal/report/sbom/report.go index f6539910..d9c6150c 100644 --- a/internal/report/sbom/report.go +++ b/internal/report/sbom/report.go @@ -18,7 +18,7 @@ import ( var ( ErrHandleArgs = errors.New("failed to handle args") - ErrSubscription = errors.New("premium feature. Please visit https://debricked.com/pricing/ for more info") + ErrSubscription = errors.New("enterprise feature. Please visit https://debricked.com/pricing/ for more info") ) type generateSbom struct { diff --git a/scripts/install.sh b/scripts/install.sh index 267048b9..bec535d2 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -8,3 +8,4 @@ version=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match) ldFlags="-X main.version=${version}" go install -ldflags "${ldFlags}" ./cmd/debricked go generate -v -x ./cmd/debricked +go build -ldflags "${ldFlags}" ./cmd/debricked