diff --git a/src/LCT.PackageIdentifier/CycloneBomProcessor.cs b/src/LCT.PackageIdentifier/CycloneBomProcessor.cs index 268cdacb..0112cbe5 100644 --- a/src/LCT.PackageIdentifier/CycloneBomProcessor.cs +++ b/src/LCT.PackageIdentifier/CycloneBomProcessor.cs @@ -38,7 +38,7 @@ public static Bom SetMetadataInComparisonBOM(Bom bom, { Name = appSettings.SW360ProjectName, Version = projectReleases.Version, - Type = appSettings.ProjectType.ToUpperInvariant().Contains("DEBIAN",System.StringComparison.OrdinalIgnoreCase) || appSettings.ProjectType.ToUpperInvariant().Contains("ALPINE", System.StringComparison.OrdinalIgnoreCase) ? Component.Classification.Container : Component.Classification.Application + Type = appSettings.ProjectType.ToUpperInvariant().Equals("DEBIAN") || appSettings.ProjectType.ToUpperInvariant().Equals("ALPINE") ? Component.Classification.Container : Component.Classification.Application }; metadata.Component = component;