save checkpoint: save features

This commit is contained in:
master
2026-02-12 10:27:23 +02:00
parent dca86e1248
commit 5bca406787
8837 changed files with 1796879 additions and 5294 deletions

View File

@@ -283,11 +283,16 @@ internal static class Program
services.AddOciImageInspector(configuration.GetSection("OciRegistry"));
// Sprint 040-01: OCI attestation attacher (ORAS-based push/delete for attestation attachment)
services.AddHttpClient<StellaOps.Attestor.Oci.Services.IOciRegistryClient, OciAttestationRegistryClient>(client =>
const string ociAttestorClientName = "stellaops-cli.oci-attestor";
services.AddHttpClient(ociAttestorClientName, client =>
{
client.Timeout = TimeSpan.FromMinutes(5);
client.DefaultRequestHeaders.UserAgent.ParseAdd("StellaOps.Cli/attest-attach");
});
services.AddTransient<StellaOps.Attestor.Oci.Services.IOciRegistryClient>(serviceProvider =>
new OciAttestationRegistryClient(
serviceProvider.GetRequiredService<IHttpClientFactory>().CreateClient(ociAttestorClientName),
serviceProvider.GetRequiredService<ILogger<OciAttestationRegistryClient>>()));
services.AddTransient<IOciAttestationAttacher, OrasAttestationAttacher>();
// CLI-DIFF-0001: Binary diff predicates and native analyzer support