Skip to content

Commit d16eba7

Browse files
SCALIBR Teamcopybara-github
authored andcommitted
internal
PiperOrigin-RevId: 823147503
1 parent 90e9ac9 commit d16eba7

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

binary/cli/cli.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"github.com/google/go-containerregistry/pkg/authn"
2828
v1 "github.com/google/go-containerregistry/pkg/v1"
2929
"github.com/google/go-containerregistry/pkg/v1/remote"
30-
scalibr "github.com/google/osv-scalibr"
3130
scalibrimage "github.com/google/osv-scalibr/artifact/image"
3231
"github.com/google/osv-scalibr/binary/cdx"
3332
"github.com/google/osv-scalibr/binary/platform"
@@ -38,6 +37,9 @@ import (
3837
convspdx "github.com/google/osv-scalibr/converter/spdx"
3938
"github.com/google/osv-scalibr/detector"
4039
"github.com/google/osv-scalibr/detector/govulncheck/binary"
40+
"github.com/spdx/tools-golang/spdx/v2/common"
41+
42+
scalibr "github.com/google/osv-scalibr"
4143
"github.com/google/osv-scalibr/enricher/transitivedependency/requirements"
4244
"github.com/google/osv-scalibr/extractor/filesystem"
4345
"github.com/google/osv-scalibr/extractor/filesystem/language/golang/gobinary"
@@ -46,7 +48,6 @@ import (
4648
"github.com/google/osv-scalibr/log"
4749
"github.com/google/osv-scalibr/plugin"
4850
pl "github.com/google/osv-scalibr/plugin/list"
49-
"github.com/spdx/tools-golang/spdx/v2/common"
5051
)
5152

5253
// Array is a type to be passed to flag.Var that supports arrays passed as repeated flags,

enricher/enricherlist/list.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"github.com/google/osv-scalibr/enricher/huggingfacemeta"
2727
"github.com/google/osv-scalibr/enricher/license"
2828
"github.com/google/osv-scalibr/enricher/reachability/java"
29+
2930
"github.com/google/osv-scalibr/enricher/secrets/convert"
3031
"github.com/google/osv-scalibr/enricher/transitivedependency/requirements"
3132
"github.com/google/osv-scalibr/enricher/vex/filter"
@@ -159,10 +160,11 @@ var (
159160
"secretsenrich": vals(SecretsEnrich),
160161
"reachability": vals(Reachability),
161162
"transitivedependency": vals(TransitiveDependency),
162-
"enrichers/default": vals(Default),
163-
"default": vals(Default),
164-
"enrichers/all": vals(All),
165-
"all": vals(All),
163+
164+
"enrichers/default": vals(Default),
165+
"default": vals(Default),
166+
"enrichers/all": vals(All),
167+
"all": vals(All),
166168
})
167169
)
168170

0 commit comments

Comments
 (0)