more audit work

This commit is contained in:
master
2026-01-08 10:21:51 +02:00
parent 43c02081ef
commit 51cf4bc16c
546 changed files with 36721 additions and 4003 deletions

View File

@@ -13,6 +13,7 @@ using JsonSerializer = CycloneDX.Json.Serializer;
using ProtoSerializer = CycloneDX.Protobuf.Serializer;
using StellaOps.Scanner.Core.Contracts;
using StellaOps.Scanner.Core.Utility;
using StellaOps.Scanner.Emit.Evidence;
namespace StellaOps.Scanner.Emit.Composition;
@@ -319,6 +320,7 @@ public sealed class CycloneDxComposer
private static List<Component> BuildComponents(ImmutableArray<AggregatedComponent> components)
{
var evidenceMapper = new CycloneDxEvidenceMapper();
var result = new List<Component>(components.Length);
foreach (var component in components)
{
@@ -332,6 +334,7 @@ public sealed class CycloneDxComposer
Type = MapClassification(component.Identity.ComponentType),
Scope = MapScope(component.Metadata?.Scope),
Properties = BuildProperties(component),
Evidence = evidenceMapper.Map(component),
};
result.Add(model);