File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import (
15
15
"time"
16
16
17
17
"github.com/adrg/xdg"
18
- "github.com/hako/durafmt"
19
18
"github.com/anchore/grype/grype"
20
19
v6 "github.com/anchore/grype/grype/db/v6"
21
20
"github.com/anchore/grype/grype/db/v6/distribution"
@@ -38,6 +37,7 @@ import (
38
37
sbomSyft "github.com/anchore/syft/syft/sbom"
39
38
"github.com/chainguard-dev/clog"
40
39
"github.com/charmbracelet/log"
40
+ "github.com/hako/durafmt"
41
41
"github.com/spf13/afero"
42
42
anchorelogger "github.com/wolfi-dev/wolfictl/pkg/anchorelog"
43
43
"github.com/wolfi-dev/wolfictl/pkg/sbom"
@@ -183,6 +183,7 @@ type Options struct {
183
183
// DefaultOptions is the recommended default configuration for a new Scanner.
184
184
// These options are suitable for most use scanning cases.
185
185
var DefaultOptions = Options {
186
+ // TODO(hectorj2f): This is a temporary change to 120h, ideally we recommend to set that maximum built age to 48h.
186
187
MaxAllowedBuildAge : 120 * time .Hour ,
187
188
}
188
189
You can’t perform that action at this time.
0 commit comments