{"$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"]}]},{"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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"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":"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"]}]},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29"},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31"},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"}]}},"results":[{"ruleId":"D2","level":"warning","message":{"text":"rangeWithString (cognitive 17): rangeWithString has cognitive complexity 17 (threshold 15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.MVC/wwwroot/js/creditcardvalidator.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8310e70d09d4f1c3cbb09b71c064bd40a64cd30e5cf96e3f105282abd3de312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 5): src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs:48-84 | src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs:90-126 | src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs:132-167 | src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs:172-202 | src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs:207-238"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b9d345ffb54382288616807ff074c54bd4cbe468abb7dbb5e08f0140bca1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/services/DevStore.Billing.API/Services/BillingService.cs:70-84 | src/services/DevStore.Billing.API/Services/BillingService.cs:103-117"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/Services/BillingService.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f22c76f1d0cec35b13a4ba89a961678f3c54efe50ea4848f8e1d8aa37c5ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/services/DevStore.Billing.API/Data/BillingContext.cs:30-37 | src/services/DevStore.Customers.API/Data/CustomerContext.cs:39-46"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/Data/BillingContext.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6ff4f8a14e926b39c7e4462e36692045aee9d1451c1893666c13d69a266940"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: DevStore.MessageBus: DevStore.MessageBus: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"599502b73d9372fbe5f6f67905d932d0248fb1b637bcb2b02b89c4df0df2306a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: DevStore.Billing.DevsPay: DevStore.Billing.DevsPay: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50f0c38ef289bed76ffc04bfe3da5d0957ad6496a6b04a9cdb10ad24d7437123"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: DevStore.WebAPI.Core: DevStore.WebAPI.Core: abstractness 0.12, instability 0.15, distance 0.73 \u2014 zone of pain \u2014 concrete and heavily depended-on, so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3e060e03d6bea0ac93778bf3110a31d4e04630bcf36dfa7a7b1f92ff46fd544d"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 test suite did not build: Coverage NOT MEASURED: the repo\u0027s own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8beb176c604706486df63d2215f767f50520c8d949b1d464345de14ded442c69"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: private-key: private-key detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/nginx/nerdstore-certificate.key"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9884f378c3d0a923010fcbb2a455ef0eceb9372ab67e6a34880b7a1e95f14e10"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/appsettings.Production.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"725df8ca435c85d40cfdd1a3059f57239e719a76ced9ad233deaff8760143c31"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/appsettings.Docker.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f52122929d6aba37a1ccb15cd208ea4bbc88d069f6c4218c815f6af24bc2996"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.ShoppingCart.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d794cb5ed6ea48699cf51788a4cabaf1be59dcef1cdeb02c7fe689e568535a17"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.ShoppingCart.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1901167612533595e4db1ef0eb2302d667e792d02db529e75f4739368291e78"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Orders.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1856ab3676cc798c60db35ca412ee50c5f5cbee2f045122e2f5c25235605e0"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Orders.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"957ef4dceb0c88fb89265b76571c17921fb3733bcee6c6c08945101061cec500"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Identity.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7091713a0b7bae48fdf10ba6f5ad65f07ca56305758cf6ce022565d4698bd"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Identity.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"622a2b4955ec539d8980aeaac932b3fcf8108d655faeb9125a30172eca18fd09"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5406978b4f1468c0ac63a70293a7961ef97614a96900f7e6078a13fe999060"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0ed95a9523e1f79f61665af4838b02263b2f21e2b9814e026b555042d3b74d"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21faa60f999848756add721aa9207758e52b89a5baa42385ebd84e945e6f9b7"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b9fb30ceefe7200371f67a2cb81191134a11f15c9fb20c04ed9b869df76a80"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/appsettings.Production.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f078fc73f8ba508ac9b69dace5fe8f27d962fc8da807cd539a18013b52b95b49"}},{"ruleId":"D13","level":"error","message":{"text":"Leaked secret: hardcoded-credential: hardcoded-credential detected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/appsettings.Docker.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb51b337cef377d29775c7e22569b7758846f7013a92c6ca9cd9abcef44cea7a"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: MySql.EntityFrameworkCore: MySql.EntityFrameworkCore 9.0.6 is licensed GPL-2.0-only WITH Universal-FOSS-exception-1.0 (banned by policy)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"15e02659a432589326dbe73b9b6b83e270898a1d5c80f6cec2ef9b9df70f03e7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 66 significant file(s) lose their only recent owner (largest: src/services/DevStore.Catalog.API/Configuration/DbMigrationHelpers.cs). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"95095b0ea71f353403097da395f56fa3f397164a03f6b4b8b63ca08f21bb66de"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/Data/CustomerContext.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f19e5c3c0e5939c8d36c8b462fe1f1476a9e3acf560df6b8c8602e5a38d27fb"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU1608"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/DevStore.WebApp.Status.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db786cc55a6f5ea8b24a66916ca12b9ce8e88e460759f01a0ec50e1d097436"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 1 project(s) carry only a thin slice of real code (e.g. \u0060DevStore.MessageBus\u0060 with 43 significant line(s)). The mean analysable-surface weight is 99 %, lowering Solution Shape by about 0.1 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"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":"Inconsistent naming for the same concept (address building number). One uses \u0027BuildingNumber\u0027 while the other uses \u0027BuildingNumber\u0027 (consistent), but let\u0027s look for actual inconsistencies. Ah, looking closer at the list, I see \u0027BuildingNumber\u0027 used in both. Let\u0027s look for other inconsistencies.: Ensure all address-related models use the same property name for the building number. (symbols: DevStore.WebApp.MVC.Models.AddressViewModel.BuildingNumber, DevStore.Customers.API.Application.Commands.AddAddressCommand.BuildingNumber)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cf1d04a347de2112517eab89cf3345cdfd188ae5b726b3451aea1f5c7f202e3e"}},{"ruleId":"D21","level":"note","message":{"text":"The IPagedList interface defines pagination properties. While consistent within itself, it\u0027s worth noting that \u0027Page\u0027 is often used instead of \u0027PageIndex\u0027 in other libraries, but here it is consistent. Let\u0027s look for actual mismatches.: N/A (symbols: DevStore.WebApp.MVC.Models.IPagedList.PageIndex, DevStore.WebApp.MVC.Models.IPagedList.PageSize, DevStore.WebApp.MVC.Models.IPagedList.TotalPages)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"06fb621959407a4d2259f9aa3190211dc712d1a5fcd23570723fe71cedb1fa34"}},{"ruleId":"D21","level":"note","message":{"text":"The concept of a product identifier is named \u0027ProductId\u0027 in both places, which is consistent. However, let\u0027s look for actual inconsistencies.: N/A (symbols: DevStore.WebApp.MVC.Models.ShoppingCartItemViewModel.ProductId, DevStore.Orders.Domain.Orders.OrderItem.ProductId)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"18f28cbfcb1cdbf96e0b66341eb135070ece148e2074996dff8fe3bf6216092f"}},{"ruleId":"D21","level":"note","message":{"text":"The concept of a discount or voucher is represented by \u0027Discount\u0027 in one place and \u0027Voucher\u0027 in another. While related, they might be distinct concepts (the value vs the code). However, \u0027Voucher\u0027 is also used in \u0027DevStore.Orders.API.Application.DTO.VoucherDTO.Code\u0027 and \u0027DevStore.Bff.Checkout.Models.VoucherDTO.DiscountType\u0027. The inconsistency is between \u0027Discount\u0027 (a value/amount) and \u0027Voucher\u0027 (the entity/code). This is likely a domain distinction, but \u0027Discount\u0027 and \u0027Voucher\u0027 are often used interchangeably in UI vs DTOs.: Clarify if \u0027Discount\u0027 and \u0027Voucher\u0027 represent the same logical concept in different layers, or if they are distinct. If they are the same, unify the name. (symbols: DevStore.WebApp.MVC.Models.ShoppingCartViewModel.Discount, DevStore.Bff.Checkout.Models.ShoppingCartDto.Total, DevStore.WebApp.MVC.Models.ShoppingCartViewModel.Voucher)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf3ffb9fbca3a209826054dff34ddc60cfb4e1a8408745cbfc67ef8fd985e0a3"}},{"ruleId":"D21","level":"note","message":{"text":"The term \u0027SocialNumber\u0027 is used for what is likely a Social Security Number or similar ID. It is used in \u0027UserRegister\u0027, \u0027SocialNumberValidationAttributeAdapterProvider\u0027, and \u0027SocialNumberAttribute\u0027. This is consistent.: N/A (symbols: DevStore.WebApp.MVC.Models.UserRegister.SocialNumber, DevStore.WebApp.MVC.Extensions.SocialNumberValidationAttributeAdapterProvider, DevStore.WebApp.MVC.Extensions.SocialNumberAttribute.IsValid)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9c3dc5c6daecdb287925f2109a00b42ec1bd99a5f51bc18adb5cdca45049e1a2"}},{"ruleId":"D21","level":"note","message":{"text":"The property \u0027ProductId\u0027 is used consistently.: N/A (symbols: DevStore.WebApp.MVC.Models.ShoppingCartItemViewModel.ProductId, DevStore.Orders.Domain.Orders.OrderItem.ProductId)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4411f0798115e5c542accca6c663ff7037197a06c23b97d38b3e118997eb7ab4"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 7377 LoC across 16 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Declare architecture.contexts (\u22652) in config to assess cross-boundary type coupling."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Construtor do EntityFramework\u0022 \u2014 delete - already states this"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/building-blocks/DevStore.Core/DomainObjects/Email.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d652cc5ad9708d061792c7f94e293924c926ec0e002c178c152f117a7d72ba99"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Chargeback = 4,\u0022 \u2014 trim - the status labels are self-evident"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.MVC/Models/OrderViewModel.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"818a8352393629ff813109c60ca35de1c9046e2044065b84bb810bf6c1f81814"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/docker-compose-local.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f253a2274e4db8ee3e2e145ebeaa2508522bcbf1370a4e95dcde9b9bf9498d"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/docker-common-resources.yml"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c098546c24ea2a530d5a2537966a41a35ad73a77af9ca31abd7f29e459192b4f"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/docker-compose.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2bb85ef1e9b943b5bd394718e90e49e7a4b22326608912c4d04c4209ae906c"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: private-key: matched rule \u0027private-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docker/nginx/nerdstore-certificate.key"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30e2512659766a16a1482622a03a2af399ef551e91b756d8b3da380b1f2b19b"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/appsettings.Development.json"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fd4d2d0fefd7af644b9267c642ae8b99c6061dcff494b3dc99677f1e614501"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/appsettings.Production.json"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b9b1bc71186e983d874dc490ce72c4d42b158b080c093c301aeb5f3e74e759"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/appsettings.Docker.json"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"333dc5ea53b7e941e155a61865094bebfaca50426ba6597df484e3f4b77e8fb5"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/NSE.Pagamentos.API/appsettings.Production.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a018f5ae972ba80a299607f7c97993a96964b72e16fda617392a3804d1477f"}},{"ruleId":"D28","level":"error","message":{"text":"Secret: generic-api-key: matched rule \u0027generic-api-key\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/NSE.Pagamentos.API/appsettings.Development.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68e65e67aa2d8bbdc70793af2c775f26e7515a27e0a05aeb459733d21eb0545"}},{"ruleId":"D28","level":"note","message":{"text":"Rotate the exposed credentials \u2014 git history can\u0027t be un-committed: Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised \u2014 not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets \u2014 no commit \u2014 can instead be removed from the file and moved to a secret store.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/api-gateways/DevStore.Bff.Checkout/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ceea14ca2bf289ccc7dce5129711429c801bdb8d90fda846243886d27fb777"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/api-gateways/DevStore.Bff.Checkout/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6644134c15a28bdf62a91c7dff0e5823761b8285e37bf622a1c137ab3dcd2836"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711e8962bcd46d8ce1d35c4fbf608159b0da051c0b31087690bb9b56830d3d86"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3bb814a0480efafec9de62f8df2cae05c23a2f345080f3bbe3dcb6d9831d78"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"add0194b851dc3276bcc458f29ce8b1f3696c07d43f4ca7c271a78868614c541"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cc75987407cc8edc2422cae128159fe5c18c1d29bcec0ab1c2708373087d17"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c86fdd66745b835732392cf4a5d8c04c5f822c811eecd3a9a57f55c5be4ec6"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"455f2538352f264a03a2c98fdb1f9f2d2c10aebf7f8c71c7c8d2a34f182bb518"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Identity.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af1fa26dee78bf351c91afc7ab36bda2689c404aa6230b7bac0bb6fa67663c"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Identity.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6230d7f1cdb3a359e551b03b3552c205927aa3efcf3ad0f593f5c2abe4acedd4"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Orders.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8e4bc9f2a8bcc9712263515bf7fbfb1c6de2958f3814c7532e2546ae14ad1b"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Orders.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ea433da5f3f7edc0943a3ed7a79af284dac96afce28eaa9068dbc7e2948e94"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.ShoppingCart.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f0119cfc94b9cde536841b5f53a6b6c9af443dc0ae5c4ab8ee77bb4bce7495"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.ShoppingCart.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67789c88f9c0f2a2eeb156b1a2b734236854e049b53586592be5a91c864e76cc"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.MVC/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a7b21a33d2be8d19e5f648dd93d55e8814834eedf09200e849e620ab7c17f6"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.MVC/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06958916d3a44def08398329648b8160674337a694ceccb4800ca3a075e4c71f"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a198dad80fa7e432ae199f09f10b2c4ee1a68766a253c0e51479f7fdc4cee79f"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0009: WORKDIR path not absolute"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24701e995731641e3a0ce8b0a4058f14b05dbd0b0925fa8f68b5253deec4cdbf"}},{"ruleId":"D31","level":"error","message":{"text":"High IaC: DS-0002: Image user should not be \u0027root\u0027"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/Dockerfile.original"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a77f45b977af02a7643c2a18c8532e144cbfe66d21c59d6d24d326d6f749c54"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/api-gateways/DevStore.Bff.Checkout/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51787d569ef0fdc018296a9d4a1a0bb76e6be21b1fd123763ec3b9a3e276439d"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Billing.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ddd54de2cf028c9bf403bb15e43a63ea7e3d83267ae9d65c2be8f9ab5841f2"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Catalog.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2571cca7a5022a8eb3ccef723cf7b4191800ad29e0bbfebf82ea893b39f8ba79"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Customers.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f02558c69ce6099dc009463676a0e273e63fe97472f2839ea3f88168fa0e87"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Identity.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f0f556d83f03d6eafcc4b0027a306fec56cf917029d91ca9acf457afa36701"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.Orders.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bc3d34a5578c58836050efd220ae48a4fdec204cd9c58fee784b48c98e7302"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/services/DevStore.ShoppingCart.API/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ed207b11f2b7ba8e390a87da09fe81a2f8318702f16e838fd75a087a4cafc"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.MVC/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"684349881b426e2e6d114c4f3f7cfa386c4c38560e48400d22702b2ea69d8e3f"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/Dockerfile"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e639ac3aee7389cb9cf0a3ff99640358990f8d2b16f5c00eaad43fff55a9c"}},{"ruleId":"D31","level":"note","message":{"text":"Low IaC: DS-0026: No HEALTHCHECK defined"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/web/DevStore.WebApp.Status/Dockerfile.original"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cbda6fed7a23317998771278b9d271dd76feaf6e23cdd9ef3674728dfc1ae"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 73 of 73 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 73 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-798","name":"Use of Hard-coded Credentials"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}