{"$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":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 15): system/indexer/adapter/elasticsearch/indexer_es6.go:115-130 | system/indexer/adapter/elasticsearch/indexer_es6.go:133-148 | system/indexer/adapter/elasticsearch/indexer_es6.go:163-178 | system/indexer/adapter/elasticsearch/indexer_es6.go:198-213 | system/indexer/adapter/elasticsearch/indexer_es6.go:217-232 | system/indexer/adapter/elasticsearch/indexer_es7.go:114-129 | system/indexer/adapter/elasticsearch/indexer_es7.go:132-147 | system/indexer/adapter/elasticsearch/indexer_es7.go:162-177 | system/indexer/adapter/elasticsearch/indexer_es7.go:197-212 | system/indexer/adapter/elasticsearch/indexer_es7.go:216-231 | system/indexer/adapter/elasticsearch/indexer_es8.go:115-130 | system/indexer/adapter/elasticsearch/indexer_es8.go:133-148 | system/indexer/adapter/elasticsearch/indexer_es8.go:163-178 | system/indexer/adapter/elasticsearch/indexer_es8.go:198-213 | system/indexer/adapter/elasticsearch/indexer_es8.go:217-232 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/adapter/elasticsearch/indexer_es6.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3c0257885f11f0ffd46c3fb8c2346bf5a8671a49c0aefca23e86381c5c26cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): system/indexer/adapter/elasticsearch/indexer_es6.go:53-68 | system/indexer/adapter/elasticsearch/indexer_es7.go:53-68 | system/indexer/adapter/elasticsearch/indexer_es8.go:53-68 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/adapter/elasticsearch/indexer_es6.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11b08825b6b508c6e508ec25b97fc3ebce22f181231f32c1d388831f17f1d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): system/indexer/adapter/elasticsearch/indexer_es6.go:87-102 | system/indexer/adapter/elasticsearch/indexer_es7.go:86-101 | system/indexer/adapter/elasticsearch/indexer_es8.go:87-102 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/adapter/elasticsearch/indexer_es6.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc66d111b5fb9dbc2a24acb1c7dbffdc7c9af4880af6c225c92c578d3f86fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/geolocation/crud/domain/service/country_svc.go:120-135 | modules/geolocation/crud/domain/service/country_svc.go:166-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/geolocation/crud/domain/service/country_svc.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5889a50fed041a20101b9e410adf9fccccc7e1379157eca17d0563dab1e2cf38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): system/config/config.go:39-54 | system/service/conf.go:13-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/config/config.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7b51f80b7069b8685e04994d5eacc48f4243fff3b56e30eb6150ce206a0482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): system/indexer/adapter/elasticsearch/indexer_es6.go:180-194 | system/indexer/adapter/elasticsearch/indexer_es7.go:179-193 | system/indexer/adapter/elasticsearch/indexer_es8.go:180-194 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/adapter/elasticsearch/indexer_es6.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7036b98a28d7ae1b86cf8cee9904c1f2b2f7fe7b5b3293631872a23ed73693a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): interface/restapi/feature/email.go:53-66 | interface/restapi/feature/email.go:102-115 | interface/restapi/feature/email.go:137-150 | interface/restapi/feature/email.go:172-185 | interface/restapi/feature/geo_location.go:101-114 | interface/restapi/feature/geo_location.go:150-163 | interface/restapi/feature/geo_location.go:184-197 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"interface/restapi/feature/email.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9a5394c807e3ecfd53fc769b620baa800fec16dbab3b7b8f3ef1bb5716c5a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): interface/restapi/feature/auths.go:49-62 | interface/restapi/feature/auths.go:117-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"interface/restapi/feature/auths.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3813818134ef756cdf6d312c26ee2205e2032b308aa0473cf4e72ab1e389fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): database/migrations/MS0302_seed_data_email.go:39-51 | database/migrations/MS0302_seed_data_email.go:58-70 | database/migrations/MS0302_seed_data_email.go:77-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/migrations/MS0302_seed_data_email.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0627a496398a1449b8df3527b779b221c8784370d608dee303ff4d6baed8876"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): modules/email/la/infrastructure/repository/email_template_repo.go:133-145 | modules/email/la/infrastructure/repository/email_template_repo.go:238-250 | modules/email/la/infrastructure/repository/email_template_repo.go:353-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe7817ffb5b64da4a28251d2573726c8c72ffd437c219766bac95d499a26bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): interface/restapi/feature/auths.go:130-141 | interface/restapi/feature/auths.go:156-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"interface/restapi/feature/auths.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a4b0c4d1436aabaa200c35a7cd78a060fa48218d91c9e2d5932d466353f558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): modules/email/la/infrastructure/repository/email_template_repo.go:191-202 | modules/email/la/infrastructure/repository/email_template_repo.go:279-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e239a9ed334615c58ce665d7365e4e7dad20b8cb96e7dea28beea50cf8526bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): connector/covid19/covid19goid/covid19.go:17-27 | connector/covid19/who/covid19.go:19-29 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"connector/covid19/covid19goid/covid19.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac29d64bb1192562a3a8f516de856ff827f2da1e5197a5308ded90f726212e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): connector/covid19/covid19goid/covid19.go:40-50 | connector/covid19/who/covid19.go:45-55 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"connector/covid19/covid19goid/covid19.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63df2970980a9bfa6b539adbbafd1de7aad5c5e962a119f6fea69b410bf75cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): system/indexer/adapter/elasticsearch/config.go:15-24 | system/indexer/adapter/elasticsearch/config.go:46-55 | system/indexer/adapter/elasticsearch/config.go:77-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/adapter/elasticsearch/config.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e2ef9cecd421f85913f96931d486fc99ea6d5b3a12ddfc62ff8452b8f3d61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/auths/la/application/service/base.go:23-32 | modules/email/la/application/service/base.go:23-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/auths/la/application/service/base.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1f7dfcb770ffa2b04b76a3ef20666282cdd726bae4d91ca41380859a58c52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/geolocation/crud/domain/service/country_svc.go:70-79 | modules/geolocation/crud/domain/service/country_svc.go:189-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/geolocation/crud/domain/service/country_svc.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f14ba9624e94dd77f05157fecf3b2bb03fa0ef6f529e1419bf4f04ecfbf1458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): modules/email/la/infrastructure/repository/email_template_repo.go:160-168 | modules/email/la/infrastructure/repository/email_template_repo.go:178-186 | modules/email/la/infrastructure/repository/email_template_repo.go:263-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"909400303ff5173c6448bbe7ec193470033ab78776507f1248475a81e6c7c65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/email/la/infrastructure/repository/email_template_repo.go:368-376 | modules/email/la/infrastructure/repository/email_template_repo.go:383-391 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe182528f101bd1c650abb0d1f390050f5480739521d29ab898c1f17c29a2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/auths/la/infrastructure/repository/auth_repo.go:148-155 | modules/email/la/infrastructure/repository/email_template_repo.go:317-324 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/auths/la/infrastructure/repository/auth_repo.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9f60374b4293cfa91e46c76ce841d936fdc049482d5d192e272a4bc9d72178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/email/la/infrastructure/repository/email_template_repo.go:221-227 | modules/email/la/infrastructure/repository/email_template_repo.go:308-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58cd9f5318632150fac9b956c5c23779b89a2e0d4524c07649af10b08124e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): modules/email/la/infrastructure/repository/email_template_repo.go:88-93 | modules/email/la/infrastructure/repository/email_template_repo.go:221-226 | modules/email/la/infrastructure/repository/email_template_repo.go:308-313 | modules/email/la/infrastructure/repository/email_template_repo.go:342-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/email/la/infrastructure/repository/email_template_repo.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af74411190f3cf138a6f4baf963fe868ddbf9324efd63f6e128d483df8b9b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): system/indexer/indexer.go:60-65 | system/indexer/indexer.go:74-79 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/indexer/indexer.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"083528e9371f61c41916cf3a5fb873a1b593f9b9882e648a9d43f2513e5ef2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): modules/auths/la/infrastructure/repository/auth_repo.go:108-112 | modules/auths/la/infrastructure/repository/auth_repo.go:175-179 | modules/auths/la/infrastructure/repository/auth_repo.go:209-213 | modules/email/la/infrastructure/repository/email_template_repo.go:88-92 | modules/email/la/infrastructure/repository/email_template_repo.go:221-225 | modules/email/la/infrastructure/repository/email_template_repo.go:308-312 | modules/email/la/infrastructure/repository/email_template_repo.go:342-346 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/auths/la/infrastructure/repository/auth_repo.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dab4335072bde2f27248c32f9821a3532cd3edc24c33502c3eabb3d6572d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/auths/la/infrastructure/repository/auth_repo.go:57-61 | modules/auths/la/infrastructure/repository/auth_repo.go:116-120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/auths/la/infrastructure/repository/auth_repo.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55d4ca87d1b54d56e6fe34f2c87833131568dd21388d9e7ee01ae793148b899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): system/service/smtp.go:51-55 | system/service/smtp.go:78-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"system/service/smtp.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee6d1c8f68e281ed80bb61649040b6952d85292394a1f60839a53545f13a72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): database/migrations/MS0101_create_structure_iam.go:43-74 | database/migrations/MS0301_create_structure_email.go:39-70 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/migrations/MS0101_create_structure_iam.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"33665749b1b1cc22d4d7e63f8f4002e8c8e4b5bfe14d75c8e34538c13f4f55ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): modules/covid19/la/infrastructure/adapter/covid19/covid19goid/covid19goid.go:15-44 | modules/covid19/la/infrastructure/adapter/covid19/who/who.go:15-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it wherever the callers may both depend on (the module they already share, or a small common one if they share none) and call it from each site \u2014 until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/covid19/la/infrastructure/adapter/covid19/covid19goid/covid19goid.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"561fd699c7a6675508f2ff41a7715ecb5a685f56fdd79a6a1c24bfb731d5490d"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb2d05921e5d816b492b091a04ed51bce2178f8e108ef69bc45663f24558a816"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 70 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"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":"65835997a674cfe3cf93ea6c9d511e586e18a36ffcd3564a7c7a2c2022033845"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd0f19d1759c37eda7ca83036798e34c0b776e8b14c449c9e96cf7fe2cbc5eef"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6e83176c9f43397e66a8e3caba94f0584abd3d2bb7d548153bd8ee79c0ce594"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 35 of 35 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 35 separate risks. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"database/migrations/MS0202_seed_data_geo.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0e64f41fb9f038d15eb81e02e4290a2557a8b72e9126b9c6bcdad59a29afc"}}],"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-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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"CWE-327","shortDescription":{"text":"CWE-327"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":4,"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."]}]}