@@ -885,7 +885,7 @@ private async Task<IIpcResult> GenerateAndUploadBuildManifestFileWithSignedCatal
885885 hasMoreData = bxlResult . Result . HasMoreData ;
886886 } while ( hasMoreData ) ;
887887
888- IEnumerable < SBOMFile > manifestFileList = fileList . Select ( ToSbomFile ) ;
888+ IEnumerable < SbomFile > manifestFileList = fileList . Select ( ToSbomFile ) ;
889889
890890 string sbomGenerationRootDirectory = null ;
891891 var logger = GetDropSpecificLogger ( dropConfig ) ;
@@ -905,13 +905,13 @@ private async Task<IIpcResult> GenerateAndUploadBuildManifestFileWithSignedCatal
905905 FileUtilities . CreateDirectory ( sbomGenerationRootDirectory ) ;
906906
907907 // Always generate SPDX, but exclude CloudBuild manifest if configured to do so
908- var specs = new List < SBOMSpecification > ( ) { new ( "SPDX" , "2.2" ) } ;
908+ var specs = new List < SbomSpecification > ( ) { new ( "SPDX" , "2.2" ) } ;
909909 if ( ! m_disableCloudBuildManifest )
910910 {
911911 specs . Add ( new ( "CloudBuildManifest" , "1.0.0" ) ) ;
912912 }
913913
914- Possible < IEnumerable < SBOMPackage > > maybePackages ;
914+ Possible < IEnumerable < SbomPackage > > maybePackages ;
915915 using ( m_counters . StartStopwatch ( DropDaemonCounter . BuildManifestComponentConversionDuration ) )
916916 {
917917 maybePackages = await GetSbomPackagesAsync ( logger ) ;
@@ -924,7 +924,7 @@ private async Task<IIpcResult> GenerateAndUploadBuildManifestFileWithSignedCatal
924924
925925 var packages = maybePackages . Result ;
926926 logger . Verbose ( "Starting SBOM Generation" ) ;
927- var result = await m_sbomGenerator . GenerateSBOMAsync ( sbomGenerationRootDirectory , manifestFileList , packages , metadata , specs ) ;
927+ var result = await m_sbomGenerator . GenerateSbomAsync ( sbomGenerationRootDirectory , manifestFileList , packages , metadata , specs ) ;
928928 logger . Verbose ( "Finished SBOM Generation" ) ;
929929
930930 if ( ! result . IsSuccessful )
@@ -991,7 +991,7 @@ private static string GetSbomGenerationErrorDetails(IList<EntityError> errors)
991991 return sb . ToString ( ) ;
992992 }
993993
994- private SBOMFile ToSbomFile ( BuildXL . Ipc . ExternalApi . Commands . BuildManifestFileInfo fileInfo )
994+ private SbomFile ToSbomFile ( BuildXL . Ipc . ExternalApi . Commands . BuildManifestFileInfo fileInfo )
995995 {
996996 // Include artifacts hash only when computing CloudBuildV1 Manifest
997997 var maybeArtifactsHash = m_disableCloudBuildManifest ? Array . Empty < ContentHash > ( ) : new [ ] { fileInfo . AzureArtifactsHash } ;
@@ -1021,14 +1021,14 @@ static AlgorithmName mapHashType(HashType hashType)
10211021 }
10221022
10231023 /// <summary>
1024- /// Tries to convert output from component detection to a list of <see cref="SBOMPackage "/>.
1024+ /// Tries to convert output from component detection to a list of <see cref="SbomPackage "/>.
10251025 /// </summary>
10261026 /// <returns>
1027- /// A converted list of <see cref="SBOMPackage "/> if successful.
1027+ /// A converted list of <see cref="SbomPackage "/> if successful.
10281028 /// If not successful, errors messages will be logged and also returned as a Failure{string}.
10291029 /// Any warnings raised by the tooling are also logged via the APIServer.
10301030 /// </returns>
1031- private async Task < Possible < IEnumerable < SBOMPackage > > > GetSbomPackagesAsync ( IIpcLogger logger )
1031+ private async Task < Possible < IEnumerable < SbomPackage > > > GetSbomPackagesAsync ( IIpcLogger logger )
10321032 {
10331033 // Read Path for bcde output from environment, this should already be set by Cloudbuild
10341034 var bcdeOutputJsonPath = Environment . GetEnvironmentVariable ( Constants . ComponentGovernanceBCDEOutputFilePath ) ;
@@ -1039,7 +1039,7 @@ private async Task<Possible<IEnumerable<SBOMPackage>>> GetSbomPackagesAsync(IIpc
10391039 // and the SBOM creation here can still happen without a set of packages.
10401040 // Log a message on the ApiServer it and return an empty set.
10411041 Analysis . IgnoreResult ( await ApiClient . LogMessage ( $ "[GetSbomPackages] The '{ Constants . ComponentGovernanceBCDEOutputFilePath } ' environment variable was not found. This happens when component governance on the build runner is disabled. Component detection data will not be included in build manifest.", isWarning : false ) ) ;
1042- return new List < SBOMPackage > ( ) ;
1042+ return new List < SbomPackage > ( ) ;
10431043 }
10441044 else if ( ! System . IO . File . Exists ( bcdeOutputJsonPath ) )
10451045 {
0 commit comments