{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:76-88 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:196-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"986e3ad23cea11a58fc425cfaf7a7d17c839a600c2fbf8c0a1a4718deb342a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:61-72 | src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:138-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Infrastructure/Services/KeycloakService.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a46d9db967d227ceb0a295a778a2a141b5dc4e262099d4679219611e8e79016"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: CleanArhictecture_2025.ServiceDefaults: CleanArhictecture_2025.ServiceDefaults: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"689e34296493301e0faf1da3816b262e1292b610f2306713bde903ead6393450"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 nothing here references a test framework (xUnit, NUnit or MSTest), so there were no discoverable tests to count. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"error","message":{"text":"Vulnerable: OpenTelemetry.Exporter.OpenTelemetryProtocol: OpenTelemetry.Exporter.OpenTelemetryProtocol 1.9.0 \u2014 Moderate severity. https://github.com/advisories/[GHSA redacted]"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2ae471f3f46f8e0ebd7a2b459bd973c6817dbb6b5f84135c5c19d9a005499a4"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.Extensions.ServiceDiscovery: Microsoft.Extensions.ServiceDiscovery 9.0.0 \u2014 Other,Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"645a90ae789106bbb6a4aa51f93ffdb53ce5209b1ae361a6d23442fd9548c6a7"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: FluentValidation.AspNetCore: FluentValidation.AspNetCore 11.3.0 \u2014 Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c121fe39eaa15140bc3e6db44975ad976f90ca0ef505592ab96df7811261bcf1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Dashboard.Sdk.linux-x64: Aspire.Dashboard.Sdk.linux-x64 [9.0.0, \u2014 ) \u2014 the publisher\u0027s replacement is \u00609.0.0\u0060 Other,Legacy; migrate the reference to it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b082d34c9e40344c02b231b053238ea0176b4384b38f3eb090b7988e03c6b67c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.AppHost: Aspire.Hosting.AppHost 9.0.0 \u2014 Other,Legacy"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"638960e865276279939c567485bfc700ef4631913dc92699ddc1b2183b7f419d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.Orchestration.linux-x64: Aspire.Hosting.Orchestration.linux-x64 [9.0.0, \u2014 ) \u2014 the publisher\u0027s replacement is \u00609.0.0\u0060 Other,Legacy; migrate the reference to it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf6fa52cda1d2d5839645ccf9687f33bd2d45c6764c10fec5701eac177eec535"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4cd64399eb189b55a968e91cae3a9896b1e3701b5349391b9c383e2593e594ce"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D18","level":"note","message":{"text":"Shell project: CleanArhictecture_2025.AppHost: \u0060CleanArhictecture_2025.AppHost\u0060 contributes only 3 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.AppHost/CleanArhictecture_2025.AppHost.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95faa9f9f4f38d036e9cf3a6ea53c37a6b751a3f81e3f8fb097a39d0db8e0d53"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found at common paths; consider documenting architectural decisions in Docs/ADL/ or similar."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"The property for the full address is named \u0060FulLAddress\u0060 (with a capital L), which appears to be a typo for \u0060FullAddress\u0060. Other address components like \u0060City\u0060 and \u0060Town\u0060 are correctly spelled.: Rename \u0060FulLAddress\u0060 to \u0060FullAddress\u0060. (symbols: CleanArhictecture_2025.Domain.Employees.Address.FulLAddress, CleanArhictecture_2025.Domain.Employees.Address.City, CleanArhictecture_2025.Domain.Employees.Address.Town)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"070aa2e25ade7e68ac895ce5b0b5ea3470d216be96cb4f2d8e532a16d123ba2c"}},{"ruleId":"D21","level":"note","message":{"text":"The word \u0027Personnel\u0027 is misspelled as \u0027Personel\u0027 in the type name \u0060PersonelInformation\u0060 and its members.: Rename \u0060PersonelInformation\u0060 to \u0060PersonnelInformation\u0060 and update all references. (symbols: CleanArhictecture_2025.Domain.Employees.PersonelInformation, CleanArhictecture_2025.Domain.Employees.PersonelInformation.Phone1, CleanArhictecture_2025.Domain.Employees.PersonelInformation.Phone2, CleanArhictecture_2025.Domain.Employees.PersonelInformation.TCNo)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3fca71af9165ab501433d4baf2392ae0cc51a64cae253d2cad85fd06f853f7a6"}},{"ruleId":"D21","level":"note","message":{"text":"Timestamp properties use the suffix \u0027At\u0027 (e.g., \u0060CreateAt\u0060), which is grammatically incorrect for a timestamp (should be \u0027On\u0027 or \u0027Date\u0027 or \u0027Time\u0027). Additionally, there is inconsistency with \u0060CreateUserName\u0060/\u0060UpdateUserId\u0060 vs \u0060CreateAt\u0060/\u0060UpdateAt\u0060 naming conventions for audit fields.: Rename \u0060CreateAt\u0060, \u0060UpdateAt\u0060, and \u0060DeleteAt\u0060 to \u0060CreatedAt\u0060, \u0060UpdatedAt\u0060, and \u0060DeletedAt\u0060 respectively, or use \u0060CreatedOn\u0060/\u0060UpdatedOn\u0060. (symbols: CleanArhictecture_2025.Domain.Abstractions.Entity.CreateAt, CleanArhictecture_2025.Domain.Abstractions.Entity.UpdateAt, CleanArhictecture_2025.Domain.Abstractions.Entity.DeleteAt, CleanArhictecture_2025.Domain.Abstractions.Entity.UpdateAt, CleanArhictecture_2025.Domain.Abstractions.Entity.CreateAt, CleanArhictecture_2025.Domain.Abstractions.Entity.DeleteAt)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"655a4c2e8d86574cc465e41df8cf2483fdcc44d510bff93558897e9baa562095"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022computed property\u0022 \u2014 delete - inline on the computed-property name, restates it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Domain/Users/AppUser.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"701fe83b80ff66a00c3d4236abb17f4c47413c960c9be873af8f9dc86403bffc"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7e18f192896566f42c417e85733641c9bf10baf97adcc70c5a2895346fc99b1"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f603a8ebd694e4aeb9c309fc8133e250204b578e77f235b9a88211fb438737f"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42da69baf8adbac3b170bc3610a7e0b8d7289183f9e250c24f0548c46089b837"}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f2f30b7124d59c5d715321b5745568c653ce00878edd6634c97785f4efde171"}},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 1 authored method(s) exceed the IL budget: 1 of 79 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: CleanArhictecture_2025.Application.Employees.EmployeeGetAllQueryHandler.Handle @ src/CleanArhictecture_2025.Application/Employees/EmployeeGetAllQuery.cs:25, 690 IL instructions; large bodies don\u0027t JIT-inline, which pulled this dimension to 9.7/10; splitting the hottest bodies recovers the most."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CleanArhictecture_2025.Application/Employees/EmployeeGetAllQuery.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d8f03cf946db4ca0dd9f36faafe07d4eb4f7df28922e07b7e44720e1d016cc"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":6,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}