TerribleSettingsAuditor.Abstractions
1.0.14
dotnet add package TerribleSettingsAuditor.Abstractions --version 1.0.14
NuGet\Install-Package TerribleSettingsAuditor.Abstractions -Version 1.0.14
<PackageReference Include="TerribleSettingsAuditor.Abstractions" Version="1.0.14" />
<PackageVersion Include="TerribleSettingsAuditor.Abstractions" Version="1.0.14" />
<PackageReference Include="TerribleSettingsAuditor.Abstractions" />
paket add TerribleSettingsAuditor.Abstractions --version 1.0.14
#r "nuget: TerribleSettingsAuditor.Abstractions, 1.0.14"
#:package TerribleSettingsAuditor.Abstractions@1.0.14
#addin nuget:?package=TerribleSettingsAuditor.Abstractions&version=1.0.14
#tool nuget:?package=TerribleSettingsAuditor.Abstractions&version=1.0.14
Terrible Settings Auditor (TSA)
Terrible Settings Auditor is an independent developer tool and is not affiliated with or endorsed by the Transportation Security Administration.
This tool is used for auditing and generating configuration in CI/CD pipelines or on demand configuration testing.
Attributes
We combine attributes with DataAnnotations to validate configuration. This tool can also output the configuration value and mask / show some of the secret. This is for linting and quick verification.
Sample
[Luggage("Application settings", Pinned = true, Order = 1)]
public class ApplicationOptions
{
/// <summary>
/// Configuration Key. (i.e., Application:DebugMode)
/// </summary>
public const string Position = "Application";
public bool DebugMode { get; set; } = false;
[Required]
[LuggageItem("Application Title", Expose = ExposeMethod.Full)]
public string? Title { get; set; }
[LuggageItem("DoesntNeedToBeSet", Expose = ExposeMethod.Full)]
public bool? DoesntNeedToBeSet { get; set; }
}
[Luggage("Database Connection strings", Pinned = true)]
public class DatabaseConfiguration
{
/// <summary>
/// Configuration Key. (i.e., Database:ConnectionStringSampleApp)
/// </summary>
public const string Position = "Database";
[Required]
[LuggageItem("SampleApp Connection String", Expose = ExposeMethod.Padded, Secret = true, ShowLeft = 25)]
public string? ConnectionStringSampleApp { get; set; }
[Required]
[LuggageItem("UsersDb Connection String", Expose = ExposeMethod.Padded, Secret = true, ShowLeft = 25)]
public string? ConnectionStringUsersDb { get; set; }
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TerribleSettingsAuditor.Abstractions:
| Package | Downloads |
|---|---|
|
TerribleSettingsAuditor.Core
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.