- KeyScannerService als BackgroundService (Timer + manueller Trigger) - GitHub Code Search: sucht nach sk-ant-oat01-* Keys in Dotenv-Dateien - AnthropicKeyChecker: shared Key-Check-Logik (ersetzt Duplikat in ApiKeysEndpoint) - ScannedKeyRecord Model mit Soft-Delete und Adopt-Verknüpfung - Scan-Endpoints: trigger, status, list, recheck, adopt, delete - API-Keys-Page: Scanner-UI mit Status-Indikator und Scanned-Keys-Liste - GitHub-URL pro gefundenem Key (html_url aus Search API) - Server-Settings: GitHubToken + ScanIntervalHours konfigurierbar - DB-Migration: scanned_keys Tabelle + api_keys Meta-Spalten (status, plan, usage) - ApiKeyRecord erweitert um Status/Plan/Usage-Felder mit UpdateApiKeyMeta()
22 lines
421 B
JSON
Executable File
22 lines
421 B
JSON
Executable File
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Port": 19000,
|
|
"MaxIterations": 100,
|
|
"MaxHistory": 120,
|
|
"ReminderInterval": 30,
|
|
"ExecuteTimeout": 180,
|
|
"PayloadLogging": false,
|
|
"PayloadLoggingGzip": false,
|
|
"KreaToken": "",
|
|
"KreaApiKey": "",
|
|
"GeminiApiKey": "",
|
|
"GitHubToken": "",
|
|
"ScanIntervalHours": 0
|
|
}
|