up the blokcing tasks
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Notify Smoke Test / Notifier Service Tests (push) Has been cancelled
Notify Smoke Test / Notification Smoke Test (push) Has been cancelled
Notify Smoke Test / Notify Unit Tests (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Manifest Integrity / Validate Schema Integrity (push) Has been cancelled
Manifest Integrity / Validate Contract Documents (push) Has been cancelled
Manifest Integrity / Validate Pack Fixtures (push) Has been cancelled
Manifest Integrity / Audit SHA256SUMS Files (push) Has been cancelled
Manifest Integrity / Verify Merkle Roots (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Risk Bundle CI / risk-bundle-build (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Risk Bundle CI / risk-bundle-offline-kit (push) Has been cancelled
Risk Bundle CI / publish-checksums (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled

This commit is contained in:
StellaOps Bot
2025-12-11 02:32:18 +02:00
parent 92bc4d3a07
commit 49922dff5a
474 changed files with 76071 additions and 12411 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace StellaOps.Cli.Services.Models;
@@ -610,3 +611,83 @@ internal sealed class NotifySendResult
[JsonPropertyName("idempotencyKey")]
public string? IdempotencyKey { get; init; }
}
internal sealed class NotifySimulationRequest
{
[JsonPropertyName("tenantId")]
public string? TenantId { get; init; }
[JsonPropertyName("events")]
public JsonElement? Events { get; init; }
[JsonPropertyName("rules")]
public JsonElement? Rules { get; init; }
[JsonPropertyName("enabledRulesOnly")]
public bool? EnabledRulesOnly { get; init; }
[JsonPropertyName("historicalLookbackMinutes")]
public int? HistoricalLookbackMinutes { get; init; }
[JsonPropertyName("maxEvents")]
public int? MaxEvents { get; init; }
[JsonPropertyName("eventKindFilter")]
public string? EventKindFilter { get; init; }
[JsonPropertyName("includeNonMatches")]
public bool? IncludeNonMatches { get; init; }
}
internal sealed class NotifySimulationResult
{
[JsonPropertyName("simulationId")]
public string? SimulationId { get; init; }
[JsonPropertyName("totalEvents")]
public int? TotalEvents { get; init; }
[JsonPropertyName("totalRules")]
public int? TotalRules { get; init; }
[JsonPropertyName("matchedEvents")]
public int? MatchedEvents { get; init; }
[JsonPropertyName("totalActionsTriggered")]
public int? TotalActionsTriggered { get; init; }
[JsonPropertyName("durationMs")]
public double? DurationMs { get; init; }
}
internal sealed class NotifyAckRequest
{
[JsonPropertyName("tenantId")]
public string? TenantId { get; init; }
[JsonPropertyName("incidentId")]
public string? IncidentId { get; init; }
[JsonPropertyName("acknowledgedBy")]
public string? AcknowledgedBy { get; init; }
[JsonPropertyName("comment")]
public string? Comment { get; init; }
public string? Token { get; init; }
}
internal sealed class NotifyAckResult
{
[JsonPropertyName("success")]
public bool Success { get; init; }
[JsonPropertyName("incidentId")]
public string? IncidentId { get; init; }
[JsonPropertyName("error")]
public string? Error { get; init; }
[JsonPropertyName("message")]
public string? Message { get; init; }
}