github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/syft/pkg/cataloger/search_config.go (about) 1 package cataloger 2 3 import ( 4 "github.com/kastenhq/syft/syft/source" 5 ) 6 7 type SearchConfig struct { 8 IncludeIndexedArchives bool 9 IncludeUnindexedArchives bool 10 Scope source.Scope 11 } 12 13 func DefaultSearchConfig() SearchConfig { 14 return SearchConfig{ 15 IncludeIndexedArchives: true, 16 IncludeUnindexedArchives: false, 17 Scope: source.SquashedScope, 18 } 19 }