{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM3","name":"Integration-event coupling","shortDescription":{"text":"Integration-event coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/DM3"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P11","name":"BDD / executable specs","shortDescription":{"text":"BDD / executable specs"},"helpUri":"https://codehealth.canine.dev/dimensions/P11"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P9","name":"Domain vs controller coverage","shortDescription":{"text":"Domain vs controller coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/P9"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): reference-architecture/CustomerService/DTO/Write/Address.cs:3-9 | reference-architecture/OrderService/DTO/Write/Address.cs:3-9 \u2014 before extracting anything, compare \u0060reference-architecture/CustomerService/DTO/Write/Address.cs\u0060 and \u0060reference-architecture/OrderService/DTO/Write/Address.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060reference-architecture/CustomerService/DTO/Write/Address.cs:3\u0060 it does not close everything it opens, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/DTO/Write/Address.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"20674a408f85d4b90dfe0f45c81bc0cc83c0e9fc546a9b76e30aa8f772104d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): reference-architecture/CustomerService/DTO/Read/CustomerView.cs:8-12 | reference-architecture/OrderService/DTO/Read/OrderView.cs:9-13 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/DTO/Read/CustomerView.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b187279184b7186c6074742f671c689335ff84e5a451565cf3ed3d0472c94346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): reference-architecture/CustomerService/DTO/Read/CustomerView.cs:8-12 | reference-architecture/CustomerService/DTO/Write/Address.cs:5-9 | reference-architecture/OrderService/DTO/Read/OrderView.cs:9-13 | reference-architecture/OrderService/DTO/Write/Address.cs:5-9 \u2014 before extracting anything, compare \u0060reference-architecture/CustomerService/DTO/Write/Address.cs\u0060 and \u0060reference-architecture/OrderService/DTO/Write/Address.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/DTO/Read/CustomerView.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b62e45955ebb48517ac51f4f33569c1b38ad563a00f2c2aed8b3088400bc23"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: reference-architecture/Common/Behaviors/LoggingBehavior.cs: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/Common/Behaviors/LoggingBehavior.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f018e0bceb72999ae65f24e4d15cbf4900e9b845798e2ebf62eb4233d9d272b"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references ReferenceArchitecture.AppHost: No test project in this repository references ReferenceArchitecture.AppHost (1 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 94.4% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.AppHost/ReferenceArchitecture.AppHost.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbcefe06829caff6873e6ea24dcb1d5cf57d16e0b1a316de2a9b91507ea7353"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Swashbuckle.AspNetCore: Swashbuckle.AspNetCore 6.7.3 \u2192 10.3.1 available (referenced by CustomerService)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/CustomerService.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8458a0101da5be46bbba4370f7f5c0f43cd16f0fe675ec79eafe09ab92f2d398"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.collector: coverlet.collector 6.0.2 \u2192 10.1.0 available (referenced by CustomerService.Tests)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/CustomerService.Tests/CustomerService.Tests.csproj"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87885513049325a6550cf34947651709f821bde550fa88e54edabce7f1ada75"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Aspire.Hosting.AppHost: Aspire.Hosting.AppHost 8.2.0 \u2192 13.6.4 available (referenced by ReferenceArchitecture.AppHost)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.AppHost/ReferenceArchitecture.AppHost.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf665a86ab32098f0c90423d36b364f7f0d0e51e7840549168efa2ea9a4456f"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: AutoMapper.Extensions.Microsoft.DependencyInjection: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060AutoMapper\u0060 \u003E= 13.0.0; migrate the reference to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/CustomerService.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"337c7a0333c64337242e5f0c58416776a3c9f05ff06d4b1a113883caf4295f53"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: AutoMapper.Extensions.Microsoft.DependencyInjection: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060AutoMapper\u0060 \u003E= 13.0.0; migrate the reference to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/OrderService.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f690d4424b885be97aa2813d6475283626fe770b7507b00e45a182aaa1766"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: MediatR.Extensions.Microsoft.DependencyInjection: MediatR.Extensions.Microsoft.DependencyInjection 11.1.0 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060MediatR\u0060 \u003E= 12.0.0; migrate the reference to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/EventDriven.ReferenceArchitecture.Specs/EventDriven.ReferenceArchitecture.Specs.csproj"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee11dc6a0718985ca5a0165bd989e34437704f4ab07213f1630d9d4e7eb0a0"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: SpecFlow.Plus.LivingDocPlugin: SpecFlow.Plus.LivingDocPlugin 3.9.57 \u2014 Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/EventDriven.ReferenceArchitecture.Specs/EventDriven.ReferenceArchitecture.Specs.csproj"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f53d0e90da79ff1c216535ce6828551501be359ca333ad3cc2a65d2261accc"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: SpecFlow.xUnit: SpecFlow.xUnit 3.9.74 \u2014 Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/EventDriven.ReferenceArchitecture.Specs/EventDriven.ReferenceArchitecture.Specs.csproj"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec4bf5be893879d56be9e5730311922382ef35ea173a46a4ef2600245124d81"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.0 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/EventDriven.ReferenceArchitecture.Specs/EventDriven.ReferenceArchitecture.Specs.csproj"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae60cd42ba97535339648d7ac8964945f763b640868c8e9868e106ef06ee80c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.0 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/CustomerService.Tests/CustomerService.Tests.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"44002fd34643e47b6f0ae49a282de27f73063c8eff1402f8a37bd551c3b06a75"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.0 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/OrderService.Tests/OrderService.Tests.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66bff8f3c0c73ff8756515857e030c08566aac490a13d95af5eb0ba31cb032c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.AppHost: Aspire.Hosting.AppHost 8.2.0 \u2014 Other,Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.AppHost/ReferenceArchitecture.AppHost.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"638960e865276279939c567485bfc700ef4631913dc92699ddc1b2183b7f419d"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Aspire.Hosting.Dapr: Aspire.Hosting.Dapr 8.2.0 \u2014 Other \u2014 the publisher\u0027s replacement is \u0060CommunityToolkit.Aspire.Hosting.Dapr\u0060 \u003E= 9.2.0; migrate the reference to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.AppHost/ReferenceArchitecture.AppHost.csproj"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a3d4deb19d98d66a849b01db05abc280f3b18fc7d07bb55684a48535721346"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.Extensions.ServiceDiscovery: Microsoft.Extensions.ServiceDiscovery 8.2.0 \u2014 Other,Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.ServiceDefaults/ReferenceArchitecture.ServiceDefaults.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"645a90ae789106bbb6a4aa51f93ffdb53ce5209b1ae361a6d23442fd9548c6a7"}},{"ruleId":"D12","level":"warning","message":{"text":"Prerelease dependency: OpenTelemetry.Instrumentation.GrpcNetClient: OpenTelemetry.Instrumentation.GrpcNetClient resolves to 1.6.0-beta.3, a prerelease build. Prerelease packages carry no support policy, may change breaking between previews and can be unlisted \u2014 pin a stable release before shipping, or record the reason this preview is required."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7ba92ae84f0c8618628bb29e6420de71d2b94485fdd4f537f5333848a1fb7f1"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class CustomerRepository \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"739bf7e5bdd0738d2a0db53896b49c232647536a9c3f804e622c1bfe8261b0d9"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class OrderRepository \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a50da962e56c880de866da7b5041a9fa1b24be3d3143f9639fbc1951765cc2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/ReferenceArchitecture.ServiceDefaults/Extensions.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf68039c35426544a1492f3b407e5a8870daf5cfda0468a05dca4fa1f85e21"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add services to the container.\u0022 is ASP.NET Core project template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Program.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee8ad257c28926c2b13dd04aa4478ddd83abe6de593ee526f4d5d2d430a3074"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add Dapr event bus\u0022 repeats the code it sits on: 4 of its 4 words (add, dapr, event, bus) are already in \u0060builder.Services.AddDaprEventBus(builder.Configuration);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Program.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec41af71ec6bb6b4e46543c261e6ebfbd524b930d359941059618a80b79eb0d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Configure the HTTP request pipeline.\u0022 is ASP.NET Core project template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Program.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfdf7c35f5acb149d4142567fe49b891d2ad1b6e7094b04616259501f1e8e70"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022GET api/order/customer/id\u0022 repeats the code it sits on: 4 of its 5 words (get, order, customer, id) are already in \u0060[HttpGet]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderQueryController.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb3fd356d010c520b26de106f7f4df46c72d3ac7b4921f06dcba1f8b8fab397"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 15, 34, 37, 43, 61), for example \u0022Add services to the container.\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Program.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92226839a203dd61466d97d1fc9dbdc5c485e91ee28682cac2474a0983318c54"}},{"ruleId":"D29","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":"a8fe228b10c0841059203b131c1fe9284f814094ae7a9a493830fa1e87a4c307"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"afcc3c0b44222f2e82f0125967fcd1330e2ecb330a4fdc3b5703789840d2577b"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"5c4f4ccd62eedfea632e0b7a518f3ea82bb8352ad176acc4267465919145e728"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"66f2aa1c092eba2dd86b7a4274ab36408ba51072798ff20de5279b4ce7122416"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"40df408a9e58e1b45cc9405041692f4b87b250bdf35e9c11a3daf5f15d2ba69a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"ebfc2f3df0ff97b8231c29951ada6477bc6b76f13f6a63b2f7c68351beb4e5de"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"2597d6660cfb80f74be66d7227334eb01e3c2de45ba750be7b31bf2ca70c5364"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"2b8ead4a6c13a706736695e30031e8437c60746685c7eefaa635bb1cda6150eb"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"7686074c438fd3133e74acd1af617b1c6b81946fc7552f2c2b984340e3d24580"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"e5fbf9ed64b754f8450cfe7dd17127ac0f06a41316afc9972ae188c0e09bb6f1"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"6133db561fffda3cd36062705b77e08baa69e2dc4f7309d9c31fd333890cc471"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"c038ca2577827dead494724c654053c6c15ea82a4f34dd041dd9479fdecd7555"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"96f35497ce7ebe55f482466bd7578865a92f7dcc7d6cef3b5157d8b9abc23a60"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"03f9fac878dcbf07aca7022f18e373fffff3a6521448932b27c09f1f7c846066"},"properties":{"dependency":{"package":"System.Text.Json","version":"6.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d3458738a9b505811049a751f4012492d190bd65163306d4a068a5ebbf0982b5"},"properties":{"dependency":{"package":"AutoMapper","version":"12.0.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c475b5d776175d1181892c3e7e72c31acdbe224ac300e32808399947498db6c9"},"properties":{"dependency":{"package":"System.Text.Json","version":"8.0.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"535c841a79fa99ee910e3d9375e11ec02a2f8b10cd3cb316706fed34aaa88a27"},"properties":{"dependency":{"package":"Snappier","version":"1.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"144ba3d64b2f88552ffc19d754e40bd2451972fd866ceb13b6e402c8039c1886"},"properties":{"dependency":{"package":"Newtonsoft.Json","version":"9.0.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"7cf85abffe732f2645ef95a624d6badc26f0263616284d6a4cc46ca8e983031d"},"properties":{"dependency":{"package":"System.Net.Http","version":"4.3.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b96b7173c4377d5bea4d6fd7b52323631c631c44172b743bec6f266c10a4e538"},"properties":{"dependency":{"package":"System.Text.RegularExpressions","version":"4.3.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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":"00cb4b303392f15d10a6e6cba03898c053b2eca5b8ace5790990d10c0d0ab63f"},"properties":{"dependency":{"package":"SharpCompress","version":"0.30.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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"},"properties":{"dependency":{"package":"OpenTelemetry.Api","version":"1.9.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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"},"properties":{"dependency":{"package":"OpenTelemetry.Exporter.OpenTelemetryProtocol","version":"1.9.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces CustomerService.Domain.CustomerAggregate \u2194 CustomerService.Domain.CustomerAggregate.Commands \u2194 CustomerService.Domain.CustomerAggregate.Events depend on each other. The lightest dependency in the cycle is CustomerService.Domain.CustomerAggregate.Commands \u2192 CustomerService.Domain.CustomerAggregate (CustomerService.Domain.CustomerAggregate.Commands.CreateCustomer \u2192 CustomerService.Domain.CustomerAggregate.Customer, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Domain/CustomerAggregate/Commands/CreateCustomer.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"363293d801fa8ae84b5ffb3bd39e13a734235e6aba441462b34f67d6206445a3"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces OrderService.Domain.OrderAggregate \u2194 OrderService.Domain.OrderAggregate.Commands \u2194 OrderService.Domain.OrderAggregate.Events depend on each other. The lightest dependency in the cycle is OrderService.Domain.OrderAggregate.Events \u2192 OrderService.Domain.OrderAggregate (OrderService.Domain.OrderAggregate.Events.OrderCancelled \u2192 OrderService.Domain.OrderAggregate.Order, 3 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Domain/OrderAggregate/Events/OrderCancelled.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"977c0bea04dfcff40b610a1e81b339324dd1cef65f45eb7cbb83cbb8d608412e"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found \u2014 endpoints may be unprotected."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3c8f4a0d95788697a7fc1ead96135db317ec608163fb67cdcef02d14083148f1"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CustomerCommandController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Controllers/CustomerCommandController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b351c94b20ba7476de1494f12734ea854e92110f5993b2f21aa9b639db09398"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CustomerCommandController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Controllers/CustomerCommandController.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb0884f00888142bcd6f7ebbf48cd480dbdac79093061910e0d461aa8544746"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CustomerCommandController.Remove\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Controllers/CustomerCommandController.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1144f91557f1532fe6399cd839f2e93632309b7b90706334782c18d18e33cf"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CustomerQueryController.GetCustomers\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Controllers/CustomerQueryController.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee36c814b7391c0a1f0809f753604fd56873ab69533fa1f3d644b57a42cd9ed"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060CustomerQueryController.GetCustomer\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Controllers/CustomerQueryController.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcfe24895c749b60fc9f07bb28bad32fd4fdb9c4825428c3bcfde71c7ee99e8"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderCommandController.Create\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderCommandController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa5e39673c93ef24423f42e6edeb953fedae7e443ebe692b7f9a7121f88c904"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderCommandController.Update\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderCommandController.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e381eb8658162e1119b437bf1da4a563ff8aac0e864e658d6238f1e264ea39fb"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderCommandController.Remove\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderCommandController.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0771847562e163f01944de3be19cef38ffadc32664602769d28ecb6bc49d81"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderCommandController.Ship\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderCommandController.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0189f25e398efee091addb9081b21b1c32f80d4f125c3d81df873c9719d1860"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderCommandController.Cancel\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderCommandController.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"52067eee090f84e589b1159d16981a3b1df3497c35eb52d38faefe9a832db0c2"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderQueryController.GetOrders\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderQueryController.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"278bf1c5d0127ab536ea24070ce0af6d212b14769c443dbd57d8676ed4e6553d"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderQueryController.GetOrders\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderQueryController.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cf9cc4cd0d8883463b231510363f3a898213f2294fcdcadb83594140a87999"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: \u0060OrderQueryController.GetOrder\u0060 serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Controllers/OrderQueryController.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c33a75369e783697bfe9b2ce7cba39f39642579181f4c1b1e66c783e86ced9d"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Order.CustomerId: \u0060Order.CustomerId\u0060 is a raw \u0060Guid\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Guid\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Domain/OrderAggregate/Order.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c1ead905c428d2fb34fc9a06b60b196150c25677336a95833348de43fc3872"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Customer: \u0060Customer\u0060 is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Domain/CustomerAggregate/Customer.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9000001f388d4e327d2eaf1a76de6f333d54b6ed392e135d5d1e83241356a5b"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Order: \u0060Order\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Domain/OrderAggregate/Order.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"63407f3f7469d33d5f8dfc4bc6601293f369732973e0f21235502546c9325b2a"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Customer: \u0060Customer\u0060 exposes publicly writable state (FirstName, LastName, ShippingAddress)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Domain/CustomerAggregate/Customer.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a9643254ca2e105edb3ac7f9d9234bc37d75d19ceed48a7ea14da40d717f6"}},{"ruleId":"DM5","level":"warning","message":{"text":"Mutable entity: Order: \u0060Order\u0060 exposes publicly writable state (CustomerId, OrderDate, OrderItems, ShippingAddress, OrderState)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Domain/OrderAggregate/Order.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecb90ee97f9d4a7a0c7914089147a651ba27b78d36ecc7b26291911b3012240"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with 2 handlers: Customer: \u0060Customer\u0060 is shaped like a command (one imperative intent) but has 2 handlers. A command should have exactly one handler that owns the decision; multiple handlers means hidden fan-out and unclear ownership. If several things should react, raise an EVENT after the command succeeds and let them subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Domain/CustomerAggregate/Customer.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7043cad0341ebffbe463ccb7151caab2343cc7ee82aa76dc2a2761ce2562594d"}},{"ruleId":"ED2","level":"warning","message":{"text":"Command with 4 handlers: Order: \u0060Order\u0060 is shaped like a command (one imperative intent) but has 4 handlers. A command should have exactly one handler that owns the decision; multiple handlers means hidden fan-out and unclear ownership. If several things should react, raise an EVENT after the command succeeds and let them subscribe."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Domain/OrderAggregate/Order.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a58c55cf41a7cf190a7e3b70cffeef148a8e88aef719f7af3e3c46cc37ffa45"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): CreateCustomerHandler.Handle persists, UpdateCustomerHandler.Handle publishes: \u0060CreateCustomerHandler.Handle\u0060 writes to the database while \u0060UpdateCustomerHandler.Handle\u0060 publishes to the message bus in the same command-handling flow, with no outbox referenced on either path. Splitting the persist and the publish across sibling methods (or two collaborating actors) doesn\u0027t make them atomic \u2014 a crash between the two either loses the message or emits a phantom event. Use the transactional outbox pattern so the message is committed in the same transaction as the state change and dispatched afterwards."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Domain/CustomerAggregate/CommandHandlers/CreateCustomerHandler.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff793c8a4870fddbf54a3616c71586c3c8f11cd70824ae50a0aed58c91a8fa96"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"Inconsistent root namespaces: Only 2/8 projects share a common root namespace \u2014 the code\u0027s module identity is inconsistent."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c8031c9fb77ad97c2e4a8ddb29978f4bf30140d481913bd7fde8b5adbbb83ede"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 4/5 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 5, 3 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060reference-architecture/Common/Common.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/Common/Common.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"541c0ec1b12250c4bd40690757f1331280775b19aeb13ada44d49e46c4d0f519"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19d68908ef6a805834091b52aa72eb537ba0200d0592cc56be84c7d61f0dd4e"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cabda906760bfc130bdf494f13e77529e4a0b7ad0bbef01e8408280a6a1f45"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: No UseHttpsRedirection/UseHsts and no reverse-proxy signal \u2014 transport security is unverified at the app layer. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This web host\u0027s pipeline is composed here with no UseHttpsRedirection/UseHsts, and nothing says a reverse proxy terminates TLS in front of it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50304423e389a4fec1aa68bbe9fdd17667825ab993fca9b7166c4c0e719d422"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This web host\u0027s pipeline is composed here with no UseHttpsRedirection/UseHsts, and nothing says a reverse proxy terminates TLS in front of it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b947031deeb9106c8ff5eb9e8c974e7db153800055f4304fe402652b7b02fdd6"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 14/27 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5c3a549f2624596e49f8b33400f8913605ed83fedd9726b2ead25c7368ec24"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"63caaafc5b9da744ef58c43195402d6ce9438420e9c3df14f8f4c200d9f96d46"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1026f3948ba100e2ca807e5ec4e1c944fd30f7cc5b7176a46b4edb1b883e2576"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcabc4aa1c24a71e6dd0bd5152f93f09900ddb4362d791a6ba61baa8028aa6c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RemoveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/CustomerService/Repositories/CustomerRepository.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8752025261d26ad48792581bbfd4430f672acca477956ee1164f36e2e7a15147"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23faf3090a16a1e1ba74128575cbe5cde4323db6e1795638cff615478de9cf19"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetByCustomerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13b435e54ad0b1d165af4261a52949f230067e1f79a39ae97470af8c9686ada"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bffe734183ad9571c7705b01dd3cc33a2c48bfb5566e5b35f7bc625a95e7a7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcb9ea9f26c69faebba36b125cd58465597ad88759338615731da0d238418a2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d15776e0c2e9c409a8ab093706c8b6c89c183676dc2d7cb3d2ba526b82a62ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateAddressAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2d9e8cf31023979fa094896ef0de59c5241fefb2dd8b2a70c2fe02765e6bc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RemoveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd2006b3341cdd5cb2d334b9ea10cd0b028d6073d953a920031c292c7d5f4f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateOrderStateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"reference-architecture/OrderService/Repositories/OrderRepository.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dff1c8b66fb131443661d9f193de21cf6894c080ab0055c97c846f20880c9a"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~6.0 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 42 suppression(s) across the 7053 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93cfe05d4ad8c8c171267603b23dfe289b74842e38edd1b7bfed59cc32bda337"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":23,"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."]}]}