github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/syft/pkg/cataloger/search_config.go (about)

     1  package cataloger
     2  
     3  import (
     4  	"github.com/anchore/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: true,
    17  		Scope:                    source.SquashedScope,
    18  	}
    19  }