up
Some checks failed
api-governance / spectral-lint (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
oas-ci / oas-validate (push) Has been cancelled
SDK Publish & Sign / sdk-publish (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Policy Simulation / policy-simulate (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled

This commit is contained in:
StellaOps Bot
2025-11-26 20:23:28 +02:00
parent 4831c7fcb0
commit d63af51f84
139 changed files with 8010 additions and 2795 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections.Generic;
namespace StellaOps.Scanner.Core.Contracts;
/// <summary>
/// Minimal representation of a file discovered during analyzer stages.
/// </summary>
public sealed record ScanFileEntry(
string Path,
long SizeBytes,
string Kind,
IReadOnlyDictionary<string, string>? Metadata = null);

View File

@@ -45,7 +45,7 @@ public sealed class EntropyReportBuilder
.ToList();
var opaqueBytes = windows
.Where(w => w.Entropy >= _opaqueThreshold)
.Where(w => w.EntropyBits >= _opaqueThreshold)
.Sum(w => (long)w.Length);
var size = data.Length;