feat: Initialize Zastava Webhook service with TLS and Authority authentication
- Added Program.cs to set up the web application with Serilog for logging, health check endpoints, and a placeholder admission endpoint. - Configured Kestrel server to use TLS 1.3 and handle client certificates appropriately. - Created StellaOps.Zastava.Webhook.csproj with necessary dependencies including Serilog and Polly. - Documented tasks in TASKS.md for the Zastava Webhook project, outlining current work and exit criteria for each task.
This commit is contained in:
6
out/tmp-cdx/Program.cs
Normal file
6
out/tmp-cdx/Program.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using System;
|
||||
using CycloneDX.Models;
|
||||
|
||||
var dependenciesProperty = typeof(Dependency).GetProperty("Dependencies")!;
|
||||
Console.WriteLine(dependenciesProperty.PropertyType);
|
||||
Console.WriteLine(dependenciesProperty.PropertyType.GenericTypeArguments[0]);
|
||||
15
out/tmp-cdx/tmp-cdx.csproj
Normal file
15
out/tmp-cdx/tmp-cdx.csproj
Normal file
@@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<RootNamespace>tmp_cdx</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CycloneDX.Core" Version="5.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user