diff --git a/pkg/fanal/types/const.go b/pkg/fanal/types/const.go index d7e0a4ec0a..4ffeb2fb56 100644 --- a/pkg/fanal/types/const.go +++ b/pkg/fanal/types/const.go @@ -44,12 +44,16 @@ const ( ) // OSTypeAliases is a map of aliases for operating systems. -// This is used to map the old family names to the new ones for backward compatibility. var OSTypeAliases = map[OSType]OSType{ + // This is used to map the old family names to the new ones for backward compatibility. "opensuse.leap": OpenSUSELeap, "opensuse.tumbleweed": OpenSUSETumbleweed, "suse linux enterprise micro": SLEMicro, "suse linux enterprise server": SLES, + // This is used to map OS names in EKS + "amazon linux": Amazon, + // This is used to map OS names in Kind + "debian gnu/linux": Debian, } // Programming language dependencies