{"$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":"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":"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":"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":"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":"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"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","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-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","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-1059"],"owasp":"A02:2025"}},{"id":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"},{"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":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"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":"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":"D1","level":"warning","message":{"text":"applier.ApplyLayers (cyclomatic 37): applier.ApplyLayers has cyclomatic complexity 37 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/applier/docker.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"345976b709e037fe17a1f001f5333019f68c1e96f097c1db9024764df9a0896a"}},{"ruleId":"D1","level":"warning","message":{"text":"funcs.parseIPv6 (cyclomatic 26): funcs.parseIPv6 has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/ip.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d9d862857cd4827454744cd5ee4cc245f3d5c2ba3ef79a4eac33509e7f8d7"}},{"ruleId":"D1","level":"warning","message":{"text":"registryResolver.Resolve (cyclomatic 24): registryResolver.Resolve has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/registry.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cd1dcf725def91d3a6f566c2291c363f9e7184259fcf2271a517db81889bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseRoot (cyclomatic 23): Parser.parseRoot has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c2f9c96387dabf015b7a5c7ad21d5cf61307429304bb9a0b38a91466311afb"}},{"ruleId":"D1","level":"warning","message":{"text":"terraform.RewriteExpr (cyclomatic 23): terraform.RewriteExpr has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"a567c5f9e37d0bbeab1cb9d94281f578e5ead6fb634b0a594d16972863f83a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"cargoAnalyzer.removeDevDependencies (cyclomatic 20): cargoAnalyzer.removeDevDependencies has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/rust/cargo/cargo.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ff03edfee19f0795827cd5075dfde22ddf52649b8db48406591df8b6f8a4f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportFlagGroup.ToOptions (cyclomatic 20): ReportFlagGroup.ToOptions has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/report_flags.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e13f581b960bc8675f716ff5a708143306277217e38dfb87c6ee65f85171305"}},{"ruleId":"D1","level":"warning","message":{"text":"iam.parseStatement (cyclomatic 20): iam.parseStatement has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/convert.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf85e3bf374470317b376730817d13f34ee1c378c9f513a09c5fd06dc74cb542"}},{"ruleId":"D1","level":"warning","message":{"text":"io.fillPkgFieldsFromComponentProps (cyclomatic 20): io.fillPkgFieldsFromComponentProps has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/decode.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e738b9fce366f92ab9c3a0c0b5433b8e3ea0bfc6fdd24d9f24bc224ffe0aa4f"}},{"ruleId":"D1","level":"warning","message":{"text":"alpinePkgAnalyzer.parseApkInfo (cyclomatic 19): alpinePkgAnalyzer.parseApkInfo has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/apk/apk.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d602e49cb707ebde35257f4b32ff17ed7bc56b93d42be04bbbad7e1ed1de0"}},{"ruleId":"D1","level":"warning","message":{"text":"Flag.Add (cyclomatic 19): Flag.Add has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74b8a836d36fe9df38af3e9bd875a665b2bfc09553ff78fd2f42f6bcecb9dd1"}},{"ruleId":"D1","level":"warning","message":{"text":"secretRenderer.renderCode (cyclomatic 19): secretRenderer.renderCode has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/secret.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"002ec0156923b51576d7ccba123010f453696a16514864954b7cc27e62513512"}},{"ruleId":"D1","level":"warning","message":{"text":"clean.Run (cyclomatic 18): clean.Run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/clean/run.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12c64e6daeccb4e1523f2df440a161808d229caf8fe656a00c0d4d8a8b3025"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.traverseZip (cyclomatic 18): Parser.traverseZip has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c60b5e7441f099a3e957c2d387f7946a3761d3443a976e6abb6c0327153002"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseV2 (cyclomatic 18): Parser.parseV2 has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca370e21d5cec60fc4543139d12f98162a07f6e2ecc3af7ea9c021a4a877c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.parseBlock (cyclomatic 18): Parser.parseBlock has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/yarn/parse.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7651b0ee434196b765afac2295ace1c5175d735faf9caa0ac4dcaa5167cb81"}},{"ruleId":"D1","level":"warning","message":{"text":"sealSecurity.Match (cyclomatic 18): sealSecurity.Match has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/library/seal/seal.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c2ef7d078a37b22e5ebb59e20728b341ed03a69bd106ebbcb42313b61afdd8"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.Align (cyclomatic 18): Options.Align has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b4300aa7d6fd854f1e3f04166b2e08a32448ead47b3ca4e3c8de6472d1b57"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticMetadata.populate (cyclomatic 18): StaticMetadata.populate has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/metadata.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6930b419ae92b372cd90ce61e158c1ad26a9ed4328123a2af6b6ab7d9cdf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"Value.UnmarshalJSONFrom (cyclomatic 18): Value.UnmarshalJSONFrom has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/value.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2d47e15688cb26d657bf1119dfc4caf329a9b4cd7eda380e50598a75579f03"}},{"ruleId":"D1","level":"warning","message":{"text":"expression.NewLexer (cyclomatic 18): expression.NewLexer has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 22). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/licensing/expression/lexer.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68bad4f0c677007be1fce97dbe72f35daca6a4d06dcb8ebb4b147cad3a60092"}},{"ruleId":"D1","level":"warning","message":{"text":"module.newWASMPlugin (cyclomatic 18): module.newWASMPlugin has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a6a6e3a51f54b9764919df540f1c675e9f15fe49fda8bd116d5307136d385f"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.Parse (cyclomatic 17): Parser.Parse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/mod/parse.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ddba43e9f9ed2c2b466f9d19fd0b5ae2c957e492c86f67e1bc0b2a6e7677c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.fetchPOMFromRemoteRepositories (cyclomatic 17): Parser.fetchPOMFromRemoteRepositories has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"941938e5cca4825eb59d7ce3361dbf3ddb253c3f1847dc5a2f08f66d6eaad8f0"}},{"ruleId":"D1","level":"warning","message":{"text":"Artifact.Inspect (cyclomatic 17): Artifact.Inspect has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/local/fs.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"308e84e329fcfe7e2a843de814165f87fab002ac2a6fbfc16d42f54d51fd738a"}},{"ruleId":"D1","level":"warning","message":{"text":"adapter.adaptQueues (cyclomatic 17): adapter.adaptQueues has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/sqs/adapt.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"586078c664b3f4c3f2894eed42a1b65eb72bb5b05e81554654b3a7e9c16dda4f"}},{"ruleId":"D1","level":"warning","message":{"text":"storage.adaptAccounts (cyclomatic 17): storage.adaptAccounts has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/storage/adapt.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70817fac03ffbdd02e5c770d5821802f91c5ed5febdf06c3594920590299ff2"}},{"ruleId":"D1","level":"warning","message":{"text":"Node.subtree (cyclomatic 17): Node.subtree has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dcab61c62f610c443707268646e39b4029d8cda93b80136e5bd36663834803"}},{"ruleId":"D1","level":"warning","message":{"text":"Property.EqualTo (cyclomatic 17): Property.EqualTo has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_helpers.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"214d22adbf5830d2def1ae71616cee9a7356c17f280af6fd60e5b6bb5ad7c7dd"}},{"ruleId":"D1","level":"warning","message":{"text":"funcs.parseTimestamp (cyclomatic 17): funcs.parseTimestamp has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/datetime.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66b4167ddb346711816dfb457d9a104468ef45b4b44ad164d5813756889fec3"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner.Scan (cyclomatic 17): Scanner.Scan has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc89d7199aa4ac6c4058d48755f61aeec833886618f24d5a4d9e128ee86495"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner.scanK8sVulns (cyclomatic 17): Scanner.scanK8sVulns has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b103bb5907499a4b6474f1bc0a4435df3fd9389373235f1b6f5b70e4b4fa124a"}},{"ruleId":"D1","level":"warning","message":{"text":"misconfigRenderer.renderCode (cyclomatic 17): misconfigRenderer.renderCode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d97abad0ec4ed131b120e13eb4036a1774ad65b08d3fe670faac9495ef9fb6f"}},{"ruleId":"D1","level":"warning","message":{"text":"SPDX.parsePackage (cyclomatic 17): SPDX.parsePackage has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/spdx/unmarshal.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7855ba52a7ba3bbcb97bc8c8a0a5c4d6f4d45f6a582b5549a025f27aea500d"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.initScannerConfig (cyclomatic 16): runner.initScannerConfig has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c962943ebbd3a6634758387fe594f8d48817f25e54656a08461eec7bcdb22e42"}},{"ruleId":"D1","level":"warning","message":{"text":"walker.walk (cyclomatic 16): walker.walk has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/pkcs12/parser.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b946375cc85568043fc771affce06fbcadd88b74fab8bd826186ed6277cc386"}},{"ruleId":"D1","level":"warning","message":{"text":"x509.parseDERObject (cyclomatic 16): x509.parseDERObject has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/x509/parser.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8411d9cf5b154da9299d4b5d87c37f9e3660f66566aca7beddf383d617e1c40"}},{"ruleId":"D1","level":"warning","message":{"text":"pom.resolveMirrors (cyclomatic 16): pom.resolveMirrors has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/mirror.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02792a7e8ca5fc117cdcdc8d78ef1b024128a8e3ff00f455dc7f5befde3fe3d"}},{"ruleId":"D1","level":"warning","message":{"text":"dockerfileAnalyzer.Analyze (cyclomatic 16): dockerfileAnalyzer.Analyze has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/buildinfo/dockerfile.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b40e6036dd21a8ea443dde0913c9612c9f1d13c42d3f03bd91d432526e3ee"}},{"ruleId":"D1","level":"warning","message":{"text":"mod.findLicense (cyclomatic 16): mod.findLicense has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd7c69657b8621292c09e831772b208ab71d4920b030009f41812cc5762b416"}},{"ruleId":"D1","level":"warning","message":{"text":"sql.adaptFlags (cyclomatic 16): sql.adaptFlags has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/sql/adapt.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320796901ccc97040a905c55c47f2b3dff7df799ff82c8252b6fc764c7e6a20"}},{"ruleId":"D1","level":"warning","message":{"text":"detection.detectKubernetes (cyclomatic 16): detection.detectKubernetes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d689664533189850b53d0bd85c66cd9411dbc15348d35ce3f987dd7aaf55e49a"}},{"ruleId":"D1","level":"warning","message":{"text":"inventory.ParseINI (cyclomatic 16): inventory.ParseINI has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/ini.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7d0797b0443003fd92ba11a825a909db1ff54b78da07f21e3035cc7a4c888b"}},{"ruleId":"D1","level":"warning","message":{"text":"Parser.ParseFile (cyclomatic 16): Parser.ParseFile has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/parser.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d758e97eb9e252576760c341c4cc1d5ef44da9bb8b74f3ba61d8db75b93dad"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluator.expandBlockForEaches (cyclomatic 16): evaluator.expandBlockForEaches has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce96efbc015d941bacec3e9c33dfea2b84dd001415b5b5a0b77e812c1b551f3"}},{"ruleId":"D1","level":"warning","message":{"text":"funcs.MakeTemplateFileFunc (cyclomatic 16): funcs.MakeTemplateFileFunc has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 98, 157, 82, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/filesystem.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea94339b75e1a8c3bc1c4111565eb7686a0092156cce352f4f191ea76ff33ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Attribute.getStringValues (cyclomatic 16): Attribute.getStringValues has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"764dcf28be49e676f6e0eae002f661c5e4732b0fc9f04df108dbfe31791de4ec"}},{"ruleId":"D1","level":"warning","message":{"text":"module.deleteResults (cyclomatic 16): module.deleteResults has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 615, 624). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"057e438b365c29e59891124d7bb9a8e486ca4fcbbf9ec01168b5dbfd131a3e15"}},{"ruleId":"D1","level":"warning","message":{"text":"Marshaler.Marshal (cyclomatic 16): Marshaler.Marshal has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/spdx/marshal.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4c5ec2122dd730d98c4d1d32414ddeecec0a8517783f82f5575d35ea9c31c4"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.adaptAccounts (cognitive 54): storage.adaptAccounts has cognitive complexity 54 (threshold 15). Drivers by points: if/else 9 (36 pts), loops 6 (16 pts), boolean chains 2 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/storage/adapt.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a7af72a021a6c87211bee2ed807fc6feec36cd42ed7c359258e9b4b1e5d5ba"}},{"ruleId":"D2","level":"warning","message":{"text":"applier.ApplyLayers (cognitive 52): applier.ApplyLayers has cognitive complexity 52 (threshold 15). Drivers by points: loops 16 (28 pts), if/else 10 (21 pts), match/switch 2, boolean chains 1 (nesting depth added 23). Of this number, 49 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/applier/docker.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1f2b9ab3035a83bb48ac5d3a8c8e23ea1e2e01bdcf2a8c83450b18626fa41f"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseRoot (cognitive 45): Parser.parseRoot has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (39 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"779054fe80a1d38469bcf3c6f5c909fd1f94ee8c52403e2b3f1e5746fd049318"}},{"ruleId":"D2","level":"warning","message":{"text":"funcs.parseIPv6 (cognitive 43): funcs.parseIPv6 has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/ip.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c8a3e268e89f626f2ae082e2344e69ccd63da610269ab6c1bfecf23d63e83a"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.scanK8sVulns (cognitive 42): Scanner.scanK8sVulns has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (39 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f46c11f83a3799bdbe8ea4b50c4a218d99051f633ee89d7dbf2b161a1d536f"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.fetchPOMFromRemoteRepositories (cognitive 38): Parser.fetchPOMFromRemoteRepositories has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (32 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e17a88a0fb14ba54be8be807ec641719604eb556d404ef5687e2154b5220ca"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptQueues (cognitive 36): adapter.adaptQueues has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 3, boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/sqs/adapt.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1f7bf566235ec08da2ed51e648707e0668c67852a95f3ff1a3a441df44bb1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 35): Parser.Parse has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 5 (11 pts), match/switch 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/swift/cocoapods/parse.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1332e3813a76a2ea30850cea5360885e0de5783ca1ce8d0cd5f3fccf3ceecdae"}},{"ruleId":"D2","level":"warning","message":{"text":"ec2.getRules (cognitive 35): ec2.getRules has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (33 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ec2/nacl.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"629af4c1355ba142eb86743134aa15dad2eb58d157a1453c17d337ae2b536d24"}},{"ruleId":"D2","level":"warning","message":{"text":"spaces.adaptBuckets (cognitive 35): spaces.adaptBuckets has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 5 (10 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/digitalocean/spaces/adapt.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"603eca4c468bb983eb2749d52eb0e0090e15fa0afb8f56fcb2cb7933c0c88721"}},{"ruleId":"D2","level":"warning","message":{"text":"rego.BuildSchemaSetFromPolicies (cognitive 35): rego.BuildSchemaSetFromPolicies has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/build.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3c4d06d56b164d0cef8409eb3be006d3771be20353a2d6073f9fb76cbf4fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Detect (cognitive 34): Scanner.Detect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (11 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/rapidfort/rapidfort.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc07c5fda0481e514fccf4bd877ea9648068b0a6f524237b58e8f561023773f"}},{"ruleId":"D2","level":"warning","message":{"text":"Flag.Add (cognitive 34): Flag.Add has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2 (8 pts), boolean chains 1, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03a31cd18c1c2bcf11662df7b0278190d13e56407790f8f07f27997d3e37b47"}},{"ruleId":"D2","level":"warning","message":{"text":"http.colorizeHTTPDump (cognitive 34): http.colorizeHTTPDump has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/x/http/trace.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"983eae1f629dbce967d1979bea70b856be50604aec158d4de80e184716db4139"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseV2 (cognitive 32): Parser.parseV2 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"710d6947fd513e58b0e990f79c9211337b4e019fb0f3e25bc8eb728ecccb847a"}},{"ruleId":"D2","level":"warning","message":{"text":"dockerfileAnalyzer.Analyze (cognitive 32): dockerfileAnalyzer.Analyze has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (10 pts), match/switch 2 (8 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/buildinfo/dockerfile.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe23719bbe53031b7d837cb339fa17ca8da12bd0a9fd5f81b80de2f646933ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.subtree (cognitive 32): Node.subtree has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3970ccdce81f2715e0c191ee726d539302e3c2c2d88fb4b2680045a8de241a"}},{"ruleId":"D2","level":"warning","message":{"text":"registryResolver.Resolve (cognitive 32): registryResolver.Resolve has cognitive complexity 32 (threshold 15). Drivers by points: if/else 22 (30 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/registry.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"97be4a55e8a8d51e39d77233d51d9f5ec119b50448b3ac02d3ab27fe87d87b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.traverseZip (cognitive 31): Parser.traverseZip has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (27 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8175d9e318da414112be8166774857421d2557a8fd620252e417e385b7b8b8dd"}},{"ruleId":"D2","level":"warning","message":{"text":"secretRenderer.renderCode (cognitive 31): secretRenderer.renderCode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (7 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/secret.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e7c49134fc22188c88a3e7b2099cb1b0cbd769dee080e8a96f0be4d45d6a41"}},{"ruleId":"D2","level":"warning","message":{"text":"compute.adaptInstances (cognitive 30): compute.adaptInstances has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/instances.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"441334b2fc3dbcd322bda4b43cb60792952f69890559bd9b70ab331a3eb32d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Marshaler.Marshal (cognitive 30): Marshaler.Marshal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 5 (9 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/spdx/marshal.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0c34c620cba1deda29ef1da3ee613cb46da41c9968368e4740ce36c3e60766"}},{"ruleId":"D2","level":"warning","message":{"text":"cargoAnalyzer.removeDevDependencies (cognitive 29): cargoAnalyzer.removeDevDependencies has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 5 (6 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 11). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/rust/cargo/cargo.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aacb1a489aa57bbb69f39e5ae97c374722b3a40dd0cae0e871267c92b492c15"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory.ParseINI (cognitive 29): inventory.ParseINI has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/ini.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6696fcce4dcd471a349fb2a6b56fd48baadfd3ec74196a6e39823edf37e5268a"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.resolvePlaybook (cognitive 29): Parser.resolvePlaybook has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed2890699c7dcb441a7848aae40ce825bbf7062fa8102af66686c2c13ed4b83"}},{"ruleId":"D2","level":"warning","message":{"text":"pom.resolveMirrors (cognitive 28): pom.resolveMirrors has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/mirror.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"605bb647b9eb1bf0f958db61477320706c79c0f20d791b7a463a2bafeadb224c"}},{"ruleId":"D2","level":"warning","message":{"text":"apigateway.adaptAPIsV1 (cognitive 28): apigateway.adaptAPIsV1 has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (10 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/apigateway/apiv1.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eaa93ab7cc3b2fe7f9de18b2ce4ed2080f5d11fd698b2d67ffb3a279bff9930"}},{"ruleId":"D2","level":"warning","message":{"text":"compute.adaptNetworks (cognitive 28): compute.adaptNetworks has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 6 (8 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/networks.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1097a627863b0dcde26bfc09c04d0a40cf827ee44f62a2837122f436a2074c"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute.mapContains (cognitive 28): Attribute.mapContains has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 15). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 499). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"26632a90b43f096e1eb5aadb23f3ea139f7776ddce171d79e1aa5c1fb9e598ac"}},{"ruleId":"D2","level":"warning","message":{"text":"misconfigRenderer.renderCode (cognitive 28): misconfigRenderer.renderCode has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (7 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bad9ee4ee1c5ba96ffea7aaf50ee82d5459dc32a0ac9be7caa8a58ed4c87fb"}},{"ruleId":"D2","level":"warning","message":{"text":"walker.walk (cognitive 27): walker.walk has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (24 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/pkcs12/parser.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7acac4bfc4155113b33f71819027e8789b6e174db533a8405624bd98cc8c7f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseBlock (cognitive 27): Parser.parseBlock has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/yarn/parse.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"486aea5fce490b991efff50d4cb51b4662daaf308418399a0fff0a11193d5171"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 27): Parser.Parse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/ruby/bundler/parse.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc68d2f73f25184d0f5ec645bc9a19ec08d6f822536874850bace2801f21782c"}},{"ruleId":"D2","level":"warning","message":{"text":"module.updateResults (cognitive 27): module.updateResults has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (13 pts), loops 4 (11 pts), boolean chains 3 (nesting depth added 17). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 576, 590). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9bd63c6dccccfa0a80f3f30b8b20ba2c0e3987e7c87f0baec2d826d612f0d0"}},{"ruleId":"D2","level":"warning","message":{"text":"module.deleteResults (cognitive 27): module.deleteResults has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (13 pts), loops 4 (11 pts), boolean chains 3 (nesting depth added 17). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 615, 624). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1c8100e15bcf9b648444265b42b1ba711d1133e71f8649e910f1032943c5c1"}},{"ruleId":"D2","level":"warning","message":{"text":"rego.isPolicyApplicable (cognitive 26): rego.isPolicyApplicable has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/scanner.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b0a38063a4b9c8e201f1aa0df71175d0d2f151584a9f8b995eca455aa0b22"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Scan (cognitive 26): Scanner.Scan has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1050e79e578f93d17b0a01eeaf7c32c1fdc4ce9c0076e1f50395f0a8ee1c4ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 25): Parser.Parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/mod/parse.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e755c3ce2a9af8bb65d76e048f472081b021f3c1186330e92e308174f44ade"}},{"ruleId":"D2","level":"warning","message":{"text":"ecr.adaptRepository (cognitive 25): ecr.adaptRepository has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ecr/adapt.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d227d53459693335ee879232eec38f0ac2ddb042fd6bcaf0d05d6b7ae158b5"}},{"ruleId":"D2","level":"warning","message":{"text":"detection.detectKubernetes (cognitive 25): detection.detectKubernetes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d445a5ffbd058a5e63ddac61f74d57a13b96124bc7df0b5a11ecc3d51f9ebb5"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 24): Parser.Parse has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/python/packaging/parse.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51ab789d2a89c2c9cf255bf0f09e7bcd71981290531a4f85f13f04f4518a999"}},{"ruleId":"D2","level":"warning","message":{"text":"rpmPkgAnalyzer.listPkgs (cognitive 24): rpmPkgAnalyzer.listPkgs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/rpm/rpm.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d6d951fd02094171a0fb1437d4da8a80a7008a41c2c804207695a6cfa43c1b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportFlagGroup.ToOptions (cognitive 24): ReportFlagGroup.ToOptions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/report_flags.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b266ece5fa74afb3311eaa899ca4d026a2133d2d01653c74bcbd575a818e4"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticMetadata.populate (cognitive 24): StaticMetadata.populate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/metadata.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28aa482e74dc8539754d30a1316ee45f7740c2ec740f0b57049012a922b9aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.clusterInfoToReportResources (cognitive 24): Scanner.clusterInfoToReportResources has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d904fd7b5de67fc74f68aeb41d5d0ff22322181c781f3c466e8e1262c1bcae82"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseV9 (cognitive 23): Parser.parseV9 has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 6 (9 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/pnpm/parse.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea48ea7e7ca029b47a2ff35918e89a2ebb954a4f7b47187c3c11d6f645d21b8"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptBucketPolicies (cognitive 23): adapter.adaptBucketPolicies has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/s3/policies.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6c223ac2f6d2ca78ea940ef5c3e31de2535bf6291ce7dafd94de66d1fdcf8"}},{"ruleId":"D2","level":"warning","message":{"text":"convert.StructToRego (cognitive 23): convert.StructToRego has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/convert/struct.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9716d188168c311fa0678ef1acdb986537e94a9741a2f3935cc123f38244dc9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.ScanInput (cognitive 23): Scanner.ScanInput has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/scanner.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bc66e05d1b98f3c374a025850897d1cc8de1bb977697a6f606191243cd9d74"}},{"ruleId":"D2","level":"warning","message":{"text":"scan.shiftANSIOverLineEndings (cognitive 23): scan.shiftANSIOverLineEndings has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/highlighting.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2ba3bbdb57059942aaee74802b204dbf090836b8012a37629b68961e0fd0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.render (cognitive 23): Node.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea871f5472f4bd6c68fcf19ccbaab0e57755bdc372dc8012886df45b0b8945f"}},{"ruleId":"D2","level":"warning","message":{"text":"Property.EqualTo (cognitive 23): Property.EqualTo has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_helpers.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a1b285138439a4068726b341730a3f31a3f2bd3c77260ba327d1bc10b51e71"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 23): Parser.Parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/dockerfile/parser/parser.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d84a5f443cb9dda875e97c99df77b2e2b02210f720ae62791da90521703f524"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute.getStringValues (cognitive 23): Attribute.getStringValues has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8ff8b5e56989857bbfb3236c5921d32a31a1a55506610d80e49806a6b6f5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"expression.NewLexer (cognitive 23): expression.NewLexer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 23 points belong to one function literal inside it that branches (line 22). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/licensing/expression/lexer.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec58709d58053bb991183e2ff235d7245bbb672b70b1c3bcfe8b2f3b588381ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer.Write (cognitive 23): Writer.Write has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/github/github.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daf1cf7d558f86143e22d4c56b3a81d8d43ae33d93975d364a16af8d905ab65"}},{"ruleId":"D2","level":"warning","message":{"text":"artifact.resolveAnsibleExtraVars (cognitive 22): artifact.resolveAnsibleExtraVars has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ac92244838c6a458739bc75efd16673a3c97d7d407917a4a530c15199438b"}},{"ruleId":"D2","level":"warning","message":{"text":"sealSecurity.Match (cognitive 22): sealSecurity.Match has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/library/seal/seal.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"257093c05bbcd7dece3a76d06eff4631dd52dbb7fe2f391e23d3a178cedde024"}},{"ruleId":"D2","level":"warning","message":{"text":"Artifact.Inspect (cognitive 22): Artifact.Inspect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/local/fs.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb77f6684edbd4a2cd5cfdc788f4fde91ec97f4170262812600d4c6edda50475"}},{"ruleId":"D2","level":"warning","message":{"text":"msk.getClusters (cognitive 22): msk.getClusters has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/msk/cluster.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cd40b904588f2989a6ec756fd03c7a618680f1711867b345098e21d9ce111a"}},{"ruleId":"D2","level":"warning","message":{"text":"iam.parseStatement (cognitive 22): iam.parseStatement has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/convert.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1a35324643983f8d874d56dee3b40bf209bf23d4c92f6a3bc82098c9ba0441"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory.LoadSourceVars (cognitive 22): inventory.LoadSourceVars has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/inventory_vars.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ef56918d5537459276580739e950314cb263040f157c830ed52674c5d393d2"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory.LoadFromSources (cognitive 22): inventory.LoadFromSources has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2a2c29c86864363c1a1145ddf84705a01d37d400bf30aacf08be7c59518572"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.ScanFS (cognitive 22): Scanner.ScanFS has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/scanner.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f36024e8dd01fa7da66d91bf05418a6010324c9f45f2d09b58c51f7d880e44"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Detect (cognitive 21): Scanner.Detect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/echo/echo.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fc9340cfbd15d5ebde86559af0650a58eabfe7bc400daddf741a53b6ae996b"}},{"ruleId":"D2","level":"warning","message":{"text":"builder.readStruct (cognitive 21): builder.readStruct has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/schemas/builder.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dad82ce8402cd530987198872d7cc13d16d70a35651b78192f97d091c181e19"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator.expandBlockForEaches (cognitive 21): evaluator.expandBlockForEaches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, loops 1 (nesting depth added 8). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 332). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b0a0208745f8d3e5c7d37c6fd1998ab1e97b25d2c3acef2b0348c41166c3bd"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator.getValuesByBlockType (cognitive 21): evaluator.getValuesByBlockType has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"c062a222e0adfe6ede376ca7164bb204124d51628223b4e634af36ac54510ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluator.localHasDynamicValues (cognitive 21): evaluator.localHasDynamicValues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ed81adda62278b0d4193f4ff9b269a300688a138c40ed201385628cc439f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"snapshot.parseSnapshot (cognitive 21): snapshot.parseSnapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraformplan/snapshot/snapshot.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a32ae8e9bcb2a353b69e1ab871ad9a9782c364eecc7597eb1fa33cf41add18"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute.GetRawValue (cognitive 21): Attribute.GetRawValue has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (12 pts), match/switch 3 (6 pts), if/else 1 (3 pts) (nesting depth added 14). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 75). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6705b9c5655af6be7b69c0cf7a1d06e89e0bc3dfea9a550e547393e7f52bb5e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Encoder.component (cognitive 21): Encoder.component has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9f1f7830dd8d8c64770a7a538d391a661d46c5d46272984202c323a9d3f04a"}},{"ruleId":"D2","level":"warning","message":{"text":"testutil.purgeMetadata (cognitive 20): testutil.purgeMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutil/util.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fc958b08417846b5f2a6c739c7cc4060d357f031b47dfb6d2314b30f6ade8b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.writeFlags (cognitive 20): main.writeFlags has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magefiles/docs.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c392174899e43b938229d01e4bd0558d5bae87998c6b6483961c0a2a638f5fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.detect (cognitive 20): Scanner.detect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/redhat/redhat.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ef2a1860beb8d63de7b9101490fe837c6c1762c588e7bc9509219f6d03f43"}},{"ruleId":"D2","level":"warning","message":{"text":"gomodAnalyzer.fillAdditionalData (cognitive 20): gomodAnalyzer.fillAdditionalData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (3 pts) (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2cf8a5eaea18b5648bb6c8bb139d5999592cefbaf837498dcb918ea1a6d4bb"}},{"ruleId":"D2","level":"warning","message":{"text":"apkRepoAnalyzer.Analyze (cognitive 20): apkRepoAnalyzer.Analyze has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/repo/apk/apk.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef9773de4461fc70e331821e294176bc73afaf1871cfe5d3c3bb83a4375356d"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.scanChunk (cognitive 20): Scanner.scanChunk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/secret/scanner.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7c4c85fbed4d224d4f2ce9780c065001c3b23003dba85d7c568a739e68dbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoIdentity.AlgorithmParameters (cognitive 20): CryptoIdentity.AlgorithmParameters has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/crypto_descriptor.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e01b885e431338f46e52744ee18b1433284a6a6610e346e11d541d7d0868d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoAssetInfo.Validate (cognitive 20): CryptoAssetInfo.Validate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/crypto.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cea04c6167d2d39fa2f3a9fab99c53a483cd5408385ee525b5597492d6e95a"}},{"ruleId":"D2","level":"warning","message":{"text":"LayerTar.Walk (cognitive 20): LayerTar.Walk has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/walker/tar.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"28171662db9019caf1f58f9d5eb9d2799176c341fbeda1f6de3982ecfb55556d"}},{"ruleId":"D2","level":"warning","message":{"text":"msk.adaptCluster (cognitive 20): msk.adaptCluster has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (20 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/msk/adapt.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f23541cd66bf09bd0412cc5515c75852595e14b643a97724430b4bf93436640"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptPublicAccessBlocks (cognitive 20): adapter.adaptPublicAccessBlocks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/s3/public_access_block.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9468e1bd4044315e4e861e962b9c918fe96074b9b8fe9647e4878834d802743"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptBindings (cognitive 20): adapter.adaptBindings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/iam.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b88b4c053160be0c70d984aa7efbf5046f3a8bc79e48bd20cd2ecde85d7f7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Value.UnmarshalJSONFrom (cognitive 20): Value.UnmarshalJSONFrom has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/value.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7d7f6057879ab97022a81350f83b35441f46dfd0f2e697123fe46891586cca"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.expandProperties (cognitive 20): parser.expandProperties has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/file_context.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cf4a9e056d71320162b2843afc5c2f24688d450519164c761ab6d9046bfb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Marshaler.ratings (cognitive 20): Marshaler.ratings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/marshal.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eadb6151176bbbca1e41e4d6e6c2937de9b5d7e6799f20fd69d49fdc62e9b12"}},{"ruleId":"D2","level":"warning","message":{"text":"testutil.DecompressSparseGzip (cognitive 19): testutil.DecompressSparseGzip has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutil/gzip.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a5e72e58100f937207267072f87cc094b533b2c8090da700b3b11ac5156a00"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.initScannerConfig (cognitive 19): runner.initScannerConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5880be9e5d849364ecfa5f2a52e55bbcf2bca4f9b449c8ff37756e7582c6a2c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Detect (cognitive 19): Scanner.Detect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/debian/debian.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b4be352a82e7323e7b77bdd433b65965406f6106db0be63c6918ea6913279"}},{"ruleId":"D2","level":"warning","message":{"text":"analyzer.NewAnalyzerGroup (cognitive 19): analyzer.NewAnalyzerGroup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/analyzer.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4b47cb12fabc7de95849061f00a0f6134d765b898c63cc815085a2da360f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"types.parseDescriptor (cognitive 19): types.parseDescriptor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/crypto_descriptor.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4a57c793c5c955baa70025905c8ccd67e9718ae760d480e4d0eae17e4374a8"}},{"ruleId":"D2","level":"warning","message":{"text":"funcs.parseTimestamp (cognitive 19): funcs.parseTimestamp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/datetime.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"35257ebb4b67df7ed5d7ab157295b4763301e32c5d8ab48446c90488f8d1f9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"module.newWASMPlugin (cognitive 19): module.newWASMPlugin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a0ca8e6ed3b31d635995bbd9af6189a7f13fda3647a408f5b48ad6c5ea464"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Scan (cognitive 19): Service.Scan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scan/local/service.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde3821d1f91b31a2e09d984323b42698acc587d3cb197e70eaf3c4bf847d8e6"}},{"ruleId":"D2","level":"warning","message":{"text":"version.NewVersionInfo (cognitive 19): version.NewVersionInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/version/version.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cd4345e6d189516b850a4c5b62f1ff02d78f7342b3d55ce7e91d9da954ff56"}},{"ruleId":"D2","level":"warning","message":{"text":"vex.New (cognitive 19): vex.New has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/vex.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d1d97932bf211c23cb2e6abafef2f0a2c5352d2b4435cd1e98da60285d47a8"}},{"ruleId":"D2","level":"warning","message":{"text":"clean.Run (cognitive 18): clean.Run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/clean/run.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934db162310bbf45900fe6c9f93530b71541c6bd3721574f08f22a95d7e90ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.resolveLinks (cognitive 18): Parser.resolveLinks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3542f96b761da02d633b5f7c1a26bf7a87899afc8a94e23d2183880953f56cb"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzerGroup.PostAnalyze (cognitive 18): AnalyzerGroup.PostAnalyze has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/analyzer.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c274291daa658b53b5148012a299b105a628c2027848abdd831c8c5d027b73ae"}},{"ruleId":"D2","level":"warning","message":{"text":"image.getOCIImage (cognitive 18): image.getOCIImage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/oci.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25c26c7178ecd176d8830b68a5ab7cfda2b32c8f197e1860867c9d8dc24f10a"}},{"ruleId":"D2","level":"warning","message":{"text":"CryptoDescriptor.validateKindKeyTypeMethod (cognitive 18): CryptoDescriptor.validateKindKeyTypeMethod has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/crypto_descriptor.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c7a7b40440c3fbe58663d1a20f0a80ffffd783d122c908c26bbfb9715e6edc"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.Align (cognitive 18): Options.Align has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23546283d967206d6c0296e78f987286bd9f1dbf38d48244216fa5f93acbc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ec2.getInstances (cognitive 18): ec2.getInstances has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/adapt.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c87dfffc203bab3ca0ab378a69eb97d825962a5747171940f749c217b8589e"}},{"ruleId":"D2","level":"warning","message":{"text":"iam.ConvertTerraformDocument (cognitive 18): iam.ConvertTerraformDocument has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 6 (7 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/convert.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f943bde6715486c3e868f47455525cfc254b963510e5b78584cd7ea7b11ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"s3.applyForBucketRelatedResource (cognitive 18): s3.applyForBucketRelatedResource has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/s3/bucket.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b827cd9813f70c292895ac22b339328d69b45f548a985aac5ef3758cc0b396"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptQueue (cognitive 18): adapter.adaptQueue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/sqs/adapt.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7ffc516fa40030a3477479723b9ba58325fa04aa71dbb85d3de06de973a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"container.adaptCluster (cognitive 18): container.adaptCluster has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (18 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/container/adapt.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a94e17115c4f1f4c9745f796027f7c757f6efd6dfd4b84362d0ebe5d5db01"}},{"ruleId":"D2","level":"warning","message":{"text":"compute.adaptFirewallRule (cognitive 18): compute.adaptFirewallRule has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/networks.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b015d9e44ec1bf692a3441eb4782ac9bdbbe8e00ec4aea0cdfbaa9d7229b53c"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.convertResults (cognitive 18): Scanner.convertResults has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/result.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e75be773731b1e74fb93fc52901337cd1dd2c64040655339724be1f00e7d12"}},{"ruleId":"D2","level":"warning","message":{"text":"Parameters.UnmarshalJSONFrom (cognitive 18): Parameters.UnmarshalJSONFrom has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/parameter.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f39db0ee5e553106b4109748121a3e44f3bcb7fe8d1bce718e64c48470b34"}},{"ruleId":"D2","level":"warning","message":{"text":"Property.inferBool (cognitive 18): Property.inferBool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c93360d89f5b04011af886df7335cfa1a74e20995f4363ee3ca55b6b6c6f34d"}},{"ruleId":"D2","level":"warning","message":{"text":"Resource.inferBool (cognitive 18): Resource.inferBool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/resource.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ecb5915bfe048a5e40630c8467b6d16611dfda55c14e2a8a7e991520a4de9"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.ignoreByParams (cognitive 18): executor.ignoreByParams has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/executor/executor.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1a8208a7dd541285950e7c91a58247a9e09bc0833bf946d6307aaeb4faf741"}},{"ruleId":"D2","level":"warning","message":{"text":"funcs.MakeTemplateFileFunc (cognitive 18): funcs.MakeTemplateFileFunc has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3, boolean chains 2 (nesting depth added 3). None of this is in the body itself: all 18 points belong to 4 function literals inside it that branch (lines 98, 157, 82, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/filesystem.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78a20d9e105ea6db5d6032d9b6ccadfc287d31263cef18dceacc4d53bf67159"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.ParseFS (cognitive 18): Parser.ParseFS has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/parser.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"17798775a41531a47bfd54305d090745fa657e8db99c919e3b5f127e02b1d51e"}},{"ruleId":"D2","level":"warning","message":{"text":"terraform.NewBlock (cognitive 18): terraform.NewBlock has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (6 pts), match/switch 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/block.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05935cd16013b3ffba96b0299a72bf314e410e5662f6d48d7f7412cc42fe970"}},{"ruleId":"D2","level":"warning","message":{"text":"Module.GetReferencedBlock (cognitive 18): Module.GetReferencedBlock has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/module.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd95b4b5ac9b29a2fb2c63ac2af69a08fbe5d1f9e45261e8aeaf1be4facddef6"}},{"ruleId":"D2","level":"warning","message":{"text":"Module.GetReferencingBlocks (cognitive 18): Module.GetReferencingBlocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/module.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cd6dc7a1dbf8cf73ec80370f85f0eb4485759e76b5b89cd5a18c3263f48c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline.Do (cognitive 18): Pipeline.Do has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (5 pts), match/switch 2 (5 pts) (nesting depth added 8). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 60, 80). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/parallel/pipeline.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5005bb5dad04e855428244577d3ea388761e297caa63787111a5021cce82d52"}},{"ruleId":"D2","level":"warning","message":{"text":"SarifWriter.Write (cognitive 18): SarifWriter.Write has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (9 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/sarif.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59299a814ed5a3ffb157d53e1cda575726374a0243a3dc88d57f8c305dfcca"}},{"ruleId":"D2","level":"warning","message":{"text":"SPDX.parsePackage (cognitive 18): SPDX.parsePackage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/spdx/unmarshal.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1089bb6857d0d796d6405367653215df7503056dc2637f12f88bfc4ce7eb95"}},{"ruleId":"D2","level":"warning","message":{"text":"pom.resolvePomRepos (cognitive 17): pom.resolvePomRepos has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/repository.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"125c6eb9deca08c55da53a73fa07b9733ca2b759ce602886cd81f6111c01cbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"pom.listProperties (cognitive 17): pom.listProperties has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (6 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/pom.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cce91d4ba919eaef73ef058c9ddd4dafb690f6b00bafe2fa6985fd01ce152d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 17): Parser.Parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/julia/manifest/parse.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7221a02af44ee81af7ab89d6dd1474e3a68421c500cf96cc4fb910bfd23e8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.Parse (cognitive 17): Parser.Parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nuget/lock/parse.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"472cf12e01444fb635265f5121a9c83f65f624743fbb203bb6577b11ace3e797"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyzerGroup.AnalyzeFile (cognitive 17): AnalyzerGroup.AnalyzeFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/analyzer.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2fa2887188682fff660e97ba18fa5bdd7362d9d19d13edf7671aece4977fad"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisResult.Merge (cognitive 17): AnalysisResult.Merge has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/analyzer.go"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"919038c249ba073c8cb7044e8bd54aec5e88844c3cd500360bdfcb13a275b676"}},{"ruleId":"D2","level":"warning","message":{"text":"alpineCmdAnalyzer.parseCommand (cognitive 17): alpineCmdAnalyzer.parseCommand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 4 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/imgconf/apk/apk.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b74253d18380f96caf0b34a8e15a80bb9707dbeb3af95ea8bf71b4835bca732"}},{"ruleId":"D2","level":"warning","message":{"text":"cargoAnalyzer.parseRootCargoTOML (cognitive 17): cargoAnalyzer.parseRootCargoTOML has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/rust/cargo/cargo.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"097cc2fc44905b727f783292ce333e994845873b524d93222082f42858a74499"}},{"ruleId":"D2","level":"warning","message":{"text":"sam.setFunctionPolicies (cognitive 17): sam.setFunctionPolicies has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/function.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78ed8e8aaff055e8cd10ed62ffcc6349e32f429ad00f677745ad54ec43fe85c"}},{"ruleId":"D2","level":"warning","message":{"text":"ec2.adaptVPC (cognitive 17): ec2.adaptVPC has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/vpc.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfd83385616deeabc68d49c10a37451035111e1aeed792d7244ebc66864f6c"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptBuckets (cognitive 17): adapter.adaptBuckets has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (7 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/adapt.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b225349daefde98734703b0dc80f3d8370485458a27e49071d9c8864e277f"}},{"ruleId":"D2","level":"warning","message":{"text":"kubernetes.adaptNetworkPolicy (cognitive 17): kubernetes.adaptNetworkPolicy has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 3 (5 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/kubernetes/adapt.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc6ce308f9a73aad695992ba9017e61a593ad29b8f8439e4d806b55225c654c"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.ResolveFindInMap (cognitive 17): parser.ResolveFindInMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/fn_find_in_map.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f90157e84e6346ca4b44619d6adf70f9fe9b979c9699ed1a2281aa16dc179f"}},{"ruleId":"D2","level":"warning","message":{"text":"Property.Contains (cognitive 17): Property.Contains has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_helpers.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8191178a72dd04ae04f5db761b43441e301f6897ef834dcdf93f8006ad25ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"funcs.MakeToFunc (cognitive 17): funcs.MakeToFunc has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 6). None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 59, 38). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/conversion.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c338489778072c55b98be7bce88af424c426e7862f0205e32a11b93f68588c12"}},{"ruleId":"D2","level":"warning","message":{"text":"counter.countBlockRecursion (cognitive 17): counter.countBlockRecursion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/sort.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c27ea3d9a99f42a9b753902320385ca7ca4007695a1726107f8178eb001d4"}},{"ruleId":"D2","level":"warning","message":{"text":"State.Merge (cognitive 17): State.Merge has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/state/merge.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acb738f9e2a34bf7c8a6d0c8418ae702e18e78b6bb2fce452d6b9ba8fd00196"}},{"ruleId":"D2","level":"warning","message":{"text":"misconf.CreatePolicyFS (cognitive 17): misconf.CreatePolicyFS has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/misconf/scanner.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38cf2faedd87dbd10abcc90e0df9b3a30729968be52e174e77a59d8c615bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"Decoder.decodeComponents (cognitive 17): Decoder.decodeComponents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/decode.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7f7a775b35c1fdb0bcb9a0405e54b9c031d001598f88866251e1ebd92fa90"}},{"ruleId":"D2","level":"warning","message":{"text":"jsoncParser.processNormalToken (cognitive 17): jsoncParser.processNormalToken has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (3 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/x/json/jsonc.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc54dd4a65e13d93c12cedcea5d7874e028fc2a5e05d300352e25aa31dc45a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.fixtureTerraformPlanSnapshots (cognitive 16): main.fixtureTerraformPlanSnapshots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magefiles/terraformplan.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"63088714ef87514ce35d1075c31dbd8a9c46e4dfdf198af01bfff9784e60298c"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseV1 (cognitive 16): Parser.parseV1 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/c/conan/parse.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2348185ffdcfb4c53f8307be28315589563a31a031a7b49f8a19f03cbf28144a"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseV1 (cognitive 16): Parser.parseV1 has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b6645a25335b0072afb03f7d078fa8f4bc1281a979ee0c3800e25576d90879"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Detect (cognitive 16): Scanner.Detect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alpine/alpine.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"032fd1e312834b7ebd4c730a42b5cd07898d35a3456bbff515bc3772d15caf62"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.Detect (cognitive 16): Scanner.Detect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/ubuntu/ubuntu.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae78c87a76f65e6ee6105e49f6b08a49fc78fe0cf372b61d2e5f58bd9d0d5d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"alpineCmdAnalyzer.guessVersion (cognitive 16): alpineCmdAnalyzer.guessVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/imgconf/apk/apk.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15fe97c84884794f5bc5ea0cca3a191fdbb73c3dd4f0104ba7534726d76df84"}},{"ruleId":"D2","level":"warning","message":{"text":"mod.findLicense (cognitive 16): mod.findLicense has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 5). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"819fc55155a4fda0b7bf27154aadf561fde261ec5704f6039be24949362ca7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"eks.adaptCluster (cognitive 16): eks.adaptCluster has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/eks/adapt.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f72ee2a202d22ecce7cad2947c32cec887ef2f633e3c90060287b569340e7"}},{"ruleId":"D2","level":"warning","message":{"text":"adapter.adaptBucketResource (cognitive 16): adapter.adaptBucketResource has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/adapt.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3576d2c1d55998dffd1672104e8299d320747820727d9a8aed94ef9a2c55db7c"}},{"ruleId":"D2","level":"warning","message":{"text":"rego.LoadPoliciesFromDirs (cognitive 16): rego.LoadPoliciesFromDirs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 82). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/embed.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"195b3dd309ff56b2a58f3991692397cbf8f63c20ba0deb02d43377a90827823e"}},{"ruleId":"D2","level":"warning","message":{"text":"rego.parseCause (cognitive 16): rego.parseCause has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/result.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dbcadf44b76851cb62826d9b126a5ddbbf741ef3093332cace910d0b81e16c"}},{"ruleId":"D2","level":"warning","message":{"text":"inventory.splitFields (cognitive 16): inventory.splitFields has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/ini.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41750b2851c045d5362b5442beb8228fa4c990c372a0d694f56348ff94ee11d"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.ParseFile (cognitive 16): Parser.ParseFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 2, match/switch 2 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/parser.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84feb2b8dc2301ef541ce68e79a7359fe5d26d07e9e5e79dc0e13cecadab431"}},{"ruleId":"D2","level":"warning","message":{"text":"ValueOptions.MergeValues (cognitive 16): ValueOptions.MergeValues has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/parser/vals.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a7602a317a9c443bc42321956a12ed072f6df3720b77e621c59c5223b589e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.scanChart (cognitive 16): Scanner.scanChart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9972fc2c18a8d3197f8e843268c1af5d2be23379c0ffbadc27eb8d8088acbb8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner.findModules (cognitive 16): Scanner.findModules has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/scanner.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"81fd80e2f33f4e9157c925e7e7fe7d197288f4d2add68841624374a901ef3bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"commands.clusterRun (cognitive 16): commands.clusterRun has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/commands/cluster.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35edb4285ec0f3639f3282324aebca6eede83a5a080a47a5683590b1a4874be"}},{"ruleId":"D2","level":"warning","message":{"text":"licensing.SplitLicenses (cognitive 16): licensing.SplitLicenses has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/licensing/normalize.go"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56a445f35ffb8bbc4aeb4e06b03993c93dae1aa78f08c01c163c672d82675b6"}},{"ruleId":"D2","level":"warning","message":{"text":"parallel.WalkDir (cognitive 16): parallel.WalkDir has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (4 pts), match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 28, 62). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/parallel/walk.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7d7a531e0e09ea62efdfe74a985b422328200e03ed6e320c0554677b03722c"}},{"ruleId":"D2","level":"warning","message":{"text":"remote.tryGet (cognitive 16): remote.tryGet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/remote.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332f3913837f3f0754699c5cdf8dd7324d4e7294476a062bad342445ed6b08c"}},{"ruleId":"D2","level":"warning","message":{"text":"vulnerabilityRenderer.setVulnerabilityRows (cognitive 16): vulnerabilityRenderer.setVulnerabilityRows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/vulnerability.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c344eed82320e772c575e2ce9e25b7d7b6af26a155e692f9175d654664a06dee"}},{"ruleId":"D2","level":"warning","message":{"text":"Marshaler.marshalVulnerabilities (cognitive 16): Marshaler.marshalVulnerabilities has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/marshal.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e51e2f19fbf7f095753f53077b1d86e2003daf4f686184c9e39a4f66761644"}},{"ruleId":"D2","level":"warning","message":{"text":"BOM.parseBOM (cognitive 16): BOM.parseBOM has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/unmarshal.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eb4952b29e739e8979ad8c2382333646af97c639f64f34a6e875d3d7c1b828"}},{"ruleId":"D2","level":"warning","message":{"text":"Encoder.encodePackages (cognitive 16): Encoder.encodePackages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1da2ad31f8db9a1003eb8ac36e5019f987fb765485dbb41f3a3d56e16f724af"}},{"ruleId":"D2","level":"warning","message":{"text":"traceTransport.redactBody (cognitive 16): traceTransport.redactBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/x/http/trace.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7df8fc086672e4a6254f150803b189bd2d024b9e5de55086d595329bfa9c45f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: npm/parse_testcase.go: FileTooLong \u2014 1066 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 566 over it, 2.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse_testcase.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0057edeb7a0d6565b73b25f7330bbed7126ad3d2d6fbd3901e0b6d3348e1dce9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Property: TooManyMethods \u2014 63 methods, declared across 3 files: parser/property.go (28), parser/property_helpers.go (27), parser/property_conversion.go (8). The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a623a18fe708ddd809650bc78c19541206ae0ef32691e13d2ba98addad0b747"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/app.go: FileTooLong \u2014 1014 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 514 over it, 2.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9cc14308b7a56050a203b6511dda19f9f58ce7c5b8f9b4fee649ceee2f675b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpc/convert.go: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 507 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2fd986ab93f25a734f25252f1c9002910c825dd697ff848121c3d2372dedbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Block: TooManyMethods \u2014 50 methods, declared across 2 files: terraform/block.go (49), terraform/export.go (1). The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/block.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebae477552d0fcb72eb48de1e7a615d21841d4938c112e5c33916cebe518cbf1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Attribute: TooManyMethods \u2014 49 methods, declared across 2 files: terraform/attribute.go (48), terraform/export.go (1). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc65d630c73a787a42ba92d7d8c83ba33716443993c31be4f29f4c7ffc515e61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pnpm/parse_testcase.go: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 169 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/pnpm/parse_testcase.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11035054d341f6f1d4703cdf1dab10d98d44e60451598f65a82403d3b00a56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bun/parse_testcase.go: FileTooLong \u2014 666 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/bun/parse_testcase.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a60b55ebc50f907e20d915d4d52e0d55151a34c1d7a2ddf06c85cd119cf912"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: terraform/attribute.go: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Attribute (49 blocks, 23-874). The bar is 500 significant lines; this is 136 over it, 1.27\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceac9c6ca963db0daf5f8a2adfce1034eb6c8cd1769d3081edbb4cf32e163b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pom/parse.go: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: Parser (25 blocks, 94-1003). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd9798295cbf4df4bcb6a7c7ddbbf62c6f120e3b93246fdf281aaab6864c535"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: applier.ApplyLayers: FunctionTooLong \u2014 ApplyLayers runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/applier/docker.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"889575138dc51b2392afe801d7cbd37536df7e52ce0266e4979a214cf360a235"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parser.Functions: FunctionTooLong \u2014 Functions runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/functions.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc89e6729b5b68d6f36fc7d0e35c5d25aa7fe5e35ad6bfc0bcbab0e62f4edae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: licensing/normalize.go: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: mapping (17-453). The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/licensing/normalize.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9b5bcd95c7f45cf9a360daa8b8f82f6b292bd1d820d4a823f7530f0d6a56eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: commands.NewPluginCommand: FunctionTooLong \u2014 NewPluginCommand runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"46be7e19d96cb06b4262484414631fdc12000197746a811160bf321b83e776c0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Attribute: ClassTooLong \u2014 483 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, 49 blocks, lines 23-874. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2069823348e3c520950c1e2f1b020a69371d0e43e338fb2f48491230590386d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lock/parse_testcase.go: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nuget/lock/parse_testcase.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd11809193eebee39ac7cde0e59764f1f4156fce6697620e99849ca61e91635"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SarifWriter.Write: MethodTooLong \u2014 Write runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/sarif.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e75e7f659c8b305009528e867e0ceb1b1f00fed5b299e7cee6b6f8274f371ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Marshaler: TooManyMethods \u2014 35 methods, declared across 2 files: cyclonedx/marshal.go (27), cyclonedx/crypto.go (8). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/marshal.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ebfbc7059070e56038108c59c620d5ef6425a8c845bf6ab76e2a700a6724fa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AWS: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/aws.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"685a79594321d099fcd8411cd37f33435ef831a4da0cf581b2e05207fe37adea"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Parser: ClassTooLong \u2014 444 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods, 25 blocks, lines 94-1003. The bar is 400 significant lines; this is 44 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e7994f95268fa2b548c9a158a8a41a7ebd9da13e61f23a0c2bf4197438c337"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TerraformProvider: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/provider.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee71cb6d1fdd04def1d31e1982342d37fe14b23ce14d08e3bf77429af8b95398"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jar/parse.go: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b3fc572c5ade7a796154a5182aea5f5cf8173e37be95551e525b412f2fe4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flag/options.go: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5294627d7cee66ec6343bea793be2480ad9399c64fedc9b01af53829f9145f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: secret/scanner.go: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/secret/scanner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a256e1507beba9595a0d0b38ab4eb93178949d6345ee5bbeb4ea9019576323a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): pkg/detector/ospkg/alma/alma.go:20-33 | pkg/detector/ospkg/debian/debian.go:21-48 | pkg/detector/ospkg/oracle/oracle.go:19-38 | pkg/detector/ospkg/redhat/redhat.go:25-67 | pkg/detector/ospkg/rocky/rocky.go:19-32 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alma/alma.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"20064671d633fb10518ce1c4d55224efdaff971df23a3cbf7e3116c18c0dff01"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/detector/ospkg/azure/azure.go:39-86 | pkg/detector/ospkg/oracle/oracle.go:48-91 | pkg/detector/ospkg/photon/photon.go:44-79 | pkg/detector/ospkg/suse/suse.go:121-156 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/azure/azure.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a82d07cb28425271462abb069356a2a095b54caa4cc8fe28bb97db6f8b7ec25"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/fanal/analyzer/os/redhatbase/alma.go:25-46 | pkg/fanal/analyzer/os/redhatbase/centos.go:25-46 | pkg/fanal/analyzer/os/redhatbase/fedora.go:25-45 | pkg/fanal/analyzer/os/redhatbase/rocky.go:25-46 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/os/redhatbase/alma.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4196ca8b3f83735dd8da27abb1de7defefc460bad21f2e1621ca4f767efce64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/iac/adapters/cloudformation/aws/ecr/repository.go:59-79 | pkg/iac/adapters/cloudformation/aws/sam/function.go:30-58 | pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:57-81 | pkg/iac/adapters/cloudformation/aws/sqs/queue.go:32-62 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ecr/repository.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad68b807ad46ef9180630de6c281d851c050199dc539c0aa75f49ef62bfbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/iac/scanners/terraform/parser/funcs/cidr.go:16-195 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:29-78 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:145-196 | pkg/iac/scanners/terraform/parser/funcs/string.go:14-152 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/cidr.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d28010b1a7cb0e827979460d7ab143c757a073cfff78dfdab36e337b4636d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): pkg/fanal/artifact/image/image.go:436-541 | pkg/fanal/artifact/vm/vm.go:85-166 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"05548d24f54148a4359afb19d99792fd70d624eccda812fcefcd9b61a0d430e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/iac/adapters/terraform/azure/appservice/adapt.go:37-75 | pkg/iac/adapters/terraform/azure/appservice/adapt.go:84-132 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/appservice/adapt.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6db88286329f8bc1bbc4277987e9a83476a539c16c5ebe9a094f4c85c39d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): pkg/report/table/misconfig.go:159-215 | pkg/report/table/secret.go:111-169 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff49584e5d8ad651698fb0a87332b9218a12d5eda9d201ad5b19325c513913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 61\u002B corresponding lines): pkg/commands/app.go:350-410 | pkg/commands/app.go:412-477 | pkg/commands/app.go:479-539 | pkg/commands/app.go:1181-1259 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 61 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"16686cb60d554d95d32ba919ea43eb64f54b70aa11227118acdd71b8e2ce792b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/iac/adapters/terraform/azure/network/common.go:43-71 | pkg/iac/adapters/terraform/azure/network/common.go:73-101 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/network/common.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c061e96839ec0c291e45d98f0613d43bb6b385ea422a6f0140d5705a6e95f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/dependency/parser/java/jar/sonatype/sonatype.go:109-154 | pkg/dependency/parser/java/jar/sonatype/sonatype.go:156-196 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/sonatype/sonatype.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5b94f8f0f613c90e35bd4f9e2ba63dd547e701254c65449c8d3db1bf310c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): pkg/fanal/analyzer/language/dart/pub/pubspec.go:47-100 | pkg/fanal/analyzer/language/java/gradle/lockfile.go:46-106 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/dart/pub/pubspec.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"844931846d69af5770fb30029a1ecf20d199389e483f4785881164239dafa792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): pkg/detector/ospkg/debian/debian.go:58-123 | pkg/detector/ospkg/ubuntu/ubuntu.go:105-158 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/debian/debian.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb19d0fc2cc7c97fd5d023e2a05850b14725d468ab48bb162648482a0d3e5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): pkg/fanal/analyzer/language/nodejs/bun/bun.go:47-86 | pkg/fanal/analyzer/language/nodejs/npm/npm.go:46-87 | pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go:44-88 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/nodejs/bun/bun.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b5056c71f18469d99a25790bcd0ddba3aabd5d566cc283b1cc2e48403143ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): pkg/detector/ospkg/rootio/rootio.go:63-113 | pkg/detector/ospkg/seal/seal.go:84-144 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/rootio/rootio.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"efccde68481a52b3e4087e44b34d3f9e8df71309c2aa2b54b5a8319e72ae9915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): pkg/detector/ospkg/minimos/minimos.go:31-73 | pkg/detector/ospkg/wolfi/wolfi.go:31-73 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/minimos/minimos.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209f06f07fc2922cc21aca29d9e4033a68745db5af70cbf6056099d51196e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/detector/ospkg/alma/alma.go:43-90 | pkg/detector/ospkg/rocky/rocky.go:42-82 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alma/alma.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9908be15c016ef1f6ca1d1e954e55c89980b09317c9f93931ca60668f47749ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/dependency/parser/java/pom/parse.go:924-967 | pkg/dependency/parser/java/pom/parse.go:969-1003 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d9c7a91c1dcd856074f51ad2ca91cf87a2b3224381c0cabd278e6ed861b118"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 33\u002B corresponding lines): pkg/fanal/analyzer/language/julia/pkg/pkg.go:53-86 | pkg/fanal/analyzer/language/php/composer/composer.go:46-79 | pkg/fanal/analyzer/language/python/poetry/poetry.go:44-76 | pkg/fanal/analyzer/language/python/pylock/pylock.go:44-77 | pkg/fanal/analyzer/language/rust/cargo/cargo.go:60-93 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/julia/pkg/pkg.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a265e53693e8263e9656537e5faaa64f47f4c92cafab0e3420767060bbcae1ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): pkg/iac/adapters/terraform/google/iam/folder_iam.go:46-86 | pkg/iac/adapters/terraform/google/iam/org_iam.go:45-86 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddf0107a9fe7c817c9ac8a0da63c0a3fb7746035d719987868909e777a27cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pkg/iac/adapters/terraform/aws/apigateway/apiv1.go:35-72 | pkg/iac/adapters/terraform/aws/apigateway/apiv2.go:9-50 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/apigateway/apiv1.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc64fe5924780283daf877510858df31862cabdb710c6589645d09c2aefeb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/dependency/parser/julia/manifest/naive_pkg_parser.go:29-62 | pkg/dependency/parser/rust/cargo/naive_pkg_parser.go:30-65 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/julia/manifest/naive_pkg_parser.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a76d7ebf1f3db9ecfef8a22c6e2bf8b7cbcbbed85e235d4d95d5384c1922a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/iac/adapters/terraform/aws/provider/adapt.go:69-96 | pkg/iac/adapters/terraform/aws/provider/adapt.go:98-122 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/provider/adapt.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2aa373d71c3611d7ffc50c532620e25eeb52bc060062f41b4eed89a8ddf73ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/module/module.go:572-608 | pkg/module/module.go:610-637 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f377291ccadceb69d40eccbbb41303de9a1da30ee8de7471dbdc7da63d5942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/iac/adapters/cloudformation/aws/ec2/launch_configuration.go:9-48 | pkg/iac/adapters/cloudformation/aws/ec2/launch_template.go:18-56 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ec2/launch_configuration.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef57162eb4393ed374797912cc383be4903d637a859e89593ebc9ec804bdc38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): pkg/iac/adapters/terraform/azure/compute/adapt.go:73-111 | pkg/iac/adapters/terraform/azure/compute/adapt.go:113-143 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/compute/adapt.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c509238a2b18e6437e1b4300449de47a41cededa3a08a2da34acef922f848"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pkg/detector/ospkg/bottlerocket/bottlerocket.go:29-66 | pkg/detector/ospkg/chainguard/chainguard.go:31-72 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/bottlerocket/bottlerocket.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07093f48649598327bf5e8e466fe2cdd479fbcf4caac6981cbb425a39ffe4d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/iac/adapters/arm/network/adapt.go:129-160 | pkg/iac/adapters/terraform/azure/network/adapt.go:128-154 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/network/adapt.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c979c2712c731db2b1aa449daf1360bedc735a5a2c1fa8040a1cd66bfa6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/iac/adapters/terraform/aws/dynamodb/adapt.go:36-60 | pkg/iac/adapters/terraform/aws/dynamodb/adapt.go:62-94 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/dynamodb/adapt.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"570f167983b239eae1c5f7f25d97353a0520de5da022729148317545c46e12b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/iac/scanners/cloudformation/parser/property.go:132-164 | pkg/iac/scanners/kubernetes/parser/manifest_node.go:195-230 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebe26177813c21ced5120a0a929ae29ce0738b8753e306494104c60701a89f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/fanal/image/daemon/podman.go:56-77 | pkg/fanal/image/daemon/podman.go:79-100 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/daemon/podman.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b131dc2b3531df9a0ee519a168d02214fbe47fba212e715db5e232be3ebb1c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/fanal/analyzer/language/dart/pub/pubspec.go:102-130 | pkg/fanal/analyzer/language/java/gradle/pom.go:68-97 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/dart/pub/pubspec.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"748b3d383ddf48412cb993d821bdb2029844ef35a509285d87362d54eecd7eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/iac/scanners/terraform/parser/funcs/crypto.go:244-271 | pkg/iac/scanners/terraform/parser/funcs/filesystem.go:25-54 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/crypto.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"042d65fd1e41251f30679ac7cdff330e722f1ee8141c40315422efc59801bbaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/iac/adapters/terraform/azure/database/postgresql.go:25-51 | pkg/iac/adapters/terraform/azure/database/postgresql.go:53-90 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/database/postgresql.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedf5cc8bf9bebc79a83a241b08dbd4c2d3addb715677c51c68b33e78cdf6e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/fanal/analyzer/language/php/composer/composer.go:106-131 | pkg/fanal/analyzer/language/python/poetry/poetry.go:95-121 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/php/composer/composer.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d80dd869b64fdb0bbc77d675b8809d46993ce882bec36afa8556e96d38fb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/fanal/analyzer/licensing/license.go:126-144 | pkg/fanal/utils/utils.go:66-84 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/licensing/license.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0956e36250cb8905dae08c52df14ef7d8757334c7a8ad1533c04d4e991dada"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/iac/scanners/azure/arm/parser/parser.go:26-56 | pkg/iac/scanners/cloudformation/parser/parser.go:58-84 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/arm/parser/parser.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"260fc34978d82ba128d7a6c07bae17078d8e732de3059397445c258214c8d60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/sbom/cyclonedx/unmarshal.go:266-289 | pkg/sbom/spdx/unmarshal.go:256-282 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/unmarshal.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8480ea2ff943c094e6471a07bdad04bb7813fcfd17c26e3928d74a0d660aab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/fanal/analyzer/pkg/apk/apk.go:169-185 | pkg/fanal/analyzer/pkg/rpm/rpm.go:294-310 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/apk/apk.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"127bc38189af963367bec428e3ad1a7f0eca3a0b18659e57ccc0bc4b33735a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/cache/redis.go:154-169 | pkg/cache/redis.go:171-185 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/redis.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3990443133afe52b22b16535740ee7f988659f4a27f436c0a6b9bc3be7543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/commands/artifact/scanner.go:38-52 | pkg/commands/artifact/scanner.go:134-148 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/scanner.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e344d27380f6721e30d0a904f31bc64883427330a1b62435cbad353074717db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/fanal/vm/filesystem/ext4.go:15-34 | pkg/fanal/vm/filesystem/xfs.go:15-34 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/vm/filesystem/ext4.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f879735f4e98e48f65561e225f98dfcf4bd8f8f30a56c9f6f537dba4392e86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/iac/adapters/terraform/google/iam/convert.go:9-26 | pkg/iac/adapters/terraform/google/iam/project_iam.go:100-118 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/convert.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"516bde1cd787baa68d2c0390aacc347797e6f941bcd9cdb095c924c1a850674d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/iac/scanners/cloudformation/scanner.go:75-102 | pkg/iac/scanners/helm/scanner.go:97-122 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/scanner.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9fca698f81ea26da7d8b98905115b64c471597ce7fd3447fad602878d542b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pkg/iac/scanners/cloudformation/parser/fn_and.go:7-31 | pkg/iac/scanners/cloudformation/parser/fn_or.go:7-31 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/fn_and.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7905141658fef8ef6fb2bfabdac2fc24f4e8de429ea4111af793d4c328c8315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/fanal/analyzer/fs.go:36-63 | pkg/fanal/analyzer/pkg/rpm/rpm.go:270-292 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/fs.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ec5aaf2efaf1d49b4117f9e96dc4ec7b9454d1b3dcdf1f65bb3ba26b4fc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/fanal/artifact/sbom/sbom.go:109-123 | pkg/fanal/artifact/vm/file.go:104-118 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/sbom/sbom.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb23de032172b4f47e76efe08c13bc2f5400ef9f63674f59e64ef1e80d34377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/iac/providers/aws/iam/iam.go:36-56 | pkg/iac/types/metadata.go:59-75 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/iam/iam.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dbaabf4c1758ce0af1a14e0eb908ae6e75c4bd25a4d7b5d836fe469687b3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): misc/eol/main.go:20-39 | misc/eol/main.go:41-55 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"misc/eol/main.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4317c55a5addf87c17f65b5873302957a847bb3b1b9c765d6c221ab711d691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/iac/adapters/terraform/aws/apigateway/apiv2.go:52-69 | pkg/iac/adapters/terraform/aws/athena/adapt.go:36-52 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/apigateway/apiv2.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f680817f6e978ba1d4106b6bdffa6a324f8358ea7cc71037f1acf49e3a0cff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/iac/adapters/cloudformation/aws/codebuild/project.go:26-45 | pkg/iac/adapters/cloudformation/aws/ecs/task_definition.go:63-86 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/codebuild/project.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba19baf1d44ec0bc0d4b98a125dc44a8d4b61899b1f4b3c81fcd03a61eb78d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/iac/adapters/terraform/aws/cloudwatch/adapt.go:25-47 | pkg/iac/adapters/terraform/aws/ec2/volume.go:19-40 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/cloudwatch/adapt.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65331fde5d1caccad830b5ef6b2bd8f14391fb3483c1f7aee56c51f1cfb785c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): pkg/iac/adapters/terraform/google/iam/project_iam.go:75-94 | pkg/iac/adapters/terraform/google/iam/project_iam.go:164-185 | pkg/iac/adapters/terraform/google/iam/project_iam.go:217-231 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"022ba22e00e1cde63bdd3bfaea68537758fa620e819cdb8a1629aede2f1bcc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): pkg/iac/adapters/terraform/azure/database/mariadb.go:20-39 | pkg/iac/adapters/terraform/azure/database/mysql.go:23-43 | pkg/iac/adapters/terraform/azure/database/mysql.go:45-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/database/mariadb.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3603b27939fb195c49d09a7728246c100096583b577d16a2d63cc59062416e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/module/module.go:198-212 | pkg/module/module.go:242-259 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e583b19cfa612715ed17dd33c9e20f661637a263483c09700057a38914de559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pkg/compliance/report/json.go:17-41 | pkg/k8s/report/json.go:17-40 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/report/json.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"991759df092cc2001436fd1fbedda82eeaa2b80949a8a7ea6f3b866163f61f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/iac/adapters/arm/database/adapt.go:24-35 | pkg/iac/adapters/arm/database/maria.go:16-27 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/database/adapt.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fdc3cba003979256d869a1ccdab38b922299b5dd6fed5ab4890495624cc4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/iac/adapters/terraform/nifcloud/computing/instance.go:17-35 | pkg/iac/adapters/terraform/nifcloud/network/router.go:18-37 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/nifcloud/computing/instance.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac7ecea6c8fea22516a6086cc9509f68b283e4f7bf91da5da82bf88936890ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/iac/scanners/ansible/parser/node.go:40-64 | pkg/iac/scanners/ansible/parser/node.go:70-88 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca95e197def3078843b3a0a8fe15afe8bddce8ab66a5f9f7c8b7495909943e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/rpc/convert.go:636-652 | pkg/rpc/convert.go:1389-1409 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e88604fd8469886dfb3359813a9522ff3d5bf5a9571600baf43833b2f6b4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/detector/library/compare/compare.go:90-107 | pkg/detector/library/compare/pep440/compare.go:52-69 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/library/compare/compare.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"827aebb809dfc58b1c8fa538ab4cc98ab47311fec735b2a90e5ed6c973db870b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/report/table/licensing.go:38-55 | pkg/report/table/licensing.go:120-137 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/licensing.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2f46ec02e7dec0804883a5b4f6470eb3624a5a9819c2454ef4087ce3a39aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/rpc/convert.go:173-190 | pkg/rpc/convert.go:679-700 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4aad5ee5555c36a4b851165ebf12adbd2a8b6b7bf30bb3d0c93cf91d2b8837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/iac/adapters/terraform/google/iam/folder_iam.go:30-44 | pkg/iac/adapters/terraform/google/iam/org_iam.go:28-43 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20230707812ecb6b4ad91eb194fb48b3d7614c04f64353092dedd007dff369c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/iac/adapters/terraform/google/iam/folder_iam.go:102-115 | pkg/iac/adapters/terraform/google/iam/org_iam.go:105-118 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffefadfff99c661a31e98854c4b01f8e734a57b96295953cc86df11e6df4d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/sbom/spdx/marshal.go:587-598 | pkg/sbom/spdx/marshal.go:600-611 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/spdx/marshal.go"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"16516d6bc87b259148b9423d9f35c36380485309bd4b85e9d40a25b15278d6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/dependency/id.go:40-56 | pkg/fanal/types/crypto.go:335-350 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/id.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba12bdc469d0fd8f8db6c5e161315fd8185c9d411f5c44a6c8023b88d146456"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): pkg/iac/scanners/ansible/parser/discovery.go:19-43 | pkg/iac/scanners/terraformplan/snapshot/scanner.go:34-58 | pkg/iac/scanners/terraformplan/tfjson/scanner.go:27-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/discovery.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82c773fb21fe56ce714e491af95afb5742cdfaff193ca003f11fa2f3ef22964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/mapfs/file.go:113-132 | pkg/mapfs/file.go:206-222 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/mapfs/file.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b5fdeed964c461fb53f545972152970f1c8321d16d24725978ab24a7fbae51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/commands/artifact/scanner.go:89-98 | pkg/commands/artifact/scanner.go:185-194 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/scanner.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa16b9218d72f74e6ca415d224f1b119a5a4296b1dd5ac67e04d973b7a1c9608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/module/module.go:662-676 | pkg/module/module.go:678-692 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"707b39ad0e9bc36a14266c772968a30b4dfb66f5c7f6b43083d04ab35725eed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/vex/document.go:77-92 | pkg/vex/document.go:94-106 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/document.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b0567bee317908b2d2d2ed0bed4e77d99b6abf8b7e30e894fbe8f9b3f62a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/iac/adapters/terraform/azure/storage/adapt.go:47-62 | pkg/iac/adapters/terraform/azure/storage/adapt.go:64-81 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/storage/adapt.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2765e972573bae1f5ad2e5ae787d50618bca2bdbd4df6157d6a5089551c7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): pkg/fanal/analyzer/analyzer.go:209-213 | pkg/types/report.go:182-186 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/analyzer.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec31638d4e28f12c1e8b8880643e0b762d0e8392981b39b5427866c2f2e55c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/iac/rules/providers.go:105-126 | pkg/iac/rules/providers.go:128-151 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rules/providers.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cc16d50c3e10e0a3db265553273ee8887ff013d87bf9ac804b59dab1707e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/remote/remote.go:114-130 | pkg/remote/remote.go:134-152 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/remote.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced4fa1f9ad40fed9c385539bccf464c34c6d3ab48001edbfdd187cea76cc546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): pkg/commands/artifact/scanner.go:57-70 | pkg/commands/artifact/scanner.go:75-84 | pkg/commands/artifact/scanner.go:116-125 | pkg/commands/artifact/scanner.go:153-166 | pkg/commands/artifact/scanner.go:171-180 | pkg/commands/artifact/scanner.go:212-221 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/scanner.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fc03a43530d10dec096b91f324b9e88c815de0243654ca99ef81cf1071b565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/iac/adapters/cloudformation/aws/sam/api.go:63-78 | pkg/iac/adapters/cloudformation/aws/sam/http_api.go:27-42 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/api.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2e3e4a338a68f09d97814c2ab054650288a5fd2e8473532dc07cc03f3d4fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/iac/adapters/terraform/nifcloud/nas/nas_security_group.go:18-30 | pkg/iac/adapters/terraform/nifcloud/rdb/db_security_group.go:18-30 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/nifcloud/nas/nas_security_group.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f5bbe0217b2d0ebf23467b99431c898f433a505d1a463a6b5bab9e2e33a849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/commands/artifact/scanner.go:103-111 | pkg/commands/artifact/scanner.go:199-207 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/scanner.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e37afc751b94f68906f45fec670c3a6517f697d314ed326444e29b27b177f2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): pkg/fanal/analyzer/language/golang/mod/mod.go:309-323 | pkg/fanal/analyzer/language/nodejs/bun/bun.go:110-124 | pkg/fanal/analyzer/language/nodejs/npm/npm.go:112-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bdd5f217c5acfe6d9ac078d41859674217cbd06917c3ddffa963a94e376697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/fanal/analyzer/language/julia/pkg/pkg.go:131-143 | pkg/fanal/analyzer/language/php/composer/composer.go:138-152 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/julia/pkg/pkg.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0caa4743978a9461b8eeeae5cc0354374efd3c27af09a1aea23a3192fb1313"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/iac/scanners/ansible/parser/node.go:366-382 | pkg/iac/scanners/ansible/parser/node.go:384-401 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0016cf1f3c865002250f91f82eeb87797dad346eafea1ddc791f07bd323e58a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/fanal/analyzer/language/golang/binary/binary.go:25-35 | pkg/fanal/analyzer/language/rust/binary/binary.go:25-33 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/binary/binary.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a548b2ca144711a15934e6ae8d6dd6e7e2e39608483c309a630b6653a031fc50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/iac/adapters/cloudformation/aws/sam/api.go:9-26 | pkg/iac/adapters/cloudformation/aws/sam/http_api.go:9-25 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/api.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78c18f54ea0350cad3363919bb164976fedbca3f82c8e25553e4c00f1cda646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/iac/scanners/terraform/parser/funcs/datetime.go:15-22 | pkg/iac/scanners/terraform/parser/funcs/datetime.go:26-34 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/datetime.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9c5ea1e4ec9d9fab2e318f4d14e7f5b8fbaa0a0c330caeb23c4be14c05ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): pkg/iac/terraform/attribute.go:266-279 | pkg/iac/terraform/attribute.go:590-607 | pkg/iac/terraform/attribute.go:609-626 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424dca5e782c13eb06c7297ef1f2c1302ebac9dac5b91206800581194c848bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/cache/redis.go:119-129 | pkg/cache/redis.go:131-141 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/redis.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9e46b6670dabc092ee5d5aca46c1c9ae07f7a1e1e70f447cd9a2c880dbcf18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/fanal/analyzer/language/python/poetry/poetry.go:160-174 | pkg/fanal/analyzer/language/python/pylock/pylock.go:149-162 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/python/poetry/poetry.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fecfd34aa49f5ea80bcf072fe58c0e473b6b0c5b463688a58feaa3c04dc8be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pkg/sbom/sbom.go:78-90 | pkg/sbom/sbom.go:91-103 | pkg/sbom/sbom.go:105-117 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/sbom.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340d8d6b6ee335e28c9f98cc3d66ae0caf16378dd8b6038a4fbb9719198532e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/dependency/parser/python/poetry/parse.go:139-151 | pkg/detector/library/compare/bitnami/compare.go:20-32 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/python/poetry/parse.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1e3e97fe7b20c77f791cf9152f3d0954a2fe70053bf6688b9ed3b6e495e432"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/fanal/analyzer/language/analyze.go:23-34 | pkg/fanal/analyzer/language/analyze.go:37-48 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/analyze.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4628d5bda987f2256fb9923908d4b497c32cea74f465892c6e502be9fa95a878"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/fanal/analyzer/language/julia/pkg/pkg.go:174-191 | pkg/fanal/analyzer/language/rust/cargo/cargo.go:304-320 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/julia/pkg/pkg.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b3424e04fb08163b29d0f58ecd5c7881a33bcebe14d41bd524f160b481597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/mapfs/file.go:297-311 | pkg/mapfs/file.go:333-346 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/mapfs/file.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a92a4b4292ae2e13e77a2ecb169bd7ea4499e5e89a72177a5594f8b693074a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/oci/referrers.go:21-35 | pkg/vex/oci/oci.go:267-283 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/oci/referrers.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9bb98f0ccdefdd637c95e402d4bca42acd0d0c0695dbddccde1f644d08ad1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/fanal/analyzer/os/alpine/alpine.go:26-38 | pkg/fanal/analyzer/os/debian/debian.go:26-38 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/os/alpine/alpine.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff3bb21dda5708cf3343f578a13167bba1ea7188e648299be9ba59d68e431df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/iac/scan/result.go:185-196 | pkg/iac/scan/result.go:198-212 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/result.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"16384bab6a5128ee24162f6f95257e35572a96adf31899153aaca58e6b2c54ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/dependency/parser/java/pom/pom.go:327-341 | pkg/fanal/analyzer/language/java/gradle/pom.go:52-66 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/pom.go"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"135eeb0c31e52c56c4ead5c45066779e8ee151c42b826662b82e3b5d0244e200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/fanal/analyzer/language/golang/mod/mod.go:430-447 | pkg/fanal/analyzer/language/golang/mod/mod.go:466-482 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc3ca8be7616df530678bb222ee6f7758d659e43ee911c94eeabc1898e39505"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/rpc/convert.go:1146-1158 | pkg/rpc/convert.go:1338-1350 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7539812ffd8b2ab9f7ec762b9431fca11f24680dae925c0aa7d6cdeb16634e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): pkg/iac/scanners/cloudformation/parser/property.go:228-243 | pkg/iac/scanners/cloudformation/parser/property.go:249-269 | pkg/iac/scanners/cloudformation/parser/property.go:271-287 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1422b10ebcb839cb7385004a0ed815bef67e640011ac17d36bcacd5f4c323e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/crypto/key.go:27-36 | pkg/crypto/key.go:45-56 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/key.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b76dfb6e41fcbefd54652d1b2ca7e0132387de1432b24ff65bebdecaabbbcea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/extension/hook.go:128-139 | pkg/extension/hook.go:142-153 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/extension/hook.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"69354d4b335555fe818529e5054499f864eeed7cca9e033e553a11eb0da3a9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/iac/adapters/cloudformation/aws/iam/policy.go:36-48 | pkg/iac/adapters/cloudformation/aws/iam/policy.go:89-101 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/iam/policy.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4119e1cca4a50b92422cef051c51fc0e828a80dd6614bd62e714d2237d47ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/crypto/parser/jks/parser.go:42-51 | pkg/crypto/parser/pkcs12/parser.go:71-79 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/jks/parser.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"db58164e1163efbdb5a5aa9f2933b6e972a678a6b92d40a492aca037bb0e1779"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): pkg/iac/terraform/attribute.go:119-130 | pkg/iac/terraform/attribute.go:132-143 | pkg/iac/terraform/attribute.go:163-174 | pkg/iac/terraform/attribute.go:176-188 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"baebf103baac5ee52a85f9eb6001bddc2c4de85d3f4547951907bbe044d3aa0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/extension/hook.go:70-81 | pkg/extension/hook.go:84-95 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/extension/hook.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a36ce7a61af7a6b666902726e7d830b5e14f0db9e4f6186e9993a4875ed7750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/iac/scanners/terraform/parser/load_module_metadata.go:22-37 | pkg/iac/scanners/terraformplan/snapshot/snapshot.go:124-136 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/load_module_metadata.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a0e4a5f58905a592db5bac02ec4e73b77345eb1fadc63d30721c59d1de1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): pkg/cache/remote.go:48-56 | pkg/cache/remote.go:59-67 | pkg/cache/remote.go:81-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/remote.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a5531ec00d61d33836778c925984b91b74f97b3a5f812988b6751f346957f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/dependency/parser/nodejs/npm/parse.go:441-448 | pkg/fanal/secret/scanner.go:693-707 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/npm/parse.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07721513344baf86ae31e3060949e4a0c818e6dd4797bbbdc715114108c950a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/extension/hook.go:98-109 | pkg/extension/hook.go:112-125 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/extension/hook.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3a71206df8248c038d301e5de2356ea3085758fbedb2b413f4fb3d4cc2ca73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/report/table/misconfig.go:36-54 | pkg/report/table/secret.go:23-37 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e08e6eaa7fcaa2b53050de868e7dbeafac4c0049ded59ef1a042d071291ce65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/rpc/convert.go:574-586 | pkg/rpc/convert.go:1024-1040 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1d6814088b1385cbb5ffe8b7b0219372bb6690f66f600c76fb2d70bb6d4c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/dependency/parser/nodejs/pnpm/parse.go:237-257 | pkg/dependency/parser/nodejs/bun/parse.go:227-241 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/pnpm/parse.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbc662936c315d8637134f730f56d145e88a503200a8ac50c2df80d0ed1268e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/iac/adapters/cloudformation/aws/accessanalyzer/analyzer.go:9-24 | pkg/iac/adapters/cloudformation/aws/ec2/nacl.go:12-22 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/accessanalyzer/analyzer.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f909509d4cb542284df9cf3da9eff1f3d2531948df700e182958dcf44f5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/iac/types/metadata.go:43-57 | pkg/iac/types/range.go:67-80 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/types/metadata.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d053109b29ae65f062bbf479a2bba7d5fffeaf3d7fe5dfcaad7b8aec99980355"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/iac/scanners/cloudformation/parser/property_helpers.go:78-93 | pkg/iac/scanners/cloudformation/parser/property_helpers.go:102-117 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_helpers.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea5c734755fef0e8d95d2925929bdb5d84ce8502aea6d8c6dbd60941d0a05d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pkg/fanal/image/name/reference.go:37-52 | pkg/fanal/types/crypto_descriptor.go:62-74 | pkg/vex/repo/repo.go:54-66 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/name/reference.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d873db9a7c58036735ea11faf013fdcf0fcc8067e52cf9a6fa70a5ff3fab30b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/iac/adapters/terraform/google/iam/org_iam.go:88-103 | pkg/iac/adapters/terraform/google/iam/folder_iam.go:88-100 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/org_iam.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6343e36e1c03646a99846c64855f20b9c73e50ed53d74367cb263c4771dc01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pkg/iac/adapters/cloudformation/aws/elb/loadbalancer.go:46-58 | pkg/iac/adapters/cloudformation/aws/rds/instance.go:107-120 | pkg/iac/adapters/cloudformation/aws/s3/bucket.go:132-148 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/elb/loadbalancer.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"03de6cf48640ad4ad16547624c7c73d5fd57535d76e14cc63c481b22ca5fdf6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/iac/scanners/cloudformation/scanner.go:42-51 | pkg/iac/scanners/helm/scanner.go:28-36 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/scanner.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af7757d346389b2b8e9e0d9274224ec949af4f3f0f70626917196fd2f443919"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 8\u002B corresponding lines): pkg/fanal/analyzer/language/dotnet/deps/deps.go:27-35 | pkg/fanal/analyzer/language/dotnet/packagesprops/packagesprops.go:27-35 | pkg/fanal/analyzer/language/elixir/mix/mix.go:27-34 | pkg/fanal/analyzer/language/java/sbt/lockfile.go:25-35 | pkg/fanal/analyzer/language/swift/cocoapods/cocoapods.go:26-33 | pkg/fanal/analyzer/language/swift/swift/swift.go:27-34 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/dotnet/deps/deps.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20065921b24581a594221d5fada5d5efaf965e590fda876ee6cee7e3d58e525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): pkg/fanal/analyzer/pkg/apk/apk.go:38-52 | pkg/fanal/analyzer/pkg/rpm/rpm.go:77-93 | pkg/fanal/analyzer/pkg/rpm/rpmqa.go:33-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/apk/apk.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8c80f373f06bb1f35e4a74eb493f029631b7dc174948719652c256618c13b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/fanal/types/crypto_descriptor.go:313-323 | pkg/fanal/types/crypto_descriptor.go:356-366 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/crypto_descriptor.go"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dbbb490080baf34f7100bce4962d8bacfdabcc1979ccec9356d27ed2512d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/iac/adapters/terraform/aws/ecr/adapt.go:18-26 | pkg/iac/adapters/terraform/github/repositories/adapt.go:13-21 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ecr/adapt.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b308538125671caf882e62c36c64f7937ee35063ad49ceee882040e1d2f41d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/iac/scanners/cloudformation/scanner.go:62-73 | pkg/iac/scanners/helm/scanner.go:39-50 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/scanner.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"538fbdc25e674be21c98ab97d5fdc239166d09cbe21e78965d9f980e675e8adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/iac/adapters/terraform/aws/elasticache/adapt.go:35-43 | pkg/iac/adapters/terraform/aws/redshift/adapt.go:28-36 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/elasticache/adapt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3691d070cd56321b91caaac855736b0e0ca42e8ab0320478c1aad04210c7c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/iac/scanners/ansible/parser/play.go:218-225 | pkg/iac/scanners/ansible/parser/role.go:133-139 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/play.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f28541bd41f6b5da06bd6bf348554db24c6dd647ad8ae3461c1ff39abd9806"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/vex/sbomref.go:102-109 | pkg/vex/vex.go:139-146 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/sbomref.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"590a1b73406e3e97c24384911b073f2bfcda9c2a48ffcd13148def72e4e4dde0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 9\u002B corresponding lines): pkg/iac/adapters/terraform/aws/documentdb/adapt.go:15-23 | pkg/iac/adapters/terraform/aws/ecs/adapt.go:16-24 | pkg/iac/adapters/terraform/aws/eks/adapt.go:15-23 | pkg/iac/adapters/terraform/aws/elasticache/adapt.go:15-23 | pkg/iac/adapters/terraform/aws/emr/adapt.go:14-22 | pkg/iac/adapters/terraform/aws/msk/adapt.go:15-23 | pkg/iac/adapters/terraform/aws/neptune/adapt.go:15-23 | pkg/iac/adapters/terraform/aws/redshift/adapt.go:18-26 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/documentdb/adapt.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"734d7dca3e0c636425556da595fa37c326edf5ff7498c6d7581812d95fce4718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/sbom/cyclonedx/marshal.go:58-66 | pkg/sbom/spdx/marshal.go:118-126 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/marshal.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a66de73ac6993a27bc5508957967c7985de49e6742f4def140c90b746f2d4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/fanal/analyzer/config_analyzer.go:94-102 | pkg/fanal/handler/handler.go:64-70 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/config_analyzer.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea237d2b71ce8e79c87c7f21492f92477fec03a4cfb8a6588684239e85dedfde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/fanal/analyzer/config/ansible/ansible.go:34-37 | pkg/iac/detection/detect.go:279-282 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/config/ansible/ansible.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ced7e11ddf9b441dc2e20e0eb08df0e70dde7b24e2f19539408672cddab2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/iac/scanners/ansible/scanner.go:55-64 | pkg/iac/scanners/azure/arm/scanner.go:28-38 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/scanner.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b243bd91a8b9bc7c5b93f3d5df13ef3e78335c45ffe8906c3bc8140638fd8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/iac/rego/scanner.go:173-179 | pkg/iac/scanners/ansible/vars/vars.go:110-116 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/scanner.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8a38664951e31a6926d57eccd63c3436a9c5a53711b17f42f3220e3829ed24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/iac/scanners/generic/scanner.go:203-209 | pkg/iac/scanners/terraformplan/tfjson/parser/parser.go:29-38 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/generic/scanner.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0c9a0a094206dd325e42745595a3169eb073a44562eac7e639e2e241064a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pkg/iac/adapters/cloudformation/aws/ec2/launch_template.go:9-16 | pkg/iac/adapters/terraform/aws/ec2/autoscaling.go:11-20 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ec2/launch_template.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"743aed9fac10f085bf74217ca38cb43879040260cc4dca6de866d90e30d1db6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): pkg/iac/types/bytes.go:27-31 | pkg/iac/types/time.go:68-72 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/types/bytes.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eb08e419e61c175858f510ab8118d9aec6a7530206f14bef026eb36d625de0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): pkg/iac/scanners/cloudformation/parser/property.go:345-376 | pkg/iac/scanners/cloudformation/parser/resource.go:240-271 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"117821dd0352603313292c28572f9d5a80fc30a016b3661d4d896de71bf242f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): pkg/report/table/misconfig.go:186-215 | pkg/report/table/secret.go:140-169 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/report/table/misconfig.go:186\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/report/table/misconfig.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c851b96ea6f1576b9c5332d72800ab23c7fb9fcfd830987df688e4565f937a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): pkg/fanal/artifact/image/image.go:474-497 | pkg/fanal/artifact/vm/vm.go:112-136 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/artifact/image/image.go:474\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aa1eea80631452a8db4fbaaf6fa27bba8ddd062dbb70ffbdf5fc7866ddeacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): pkg/detector/ospkg/rootio/rootio.go:127-149 | pkg/detector/ospkg/seal/seal.go:158-180 \u2014 \u0060pkg/detector/ospkg/rootio/rootio.go\u0060 and \u0060pkg/detector/ospkg/seal/seal.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/rootio/rootio.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34fafaa4c9bf8c7dbf7b012f3700c089502f96d0c8f9b8692c881fea7e2f141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): pkg/detector/ospkg/chainguard/chainguard.go:51-72 | pkg/detector/ospkg/minimos/minimos.go:52-73 | pkg/detector/ospkg/wolfi/wolfi.go:52-73 \u2014 \u0060pkg/detector/ospkg/chainguard/chainguard.go\u0060 and \u0060pkg/detector/ospkg/minimos/minimos.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/chainguard/chainguard.go:51\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/chainguard/chainguard.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0450326f1f7aa3d73dc21dbb65b713358dbe2e22a566a56df97e9dca08215580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): pkg/detector/ospkg/alma/alma.go:64-83 | pkg/detector/ospkg/rocky/rocky.go:59-79 \u2014 \u0060pkg/detector/ospkg/alma/alma.go\u0060 and \u0060pkg/detector/ospkg/rocky/rocky.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/alma/alma.go:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alma/alma.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"179ef314fa7b47e48bc0684dc25116f25c3e34ef7b0f627632181f35c12b4fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): pkg/iac/adapters/terraform/azure/appservice/adapt.go:45-65 | pkg/iac/adapters/terraform/azure/appservice/adapt.go:93-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/azure/appservice/adapt.go:45\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/iac/adapters/terraform/azure/appservice/adapt.go:92\u0060 calls \u0060StringDefault\u0060, \u0060GetMetadata\u0060 and \u0060pkg/iac/adapters/terraform/azure/appservice/adapt.go:44\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/appservice/adapt.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f766027e85eafa2ca240ecc1d9d1fb2a487c85b75d0f190e5a92b8b0075c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): pkg/iac/adapters/terraform/azure/compute/adapt.go:74-91 | pkg/iac/adapters/terraform/azure/compute/adapt.go:114-133 \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":"pkg/iac/adapters/terraform/azure/compute/adapt.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e75eedc7d63bed8d3b749d7eff3cf8e61c80f94befe5a2ede77f4454b18217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): pkg/detector/ospkg/oracle/oracle.go:73-91 | pkg/detector/ospkg/photon/photon.go:61-79 | pkg/detector/ospkg/suse/suse.go:138-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/oracle/oracle.go:73\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/detector/ospkg/oracle/oracle.go:69\u0060 calls \u0060PackageFlavor\u0060 and \u0060pkg/detector/ospkg/photon/photon.go:60\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/oracle/oracle.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe03391f6487b448e7c6062ff22dbad4da18ad8679159d528fdeb90f0a5c91c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): pkg/detector/ospkg/rootio/rootio.go:84-101 | pkg/detector/ospkg/seal/seal.go:109-125 \u2014 \u0060pkg/detector/ospkg/rootio/rootio.go\u0060 and \u0060pkg/detector/ospkg/seal/seal.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/rootio/rootio.go:84\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":"pkg/detector/ospkg/rootio/rootio.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e198200e994ae182e06d3f2fcebff023832be3cc1db28e94f5fea03ed2de0a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/iac/scanners/terraform/parser/funcs/sensitive.go:12-27 | pkg/iac/scanners/terraform/parser/funcs/sensitive.go:36-51 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/sensitive.go:12\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":"pkg/iac/scanners/terraform/parser/funcs/sensitive.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f64593e5c0ed01576a6e9b5856d822ac0af40e28723f28e8c15df8fd83b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): pkg/k8s/scanner/scanner.go:277-291 | pkg/k8s/scanner/scanner.go:323-337 | pkg/k8s/scanner/scanner.go:358-372 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/k8s/scanner/scanner.go:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a667bb2c36dbe402d0ffd4414e0b18347c950574c07507a362796fa711d6069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/commands/app.go:958-972 | pkg/commands/app.go:982-996 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:958\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fe17f560422d5be396017747960473948d4b0e5ac616a3a5f20cc19d8325fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/sam/function.go:38-51 | pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:64-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/function.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7472759a54d569dd499f686f8cd4feaa70562e647f933e3a65321dbb6886f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/iac/scan/code.go:306-320 | pkg/iac/scanners/terraform/parser/parser.go:240-254 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scan/code.go:306\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/code.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc73c6153ef269449dd3a2b9495e8ec0a8359f000e5b7433fd0c4a99603295a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/report/table/licensing.go:41-55 | pkg/report/table/licensing.go:123-137 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/licensing.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"67671608ba104a734af4010ccadece0d4663814c5b89d5580bf5af4caf1169b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/iac/scanners/cloudformation/parser/property.go:151-164 | pkg/iac/scanners/kubernetes/parser/manifest_node.go:217-230 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/cloudformation/parser/property.go:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d31ade1cab8db6aed8f413bfe3122f0b2dcc548935df2ebdd43f543c0cd124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): pkg/iac/scanners/helm/parser/parser.go:85-95 | pkg/iac/scanners/helm/scanner.go:67-80 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/helm/scanner.go:67\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/parser/parser.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12fad622d303d472c2a0b7794f5295c9c0750b7b47fae009f87a7d7a2fc6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pkg/iac/scanners/terraform/parser/funcs/encoding.go:62-83 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:106-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/encoding.go:62\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":"pkg/iac/scanners/terraform/parser/funcs/encoding.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"48adb3c41855682eee0f1cbdc67041a1f44dd635b1111005d2cd0df6e7929c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pkg/iac/scanners/terraform/parser/funcs/number.go:15-31 | pkg/iac/scanners/terraform/parser/funcs/number.go:44-60 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/number.go:15\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":"pkg/iac/scanners/terraform/parser/funcs/number.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4296407cdde5de9eeb36e52c62f3360a2f5005fed0b66a0872c673d74a5dcde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201313 lines \u00D7 6): pkg/iac/scanners/terraform/parser/funcs/cidr.go:17-29 | pkg/iac/scanners/terraform/parser/funcs/cidr.go:76-92 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:30-33 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:43-55 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:146-158 | pkg/iac/scanners/terraform/parser/funcs/string.go:92-108 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/cidr.go:17\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":"pkg/iac/scanners/terraform/parser/funcs/cidr.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df1ebc4dddf15ae2598342fcc7ef8343c6a61164eec858e1fa8f1a50b5ff716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): pkg/iac/scanners/terraform/parser/funcs/collection.go:176-188 | pkg/iac/scanners/terraform/parser/funcs/number.go:15-27 | pkg/iac/scanners/terraform/parser/funcs/number.go:44-56 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/collection.go:176\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":"pkg/iac/scanners/terraform/parser/funcs/collection.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e7e693f17c6de4d48418c7ab9c163acfa2fdb6ceba869516b60b52c061acae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/commands/artifact/scanner.go:40-52 | pkg/commands/artifact/scanner.go:136-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d1f2568ee9eb1606f49930bcab6a26b909aa6be6ddf894cdc429beb0b43f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/dependency/parser/java/pom/pom.go:329-341 | pkg/fanal/analyzer/language/java/gradle/pom.go:54-66 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/dependency/parser/java/pom/pom.go:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/pom.go"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d727b1ea986472fd11dc89df4d83b32a5479a7f700a007a83f9edff4963183e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/detector/ospkg/debian/debian.go:111-123 | pkg/detector/ospkg/ubuntu/ubuntu.go:146-158 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/debian/debian.go:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/debian/debian.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e18f9dc4dd676c7bedf066486fb41f8c6a1ffe8200e1b4987dda1f7f60434c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/iac/adapters/terraform/azure/keyvault/adapt.go:39-51 | pkg/iac/adapters/terraform/azure/keyvault/adapt.go:59-71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/azure/keyvault/adapt.go:39\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":"pkg/iac/adapters/terraform/azure/keyvault/adapt.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"644cd9f38c97f2019ceab2b1d02dcff0f64c3f24a9c9f58e1eadbc3c48164dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): pkg/commands/app.go:399-410 | pkg/commands/app.go:761-771 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:399\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cb1944d65b1906393ca3ceb7822e56be2c8fc41e046d78beb24e1e682a9084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/commands/artifact/scanner.go:59-70 | pkg/commands/artifact/scanner.go:155-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc89fa077020c90da8d1fc4f1654c95f61d845ea631485045139a4f4d87893c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/detector/ospkg/alpine/alpine.go:103-114 | pkg/detector/ospkg/chainguard/chainguard.go:49-60 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/alpine/alpine.go:103\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":"pkg/detector/ospkg/alpine/alpine.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84b58da50de851340bc72796051ddd1731458f1ee2de28d0c39a720cf472eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/fanal/analyzer/licensing/license.go:127-138 | pkg/fanal/utils/utils.go:67-78 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/licensing/license.go:127\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":"pkg/fanal/analyzer/licensing/license.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"989951728ace0219d848cfa1d48dc240f09abeb1ef4242a9dd4db0fe8a4b5991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/fanal/analyzer/pkg/apk/apk.go:174-185 | pkg/fanal/analyzer/pkg/rpm/rpm.go:299-310 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/pkg/apk/apk.go:174\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/fanal/analyzer/pkg/apk/apk.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33dc303ac3c3bb3f86fd71aaa17cc59f5859fbbf51f265b3883025736127c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/flag/options.go:291-302 | pkg/flag/options.go:310-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/flag/options.go:291\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":"pkg/flag/options.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cc58255424a7c88da56cf952832d5e53863d43e456c8d62e4ce9d999b8a0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/iac/adapters/terraform/aws/dynamodb/adapt.go:39-50 | pkg/iac/adapters/terraform/aws/dynamodb/adapt.go:65-76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/dynamodb/adapt.go:39\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/dynamodb/adapt.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d96453c6c4e7b2e52b5d1830abb48c1156602fc7356a282e2965e1e0631c8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/iac/scanners/cloudformation/scanner.go:78-89 | pkg/iac/scanners/helm/scanner.go:99-110 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/scanner.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"13af478bd1545e020b82820c62e0e1e0e5647fab902a61b23a26bdba5b8c35a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/sbom/cyclonedx/unmarshal.go:278-289 | pkg/sbom/spdx/unmarshal.go:271-282 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/sbom/cyclonedx/unmarshal.go:278\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/unmarshal.go"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6792f9043521f4655887415545dfd6ee811e04050605d5d180db3dc42d33666e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): pkg/commands/app.go:386-396 | pkg/commands/app.go:454-464 | pkg/commands/app.go:516-526 | pkg/commands/app.go:568-578 | pkg/commands/app.go:741-751 | pkg/commands/app.go:1082-1092 | pkg/commands/app.go:1152-1162 | pkg/commands/app.go:1235-1245 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:386\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7f577b4e0f6a03a2db8d18fed31b38420d4af0696be38a4932862ba32520ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): pkg/detector/ospkg/alpine/alpine.go:105-115 | pkg/detector/ospkg/chainguard/chainguard.go:51-61 | pkg/detector/ospkg/minimos/minimos.go:52-62 | pkg/detector/ospkg/wolfi/wolfi.go:52-62 \u2014 \u0060pkg/detector/ospkg/chainguard/chainguard.go\u0060 and \u0060pkg/detector/ospkg/minimos/minimos.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/alpine/alpine.go:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alpine/alpine.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1939db81525081c506fa8dc416391c2a62f4232f52e016e0ce34fb3b28a3691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/commands/app.go:1279-1289 | pkg/commands/app.go:1327-1337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:1279\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/commands/app.go:1326\u0060 calls \u0060ExactArgs\u0060 and \u0060pkg/commands/app.go:1278\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b77e23f4111426a8d88af304cef34c11d8ceb5d941d043d568af1d87a7d4990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/iac/adapters/terraform/azure/database/mysql.go:31-41 | pkg/iac/adapters/terraform/azure/database/postgresql.go:35-45 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/iac/adapters/terraform/azure/database/postgresql.go:32\u0060 calls \u0060GetReferencingResources\u0060, \u0060adaptPostgreSQLConfig\u0060 and \u0060pkg/iac/adapters/terraform/azure/database/mysql.go:28\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/database/mysql.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b9a51ba824754c8f23e6971d08ab7f55a8c040f39cc2bfbf0de5d305a4417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/iac/adapters/terraform/google/iam/convert.go:12-22 | pkg/iac/adapters/terraform/google/iam/project_iam.go:101-111 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/convert.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2973404e70214193c28472dad2bc8d1423c9049070efdebf1f0c32067665e5f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 10): pkg/commands/app.go:323-332 | pkg/commands/app.go:385-391 | pkg/commands/app.go:453-459 | pkg/commands/app.go:515-521 | pkg/commands/app.go:567-573 | pkg/commands/app.go:623-629 | pkg/commands/app.go:740-746 | pkg/commands/app.go:1081-1087 | pkg/commands/app.go:1151-1157 | pkg/commands/app.go:1234-1240 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:323\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/commands/app.go:392\u0060 calls \u0060Bind\u0060, \u0060Errorf\u0060 and \u0060pkg/commands/app.go:333\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c097e942e472ad21a0072702504dcba1788f9ce813e4494cdc9b9e3d72b61f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): pkg/detector/ospkg/chainguard/chainguard.go:34-43 | pkg/detector/ospkg/minimos/minimos.go:34-43 | pkg/detector/ospkg/wolfi/wolfi.go:34-43 \u2014 \u0060pkg/detector/ospkg/chainguard/chainguard.go\u0060 and \u0060pkg/detector/ospkg/minimos/minimos.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/chainguard/chainguard.go:34\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":"pkg/detector/ospkg/chainguard/chainguard.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7619eeb3598d5292c6ba951a68741108b68242fde230ce40273c6f54a9c52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): pkg/detector/ospkg/rapidfort/rapidfort.go:284-294 | pkg/detector/ospkg/rootio/rootio.go:86-95 | pkg/detector/ospkg/seal/seal.go:111-120 \u2014 \u0060pkg/detector/ospkg/rootio/rootio.go\u0060 and \u0060pkg/detector/ospkg/seal/seal.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 52 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/rapidfort/rapidfort.go:284\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/rapidfort/rapidfort.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d46b25cab63d187a616c19dba4879d5cee7451f73712f16ea10d2a39da6e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): pkg/iac/adapters/terraform/google/storage/iam.go:30-39 | pkg/iac/adapters/terraform/google/storage/iam.go:61-70 | pkg/iac/adapters/terraform/google/storage/iam.go:84-93 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/iac/adapters/terraform/google/storage/iam.go:59\u0060 calls \u0060AdaptBinding\u0060 and \u0060pkg/iac/adapters/terraform/google/storage/iam.go:28\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/iam.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c37d5a1ac728735b0e75b363999542fa320a1db36380974db7f9128b785ffb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/testutil/gzip.go:21-30 | internal/testutil/gzip.go:38-47 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/testutil/gzip.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a013d5a5d8d9a07f7463602d8a223235da38851d8e30160c1af37ae72d2df82d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/fanal/analyzer/language/analyze.go:25-34 | pkg/fanal/analyzer/language/analyze.go:39-48 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/analyze.go:25\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/analyze.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"63405b705ef976647c5782fcda4dc970953bd2b5fea981ff40dabdf6461ebb6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/ecr/repository.go:70-79 | pkg/iac/adapters/cloudformation/aws/sqs/queue.go:49-58 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/cloudformation/aws/ecr/repository.go:70\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ecr/repository.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da9d97500d68d7f1cb089cf355a7ad192e46eee0b568bd3667af957596f8cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): pkg/iac/adapters/terraform/aws/apigateway/apiv1.go:106-115 | pkg/iac/adapters/terraform/aws/apigateway/apiv2.go:61-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/apigateway/apiv1.go:106\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/apigateway/apiv1.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc6ba4a8ab64084e08f9d5ccfc0fd85141055a8e5983a84d49ad317b8e10db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/iac/scan/result.go:187-196 | pkg/iac/scan/result.go:203-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scan/result.go:187\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/iac/scan/result.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ed36717c5c8961dd16087e12a784c1064ccde229646ee1293f380468280478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/iac/scanners/terraform/parser/funcs/collection.go:134-142 | pkg/iac/scanners/terraform/parser/funcs/collection.go:617-625 | pkg/iac/scanners/terraform/parser/funcs/collection.go:638-646 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/collection.go:134\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":"pkg/iac/scanners/terraform/parser/funcs/collection.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1e1fe1335e4f3379d1b58705dbbbdaa3c0c61557c02fe32a638f1a099a1983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pkg/iac/scanners/terraform/parser/funcs/encoding.go:47-55 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:154-162 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:182-190 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/encoding.go:47\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":"pkg/iac/scanners/terraform/parser/funcs/encoding.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5b44a7544921cfd381b371596fef862979b0ed28fda7990d5ab572a7703b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/compliance/report/json.go:32-41 | pkg/report/json.go:41-49 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/compliance/report/json.go:32\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compliance/report/json.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdd80ed1240fa8b39ab1680e1c1db1fb374c8fa6a11505aa8b9cbf5673d3f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/dependency/parser/julia/manifest/naive_pkg_parser.go:30-38 | pkg/dependency/parser/rust/cargo/naive_pkg_parser.go:31-39 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/dependency/parser/julia/manifest/naive_pkg_parser.go:30\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":"pkg/dependency/parser/julia/manifest/naive_pkg_parser.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"262daa35c81c2414db5366029fe075901ea59548757ccaffbdaf5d707f6c715d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/detector/ospkg/azure/azure.go:44-53 | pkg/detector/ospkg/photon/photon.go:46-54 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/azure/azure.go:44\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/detector/ospkg/azure/azure.go:41\u0060 calls \u0060Minor\u0060 and \u0060pkg/detector/ospkg/photon/photon.go:44\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/azure/azure.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c2ee52708d6e9af94099ec94be0a40bb65a839176466134ce0a5d57ff0b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/fanal/analyzer/language/python/poetry/poetry.go:97-105 | pkg/fanal/analyzer/language/python/pylock/pylock.go:114-121 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/python/poetry/poetry.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3d63a583513dd6a4c61044dc99c64ae54bdbe1893581749bcb30a5b42ae6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/iac/adapters/terraform/google/compute/instances.go:67-75 | pkg/iac/adapters/terraform/google/compute/instances.go:79-87 \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":"pkg/iac/adapters/terraform/google/compute/instances.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a81ed07ecd3487d49e4dbb512ae0b8e8d4a6e35e4dc40daa56f3a15fcf675aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/iac/adapters/terraform/google/gke/adapt.go:84-91 | pkg/iac/adapters/terraform/google/gke/adapt.go:191-199 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/gke/adapt.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b0b471d4f98ee2d492886351b1dcdb5a5e3d5e6b22417aac273e1cded67e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/iac/scanners/terraform/parser/funcs/collection.go:67-75 | pkg/iac/scanners/terraform/parser/funcs/collection.go:97-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/collection.go:67\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":"pkg/iac/scanners/terraform/parser/funcs/collection.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"483091440386bf7c4598bb99be15901152291fd1a647773996c1125df0e1a9cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/x/json/jsonc.go:183-191 | pkg/x/json/jsonc.go:195-203 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/x/json/jsonc.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed0983cba1cd3f37765b00bbde2444837e77aea8ba7043dc7a125cd0066689c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): pkg/commands/app.go:391-398 | pkg/commands/app.go:459-466 | pkg/commands/app.go:521-528 | pkg/commands/app.go:573-580 | pkg/commands/app.go:679-686 | pkg/commands/app.go:746-753 | pkg/commands/app.go:1087-1094 | pkg/commands/app.go:1157-1164 | pkg/commands/app.go:1240-1247 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:391\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":"pkg/commands/app.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d41fd0fafc56fa533c86e48cef4170a9b9ea186a743fd84b9aa13a44ff6e1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): pkg/detector/ospkg/azure/azure.go:43-50 | pkg/detector/ospkg/oracle/oracle.go:50-56 | pkg/detector/ospkg/photon/photon.go:45-51 | pkg/detector/ospkg/suse/suse.go:122-128 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/azure/azure.go:43\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/detector/ospkg/azure/azure.go:41\u0060 calls \u0060Minor\u0060 and \u0060pkg/detector/ospkg/photon/photon.go:44\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/azure/azure.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7d90904f266e74956dd0be3a019ab40bdba8b5eafe95f3b7bdff84192c5d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): pkg/iac/adapters/cloudformation/aws/ecr/repository.go:71-77 | pkg/iac/adapters/cloudformation/aws/sam/function.go:43-50 | pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:69-76 | pkg/iac/adapters/cloudformation/aws/sqs/queue.go:50-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/iac/adapters/cloudformation/aws/sam/function.go:52\u0060 calls \u0060IsString\u0060, \u0060AsStringValue\u0060 and \u0060pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:78\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ecr/repository.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"13310e28f99d293a38fc45e3f201ac720574a49181c0159f7feb2ef10f5a7ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): pkg/iac/scanners/terraform/parser/funcs/filesystem.go:300-307 | pkg/iac/scanners/terraform/parser/funcs/filesystem.go:315-322 | pkg/iac/scanners/terraform/parser/funcs/filesystem.go:329-336 | pkg/iac/scanners/terraform/parser/funcs/filesystem.go:344-351 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/filesystem.go:300\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":"pkg/iac/scanners/terraform/parser/funcs/filesystem.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1553d8e0e547f5081405206e4df2f2eee738cbc706f13c73383f63812a6fc7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/commands/artifact/scanner.go:77-84 | pkg/commands/artifact/scanner.go:173-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cecc857b15b8c2974a4d85373b8e5019baa18a1b624ab9aad0f5a96ae7f008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/commands/artifact/scanner.go:91-98 | pkg/commands/artifact/scanner.go:187-194 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1312ab558015754b5c51bbf68a1c13191f3485279629d986a26fa599e4a3bdf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/commands/artifact/scanner.go:118-125 | pkg/commands/artifact/scanner.go:214-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:118\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2cc99e061309781d79e1c020d954f3bf07ba274da8a42199ce196512d4501a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/analyzer/language/nodejs/bun/bun.go:111-118 | pkg/fanal/analyzer/language/nodejs/npm/npm.go:113-120 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/nodejs/bun/bun.go:111\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/nodejs/bun/bun.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde2a3ebd5e1e72d9ab43a308b55773593c85fc1e65de61c1e57364b36a8cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/analyzer/language/python/poetry/poetry.go:162-169 | pkg/fanal/analyzer/language/python/pylock/pylock.go:150-157 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/python/poetry/poetry.go:162\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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/python/poetry/poetry.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a530cc7e5b9b0429018a9a4ae8bfa2f188ac6ca47a78dec92e8b013b9e8809a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/artifact/image/image.go:55-63 | pkg/fanal/artifact/vm/vm.go:40-47 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02a2580ea0f71cc6b141da4d3ccf042dbf1d7874d830cbd7c54df51ab8449d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/iac/adapters/terraform/aws/sqs/adapt.go:35-42 | pkg/iac/adapters/terraform/aws/sqs/adapt.go:108-115 \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":"pkg/iac/adapters/terraform/aws/sqs/adapt.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fcca9c6678749a75630bea0a2119c45c39b1b4f4047402561ef43da4f39309"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/k8s/scanner/scanner.go:265-272 | pkg/k8s/scanner/scanner.go:346-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/k8s/scanner/scanner.go:265\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":"pkg/k8s/scanner/scanner.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e5a0a83f52333abb5317fa7fe6eae138afe84a6cee2a40f7e9e551b94055a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/version/version.go:46-53 | pkg/version/version.go:62-69 \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":"pkg/version/version.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"032c908206360e3a47752dbb3874a8f9d3e4c4d200933bb16f32e6a828f86ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): pkg/commands/app.go:392-398 | pkg/commands/app.go:460-466 | pkg/commands/app.go:522-528 | pkg/commands/app.go:632-638 | pkg/commands/app.go:1241-1247 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/commands/app.go:630\u0060 calls \u0060Warn\u0060 and \u0060pkg/commands/app.go:391\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379ef42f487c8de2b9893beb19e9c6fc7dc334c9dea68637fa184fd46c764f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 5): pkg/detector/ospkg/alma/alma.go:25-31 | pkg/detector/ospkg/debian/debian.go:36-37 | pkg/detector/ospkg/oracle/oracle.go:30-36 | pkg/detector/ospkg/redhat/redhat.go:50-51 | pkg/detector/ospkg/rocky/rocky.go:24-30 \u2014 \u0060pkg/detector/ospkg/alma/alma.go\u0060 and \u0060pkg/detector/ospkg/rocky/rocky.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/alma/alma.go:25\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alma/alma.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"401ec05bc7f0c4974133f1891fd2050279db451f838558b93530c72d57c185ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/commands/artifact/scanner.go:105-111 | pkg/commands/artifact/scanner.go:201-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/artifact/scanner.go:105\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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":"pkg/commands/artifact/scanner.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa9a2b95c71b7cdc75ddf9baf01fb3612a2387ef53e7c0a9c8c28ad3b97d1ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/iac/scanners/terraform/parser/funcs/crypto.go:229-235 | pkg/iac/scanners/terraform/parser/funcs/crypto.go:249-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/funcs/crypto.go:229\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/crypto.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"835181383b8b6b9086df350dfe7aec4ce5531fadedf8eabdea68f1becf585afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): pkg/commands/app.go:958-963 | pkg/commands/app.go:982-987 | pkg/commands/app.go:1280-1285 | pkg/commands/app.go:1328-1333 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/commands/app.go:958\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/commands/app.go:1326\u0060 calls \u0060ExactArgs\u0060 and \u0060pkg/commands/app.go:1278\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1f7cd539ba22c8920d4282034e4e2775863d1b2cdae51a9f31c27b45337945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/analyzer/language/python/poetry/poetry.go:57-62 | pkg/fanal/analyzer/language/python/pylock/pylock.go:56-62 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/python/poetry/poetry.go:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/fanal/analyzer/language/python/pylock/pylock.go:66\u0060 calls \u0060Sort\u0060 and \u0060pkg/fanal/analyzer/language/python/poetry/poetry.go:65\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/python/poetry/poetry.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c958eef84f9183097291a5fe15a637d56f7a739006dddd99b4b13dc2a9dfb697"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/artifact/sbom/sbom.go:111-116 | pkg/fanal/artifact/vm/file.go:106-111 \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":"pkg/fanal/artifact/sbom/sbom.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"950eeebe1f62c6c3fc0be901fe5194acd30a97f6dfcd16c17e607a7a393a6b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/secret/scanner.go:699-704 | pkg/fanal/secret/scanner.go:787-792 \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":"pkg/fanal/secret/scanner.go"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a40944077d93b81cba4f976789dbbccfc0a965e9bb57204545e8fce00c91ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/sam/function.go:31-36 | pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:58-63 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/cloudformation/aws/sam/function.go:31\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/iac/adapters/cloudformation/aws/sam/function.go:37\u0060 calls \u0060IsMap\u0060 and \u0060pkg/iac/adapters/cloudformation/aws/sam/state_machines.go:64\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/function.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f74835766c53d761e2abbe46142b3393d294a5c5839cda085198f3a8db62cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/aws/ec2/vpc.go:191-196 | pkg/iac/adapters/terraform/aws/ec2/vpc.go:212-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/ec2/vpc.go:191\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/vpc.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d76b1174ef751ed849c4fb6b219c84f295e4213b7aab84a008064bb114ebd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/kubernetes/adapt.go:51-56 | pkg/iac/adapters/terraform/kubernetes/adapt.go:75-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/kubernetes/adapt.go:51\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":"pkg/iac/adapters/terraform/kubernetes/adapt.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30b2f254f9f9c3b9597c4fb631d5dc72c7ff22b8ec079e68d70968ec8ca9ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/module/module.go:199-206 | pkg/module/module.go:248-253 \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":"pkg/module/module.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7df4d971a0b9821a1b4fd8d0b6e4f0d7b0ee09bc859b438fb734cd166a79f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/iac/adapters/arm/database/mssql.go:34-39 | pkg/iac/adapters/arm/database/postgresql.go:28-32 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/arm/database/mssql.go:34\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":"pkg/iac/adapters/arm/database/mssql.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"183bbbf824d1414681ab9ef55e62ce93d198008fbcdd641af21eee6767cd3126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/aws/ecr/adapt.go:104-109 | pkg/iac/adapters/terraform/aws/redshift/adapt.go:87-92 \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":"pkg/iac/adapters/terraform/aws/ecr/adapt.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e319cd9e392a997e61de04e08d76ad3291c7cb3c40e89a98fcc20aee2b93eb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/iac/adapters/terraform/aws/s3/policies.go:29-34 | pkg/iac/adapters/terraform/aws/s3/public_access_block.go:19-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/s3/policies.go:29\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":"pkg/iac/adapters/terraform/aws/s3/policies.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"275db359a0a7b77edb270690f1dafe7ec9df0bed4b9aa4963323a0d6304be069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/dependency/parser/java/jar/parse.go:578-586 | pkg/dependency/parser/java/pom/pom.go:140-148 \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":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6278528f9e685ff81feedccb68727617118cc7924eb6aa8623f9fe6aeeb01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/dependency/parser/julia/manifest/naive_pkg_parser.go:63-69 | pkg/dependency/parser/rust/cargo/naive_pkg_parser.go:66-72 \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":"pkg/dependency/parser/julia/manifest/naive_pkg_parser.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5783531744ad1995d36a1ba28a22d86b370d3585cd0acd6af793939ca3f447d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): pkg/detector/ospkg/alma/alma.go:97-109 | pkg/detector/ospkg/redhat/redhat.go:175-187 | pkg/detector/ospkg/rocky/rocky.go:89-101 \u2014 \u0060pkg/detector/ospkg/alma/alma.go\u0060 and \u0060pkg/detector/ospkg/rocky/rocky.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 41 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060string\u0060 to \u0060osVer\u0060 in one and \u0060s *Scanner) detect(osVer\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alma/alma.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbc1dc3bf677b31dbd113fda231bb6ea5415211fbb46b163873c355dd78e17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): pkg/detector/ospkg/chainguard/chainguard.go:74-85 | pkg/detector/ospkg/minimos/minimos.go:75-86 | pkg/detector/ospkg/wolfi/wolfi.go:75-86 \u2014 \u0060pkg/detector/ospkg/chainguard/chainguard.go\u0060 and \u0060pkg/detector/ospkg/minimos/minimos.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 4 separate duplicated blocks between them, totalling at least 55 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/chainguard/chainguard.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ea12cf265cca8811a23b0cd21e986a616e36fed0d716a7897919a48465e9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fanal/analyzer/os/amazonlinux/amazonlinux.go:31-39 | pkg/fanal/analyzer/os/redhatbase/redhatbase.go:29-38 \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":"pkg/fanal/analyzer/os/amazonlinux/amazonlinux.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7405cef2633718cf571c255cefc9e1f89d40e0ec036873e1e2c7d3f8bb5a02a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/iac/adapters/ansible/aws/s3/adapt.go:8-17 | pkg/iac/adapters/terraform/aws/s3/adapt.go:8-18 \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":"pkg/iac/adapters/ansible/aws/s3/adapt.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8cca4675fb5d8a5ae3ea7b34ed062ee521ab88dcd4aff8eac21dcba7f476c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/iac/adapters/arm/database/adapt.go:8-15 | pkg/iac/adapters/terraform/azure/database/adapt.go:8-15 \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":"pkg/iac/adapters/arm/database/adapt.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b071c57a56c5cde2de38d3ca163359d8d77a36849529b90410ed9bb3caaeada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/apigateway/apigateway.go:11-22 | pkg/iac/adapters/terraform/aws/apigateway/adapt.go:10-21 \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":"pkg/iac/adapters/cloudformation/aws/apigateway/apigateway.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8792b2bfa7f017b4dc9efe4bee4d4df34ef371dbbebae9b932df054ca771e3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/documentdb/cluster.go:46-58 | pkg/iac/adapters/cloudformation/aws/rds/instance.go:94-105 \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":"pkg/iac/adapters/cloudformation/aws/documentdb/cluster.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0065d06d2ae800425c98a5317232fbd706853bff278a508344f0e4b8a9978f09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/report/table/licensing.go:89-95 | pkg/report/table/licensing.go:186-192 | pkg/report/table/vulnerability.go:188-194 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/licensing.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"909f3d5937ae4e9896fb3c94b0fd1e7caac6dfdee7e1e42c271cb37db304d481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11): pkg/fanal/analyzer/config/ansible/ansible.go:26-32 | pkg/fanal/analyzer/config/azurearm/azurearm.go:28-34 | pkg/fanal/analyzer/config/cloudformation/cloudformation.go:24-30 | pkg/fanal/analyzer/config/dockerfile/docker.go:30-36 | pkg/fanal/analyzer/config/helm/helm.go:31-37 | pkg/fanal/analyzer/config/json/json.go:26-32 | pkg/fanal/analyzer/config/k8s/k8s.go:24-30 | pkg/fanal/analyzer/config/terraform/terraform.go:26-32 | pkg/fanal/analyzer/config/terraformplan/json/json.go:33-39 | pkg/fanal/analyzer/config/terraformplan/snapshot/snapshot.go:27-33 | pkg/fanal/analyzer/config/yaml/yaml.go:26-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/config/ansible/ansible.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102f4bd834465c32228e0a44c4efe55d719a9b6a6fd3a30945d9d5044c8c339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/fanal/analyzer/language/nodejs/npm/npm.go:89-102 | pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go:90-104 \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":"pkg/fanal/analyzer/language/nodejs/npm/npm.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde5ad0013dd639820faf3397ac61c90f1362dd4891feb3c2c918074c6517587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/redshift/redshift.go:9-16 | pkg/iac/adapters/terraform/aws/redshift/adapt.go:9-16 \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":"pkg/iac/adapters/cloudformation/aws/redshift/redshift.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6c3da7b131e7564f4fd8964a67b42d97b7638ee18cb76f537f9341cd81c040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/iac/adapters/terraform/aws/elasticache/adapt.go:77-85 | pkg/iac/adapters/terraform/aws/redshift/adapt.go:100-108 \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":"pkg/iac/adapters/terraform/aws/elasticache/adapt.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"006e5f063ebefae7a708e42d349042180162ece1f6fd7eb9337c2ce609283257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/k8s/k8s.go:34-42 | pkg/rpc/server/server.go:41-49 \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":"pkg/k8s/k8s.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c7d60c5290681be5eeedac834de498d2ecedd796e0d1198a2fe6eb4eeb1d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go:73-88 | pkg/fanal/analyzer/language/nodejs/yarn/yarn.go:103-118 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go:73\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f780ba8051174a93acd6175c76567034cefcb57bb046a37943242e88c2e36031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/iac/scanners/cloudformation/parser/fn_and.go:15-27 | pkg/iac/scanners/cloudformation/parser/fn_or.go:15-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/cloudformation/parser/fn_and.go:15\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/fn_and.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4de19e9a8bb1afaaf2a96518e4a4e818ca8ac10ed589be8649f134f1300cc80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/rekortest/server.go:53-65 | pkg/rekortest/server.go:177-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/rekortest/server.go:53\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":"pkg/rekortest/server.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb93736221ca457dd850ffb57d6117eea8294d3e303c4d142feb7cb6ebfc505a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): pkg/fanal/analyzer/language/julia/pkg/pkg.go:75-86 | pkg/fanal/analyzer/language/php/composer/composer.go:67-79 | pkg/fanal/analyzer/language/python/pylock/pylock.go:66-77 | pkg/fanal/analyzer/language/rust/cargo/cargo.go:81-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/julia/pkg/pkg.go:75\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/julia/pkg/pkg.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"574c40d5ef75b9fb9d450768adf5179a2e5b8c1913122b020b2b40b1b90923e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): pkg/iac/adapters/terraform/google/iam/folder_iam.go:48-60 | pkg/iac/adapters/terraform/google/iam/org_iam.go:47-59 | pkg/iac/adapters/terraform/google/iam/project_iam.go:136-148 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/google/iam/folder_iam.go:48\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":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7a8af4d5c0af79d14fef7233cadd07b25730bb4ef18205036a5b56fa3fd675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/iac/scanners/ansible/parser/parser.go:627-634 | pkg/iac/scanners/ansible/parser/parser.go:698-708 \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":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"288d3729db7c208169e04e248e2a417e2dfad78fe146efbfb240b0d0716ae3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/dependency/parser/java/pom/mirror.go:55-65 | pkg/dependency/parser/java/pom/repository.go:58-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/dependency/parser/java/pom/mirror.go:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/mirror.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bee0850c06ad17a728b96bb3e3695cdda878349c93b35cd5814aedfb8c017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): pkg/cache/fs.go:96-112 | pkg/cache/fs.go:153-170 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/fs.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcf55b1c702859da765f19b69adb5534095952051d5583614c405b5fc9b0b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/detector/ospkg/alpine/alpine.go:97-106 | pkg/detector/ospkg/ubuntu/ubuntu.go:116-125 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/alpine/alpine.go:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alpine/alpine.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c55b3efeb98fd4dac1c18b59240e8d54cb1372a4c3fabf0d2e24b4d386bac77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/dependency/parser/julia/manifest/parse.go:62-70 | pkg/dependency/parser/rust/cargo/parse.go:43-51 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/dependency/parser/julia/manifest/parse.go:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/julia/manifest/parse.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c16556f413b2a1a665c5677916b60175ec1e860bd86a3c324d01ee8f5f72ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/iac/adapters/terraform/azure/storage/adapt.go:49-56 | pkg/iac/adapters/terraform/azure/storage/adapt.go:66-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/azure/storage/adapt.go:49\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/storage/adapt.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"863c7350be5707f59a2bbad8e5724831d80b8f0a2e2657aee81ebc060d2129be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/iac/adapters/terraform/kubernetes/adapt.go:59-67 | pkg/iac/adapters/terraform/kubernetes/adapt.go:83-91 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/kubernetes/adapt.go:59\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/kubernetes/adapt.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"26347765009008c484643e46f170192e1ac98a5247b948ccbd32cfc0a318b9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fanal/image/daemon/containerd.go:128-136 | pkg/fanal/image/daemon/docker.go:61-69 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/daemon/containerd.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d35d60b51df730370cb0a0e9c3e08247dd1e193bad84a8ef8c00fc92d186aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): pkg/fanal/artifact/image/image.go:55-63 | pkg/fanal/artifact/local/fs.go:57-65 | pkg/fanal/artifact/vm/vm.go:40-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b614344d6c4ed62e665584af4f30b4d2de0875321471a3cf5e752638eed0986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/detector/ospkg/minimos/minimos.go:44-51 | pkg/detector/ospkg/wolfi/wolfi.go:44-51 \u2014 \u0060pkg/detector/ospkg/minimos/minimos.go\u0060 and \u0060pkg/detector/ospkg/wolfi/wolfi.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 63 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/minimos/minimos.go:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/minimos/minimos.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e00e03a19544e37aba1ee84253c4a1dedbc1343944abb5f154e521b41be0e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): pkg/iac/scanners/terraform/parser/funcs/cidr.go:51-58 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:47-54 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:154-161 | pkg/iac/scanners/terraform/parser/funcs/encoding.go:182-189 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/cidr.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4deaa38d2cdd60efdf0c7a477ed98f2d63f3aa0f36da3400b3e7fce1723c544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/iac/scanners/terraform/parser/resolvers/registry.go:86-93 | pkg/iac/scanners/terraform/parser/resolvers/registry.go:124-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/scanners/terraform/parser/resolvers/registry.go:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/iac/scanners/terraform/parser/resolvers/registry.go:132\u0060 calls \u0060Set\u0060 and \u0060pkg/iac/scanners/terraform/parser/resolvers/registry.go:94\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/registry.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7b41d033943522689023851836fa1f1773c8a551f3f48eb3591750e0f57c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/artifact/vm/ebs.go:68-75 | pkg/fanal/artifact/vm/file.go:89-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/artifact/vm/ebs.go:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/vm/ebs.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcac74947c7e34b010db4b55f63b591b4c3871dea60a7dd509add644f591f7ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): pkg/fanal/analyzer/os/redhatbase/alma.go:27-34 | pkg/fanal/analyzer/os/redhatbase/centos.go:27-34 | pkg/fanal/analyzer/os/redhatbase/fedora.go:27-34 | pkg/fanal/analyzer/os/redhatbase/rocky.go:27-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/os/redhatbase/alma.go:27\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":"pkg/fanal/analyzer/os/redhatbase/alma.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbd8ffd639efb7059b0726a25c14488550d89bddbea36fa1fb6eab6481eb466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/iac/adapters/arm/network/adapt.go:50-56 | pkg/iac/adapters/arm/network/adapt.go:66-72 \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":"pkg/iac/adapters/arm/network/adapt.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c68abac1dda77afa407a7a42aed8d93fd797d395375cbdeb56443069bc44544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/fanal/artifact/sbom/sbom.go:70-76 | pkg/fanal/artifact/vm/ebs.go:67-73 | pkg/fanal/artifact/vm/file.go:88-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/sbom/sbom.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a893bef81d53e4fec8c893d34efbe1e72997f7aaf03d7c2370520c0db653e75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/aws/s3/bucket.go:89-94 | pkg/iac/adapters/terraform/aws/s3/bucket.go:134-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/s3/bucket.go:89\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":"pkg/iac/adapters/terraform/aws/s3/bucket.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dc9e410c1cf090a73bdead735999abe91ac2173078caeb69471ed72aa4df26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/google/compute/networks.go:147-152 | pkg/iac/adapters/terraform/google/compute/networks.go:160-165 \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":"pkg/iac/adapters/terraform/google/compute/networks.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3d6a7aab4a5ad56857e2a7e41f38363a4b62cb2c830cc56d0452be45e92d39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/artifact/local/fs.go:264-269 | pkg/fanal/artifact/sbom/sbom.go:71-76 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/artifact/local/fs.go:264\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/local/fs.go"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cafee5a3e97c7929df0e4af46add7071bb8b3668b1a6968db2906c5f2e7a9bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/iac/adapters/terraform/azure/network/common.go:50-54 | pkg/iac/adapters/terraform/azure/network/common.go:80-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/azure/network/common.go:50\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":"pkg/iac/adapters/terraform/azure/network/common.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38e0050ad861d61a979ae30cc94ab9fe045d13b896ab9df2664155929af83a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/detector/ospkg/suse/suse.go:39-44 | pkg/detector/ospkg/suse/suse.go:69-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/detector/ospkg/suse/suse.go:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/suse/suse.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4ddf95bf6fcddf8c6db69c57672979a4cfb800050591e50d6ce9fb873cea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/analyzer/language/nodejs/bun/bun.go:53-60 | pkg/fanal/analyzer/language/nodejs/npm/npm.go:52-59 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/fanal/analyzer/language/nodejs/bun/bun.go:53\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":"pkg/fanal/analyzer/language/nodejs/bun/bun.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b491832d4c1689b22c7fa0082238f1b985fa3dc5b7aa0d2b6c46d4e910085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/cloudformation/aws/iam/iam.go:13-18 | pkg/iac/adapters/terraform/aws/iam/passwords.go:14-19 \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":"pkg/iac/adapters/cloudformation/aws/iam/iam.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea57005bc794ea20d90e5ad9a475961c0325472feb51b8c7911b0a9061dcd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/iac/adapters/terraform/aws/s3/bucket.go:152-157 | pkg/iac/adapters/terraform/aws/s3/bucket.go:164-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/iac/adapters/terraform/aws/s3/bucket.go:152\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/s3/bucket.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"425508d3aa944011f509953c8d3fe9c467184e8d3132459b524e1ddaa1d36c23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:527-530 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:527-530 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ba5950e780965187d690f4f8bb2db7cede381796bebde1fe02974273cd129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:89-91 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:89-91 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb505441694696c6cdb1940edd14171e6b101719682334a58ce06f756dda5885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:94-96 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:94-96 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e591cff78d6e194cc33431f40b0e7800b48ad7b21bde7f1cfda98961e85047"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:109-112 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:42-45 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:109-112 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:42-45 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"100d64e710aca6e94cf8abbd3609afd74aa2f7dbf72beede12adbcc7e5ab29d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:418-479 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:418-479 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:418\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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f737a17fc744e996c918ecb9954ac240fac9583593894d67c04f8aa6ea3650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:343-403 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:343-403 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedaf1564c8dd061a133207e9580cc356a177a0e27d0b3f4e2f6fda3a2766636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:533-570 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:533-570 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"62864f9f5a96b2014f1a0cccd54a223705cf9e76390279a7e9698666de0fb857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:623-674 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:623-674 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc1cdd9f8bf21c09ab2417f0c0c8016614e9f0175773bc19b17a46d638f26fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:168-186 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:168-186 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa4c04e7b73e5308b8909db7e88625ac5b6827cce56e36becda9036ecaa733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:498-512 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:498-512 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbba0aa6b017c5cc29051cf00b3d5288cf83ba965ae9af32e6d299342ff08251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:67-80 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:67-80 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:67\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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4eaa5d5c0d6abcdf569f93752e2af53672a6e28d871ba49a328f119bd2a1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:99-110 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:99-110 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad9fd0c0fb3ec8b7e9eff41263d83dfab2b6b6d05c49a2edb929d474ffcf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:97-106 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:97-106 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b163f4199313577d2222e80c6fb52f935f0fd05338981d3798a0f1538e3a4c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py:55-64 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py:55-64 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/zlib41bd3946e7341/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/zlib/1.2.13/_/_/export/conanfile.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"744f88f51cc95399241298d03f11c67a5b8198bf1289277249f12654c3fb5802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:119-127 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:119-127 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa507b47db6052eeedc75ed617dc3ededa3814a1e295f095715f59e714eeab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:482-489 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:482-489 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"232a3c430926904cc68c876e21be8d22e6eb7adfa4b95daa52351be017c7db9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:323-334 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:323-334 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0620e0abe09e50689146c372b555439cc91d3e2403944ee0fd89878401c22eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:406-415 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:406-415 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07e456008293b2b7ba13fea37ec723820115707e469c2dd2ba00cb1dbf05ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:158-163 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:158-163 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"90442f547dafd2c4bc1625502913bfdfa5f241362df07b34e8f8d95a7d6e6f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:130-135 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:130-135 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"61145eae86d5b9030e005597df39b0fcee242da40dc596a70b0f0c351c77e6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:190-215 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:190-215 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff61823735bc9a6bd01afaefb15abf13ebf8f383c68dc1395ef9ac3572303f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:573-611 | pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py:573-611 \u2014 before extracting anything, compare \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py\u0060 and \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 373 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py:573\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":"pkg/fanal/analyzer/language/c/conan/testdata/cacheDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee262c0cf0804a2a75364641e38f8ce8888f869b8030caa86eaae0e7540c320"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: runner (LCOM4 4): runner\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eb4866d4f88e4cb2683bc374bed82b9f78b60077a8053091b4431aaa37361c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Node (LCOM4 4): Node\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f23d5de2d1a230b82ef4daf2144dde99caf18a7e41156909156a3fd18e551d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FileContext (LCOM4 4): FileContext\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/file_context.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7fcd7b46bf459d7fdaceac78471ffa86e88c35cf6bf17f83b74ba5ce466ebe"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 pkg/fanal/analyzer/language/nodejs/pkg/testdata/ runs mocha but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060c8\u0060 (or \u0060nyc\u0060) as a devDependency so the suite can be wrapped for coverage. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D13","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":"906183972c56fa4469a3f4ae57310b85c0d17f67227844cf3efe8222f1e53fc7"},"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"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"0b049483f2cd7867d41bc94b925a8e8cf5bdf8cb914f5cc7d2ba8251d5d0556d"},"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"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5382b3eaac05d50cbdf20853ec0a506411559f543f06b38b6380e41802b9cade"},"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"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/crypto/parser/x509/parser.go: pkg/crypto/parser/x509/parser.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in x509.parseDERObject at line 507. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:41:39 \u002B00:00\u0027 --until=\u00272026-11-13 11:41:39 \u002B00:00\u0027 --full-history --no-merges -- pkg/crypto/parser/x509/parser.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/x509/parser.go"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49fc8508ab9569e217f46bf13b120157786c32efcc317376ccb9c63aa2e8186"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/fanal/applier/docker.go: pkg/fanal/applier/docker.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in applier.ApplyLayers at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:41:39 \u002B00:00\u0027 --until=\u00272026-11-13 11:41:39 \u002B00:00\u0027 --full-history --no-merges -- pkg/fanal/applier/docker.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/applier/docker.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c6d6b39d57e378800c64338d1b6b4f1ca92d26254aecc6e1e034525b570dc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/flag/options.go: pkg/flag/options.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Options.Align at line 456. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:41:39 \u002B00:00\u0027 --until=\u00272026-11-13 11:41:39 \u002B00:00\u0027 --full-history --no-merges -- pkg/flag/options.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c9c74c97bfd9ce27b57f454092900b3ebc5e9100af40b234112c6205513dc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/flag/report_flags.go: pkg/flag/report_flags.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ReportFlagGroup.ToOptions at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:41:39 \u002B00:00\u0027 --until=\u00272026-11-13 11:41:39 \u002B00:00\u0027 --full-history --no-merges -- pkg/flag/report_flags.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/report_flags.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c447fc1920072a2f6a85bd0726f96fa7fce62badb5550d831360e00d2ce0675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/dependency/parser/golang/mod/parse.go: pkg/dependency/parser/golang/mod/parse.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Parser.Parse at line 84. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:41:39 \u002B00:00\u0027 --until=\u00272026-11-13 11:41:39 \u002B00:00\u0027 --full-history --no-merges -- pkg/dependency/parser/golang/mod/parse.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/mod/parse.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2826b0d4f80855ad11ff22a86d15732e179ed07ce8be82e80eec686fce90102"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 27 significant file(s) lose their only recent owner: pkg/iac/terraform/attribute.go, pkg/crypto/parser/x509/parser.go, pkg/iac/adapters/terraform/aws/s3/bucket.go, pkg/fanal/secret/keyword.go, pkg/iac/scanners/ansible/parser/node.go, pkg/iac/scan/result.go, pkg/iac/scanners/terraformplan/tfjson/parser/parser.go, pkg/mapfs/file.go (\u002B19 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6f12cc91ecc9ac025c84ee714f0c1434baebb041e134e203a0f02724009a3df5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 6 significant file(s) lose their only recent owner: pkg/vex/oci/oci.go, pkg/detector/ospkg/seal/seal.go, pkg/dependency/parser/java/pom/mirror.go, pkg/fanal/analyzer/language/analyze.go, pkg/fanal/analyzer/secret/secret.go, pkg/fanal/handler/sysfile/filter.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"47ef500211fafd39224ee27ead845ca42333048af7f9620a86bb6a3de13c304c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 7 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (41 single-owned of 446 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 446 of the 1019 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) (\u002B1 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: pkg/plugin/manager.go, pkg/scan/service.go, pkg/dependency/parser/nodejs/yarn/parse_testcase.go, pkg/dependency/parser/conda/environment/parse.go, pkg/detector/library/compare/compare.go, pkg/x/os/os.go, pkg/iac/adapters/arm/container/adapt.go, pkg/iac/adapters/cloudformation/aws/ec2/instance.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(knqyf263): Add the PURL field to Report.Metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/openvex.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"21debfa19d49c0acd5be04ec5ab7565fe8cd536765d2275a6d27da292e86cd68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#8916): thread the caller\u0027s RegistryOptions through so registry"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/openvex.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"effb3b1da6b4aa8dea46f90fd7675f1e7445d033ea9083325ab9cd9b2b0c9732"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move the logic to each detector \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/scan/ospkg/scan.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e0eaca2999a64cca9e5a2ac4b935bc42542768c3db33fac9687130db9f94de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/decode.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd585f01df25f2ea0e6fd1a51fb9b7f94e970fac0e64888998e9e213adac1d9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/rpm/rpm.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b50e1ea444033ae0c11e736330d73eef52ed2fea6940fb1788defd69b2d4420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/dpkg/dpkg.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa97bf8806a2bb87312d566f9f056b02e019d4e2e357a32372f6462ca5edfe0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/apk/apk.go"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc7e85991829ca0baffc15f0df571e49b55eae3976a2905abfabf635775fe1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/analyze.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9dd1d844033783db9e559b8dedf7fb2f2f04e163e11251a99be42a9bc05132"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9c3eccea3809638c34d5c8113f662a53f999e2806bd54437da729e56b16ba4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this backward-compatibility assignment when Package.Digest is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e372da8fb12d31527fe8fa896f42e6ac899f94667595f8fd9f5ccca4027b9a41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(backward compatibility): Remove after 03/2025 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/decode.go"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"051ee7da56e9df96e78824aa97ad311cb30cdac2d9d3aef6258ee4fd484a77d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mismatch between the OS and the packages should be rejected. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/decode.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"378a4af815be2ace89e66d8bd8fa3bd11a53958d738c30ea2f7396e82ca33aca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally, all projects should have a root dependency. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b09734ef1b9a21f711d917da72906b386f533c901ed3360070b86f8a2b5ff79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should check if the component has actually no dependencies or the dependency graph is not supported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3193f69847d36b56c4db63cb5f02ec0242f1a5b89ca422f14c575adf368a620"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: drop a relationship whose target is missing from the BOM. Nothing removes an \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6c363b3ad657761f2f8f65f7cea8fcb9aa75481cdb82b9fa2005acb8be6015"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(refactor): simplify the list of conditions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/io/encode.go"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e793351895b570b64cb19286015a015c193fff06797a62f10835a28bd2cf325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider migrating to RPC in the future for consistency with other server communication. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/client/client.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1134143097f5c12d64321ab42f569842429fec507ce756c66176019cec7b428f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(simar7): We don\u0027t verify correctness, should we? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/result/ignore_test.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"68782195ca760beb071c087b8a2d7f019a52a33046da905d1a32d92670e8b737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support xml format option with cyclonedx writer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/writer.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c3f0d68394f2895ec639542a844f77c9f83879411d73a683b22805095733a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with PURL \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/github/github.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"def2c0af3595978482c658ecda81257f8f02d80d81ff8e591b1c6acd259fd019"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use \u0060WithMirror\u0060 when \u0060go-containerregistry\u0060 will support mirrors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/remote.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e978c0f2a7139c9cecbb804d4b8f7665025699b2bea5e6c79455b1d203f6f28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is temporary solution and we could improve the Analyze performance by having module instance pool. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"797954c5e01c33e6f6935836565ac47fd93e861556a739ea400011e62cc1c9ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/module.go"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab19d62b5639923f1d167515004bafa40fcb58ad5229271796679eb37b7cb11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with analyzer.AnalysisResult \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/serialize/types.go"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0bed328d6a7cdf8fc749e8ea54a028913a7e370bc00d191e0faccf54ff237c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support other fields as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/module/serialize/types.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb04d40d1d6a3cb38840290500a75671047a2f4c66055b1e254d5a1ae9751dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(knqyf263): Remove this method and replace with CopyDir \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/mapfs/fs.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c373826b0498b28762310314de533f5136f1376c052c12f471ae47320d3f29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: slogtest.Run was added in Go 1.22. Waiting for https://github.com/aquasecurity/trivy/pull/6075."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/log/handler_test.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"396ad5ab022ba73c58d46b1e1e5894047ffd26fc122e67208e4bdde3ab9cb759"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support DocumentRef \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/licensing/expression/expression.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e8abb13d13f15f4a15bd44e90889b17d0a5bdf888b73ccae3fe2e1a20b9292"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add vuln only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/report/report_test.go"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a17f7f53ceff92cab06cf26531e8f0e949ddf9fac692447be92557a5a436f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add secret only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/report/report_test.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ecdcb1638a1f4392ac6ebd66914c135dc1b6aa87c950f80b620eacd9ca9efe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support remote options \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/javadb/client.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0560d9460387d8b62444e7511b8dd5e6e71e563f055ffa19a00b4036d02f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nikpivkin): export directly to OPA values \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/export.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d341c359a8283a566858accc4fe7e0eb25312d1b09a018e129c1f0170ba6bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: using a module in for_each or count does not work, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c315348dd8b1cb35751a8bcd0c720bc02a4408ed1067f68cab07548149e0e99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UnmarshalJSONFrom is called only for the root null \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/kubernetes/parser/manifest_node.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e52d5011a9257e0dc0e341c9849b52879e6bab3183cdfa74f2a5e3f51412038"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UnmarshalJSONFrom is called only for the root null \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/value.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"73bab99160143491ab3b19b2d08945f5da01de2e77cf8f5a5e175a0e1b276b0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: KSV-0018 should be ignored via # trivy:ignore:KSV018 in deployment.yaml,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner_test.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef22b28caaf251658cd9c459202ed7f46c101f7b66a4f00fce3a7fb1725be48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: KSV-0018 should be ignored via # trivy:ignore:KSV018 in deployment.yaml,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner_test.go"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"415917f310e2b1154a29c5c4742c1840df37b737bb02952e244aa6ee54aab6bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to pkg/iac/detection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/parser/parser_test.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f78624ab43e84b65b98b5885d36074a289d722b4d5d12a9514488bbdb960b83"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: maybe someone handle other protocols like ftp. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/parser/vals.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d63a7eb99f7546ebebf35586ef5233f8ea65437970724a8591bf7461a1cef05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use map[string]string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/file_context.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba18bcddfe01f8e9bba0ef7b652e9e95f3408775df34b644124f1c33e406a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove inner \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/parameter.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4ee50304b3fbbbce59007323b70323c8f336908b1fbd802035b4600def2bd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: recursively build raw array \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/value.go"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a526280dcdb58d17cf8914a34e51f5fbd9764ef52242fe40004b1f9db109a1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: recursively build raw object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/value.go"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"df46703b5b0906a67ab13d1c7fd760d4e4deedb07c963fa681b898249f4814fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: override from --resource-group? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/arm/parser/parser.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c152022729589960d43b64a806edf890313d9adc13a5dc251b9971a6c1273e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the references passed here should probably not be the name - maybe params.NAME.DefaultValue? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/azure/arm/parser/parser.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0045a386f6b5fd32c2f0239ea61f0c74200962119d9925942c79fd6ef094700f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expand vars using os.ExpandEnv() ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/config.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"893e132acb868fafb19176c10e16479fcbf64c92aefcf0a0fff06c6357b9725e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: trim spaces ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/config.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"477b81bb2c4f5e04c5b88be90bd9023638c21b58af36a4f5da886406c246e761"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle float properly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/node.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e07991d6668cc679230343dc0ad61d959ccfc8974348a985f32a970371e723"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nikita): some tasks do not contain metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6e53f4a67307889fff2783d0dccbdb22ba689089a30e06c1887552277cef8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Filter entrypoint playbooks by hosts and inventory. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b70820252244cc9ce2777cf3fe074699df06db0cb5dba42e026a77d6b1f94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: resolve hosts by pattern: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b5d42f7410bdce42dd338fd831dbf5415606fd095e75f30efd43e3809ac93a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: iterate over hosts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b95bf2ec67d1dc5e8dbedea1579d4281b1f9b22537bb117bdab179f980fd3dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass parent metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec83147fd51a24f4c7fcc8a92757783b9c7f6efc32b9f8b3cfd9db31f8dada4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support expanding loops (e.g. \u0027loop\u0027, \u0027with_items\u0027) in tasks. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ab88298299016fdf28e3ae50cc0c6a57d3a54247aee43ebfd1f034e408c683"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support all possible locations of the role \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"280d98f1b5f98a7e4fc5570c1908b482094e011ef8c92862d52a3dad6d7f2698"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support resolving roles from namespace.collection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b982fc49b335c30eca2d789c2cd3093ae99cb8f1522f0687eb0e897e4a1522a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check that the task is not absent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2920cb65fc01ef55cd9cdadb6b70336f6bebed0f60c03a7a144cfe6b9087083"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not update the parent in the metadata here, as the dependency chain may be lost \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"439a15fe7cc6a4970b6bc237c980e1d889c5d54dec92bf5e4f54308937c12e47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: render Jinja2 template in playbookPath before returning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/play.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"648f1ae69a68121e76cd66b583890237c81ccde78dc722ab68325ea974244e89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support collections syntax like \u0022my_namespace.my_collection.my_playbook\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/play.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ff2ce815c3d0703790263891f074bdaf5929931dbcbc069b4f5a49b95fc7e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find out how direct dependency tasks are loaded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/role.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c31a8f88be7810b3248e576ac354a50dea25c9a9a1509c5bf4c6a887c02ac6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cache the module? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/task.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c495e3540d7862d3d5293395b25174de57cb2921b1796422679465caf80fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement support for a subset of popular Ansible filter plugins. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/template.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8c77975ad18279fe2b7451761adb024dbe12b5ccf351f59b90a9e45f6b696a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for a subset of popular Ansible lookup plugins. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/template.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b2c0d330dc92f8c59a934163cbb314871f535c4426a95fe158c1a87735138c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for \u0022ansible_group_priority\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/inventory.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c919666b202ee52d73e7a8a447b7754b8fdfebc2c5fce61f3155eaefb496e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is comma-separated list of Ansible inventory sources \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce176ad71fd7d13b36f80e450130662f559204426aa12796ead07aca3f39ff6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use ANSIBLE_INVENTORY env \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd292a7e85e5226b3f23edec4b9a3b5212f170659243748a976f237e2096c3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle inline host list, e.g. \u0022host1,host2\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acaac772d2e2ce65bff343d2f32f89eb0175c959b48dbeb083ae1e77d2f9d8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow files with no extension or with the extensions .json, .yml, or .yaml \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ab55c77fee45e5665a24cdca1841fdd15287a5fcb19a7d56211750de3da0fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use fs.SkipDir? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/load.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2ba0757ec70eb5d8e358ad6c1f9d304dcfbdb22b48072464d758ae7f5eff30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support for host ranges, e.g. www[01:50:2].example.com \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/yaml.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8725292ff207c34f6baa8132b84c8b1b63c901e9fdd6cd1048d9d0939d161034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This struct is not currently serialized to JSON, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/flat.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a341985a450b6fa7116ec82f5c0f87843402992e9d14d722ffbf53ae4ee2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The following fields are currently unused: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/flat.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f2a14b7428280c2e7b8e58d03b2ed168883da31b6f76e64f48033d4d77a13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: compile and cache the regex for better performance \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/ignore/rule.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffba5b30a8a73dc8408f7dde063cf8c676739ec12794930e5dcba249fc40c9d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nikita): add new resources \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf1c64d90c99b8cdf6474009559d7141e29261b12e24a1b896885402776a745"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nikita): add new resources \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"93afb0c94162f4d8306c4a107c3a82431c96515915b99fa0a8bdae0b4e38cbef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for google_compute_project_metadata_item \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/metadata.go"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a51876baebf99b4d010fb9e0d7049f0c0936687f53b69a867f37e0f8652f0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for the new format https://github.com/hashicorp/terraform-provider-azurerm/issues/30797"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/securitycenter/adapt.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88dd93ef2ed944a47c2b789cc031c8d5265d8f3fb2ec2b46c6b365f6ca5ac10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: object_lock_enabled is a string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/s3/bucket.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c9f0c28d6e46124f8a272edcdd413e12aa8f68c20487c34b6e9a41607dee65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: MethodSettings is list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/api.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a006947a5580c4d17bd87fbf6435583563af4965d3bec81ba5b9415cdd6516"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LoggingLevel is string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/http_api.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c36590c982117b44272e5dd605cb224c39504b2d5d3e4154db20757a16a81e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: By default, the level is set to OFF \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/state_machines.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"181059efb7be370577efc8266730d53bc47381c2eece2b3f96134086e9cc4787"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: find by resource logical id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/rds/instance.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"46faa94a2d73f0f205aab196b9f9dc5bd56c4c243993367088c086abbcb3841b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: parameters is JSON \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/rds/parameter_groups.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"be17bffde8bdeda0bddaa594a0f7c2b151dfe6c092e55709421a35e87e9e8459"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also search for a key by the logical id of the resource \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/iam/policy.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c4a6a3bd4d0b32a17311ecb0787587c3a146c702462dca5e6e545652817d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle RootResourceId \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/apigateway/apiv1.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"395155ae48957f150429782b13172c54a5abccd7c417a94a84178019b7ca97fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: resource is \u0022Microsoft.Insights/logprofiles\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/monitor/adapt.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde6bb8b3013c407015f951064633163ba865370bbcb05827a8d8c3edbb7f087"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: encryptionState is string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/datalake/adapt.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb08cb7b831bb35cee62d4a23e44119b07b22a26a823170e3fb4e088e790f9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: publicNetworkAccess is string \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/datafactory/adapt.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceeed256f9be315f43abd66500c845ff6d36e4f83d9cb3389116c188d80f57cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is the \u0022Microsoft.Sql/servers/firewallRules\u0022 resource \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/database/firewall.go"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f178ad463bf5124640670ab369c747748343759534556a0318dc24be0b18d6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this property doesn\u0027t exist. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/database/mssql.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"28844d933c1bb067eb46a547905ed3057dae6276397573f007dd8852ad5963d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(simar): Add other AWS services \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/ansible/adapt.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aea720061a95394550103a7eb9c9aa5354cbd8cefe0837b78c7ff0e4e531fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/ansible/aws/s3/bucket.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"77243f6d7ee57eac755ecf1d43f9d4969987adf8ef394100ac7a326a5588a62d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adapt \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/ansible/aws/s3/bucket.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc419f924542b41860f36d1c6c2871b826acfcc3d53229c5b73b7598bfec3573"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adapt \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/ansible/aws/s3/bucket.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8e992498bdf480d9a7f2b50c4c030a7c44683f21db38ff5f52fb4c3ff1eeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add Plan and JSON? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/misconf_flags.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"466c1f7966ab79c8d04ef33b042ec8b258c50c929d07ec3287baeb580a86062d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: define image-config-scanners in the spec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/options.go"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5122b03c81117724577bfd782c424847da94029657bdc8267f51e492fe9b5373"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // e.g. x-api-token:XXX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/remote_flags.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d7b4af6b7c2154fe5a38a70b77d624261b791d8bbb7726e06186d0ab235585"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Future implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fingerprint/fingerprint.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eef30ca9277375a38203320d2e564e44ee6f72262626e62e6135d5744163c6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement LVM handler \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/vm/filesystem/filesystem.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a744cd9d8ee505c17ed0f7c9cbbf8580c2f1195d9442c98156f23ee1d357ff6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add valid tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/vm/disk/vmdk_test.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5969337de7be591c8788d6c600ccbd3f3767dd9c4f6379d018024fa33627edfc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // For maven \u0060modules\u0060. TODO use it for cargo and npm workspaces \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/types/package.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416d8736cfa1126f670ab5024fe9743d7c7270a43755ece1133f0b90033e40b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support rootless \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/daemon/containerd.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb89d51e50cc00e9b60e4156e0eb5321d8cf4d5a1681a781403bfce21ada6f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Google Distroless removes /var/lib/dpkg/info/*.list, so we cannot know which files are installed by dpkg. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/handler/sysfile/filter.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"112a5cc1c04cdc86f4f1b1982af1b1d70c34306e8bd1f88245ffd966e29d2194"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: propagate context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/vm/ami.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f55957d68c7a4457eb49b43cd56870bcf15b0297cfaf1b04549cce4056054d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Always walk from the root directory. Consider whether there is a need to be able to set optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/vm/vm.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4067cf69e21272f8c0d8d115843ed731be39bcc898e103d55fc2a199845eeb03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(knqyf263): refactor to use a more robust method instead of suffix-based detection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d55af11cd5a2a0c3985becf98257f00dcdced0775d4710ac4ef7f48170a2fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: our current logic may not detect empty layers correctly in rare cases. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/image.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da18373a5144676234ec6de4affb7e3f0168b915af8345be8a491535e99ad80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Dmitriy - move to \u0060purl\u0060 package \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/applier/docker.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2d565704c910b54e352d2868893a1c6ab51a5d44727198cd9ed5c9449763dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add the const to go-rpmutils \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/rpm/archive.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4b3ca03d91488be5e6887ff531963be2f1a894a02a2182a86b4ade5cdc5f8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle more vendors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/rpm/archive.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab2313dee5c22328c2f03e060dcecb5939deaee8c0263758a4ff6a61e6c9a22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move this function to a common package for Mage \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/rpm/testdata/fixture.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc319336b34ba8726adba5e2a0efb42dedd092ea0b8c9864e7c3afa4a8f7cd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use \u0060*.list\u0060 files instead of \u0060*.md5sums\u0060 files when Trivy will support links. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/dpkg/dpkg.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5364e43b747a971adf34d506311cb7e0ae592027527b5013079bf7e3d72589c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think about the sonatype API and \u0022--offline\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/java/jar/jar.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56bad7b309e3723c6074a8629c4c71c928439d87b4f5164be67c8a6e85b6ad5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support $runDeps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/imgconf/apk/apk_test.go"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e515df5ff8e7c64d04417864fd212d8d34c11675f0714ebac408635cf5ec8cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should detect the current edge version. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/alpine/alpine.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43e66b0177a4bef6b4ee1ba0c07ae18eab95d98fa4330376b8590accd5ed48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine the direct dependencies by checking the dependencies of the root crate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/rust/binary/parse.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"814f027eaa7e33223ea03ee12cda1253ca0bab71d49dbc403817be0e58a512bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO upgrade logic for working with groups \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/python/poetry/parse.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"237b4b24d3b487b7a2e7456f2d33270f2d4548a2618ac17dd52b42959c6496a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Other requirements are not supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/artifact.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d05e4704cd5aad41c782cef29909b34a70c1c0e77ec32517238a8a82fdd653"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle repos from parents \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346a460714d9b08ac6177c1039c1df2027d530bce35c318e19b218a1cc17899"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to check the behavior \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/pom.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd9acc0f538905784ed75da18a103f9449a3c91bc6772172e7b48714a9b15c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO process inner deps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"add4c90fc416e0e8445c2814abbdd9c89db7eb7efa96f14aca7ddd257d8660fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: describe this key as well. It holds a PKCS#1 public key, which"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/x509/parser.go"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"d626301a3a2788045a5a7870a848c94d21902b77b988ba22c37bfc6ccaa334e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: describe this certificate as well. It holds an X.509 certificate followed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/parser/x509/parser.go"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"de50f09df457f7a214aaf66857768e1a4badc7bf211ed27aa636c4a3b0f9b0b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support --report summary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e0325dda40b4b1247e3d2e6309043c48a63d773cb6c839641034a65c22c0cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support --report summary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"7375f28df1bb3dc17484c92bbd10a5d94c0f1f174747ba736a0bfbcabeb171b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support --report summary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/app.go"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e554cb593c7f459d581561ea81becc4bc4f0aa761d4582611c4c792c70eafc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Does VM scan disable lock file..? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa92334c6f6293e3c6f8b2ee08a336a3a620dfdba4c7b22b5f5c76de142a1644"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO disable all languages that don\u0027t contain license information for this case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2c44d9afb8bea9d1f484e1819b64d7443692980d983d90307d4995117a7fa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add \u0027--enable-analyzers\u0027 and delete this environment variable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/commands/artifact/run.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"486eef327a1249cd779b5c3fa313312ef626dcbb6a32e7ad30e393264e265e66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Trivy SBOM should take precedence \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/attestation/sbom/rekor.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99e2f6645472e00fa3026f52ef98f08cc9c4e72f78141082c740ac5500f7de7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for SPDX \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/attestation/sbom/rekor.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d307000291a4c01dd1394750816934a7f5bc2271f48f902833d345cd300d5c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use \u0060go install tool\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magefiles/magefile.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"437ad678257d3c743e41963d654da2088843bfe265f53ccbcf9ba2e7170dc14e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Golden files cannot be updated with the -update flag currently because \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integration/vm_test.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"27027da353fbb4a9290616f6b21939d050246a4583170ebc2af96dea6885614e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: version comparison \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/module/spring4shell/spring4shell.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc435138aa11260f85b0975930a491bb349b0ff56b0e7f149e16f6670192f3d1"}},{"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. ADRs are expected here because \u0060misc/eol/main.go\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"misc/eol/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e591705b8896f0f5edd956a109befad5b1f5a6d59a9b650a193206aaf15e2afc"}},{"ruleId":"D27","level":"note","message":{"text":"Scattered collaborators: 51 % of calls cross a namespace and only 48 % of collaborators are co-located \u2014 group each feature\u0027s code into a vertical slice so a call\u0027s collaborators sit together."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5aad4a4530bac3928d3a065a664be89d023ecfc865f9bf79ac05754b3bffe322"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"495da56004f6742cf5437a7b40f74dd4008839924f8a1f72d43b26db50a7ee5a"},"taxa":[{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"927827fc3c14f8cbaabb0896ba2958759d465d214336c0a1746fa24533557462"},"properties":{"commitSha":"e26e39a7f8f0b91f83283e0b5e1706d40787ad9c"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ad891b21a6a038bf115c47907424da5dc4d72832e03d21d8ff8d535c37568b4"},"properties":{"commitSha":"926f323a728d27139762d57ebcc7cd49d66fd4fe"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6617b4ea14c8317770d85a72ba65a601aa92385f88712d38af078aadb23e24d0"},"properties":{"commitSha":"926f323a728d27139762d57ebcc7cd49d66fd4fe"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5088beae71217045d1244bdb560ae4eb3b8dc845632e61f4332eea9390fe2f5c"},"properties":{"commitSha":"926f323a728d27139762d57ebcc7cd49d66fd4fe"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","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":"6d4f2594f89bbf310d243e4d2d35c7c64873aae3f2c8d1368d1363aa7018f8a7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"d05763ad01258dcb7c7a07c882b3c5f50c89fc6932a19ccc98baf4827551ae09"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"9105866b3ab08391cf1e19a0ea52b66d1299cda7a702b7cd60900600a150d2f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"cbde91753f0a6adce989977c72ed5a2fac130a98550af098d3ff5259039afcee"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"ba354f31ce7a7998439c0898bc640e9bf1fb7dbc7df04a2461805f0fc1f86e16"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"3079767af8e97f60c2431e6e6421fc5f59744d88056c746dcc47e0cc4b5c6a0d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"f02ae5a8207c646d294873cf88334fbfd41c4853ccc9093db33f992008961e61"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"27ab5d6a90442dce876db9b8feacb5f833b27cde1ca7b0bbc4cfa57244f4b086"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"da2a0d639f41f28c8c830fd2bb21bc83286e0a7d1ed6c32a3bd9ec50ce6e1447"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"84c1da4f49de06e186b2e619f8b25024d39d5f76b319089454719628be7235bf"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"54e5c295803e1f88bc944874c9b5f400734a4efb0240ecbef3c22cf71cb24e35"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"740e863f88627d13994c462bb42b652449b31b8f747dddbc360d30f1e2cc45fe"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"9040a5d51afbfc2e6c34ed09b0775c9ae9c96797ddee56faf646cd765e590c25"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"b839a4835805f9b66df6c61c889ae09c011f2598e6e962fb93b354693ce95901"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"1420ee74db065e9f5770c8c402806d6b5af2e04974c5500798171e79b335b577"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"548b278c568a3603f278cda2df709824242ac092a7ffc0cf9c891655dc8ab6c7"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"2f8c35b238613a0b45541ed22119a841e5eba6a2ca40925cb6e02ba8989e072e"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"2874c68fbb52e1ec2cb27f8642072dfb75f9621e37c5ff6fb7564b26161af224"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"63bbbdcfbd8d5365e6c29ebcb7fedcc5566bf1b7c3d06e1a7f145bc9bd524f10"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"1884cc19786d2b77dabc10bb51e55649c9e36fdc2d959d342f55186fa14e8eba"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"78bfaa3dd6f5525ccd59d3802b853e7e0f640fdf57e3af08490f3d700ea14aea"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"10a324a287ea8be17a1ab1c23f185d5fa917380b0d7ea45d28d4670a682b94be"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"021b1107c62c257e62c28324f3945f77794090eb490e27d4e6eafc5a3033d724"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"fd05f3ea9f03a807f4399883dcf90b9d1bab6f3837eb50b5235344f8fbbff28e"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"ade203ba5083d2f976c70242761fb4a9d40281fcbd7dc139db9b65397b79048a"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"c5f4d4e74b5ab9ef808daadd5592feb0d704d4005a47a293378abb9188a88e7c"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"475655c6d12611acccb8a7fca09ffccd50651328030ed1a9533812f730dd51e7"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"025deb9abad97a4827432ff032ad1d2b295319f6f6663dd47c87eb6babff64d1"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"cf5826085a286375dc7a2299c1418c585c509867800bf9a7a9ffdb308798b412"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"6d84d86f1305c02103d75e95dfa4f3ac381e37acb5650022c0eff30593719404"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"9d56ce8597ad7308301d9415d7ddc6c52812ebad30105051a03e8c642b34a017"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"a2326c4db4b795bdd082c8fa1bbe90607c4833ed65c726d5ebb595788f3c194e"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"d2360f4575d434f1233f7e11ba1ac2fe0ed58e7376e283ec93d2e3cb9abd171a"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"e0d228ca60dd353083e68292849fe58f8e368f4a3d038dced7d3b456c420549e"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"911ed66e8f3aeb44adeba111a7b2a04b0054dabfe8d16669491d40570ea1c7b0"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e945bca54893d44c8027a4fef40622da0d31ef3be9c6e1d0b8b9ca7d4ad16a3a"},"taxa":[{"id":"CWE-242","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":"3d104169abcd8a01f77c52d750bbcca64b21ec173237f78dcea0b273ade9e994"},"taxa":[{"id":"CWE-242","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":"57418a6cebaf7e15d95bc9f85db77fc0397192d34d1c85452210d399da5c1a15"},"taxa":[{"id":"CWE-242","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":"e2cf6f4d7fd6946a986eacf17f5e53749bb8ec433194561d723c90cc9154b882"},"taxa":[{"id":"CWE-242","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":"9674223ed8e4c6d0876ff157983764df0f82f2c4f597dd36472c587c34c145e3"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"002d1c02531846fd11e64e6d1c6b120dc2d0cedd4eaa3654639254768517e098"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"c5f05b1f5c2971e396d88d2d218ac6c1efca96970c0e03a36b09a3a12cff0b43"},"properties":{"dependency":{"package":"github.com/docker/docker","version":"28.5.2\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4883","GO-2026-4887","GO-2026-5617","GO-2026-5668","GO-2026-5746"],"reachability":{"kind":"not-imported"}}}},{"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":"ea44013abc6ea445ddd8ee912c42d8b1bb8a5862c60722a3e575ee0909504899"},"properties":{"dependency":{"package":"github.com/docker/distribution","version":"2.8.3\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["BIT-distribution-2026-85747","[CVE redacted]","GO-2026-6778"],"reachability":{"kind":"not-imported"}}}},{"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":"176baf7cbcdcdb4b7d8f763bb176cff4ae1647da83cfec8eefd8856f0632746e"},"properties":{"dependency":{"package":"stdlib","version":"1.27.0","advisory":"GO-2026-6599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-56857","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"reachability":{"kind":"production","file":"internal/registrytest/registrytest.go","line":41,"symbol":"http.Error"}}}},{"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":"fe34912cc1022f16defa9aa7f34d659541f4568862a4f10eaff5ff953cbf17be"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.20.1","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"7188a4010efeac60480f44dffa617f45b0d253cbbcb5d0da262a71a4e46b231a"}},{"ruleId":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"46f11dee39d20aaeb8e675a65aabf8d88dc011a04df2944af70ad90b6afd9a92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ca2b30cc23e4b3e9fc4565b65e0007e101c17ce2df333a1e524ddca3d3cbd2ba"}},{"ruleId":"D31","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":"2001f853cf6fb6f100cd7d5dc1e0542d6f40e14f2318bbbaf7eb50203ea6bb4c"}},{"ruleId":"D31","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":"01781d1ce2edcb403332b00a2d6398b262c43fec41a2d50751a7c8ee944992c1"}},{"ruleId":"D31","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":"5587837396edb2c000f5828409e304886b67385e4c53c9b62da5c8b03297c0e8"}},{"ruleId":"D31","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":"8061301ffc8c1c20bf7395ae75bd822819786983fabcda89bfd5c5721462733e"}},{"ruleId":"D31","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":"7e66d87c4a34a496093a5083728a3a85d413c1491a2b3e17f9c64fd6e19b9f7a"}},{"ruleId":"D31","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":"ca0a9a3088f8a79d47a3d27b9fbed8ccd8afd52749ac5da72820acfc9b99bb17"}},{"ruleId":"D31","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":"43feae29a81e685d1d5ca8bbd892561a9514a4bc4ee684a248b7fa109bd69a80"}},{"ruleId":"D31","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":"b1454ddf4e8fa82370189c765273d61d638512e1ba9085411b900b277e28f0f0"}},{"ruleId":"D31","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":"4df82bef54d12fa864e2b489817e1f43c6f5b46d02a51aacf0f62566973fe6e2"}},{"ruleId":"D31","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":"61c5895591d1c5485e762d1039c85e570f2e13a1e313134d2c0f631875f28ef7"}},{"ruleId":"D31","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":"2a110966ca93d420f595cb55a9c1798d8e0a216ada55eb40d28b9eaf8b9d8e99"}},{"ruleId":"D31","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":"d7c188ac9dfb68debba16a8b2fc33e23eac8da14ef3310dde7b3ac402af35724"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/collection.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c3f888b0bad9ebaa6c334a9d2610ca7d972c040b6626c31e5b4025f420667"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 93 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: pkg/iac/scanners/terraform/parser/funcs/filesystem.go, pkg/iac/scanners/terraform/parser/funcs/crypto.go, pkg/iac/adapters/terraform/google/gke/adapt.go, pkg/k8s/report/report.go, pkg/report/table/misconfig.go, pkg/iac/scanners/terraform/parser/funcs/encoding.go, pkg/iac/adapters/terraform/aws/rds/adapt.go, pkg/iac/scanners/terraform/parser/funcs/cidr.go (and 85 more) (94 orphaned of 446 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 446 of the 1019 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/gke/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"521f7391c8c553760aaa184b18817d86208776f0a8bac68d97571d052e28b059"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/filesystem.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bbdd07a6c1ee34e9e7ade85b691534962df5faadc04cbf0e367914503e0c3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/rds/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94e99d9596e0be1014a4fecb8e43dbf9d91b5b9b72b411605e8453b85b6c885"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/vpc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e011389598b36ba7aaac169db64e59b8d56b23df8eb637fd247620061ffd27ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/crypto.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fde266215f068f07688917789d4c3d571b00c1da298ad51f23830b5da77a348"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/report/report.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eadaf0cc0684ccac5dc40635dcb03e4174605225400dbb36d69d72c8cd16a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/provider/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e2ac34774fba96319cfb9dcdfcbc378552a399f6255442d7abd7d28424ac6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b71209f14f9b16f6fd422606d857947c93b822064f767d9ebeb04dfe88e4e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/network/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95276024383b3f41717fd7d8034e0e25430b403c0150949868bc94d255d725f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/network/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff800526b1eac8beb181ba381203039b6b186374fe363f572f075228cf475b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/encoding.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e512a25bda9425f7a9111bf35777f852b7b36fdfcffff925963572703ec3ec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/compute/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d93288ea1a1c4a70b743f6c098b498111f4d4a4715407bcb2aefbdec5a04256"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/sql/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b522b003ff8c9d10c4b3a89b764e3f53af5efbc7c5929f9dc83e3967041664"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/cidr.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c837e9146e7e561727744ccb22e3d38a62a4449cb28d62079985cecd5411005b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"216089446e18010d256b2e9bdc118d85a52f61f3ffc69dea38119b772ecfe8c1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/networks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf6b93f8f11d26f89e58dc397d0da6aab93b589908908a5f6a1b5f080d9a1d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magefiles/docs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5a330acdea85087207301a4df119864cb00f550da2773371240a8efc3d426d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/sqs/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a94fb5c079c5926ec0af448d99934c37aa31ad9724d6fa81d1666e7b2e64b8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/github/github.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0138698e05d9516b295a7e22fe926fc1488909f9c3e0adf1c5184a6e9d0e19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/walker/vm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d8ef0415fcef6d5205a2eab8a2435539360564a7646f52163c3b21147251f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/julia/pkg/pkg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e97a949d350cb2e8b5a5f52efc3f73eed8e91ef04de870029884cdfec6ccaea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/compute/instances.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c64a532fe1317c113be91c309a92da614402be856e765662f68e422f73e57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/database/mssql.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0b5a5122e850fcbd89422bdc75aa16b8780d41e88dd3dfde58f91284f2ac74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/keyvault/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b697e44c9dfa30865e56a14b144994f253d542f124a8e0dcec82c1c395ec3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf72f22931a67ac1cfad9152304620ae595856a5657c422e60f9c45100beca63"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/rds/instance.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd43b30b3f0205b36620205e0f0af0e4b357653177ce5a000830b4e197ae8b00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/redshift/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8633913b8a8358ac3d28096f970f3d0a581ee4677bde1ecf2526169ffbc120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/apigateway/apiv1.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"337fd47ab10684f3c8d3436a7fca3cc320cc9af1e9813750f7a1c63d0bb0a268"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/elasticsearch/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bd5b82f75b1bdfdf99701206705c71ae9602651790a1dff572af3ec933ee8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/network/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"543c1e70bff7ac5488d8430f62cb52c97d9b279dd9b302271abcacc096c0656a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/elb/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"180790202ff509d24ac05ab187cc2a90881e0dda77ef4bc93a34c990be586dea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/autoscaling.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"418946032bedb4faefc093077ffdc7fa6e1b4c3e8480ad6abb5212823c0e92a2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/database/postgresql.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc32022f34974c20ba12bddaa4ee3f51622525a0389edb0339151d0dae92b41f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/secret.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f83e381b8fc2ede62b9c19219fe0d56d6159d58e78ab11f624ba428ceee413"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ecr/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfa86e150252599e9436d259bd665075a0ab3e3e408ed0099c9410fa1cec375"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/funcs/number.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7167a7188b54eb8270cbfd30dafa0d62cb997739a412378bf626e787af7353f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/rds/rds.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929444308e11e00abac013a753125344ff0a77d3eb177450d264284e1c335ff3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/registry/ecr/ecr.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc69e0a583c46179b7c73c8643b45f362bd0c48d095e6ef8fe4e00753bee058"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/k8s/commands/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57828582b4a489c980b4cdd50483441d055f60d0d43029bda6db87cf52a982f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/msk/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aadbd11fb11ef13270c00e6beac77c96b6225c7ea418d4779d9281c83047e1a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a45bcbc28e67d4385e98f6e61c303c9309927ecc2c727800d323e1ec7fcd19"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/module.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8106383079644a0781589de146faab0fa7eb4884a54af866bb71e0e7091f674"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/iam/policy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ced3eee1f4df94e4c05f84b0139f0857f8a392ed8646f3129d218d9728accf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"498f5086cc94a13cad421f958f2215fcb39b841432aa246178506d245556e1ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ecs/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dac4017f5ec14d54caba3ce3062eeba5297f15fa317be7f54613bb5f7c6c139"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/kubernetes/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19da51d421edb808f99029c4b71f718bc09d1f689d4bed9202a03b3585af3d3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/securitycenter/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a353b6472d02c796ce5b9e38b627e17c3739f49710effbefea7cd607695c7df3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/digitalocean/compute/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3c32969843c3b0882a7250b6931a281ced1dcc34b02551c9bef8f613d000cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/compute/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72047dfac345ec78d84241fdc46b020fee8ba0897585389b1f094e7f128c7e31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/dynamodb/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"762dbd6422f50fd8f08fc93192b25798632dc72b8f7d9091465313a63f4cd40c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/database/mssql.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71192accdc37735ce42e906bdab6de4f0ba652a306b27d4838bbfc28c1297624"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/eks/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35caea1511b34d7a0a57ddf8fb7e973edf18b43ace7d7b1315e0439a19ca71f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/ecs/ecs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdc1a639f09d9c265f11a634aa2fe717aba70fad78c8439b8aaf31b62614263"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rekor/client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1018ae0049461a128677d22a7836c7cec694f324a81ac67670fcd28ee61d44"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ec2/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c0dc58161666a211c345916cc146986c0d4bc1ad34f7a6ceed117a173c3a29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rules/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0025aebad400c5ed471c0bf9874a4931295ba5dee59b45aec0541c7903669ee2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/bottlerocket_inventory/bottlerocket_inventory.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bfa8135f8b3934c79faa62b4a4dfe175946ead0885187f4adef32e901f234"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/vm/ebs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2e6643aea28457aa3501cfb256ce11d75250758ca2f00665027901a4be5165"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/aws.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ba1b2334b7f1cb2b7d06169736a93f444344bf5b6f1da9af4d689644c8f09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/container/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96859e9b53d16167662e36910d9ce9fe34119d5e52dd41aca7d8a97336e0a345"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/elasticsearch/domain.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae7ab8113a695de120bf5e5f37ae503657dd230e746538e8bfdc91a9721435"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/vm/file.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f2af7f0c9ca5ce7d9488f5ba4c9e02557aa22ba56260a18507840143f50ca9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/passwords.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f795e21f6303bd56dd3bad800fa0d7f3700a47a51a0ffa98384601ff86d272d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebb48fa5cfd94a3d34cee2ea9b3b38eb8177b56f95680c6bb432c9929afb475"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/reference.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0de2452d614fe29a3a075d779bd493820e0fd87e9e9a5e38431b483984c168"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/python/pylock/parse.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a03a07815f37fe8621a041080bb56dc2aef1868cd9967281b541f9fd34dfbdd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/elasticache/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938103d8b5f9a031b652e48a0db452dc48c6312dd74b4e99e95c2911f655c4e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/lambda/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"396103f9b7e84ebd7635ba633a14a974c4623a19ba80b5203deda2a121eb519c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/api.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc22531f4bba121035fa8371d22460dc2bcbd014188cd0ebaf74c73652da0bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/digitalocean/spaces/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d2a223aedd3c88c8e53c2c23f2fcd831fdacb06f0df9b8cb78089219aa5f14"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/msk/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1893217d04a1165882878229dec1b160ac33fe98d295e4a6bac5bef6fc8864f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/athena/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0391a3063b5df84d989532ca6d9ecea1d3e8477398dee3fd767524e4b4a0bff0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/openstack/networking.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4874db743a925bcb3ebdc046c9f00c56336c9f081aa339758bfd15ff232f31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ec2/nacl.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8eccaebd491f3a3bc2f17ddbceb60cf9dce951739b978502f1b198251d0530"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ecs/task_definition.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ccfe6bd957b3cf54494c27ab52588d10fd78af2e3e6e1993464f7ff6075f25"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/minimos/minimos.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20156009df5b7b5098ad5ea9a7fac1d4a98f8b367170ebd554c0c48d63155fe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/openstack/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64adfc2d8dc7442b94bcbc99a5c734d42974bffc73d2406d0b110859ac8b0f01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/arm/appservice/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"264ff6411f6813a50c18710a045deacfcd5c3f6bbf00e815545022cbcfcabf59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/nifcloud/computing/security_group.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8653df792b59118dca9370b68b063718a6446cc406791ab3dc908aa0e1ab9107"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/aws/provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1729e595ad71516848cecfc09c8aeb386b51892315eef6126cbab4e6bc845496"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/modules.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb707810ad4287695be51f6d6b79804c22dc7a0fa38a2f50a5db4c867c53eae3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/ecr/repository.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f6291130fc171bfe915a14eb80eaaf884a6cbbd1d613c9c52bcf1f363fcd1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/state_machines.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11867d504dedc21e80a0519882f1bebf08927745283e128e1d79b39dbc434822"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/storage/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41641f53abdb9994895f6ecd751e902564013f78ca4b4cb4cc111e5be96c7c39"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/securitycenter/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579af9b108afdf4dc7c36e78ffb534a3c3fd2fbfc890179fa71d8d4d52b99667"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/cloudfront/distribution.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5561a38e6d53f74c51828187c2ac9cce61b7cb3f3a19e0286a4435f526bdacf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/highlighting.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d44318afea2461db4e44c61f92fb68f32af7a896ce4586abb9eb8514838d45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/flat.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47abb7ec9e32fb1f29bd559c6a3979bd935b7403bf81517d1511cf1ba627bfa0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/google/gke/gke.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0707124dfefc026ed8426a97c28ba1e1e54b5353a73b5413edae91184f5adaf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/cloudtrail/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa183798a985df9ea55dc84f79a71d3f9b03fc6ef02a33fe691da979bf9e93"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/azure/authorization/adapt.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"834fce329bfc10fc50d391a28fd88be4f5721df621a16d66d115d828272c4082"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/providers/azure/network/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5508b4d3f41c8c56e9434b81eb7da3713c067cb95f3915900a8038337b09a6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/elb/loadbalancer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ab0babf91f981e34baaeed4f781f16cc4306a919f66f09f6dd8902e63ee3e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: import.go \u2192 driver.go, const.go, const.go, purl.go: \u0060pkg/fanal/analyzer/all/import.go\u0060 changes together with 4 other files \u2014 \u0060pkg/detector/library/driver.go\u0060, \u0060pkg/fanal/analyzer/const.go\u0060, \u0060pkg/fanal/types/const.go\u0060, \u0060pkg/purl/purl.go\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/all/import.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199f21d83c943220a44b0322622d34b7a89a7a806e276aa9f9e4dfffdf03b091"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: const.go \u2194 const.go: \u0060pkg/fanal/analyzer/const.go\u0060 and \u0060pkg/fanal/types/const.go\u0060 change together 67% of the time (22 of the 33 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u00602c3b86c9\u0060 feat: add RapidFort curated image scanner (#10452); \u0060d0a3f63b\u0060 feat(python): add pylock.toml support (#10137); \u00606d562a3b\u0060 feat(sbom): added support for CoreOS (#9448) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/const.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c95af22b9f418097801e77debcdaf4897e804ec2f6126645b9b5dffc991e6a2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: detect.go \u2194 release.go: \u0060pkg/detector/ospkg/detect.go\u0060 and \u0060pkg/fanal/analyzer/os/release/release.go\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00606d562a3b\u0060 feat(sbom): added support for CoreOS (#9448); \u0060c2dde33c\u0060 feat(minimos): Add support for MinimOS (#8792); \u0060c7b8cc39\u0060 feat(echo): Add Echo Support (#8833) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/detector/ospkg/detect.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c87cbbbead79b0f3597bf19c7a28f6791a93b7cff1cf00631004ed776cb4ae0"}},{"ruleId":"D36","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":"31afd77fa5d90ab1d50f2eaf7959a36954bdf9cce13289e05328c8bb32c23340"}},{"ruleId":"D36","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":"6a87a711d92b1155baff573ed743194543039a73476a8be344b192977eee9ba0"}},{"ruleId":"D36","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":"bbcd03e10bce406b7ac4cae097bff3017fbfb7067890d506235f6a5b81778214"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"bb425767ae710854e4b4ea251214930bb749c1c9198c2c9c780bd24b5c4d4ca3"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"3f021da96e3b31bd40ef3bdc6262e6350413a98a75b5a94fcf814c944c4b0137"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"b47952ffa1344a6dff4c502eef17aea5c352ed36d1d8df994c8a695b4471aaba"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"9739ac06004000f598da4fd175a92f0d9f5c718b41d35f1b1657c1cae478bb8b"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"0bc1b344c310a7c7564614bd7b9f3bc7a07532c48cea13f3d4514585ddd08d42"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"9afd1ab2cef723bd45ae3bb0282f7df3d3045b0f9285505f213982130af50e18"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"4382d30136b62e4a43a935ed4c5c2e183f823e5cefebd84572a71bd5bb7be5ed"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"b729e66c5efa7a32556b4c7bb1b7720e1471018e73652cfd085213d38ff6448e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"bd8678f5ebeee25d5564bc0a639fc5723f8e3bc55f977f71d61e5a07f9c5d72d"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"1702a10b8fdbc6e6ab13536f9751596af66b0c27b061db0e20787ba60ae44cf2"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"6a728ca9e254b57a902ffe3e258ce70a503cac50d8ab3f1ae92d30a4209d7482"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"14157ff674c5143a8c58ef405435ac721eab909b6872b1c8696746726ed4088e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"4297066b1efa7fd28ec9f7bf98157742edde965b5cc5052a924dc9e725cb7fc5"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"e3393ad7b6d10b8c73a404178b23d735a47193ee3541fcd6c26b9dd4a20e7da8"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"b8637da9ebbf5b590385d722d8f64f70243cf3360b172915585e6337652f377d"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"1acfc0003d59d71f6350404bd4b639e245820366594e93e61055ce21eb7a9b4e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"cc8d9f35054998ac1cd89a40cc13f2f0ae94361e733288e5933cb144d2dc71a5"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"D42","level":"note","message":{"text":"No runtime threat detection: No runtime threat-detection engine (Tetragon TracingPolicy / Falco) is committed. These observe process, file and network activity in-kernel and can alert or kill on malicious behaviour a static scan cannot catch."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aade9827a37dfc7ee064f80a997f47b5d11e31bc09704e26b9252bef00aa0c58"}},{"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":"P3","level":"note","message":{"text":"Dependabot does not watch nuget/bun/cargo/uv/maven/gradle/composer: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060nuget\u0060, \u0060bun\u0060, \u0060cargo\u0060, \u0060uv\u0060, \u0060maven\u0060, \u0060gradle\u0060, \u0060composer\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b289d5b22f4ac35340bc0bd3e1af3bd687989dca552ad5e12f7a14a21cc728"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/imgconf/apk/apk.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"63637987ac3ee0f38d84ef02db8e30cb7309ac937201377ac300e77ee775460f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/sbomref.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d42c9ee9015ff90505f30741a95bb8bc7714bcc91d917f0358a56b3b16cb40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sourceVal.IsKnown() || sourceVal.Type() != cty.String\u0060 appears character-identically in 2 files \u2014 pkg/iac/scanners/terraform/parser/load_module.go, pkg/iac/scanners/terraform/parser/modules.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/load_module.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9abc19ce8d54058c2c2e75b381cf429742f96c4d4568055c4c92ccede183c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(line.FirstCause \u0026\u0026 line.LastCause) || len(lines) == 1\u0060 appears character-identically in 2 files \u2014 pkg/report/table/misconfig.go, pkg/report/table/secret.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/misconfig.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e529d3e5b51ccb5109d1241bb7f4cb37a4baf5526c818b2c6c69acadfa47a77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b \u003C 7 || b == 11 || (13 \u003C b \u0026\u0026 b \u003C 27) || (27 \u003C b \u0026\u0026 b \u003C 0x20) || b == 0x7f\u0060 appears character-identically in 2 files \u2014 pkg/fanal/analyzer/licensing/license.go, pkg/fanal/utils/utils.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/licensing/license.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b4538d7e4dc1197394096305dfb524a3e02e3275df7ae3fb1a5cb47982dfec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dataBlock.Type() == \u0022data\u0022 \u0026\u0026 dataBlock.TypeLabel() == \u0022aws_iam_policy_document\u0022\u0060 appears character-identically in 3 files \u2014 pkg/iac/adapters/terraform/aws/ecr/adapt.go, pkg/iac/adapters/terraform/aws/iam/convert.go, pkg/iac/adapters/terraform/aws/sqs/adapt.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/ecr/adapt.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f8e1004209087219e37fb9e075b79ee94054d396b1712542e3abed3b45b159"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, fs.ErrNotExist)\u0060 appears character-identically in 4 files \u2014 pkg/fanal/analyzer/language/dotnet/nuget/nuget.go, pkg/fanal/analyzer/language/golang/mod/mod.go, pkg/iac/scanners/ansible/parser/parser.go, pkg/iac/scanners/ansible/parser/role.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/dotnet/nuget/nuget.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb9d2fe9e8f99bf950975b1d2581ed364ac33b18c50dfbbe1a729c19aa5d8db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileName == types.NpmPkg \u0026\u0026 xpath.Contains(filePath, \u0022node_modules\u0022)\u0060 appears character-identically in 3 files \u2014 pkg/fanal/analyzer/language/nodejs/bun/bun.go, pkg/fanal/analyzer/language/nodejs/npm/npm.go, pkg/fanal/analyzer/language/nodejs/pnpm/pnpm.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/nodejs/bun/bun.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f565a0d29edceca95cbc46b7e156d70513d70b60d90e538336eb68560fa43897"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.Type == packageurl.TypeMaven || p.Type == packageurl.TypeGradle\u0060 appears character-identically in 3 files \u2014 pkg/purl/purl.go, pkg/sbom/io/decode.go, pkg/sbom/spdx/marshal.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/purl/purl.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f22d770ee1f7ac5d6273023629b917202c1ac4d4f4443445f8b6fe126353e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060product == nil || product.PkgIdentifier.PURL == nil\u0060 appears character-identically in 2 files \u2014 pkg/vex/openvex.go, pkg/vex/repo.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/vex/openvex.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2de1abb41f475bb198615e68f02a8b82b64dca89e316fc29c68b14efd7862a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.Class == types.ClassOSPkg || result.Class == types.ClassLangPkg\u0060 appears character-identically in 2 files \u2014 pkg/report/table/summary.go, pkg/sbom/io/encode.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/summary.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"74938ab06fe3e8e32c529960189e94f81010b4c8b9941ff13ee579d2fca664e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060semver.IsValid(ver) || semver.IsValid(\u0022v\u0022\u002Bver)\u0060 appears character-identically in 2 files \u2014 pkg/dependency/parser/golang/binary/parse.go, pkg/detector/library/echo/echo.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/binary/parse.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"88aae422b055182f0c85b09db844088fa7cca485fbd75aedf5cbe2bc85642cde"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 5/10 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: newPodmanClient: \u0060newPodmanClient\u0060 calls \u0060net.Dial(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/daemon/podman.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e81804f3e5132d95c89a3b899a30ca916897ecb97e44acc25d27b4466d78413"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: fetchApkIndexArchive: \u0060fetchApkIndexArchive\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/imgconf/apk/apk.go"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bead6d0fba08b1e0c9e54aa7819886257f2b51df9559344bbe488fc6bbcd78"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: Exists: \u0060Exists\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/sonatype/sonatype.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bcb9f3ec46479abeaf15bc22f314137d26b50c48e9452ba5cc51b900566d2a"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SearchBySHA1: \u0060SearchBySHA1\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/sonatype/sonatype.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"181bd29bacb7c990d763456589b860e91df66af1ea7f6d90c0907d99bf0063af"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: SearchByArtifactID: \u0060SearchByArtifactID\u0060 calls \u0060http.NewRequest(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/sonatype/sonatype.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1bde46ba070bab57b7a2feb10885f05ba03932095ef0d9d49e32c828b1b017"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewDecoder(r).Decode(\u0026s); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/sbom.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4130923061f7c9951e3b47ea3598788b0f778dfcad2f291bb241ba4338f67cb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewDecoder(r).Decode(\u0026bundle); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/sbom.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb389a0657ad1a2d105eb4c0788db1889f4727569c124bf0d02b8cc9a697acf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(bundle.DSSEEnvelope, \u0026s); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/sbom.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20171d340350c53266156e1546f58970a8d59ddc9362cd3f2615494f1b0aee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sbom/cyclonedx/unmarshal.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d2200f935bb3320e97adccb1c95b7dc7d809329c70ba6abf4e02bb2167f102"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rpc/convert.go"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ecc13266ab55d8a5ad6c6be1c5523f2463d4c83a3e007dde83fc0a72cf3c23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/report/table/table.go"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e824a04bb4c0376af1a315ec264ad0382dd83b830bf5813b03892a8af1af179"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/identifier.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"288eb5fb65369bf88d51dc68b80fdd13f3435d1d410fc0d3c05fdb0303c9eba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/notice.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cb8de304e3e4035daf71bea5b5104e05fbfcd1411b2cb74bbf6a8b84725f38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/notice.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b639f08a0a3e9cea8248e9a794483da124d6779be4cda37107387f5f8be7a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := recover(); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"22731c5bdadccc680656f146bac45f4105db76444c2e84cefe3896c0c95b717b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f6a43d1ee6ebb1d88991a8e9e822682a813157649d76f83b56a9359290ecbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1cea624f966bcc99d5d9e2ac1bbfa2da9b4dbb969434ee2e77e55dbe31e56a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/attribute.go"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd87a0e980bb1eb52bbe57cf56762e5a88c004920c9c46d5c74813f85b62291"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/block.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"308b6420ca1d2978889616674c18b7276d0db5217c4bda4334f7059613b1e31d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/block.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ba71c4e15b97dd6389789b81aa738a3ee3f56762fb7df6833c621ffe13a2dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/reference.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd99c2f440cee16e11fcb8d82e6b18e7e01927805552b84f21aece58159a94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := gocty.FromCtyValue(t, \u0026patternVal); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/value_functions.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb0409999ae5442ed518b019d259ddfeb1930c78aa047d8ea718644df2fe8e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/terraform/value_functions.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc755ef26a9707354865cb353239f8482ad92986fb97f38fcc3a6bdd07a2900b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraformplan/snapshot/snapshot.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf5cff832246182606c85533e0d46dd4e340faa5bdd2bd6e1c374f4ab11d9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/scanner.go"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8988fb9fcd005d421cea4db5c85f56cea5083b2f801951502099f908fe1f9a47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5f11cb9b7e40fa77397ab0c3a70fbd09d97eb0e84efff65a30136788c089f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/evaluator.go"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc6ab24421e2cb93568a9b4516d36a8c3382d257497d6e898e6ef2e6d721a63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/parser.go"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"53be1bc128cb52fc7d6302a1a028a587a008d6e66e325fbf6a7197d320c77e10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/registry.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b63620bd1d1a0b9d2238bd4074f065d6d223ed56a936943dafa86fde295aab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/writable.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5f6960024f82e12932df62caf95ef90ce3d79202689c595e9ca2ca852d7326"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = syscall.Stat(path, \u0026stat); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/writable.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f0a384a1ca4cc8fee0d337445056ea4b32690b2e11cfb6ebefc603ed875018"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/terraform/parser/resolvers/writable_windows.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91971bf85d42f6014942181247ff1ae239fe5aaa9ebe282011e4b9eda86cb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"576bdb3ddf3a09f400489d45bc251e680578d48e6f0f31b50c31c09bb5f46f9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7458ca8a7e999336d983a106337ec929fb0043e515ea71060491e8e243802cae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/helm/scanner.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5456f49085e5e47f324b21d52165317890938451758991c41f21b43579b5bb15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2f93faaa659f2ae738fac7e14355fa0d8fcfde64356cff89832e07fec3422b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.Unmarshal([]byte(yamlContent), \u0026body); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eea644f9ff13ec175b3ea45d8b4c6c20015def2ef6a52d3f94b60953ba4d038"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/cloudformation/parser/property.go"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe503d51adf08e9c125bcc4370f885075b8b5477fbaac2283708e75941b99f46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/discovery.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b956a6e83fb1757fdb67f4135d3181cb427a9266768788489f5ea533d40ec03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := decodeYAMLFileWithExtension(p.rootSrc.Join(\u0022 \u0022), \u0026manifest, yamlExtensions); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/parser/parser.go"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb8ed00a70bef525900b055795970cbf363e670aaeed5efc984cc1324e1c97f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scanners/ansible/inventory/inventory_vars.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec9178a8ca8c46b0556ac29e4c6d7c25ed92f8f3033e3ccc24ae046610be8c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/highlighting.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb2ab68515b3a6529074947ba6f4c708743ad6e5e607b01ab8f46733785716"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := formatter.Format(\u0026buffer, style, iterator); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/highlighting.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e43837f80487c3f2d6a1219165ef2edb60a37e6277d007835873ad5f1467b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/scan/result.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"38af48420adc03100ed8b92813fc3325008a75e2c22f6c5cb9fa8be20b2629ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.Unmarshal([]byte(specContent), \u0026complianceSpec); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rules/register.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"461ad5b577c21a51e80f79b2a285e4e195fb9c8afd80554cb783e8651503b487"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/rego/scanner.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7711a28bbb380c307a932e7fe914192c3f056b177edc8e68e30614686fb7cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"628dfc6d209c0b4859e9bc169108e842cae409850c2bdc473c8f7b8945da3b2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.NewDecoder(r).Decode(\u0026sniff); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4cd78c371338474719a9ae284f9b293a92024c1186143666de14b59da4d194"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewDecoder(r).Decode(\u0026sniff); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ef59a66165df67eafc22e3a12c09d54dfb1ecc7923c84e08653eab69e35684"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"08971d20cfec996a854bb5819dcd6eeb6516b86a47b14608ebb4e347e6a2ea68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(xjson.ToRFC8259(data), \u0026sniff); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30af3bdad5341129e47babad64b2cf1b4fcc837071b18b64ea6f5561ed61335"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.NewDecoder(r).Decode(\u0026result); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dd3bf6d01d8616cf15cdca9d1f4800cd46d7fcebeaa0efea1854c05e00ee95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := io.Copy(\u0026buf, r); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a552f2bfa26368a901a3dbffc9c46fe44d2712edf93093349ae563cdada4672"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.Unmarshal(partial, \u0026result); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fffe13b7be09e7940a4b5d8081ac8f873908fc5df49e66f3c1904e772a3602d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46d764db3f216a7b4a531ed5b0a249f6d9b44da0006ff779f909dc84b9e6b44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(b, \u0026instance); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f9617ad96d932dcb5452e06c13ddbbbe67d8b68c81ee736359cd3265939609"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := yaml.NewDecoder(r).Decode(\u0026instance); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/detect.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"546da46e278f63bc566c9fbc0f56907eb444fa6deb0541244e883e2d559d8121"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if fr, err = gzip.NewReader(file); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/detection/peek.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a253156b1fb9fdcf69c60d7fe475f6c189d9cbb24d195ad73279930e9807d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/kms/adapt.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"919a8e5ec7ba2d9282a5da4257edadd56ed2fa0cb370914d32058ab358a76440"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa59ec2ea14c9616257fc6e1b5c600ee2f8c59bd1cb784e16588c01fd3a741b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/folder_iam.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f5bbeff74bd9c0a67446c4e42f3f5431765f35506db9c6af22bf7af512545a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/org_iam.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d907ff6343142ad7ff080ef75699ccda1d41b5f7ce35333dbbd72bcbafed05c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/org_iam.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"67eb4084d2908d5240c41220e80ade17242509d9d3b2168106b1e6b9e2f2f763"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbcafb6bfc74a9b798f40a48d46e6cea6214fbe140494d0a03b7d7da56030e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15191fc76ed4075e225e4dfcd2df5af3765c682dd560118703a73bddac346f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/policies.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1687d7325620de5d39a47c1349b72b2db5817b6cb3816c5333ae02b8c5eddc6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/policies.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"febbfa4a1098de2bab30ac39a7f9aad1db715a65bb56d129a0b8977e3972784b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/aws/iam/policies.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"503d14ebc558c1d8b0e327b21b27dd796e7dfd6cc33aed237a4466000b303c8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sqs/queue.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"06256c18f799fb38a45bba630c5be4eac5625de5b16cc8b1e6328a6bba21921b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/function.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5cd33d164b83f1a0a76f498f964238ea7d5b312723df43f5ea3064b4cdd9a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/sam/state_machines.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b92ef3a32692861ee2e7fcb8e8eeb6c1ea3e8f0a420cec0bf4483db374623a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/s3/bucket.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adc39b40f7a071ec694226f74fb533c3ff2dfe236053024d249bd24667fff39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/iam/policy.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"73322f6dfe6a73781a6c64e6c3fc2d51e301b7d1ff27d2a91285564e5f74e3d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/cloudformation/aws/iam/policy.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6f80b760f4a21bce82f7ca02dcac3bdb990108fde0f294bdf921afd6ce7795"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/flag/scan_flags.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a5000bb95ff5c5358b6dc8fab20e22eacc539a8277d22ff8148a10eddb1fe9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/walker/tar.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"df034019e4aaa0265247e1549bec7660d305aac0565102deeec6469b62eb5a9d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := exec.LookPath(name); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/utils/utils.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28132f8a0fdd10f4b8ee555e762c7c826231e4b3204bef38e8b510d6b29c9bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/utils/utils.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d967d254c19dbd8b2ecab00a8dc447cf043fa89d0c73870e404cd969aa924"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/image/registry/token.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6488ad9f5075bcd2c2efa60ae94f86243984dfaddc880951bf29ad904ad296"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/artifact/image/remote_sbom.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a96f1447f2e7382becff0091ff9cf870eebef3a680a568f6cf4df813a37576"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/repo/apk/apk.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff78b588e05beed2697face061a14c9f4c259f9bc23bead50d7010b50a95931a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/repo/apk/apk.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a1b38845ca48092a9ade66347329dd63d13c6b492f4794ca2a756b4a6009ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/pkg/dpkg/copyright.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad78e2de0b8cb18e4d154d7eaff9350229f017f24b256cf5750f068e30662d7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/python/pip/pip.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a81ad7c2c701b99b5992acefb2bb2df4cf5bdc86c69070aa6e587f406caeeb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed45a82df9295e48986f277c8bacc524244d9c14029143aa8837dceeb3e7413f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/fanal/analyzer/language/golang/mod/mod.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b98eb5db63359f8bea5ff4035117e4b90c915da7b8297da1a01e083a09acc5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if lib.Version, err = getVersion(line); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/nodejs/yarn/parse.go"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae28ba9781c429e41aa29e0757b99dda43aeef132c2e5ed5a570242930e5e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/mirror.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3982ca0e21eaf0f75767df7052026e26b803cc3a8c8e54ef2ededcd2e4305e9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/mirror.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1949862c10dc635c4095e7a61c43f2b8dfac9ae05f26fda73f42703e6d705f15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/pom/parse.go"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de72c99e63ecbb15e93c0f7f1dae62cc026246a117f583fac5e31870bac23c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/mod/parse.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52cf92d5956ec376984c256e00e78ccbe41f3461fd386f015449691017f3280"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/mod/parse.go"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ded14a389b3543188da4b34e1b7fe46349c78730917450830e789d219df92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := sec.ReadAt(buf, int64(offset)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/binary/elf.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ccaa9698d61bd8bb554d55c395cd937dfaf7b6fc8002d2dd166ab61f452312"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := version.Parse(parts[1]); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/conda/environment/parse.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f761bf0e40ed245882962ae511d1627b2e1e1dde6cb017533e0c3f7c5a130d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/scanner/rules.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a98cb8c1a30d6bff3d3197b9de8238271330057fc24ecad7451f3a8856b624"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/crypto/scanner/rules.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc58123e7ae4e73882d52b4a331279190cd5c064a0bf9cb1e9e3637264a437a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := c.GetArtifact(ctx, artifactID); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/memory.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"347726300fae4238408c1cfcf6570afb0e9726d8164c7bd6ce94817fd4eaeae2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := c.GetBlob(ctx, blobID); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cache/memory.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1021e2b20bbc7bb48a3be9e884a40794965427593214c2671fa75e717fe257"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"magefiles/vex.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c334e66451caaf6c7594e902baec4ab8d95d89eb9e2616efa16e9266669ce8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060readELFSymbolString\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/golang/binary/elf.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f396c8a9885e3000a05006ef2e87913c07e745a62b8a4e59214bf6c6787cf0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060properties\u0060 turns a non-nil \u0060err\u0060 into \u0060return Properties{}\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dependency/parser/java/jar/parse.go"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b2d82a2769a46fac6efcccfb5b3a632785be77d63e69815e3bde7cb2fb357b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060resolveProjectBlockID\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/iac/adapters/terraform/google/iam/project_iam.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d5e315b63cc106b93a50c9179119dd178b535ad34aec12d8c574a6b65e1caa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060uniqueIdentifier\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/notification/identifier.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c141d7ad5f229367ac0d22404f455268e63cdc00abf4d1071aad14c31d1000db"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.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-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.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":"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":93,"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."]}]}