mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Signed-off-by: Keith Zantow <kzantow@gmail.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
16 lines
376 B
Go
16 lines
376 B
Go
package cataloging
|
|
|
|
type UnknownsConfig struct {
|
|
RemoveWhenPackagesDefined bool
|
|
IncludeExecutablesWithoutPackages bool
|
|
IncludeUnexpandedArchives bool
|
|
}
|
|
|
|
func DefaultUnknownsConfig() UnknownsConfig {
|
|
return UnknownsConfig{
|
|
RemoveWhenPackagesDefined: true,
|
|
IncludeExecutablesWithoutPackages: true,
|
|
IncludeUnexpandedArchives: true,
|
|
}
|
|
}
|