github.com/anchore/syft@v1.38.2/syft/cataloging/unknowns.go (about)

     1  package cataloging
     2  
     3  type UnknownsConfig struct {
     4  	RemoveWhenPackagesDefined         bool
     5  	IncludeExecutablesWithoutPackages bool
     6  	IncludeUnexpandedArchives         bool
     7  }
     8  
     9  func DefaultUnknownsConfig() UnknownsConfig {
    10  	return UnknownsConfig{
    11  		RemoveWhenPackagesDefined:         true,
    12  		IncludeExecutablesWithoutPackages: true,
    13  		IncludeUnexpandedArchives:         true,
    14  	}
    15  }