.github/workflows/respond.yml → bitwarden/gh-actions/.github/workflows/_respond.ymlkey-connector
key-connector
| Primary Language | .NET |
|---|---|
| Primary Framework | ASP.NET Core |
| Detected Frameworks | ASP.NET Core; Container |
| Deployable Types | API |
| Technology Stack | .NET, Docker, CI/CD |
| Default Branch | main |
| Documentation Priority | P1 |
| Last Repository Scan | 11/15/2026, 5:20:14 AM |
| Source Repository | Open on GitHub |
bitwarden/key-connector — Pipeline Categories Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
.github/workflows/review-code.yml → bitwarden/gh-actions/.github/workflows/_review-code.ymlbitwarden/key-connector — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: bitwarden/key-connector
Metadata
- SHA:
a41978a24fb9ebaf357ca13c4b525e46d103b574 - Primary Ecosystem: .NET
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 0.38
- avg_cyclomatic_complexity: 1.33
- component_count: 31
- dead_code_count: 16
- dead_code_symbols: 16 entry(ies)
- duplication_pct: 80.0
- file_complexities: 25 entry(ies)
- files_analyzed: 81
- fitness_passed: False
- fitness_violation_count: 22
- framework: ASP.NET Core
- import_edges: 100 entry(ies)
- loc: 5453
- max_cognitive_complexity: 16
- max_cyclomatic_complexity: 13
- sloc: 4590
- test_file_count: 20
Architecture: bitwarden/key-connector
Context
- Repository:
bitwarden/key-connector - SHA:
a41978a24fb9ebaf357ca13c4b525e46d103b574 - Ecosystem: .NET
- Framework: ASP.NET Core
Building Block View
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["bitwarden/key-connector (31 components)"]):::atlasRoot
subgraph sg_dir_0_src["src (29)"]
direction TB
dir_0_src["src (29)"]:::atlasCategory
sub_0_0_KeyConnector_Services["KeyConnector/Services (13)"]:::atlasWorkflow
dir_0_src --> sub_0_0_KeyConnector_Services
sub_0_1_KeyConnector_Repositories["KeyConnector/Repositories (11)"]:::atlasWorkflow
dir_0_src --> sub_0_1_KeyConnector_Repositories
sub_0_2_KeyConnector_Controllers["KeyConnector/Controllers (2)"]:::atlasWorkflow
dir_0_src --> sub_0_2_KeyConnector_Controllers
sub_0_more["+2 more submodules (3)"]:::atlasMore
dir_0_src --> sub_0_more
end
repo_root --> dir_0_src
dir_1_test["test (2)"]:::atlasCategory
repo_root --> dir_1_test
sub_0_more -.->|"2 deps"| sub_0_1_KeyConnector_Repositories
dir_1_test -.->|"1 dep"| sub_0_more
sub_0_0_KeyConnector_Services -.->|"1 dep"| sub_0_1_KeyConnector_Repositories
sub_0_2_KeyConnector_Controllers -.->|"1 dep"| sub_0_0_KeyConnector_Services
sub_0_2_KeyConnector_Controllers -.->|"1 dep"| sub_0_1_KeyConnector_Repositories
sub_0_more -.->|"1 dep"| sub_0_0_KeyConnector_Services
linkStyle 10 stroke:#ba1a1a,stroke-width:2px,stroke-dasharray: 5 5
Component Details
- KeyConnector (
src/KeyConnector/KeyConnector.csproj): MODULE - KeyConnector.Tests (
test/KeyConnector.Tests/KeyConnector.Tests.csproj): MODULE (deps: KeyConnector) - MiscController (
src/KeyConnector/Controllers/MiscController.cs): API_ROUTE - UserKeysController (
src/KeyConnector/Controllers/UserKeysController.cs): API_ROUTE (deps: CryptoService, UserKeyRepository) - DatabaseMigrationHostedService (
src/KeyConnector/HostedServices/DatabaseMigrationHostedService.cs): SERVICE (deps: DatabaseContext) - TransferToHostedService (
src/KeyConnector/HostedServices/TransferToHostedService.cs): SERVICE (deps: CryptoService, UserKeyRepository) - ApplicationDataRepository (
src/KeyConnector/Repositories/EntityFramework/ApplicationDataRepository.cs): DATA_ACCESS_LAYER (deps: BaseRepository) - BaseRepository (
src/KeyConnector/Repositories/EntityFramework/BaseRepository.cs): DATA_ACCESS_LAYER (deps: DatabaseContext) - DatabaseContext (
src/KeyConnector/Repositories/EntityFramework/DatabaseContext.cs): DATA_ACCESS_LAYER - SqlServerDatabaseContextFactory (
src/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs): DATA_ACCESS_LAYER (deps: MySqlDatabaseContextFactory, PostgreSqlDatabaseContextFactory, SqliteDatabaseContextFactory) - PostgreSqlDatabaseContextFactory (
src/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs): DATA_ACCESS_LAYER (deps: MySqlDatabaseContextFactory, SqlServerDatabaseContextFactory, SqliteDatabaseContextFactory) - MySqlDatabaseContextFactory (
src/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs): DATA_ACCESS_LAYER (deps: PostgreSqlDatabaseContextFactory, SqlServerDatabaseContextFactory, SqliteDatabaseContextFactory) - SqliteDatabaseContextFactory (
src/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs): DATA_ACCESS_LAYER (deps: MySqlDatabaseContextFactory, PostgreSqlDatabaseContextFactory, SqlServerDatabaseContextFactory) - UserKeyRepository (
src/KeyConnector/Repositories/EntityFramework/UserKeyRepository.cs): DATA_ACCESS_LAYER (deps: BaseRepository) - ApplicationDataRepository (
src/KeyConnector/Repositories/JsonFile/ApplicationDataRepository.cs): DATA_ACCESS_LAYER - Repository (
src/KeyConnector/Repositories/JsonFile/Repository.cs): DATA_ACCESS_LAYER - UserKeyRepository (
src/KeyConnector/Repositories/JsonFile/UserKeyRepository.cs): DATA_ACCESS_LAYER (deps: Repository) - AzureKeyVaultCertificateProviderService (
src/KeyConnector/Services/CertificateProviders/AzureKeyVaultCertificateProviderService.cs): SERVICE - AzureStorageCertificateProviderService (
src/KeyConnector/Services/CertificateProviders/AzureStorageCertificateProviderService.cs): SERVICE - FilesystemCertificateProviderService (
src/KeyConnector/Services/CertificateProviders/FilesystemCertificateProviderService.cs): SERVICE - HashicorpVaultCertificateProviderService (
src/KeyConnector/Services/CertificateProviders/HashicorpVaultCertificateProviderService.cs): SERVICE - StoreCertificateProviderService (
src/KeyConnector/Services/CertificateProviders/StoreCertificateProviderService.cs): SERVICE - CryptoFunctionService (
src/KeyConnector/Services/Crypto/CryptoFunctionService.cs): SERVICE - CryptoService (
src/KeyConnector/Services/Crypto/CryptoService.cs): SERVICE (deps: ApplicationDataRepository, CryptoFunctionService) - AwsKmsRsaKeyService (
src/KeyConnector/Services/RsaKey/AwsKmsRsaKeyService.cs): SERVICE - AzureKeyVaultRsaKeyService (
src/KeyConnector/Services/RsaKey/AzureKeyVaultRsaKeyService.cs): SERVICE - GoogleCloudKmsRsaKeyService (
src/KeyConnector/Services/RsaKey/GoogleCloudKmsRsaKeyService.cs): SERVICE - LocalCertificateRsaKeyService (
src/KeyConnector/Services/RsaKey/LocalCertificateRsaKeyService.cs): SERVICE (deps: CryptoFunctionService) - Pkcs11RsaKeyService (
src/KeyConnector/Services/RsaKey/Pkcs11RsaKeyService.cs): SERVICE (deps: CryptoFunctionService) - RsaHealthCheckService (
src/KeyConnector/Services/RsaKey/RsaHealthCheckService.cs): SERVICE - MockOidcHandler (
test/KeyConnector.Tests/Helpers/JwtTestHelper.cs): SERVICE
6-Dimension Repository Scorecard
- Overall Grade:
F(43.40/100) - Technical Debt Score: 56.60
- Estimated Remediation Effort: 126.65h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 55.00 | 0.20 | avg_cc=1.33, max_cc=13, duplication=80.00%, dead_code=16 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=32, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 0.00 | 0.15 | avg_cognitive=0.38, max_cognitive=16, fitness_violations=22, oversized_files=1 |
| Pipeline Health | D | 61.00 | 0.15 | workflows=6, operational_antipatterns=9, parallel_branches=False |
| Security | F | 0.00 | 0.20 | vulnerabilities=0, secrets=8, pipeline_security_findings=10 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [HIGH]
ATRUSS-ARCH-001(LAYER_VIOLATION): API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (UserKeysController -> UserKeyRepository) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory) - [HIGH]
ATRUSS-ARCH-004(CIRCULAR_DEPENDENCY): Circular dependency detected between architectural components. (SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory) - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (80.0) exceeds policy threshold (15.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 32 | Vulnerabilities: 0 | Secrets: 8
Secret Findings (Redacted)
- [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerAuthIntegrationTests.cs:20(private const string _testKey = "dGVz***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerIntegrationTests.cs:18(private const string _testKey = "dGVz***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerIntegrationTests.cs:19(private const string _testUpdatedKey = "dGVz***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:20(private const string _testEncryptedKey = "frh6***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:21(private const string _testUpdatedEncryptedKey = "JrxB***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:22(private const string _testKey = "dGVz***REDACTED***";) - [HIGH]
ATRUSS-SEC-005attest/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:23(private const string _testUpdatedKey = "dGVz***REDACTED***";) - [CRITICAL]
ATRUSS-SEC-004attest/KeyConnector.Tests/Resources/test-jwt-signing-key.pem:1(-----BEGIN ... PRIVATE KEY----- [REDACTED])
Inventory Sample
AWSSDK.KeyManagementService3.7.2.6(NuGet,src/KeyConnector/KeyConnector.csproj)Azure.Identity1.11.4(NuGet,src/KeyConnector/KeyConnector.csproj)Azure.Security.KeyVault.Certificates4.5.1(NuGet,src/KeyConnector/KeyConnector.csproj)Azure.Security.KeyVault.Keys4.5.0(NuGet,src/KeyConnector/KeyConnector.csproj)Azure.Security.KeyVault.Secrets4.5.0(NuGet,src/KeyConnector/KeyConnector.csproj)Azure.Storage.Blobs12.19.1(NuGet,src/KeyConnector/KeyConnector.csproj)Google.Cloud.Kms.V13.7.0(NuGet,src/KeyConnector/KeyConnector.csproj)JsonFlatFileDataStore2.4.2(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.AspNetCore.Authentication.JwtBearer10.0.8(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.AspNetCore.Authentication.JwtBearer10.0.8(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Microsoft.AspNetCore.Mvc.Testing10.0.8(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Microsoft.EntityFrameworkCore.Design8.0.27(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.EntityFrameworkCore.Relational8.0.27(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.EntityFrameworkCore.SqlServer8.0.27(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.EntityFrameworkCore.Sqlite8.0.27(NuGet,src/KeyConnector/KeyConnector.csproj)Microsoft.NET.Test.Sdk18.6.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)NSubstitute5.3.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Npgsql.EntityFrameworkCore.PostgreSQL8.0.11(NuGet,src/KeyConnector/KeyConnector.csproj)Pkcs11Interop5.1.2(NuGet,src/KeyConnector/KeyConnector.csproj)Pomelo.EntityFrameworkCore.MySql8.0.3(NuGet,src/KeyConnector/KeyConnector.csproj)Serilog.AspNetCore10.0.0(NuGet,src/KeyConnector/KeyConnector.csproj)Serilog.Settings.Configuration10.0.0(NuGet,src/KeyConnector/KeyConnector.csproj)Serilog.Sinks.Console6.1.1(NuGet,src/KeyConnector/KeyConnector.csproj)Serilog.Sinks.File7.0.0(NuGet,src/KeyConnector/KeyConnector.csproj)Testcontainers.MariaDb4.12.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Testcontainers.MsSql4.12.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Testcontainers.MySql4.12.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)Testcontainers.PostgreSql4.12.0(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)VaultSharp1.7.0(NuGet,src/KeyConnector/KeyConnector.csproj)coverlet.collector10.0.1(NuGet,test/KeyConnector.Tests/KeyConnector.Tests.csproj)- … (+2 more dependencies)
Section 7: Code-to-Cloud Deployment Traceability
flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_src_KeyConnector["src/KeyConnector"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art_src_KeyConnector_Dockerfile["src/KeyConnector/Dockerfile"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_build_yml_build_artifacts["build.yml#build-artifacts"]:::atlasJob
job_build_yml_build_docker["build.yml#build-docker"]:::atlasJob
end
mod_src_KeyConnector -->|BUILT_BY| job_build_yml_build_artifacts
mod_src_KeyConnector -->|BUILT_BY| job_build_yml_build_docker
mod_src_KeyConnector -->|PACKAGED_BY| art_src_KeyConnector_Dockerfile
art_src_KeyConnector_Dockerfile -->|BUILT_BY| job_build_yml_build_artifacts
art_src_KeyConnector_Dockerfile -->|BUILT_BY| job_build_yml_build_docker
src/KeyConnector(code_module) —[BUILT_BY]—>build.yml#build-artifacts(ci_job)src/KeyConnector(code_module) —[BUILT_BY]—>build.yml#build-docker(ci_job)src/KeyConnector(code_module) —[PACKAGED_BY]—>src/KeyConnector/Dockerfile(container)src/KeyConnector/Dockerfile(container) —[BUILT_BY]—>build.yml#build-artifacts(ci_job)src/KeyConnector/Dockerfile(container) —[BUILT_BY]—>build.yml#build-docker(ci_job)
CI/CD Pipeline Topology
graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["bitwarden/key-connector (6 workflows)"]):::atlasRoot
subgraph sg_grp_0_Scheduled___Manual["Scheduled & Manual (3 workflows · 4 jobs)"]
direction TB
subgraph sg_wf_0_Build["Build (2 jobs)"]
direction TB
wf_0_Build(["Trigger: Build"]):::atlasWorkflow
job_0_build_artifacts["build-artifacts"]:::atlasJob
job_0_build_docker["build-docker"]:::atlasJob
wf_0_Build --> job_0_build_artifacts
job_0_build_artifacts --> job_0_build_docker
end
pipeline_root --> wf_0_Build
subgraph sg_wf_4_Testing["Testing (1 jobs)"]
direction TB
wf_4_Testing(["Trigger: Testing"]):::atlasWorkflow
job_4_testing["testing"]:::atlasJob
wf_4_Testing --> job_4_testing
end
pipeline_root --> wf_4_Testing
subgraph sg_wf_5_Bump_version["Bump version (1 jobs)"]
direction TB
wf_5_Bump_version(["Trigger: Bump version"]):::atlasWorkflow
job_5_bump_version["bump_version"]:::atlasJob
wf_5_Bump_version --> job_5_bump_version
end
pipeline_root --> wf_5_Bump_version
end
subgraph sg_grp_1_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_2_Respond["Respond (1 jobs)"]
direction TB
wf_2_Respond(["Trigger: Respond"]):::atlasWorkflow
job_2_respond["respond"]:::atlasJob
wf_2_Respond --> job_2_respond
end
pipeline_root --> wf_2_Respond
subgraph sg_wf_3_Code_Review["Code Review (1 jobs)"]
direction TB
wf_3_Code_Review(["Trigger: Code Review"]):::atlasWorkflow
job_3_review["review"]:::atlasJob
wf_3_Code_Review --> job_3_review
end
pipeline_root --> wf_3_Code_Review
end
subgraph sg_grp_2_Automation___Other["Automation & Other (1 workflows · 1 jobs)"]
direction TB
subgraph sg_wf_1_Cleanup_Container_Images["Cleanup Container Images (1 jobs)"]
direction TB
wf_1_Cleanup_Container_Images(["Trigger: Cleanup Container Images"]):::atlasWorkflow
job_1_cleanup_images["cleanup-images"]:::atlasJob
wf_1_Cleanup_Container_Images --> job_1_cleanup_images
end
pipeline_root --> wf_1_Cleanup_Container_Images
end6-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=1.33, max_cc=13, duplication=80.00%, dead_code=16
Security
Weight 20%vulnerabilities=0, secrets=8, pipeline_security_findings=10
Maintainability
Weight 15%avg_cognitive=0.38, max_cognitive=16, fitness_violations=22, oversized_files=1
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=True, test_files_detected=True
Dependency Health
Weight 15%dependencies=32, outdated=0, vulnerable=0, has_lockfile=False
Pipeline Health
Weight 15%workflows=6, operational_antipatterns=9, parallel_branches=False
Module Complexity & Quality Heatmap
Unreferenced / Dead Code Symbols Preview (16)
InitialCreatesrc/KeyConnector/Migrations/MySql/20210820155954_InitialCreate.Designer.cs:11BuildTargetModelsrc/KeyConnector/Migrations/MySql/20210820155954_InitialCreate.Designer.cs:15MySqlDatabaseContextModelSnapshotsrc/KeyConnector/Migrations/MySql/MySqlDatabaseContextModelSnapshot.cs:10BuildModelsrc/KeyConnector/Migrations/MySql/MySqlDatabaseContextModelSnapshot.cs:13InitialCreatesrc/KeyConnector/Migrations/PostgreSql/20210820160016_InitialCreate.Designer.cs:12BuildTargetModelsrc/KeyConnector/Migrations/PostgreSql/20210820160016_InitialCreate.Designer.cs:16PostgreSqlDatabaseContextModelSnapshotsrc/KeyConnector/Migrations/PostgreSql/PostgreSqlDatabaseContextModelSnapshot.cs:11BuildModelsrc/KeyConnector/Migrations/PostgreSql/PostgreSqlDatabaseContextModelSnapshot.cs:14InitialCreatesrc/KeyConnector/Migrations/SqlServer/20210820154908_InitialCreate.Designer.cs:12BuildTargetModelsrc/KeyConnector/Migrations/SqlServer/20210820154908_InitialCreate.Designer.cs:16SqlServerDatabaseContextModelSnapshotsrc/KeyConnector/Migrations/SqlServer/SqlServerDatabaseContextModelSnapshot.cs:11BuildModelsrc/KeyConnector/Migrations/SqlServer/SqlServerDatabaseContextModelSnapshot.cs:14Architectural Fitness Rules
ATRUSS-ARCH-001LAYER_VIOLATIONsrc/KeyConnector/Controllers/UserKeysController.cs:1API_ROUTE cannot directly import DATA_ACCESS_LAYER when SERVICE components exist. (UserKeysController -> UserKeyRepository)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (MySqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory -> MySqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> PostgreSqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (PostgreSqlDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory -> PostgreSqlDatabaseContextFactory)
ATRUSS-ARCH-004CIRCULAR_DEPENDENCYsrc/KeyConnector/Repositories/EntityFramework/DatabaseContextFactory.cs:1Circular dependency detected between architectural components. (SqlServerDatabaseContextFactory -> SqliteDatabaseContextFactory -> SqlServerDatabaseContextFactory)
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDsrc/KeyConnector/ServiceCollectionExtensions.cs:1Repository duplication_pct (80.0) exceeds policy threshold (15.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 32 parsed dependencies.
Redacted Secret Findings
ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerAuthIntegrationTests.cs:20High-entropy credential candidate (H=4.60 > 4.5) detected.
private const string _testKey = "dGVz***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerIntegrationTests.cs:18High-entropy credential candidate (H=4.60 > 4.5) detected.
private const string _testKey = "dGVz***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerIntegrationTests.cs:19High-entropy credential candidate (H=4.71 > 4.5) detected.
private const string _testUpdatedKey = "dGVz***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:20High-entropy credential candidate (H=5.37 > 4.5) detected.
private const string _testEncryptedKey = "frh6***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:21High-entropy credential candidate (H=5.31 > 4.5) detected.
private const string _testUpdatedEncryptedKey = "JrxB***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:22High-entropy credential candidate (H=4.60 > 4.5) detected.
private const string _testKey = "dGVz***REDACTED***";ATRUSS-SEC-005test/KeyConnector.Tests/Controllers/UserKeysControllerTests.cs:23High-entropy credential candidate (H=4.71 > 4.5) detected.
private const string _testUpdatedKey = "dGVz***REDACTED***";ATRUSS-SEC-004test/KeyConnector.Tests/Resources/test-jwt-signing-key.pem:1Private key material header detected.
-----BEGIN ... PRIVATE KEY----- [REDACTED]Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.