{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"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":"backup.backup_create (cyclomatic 28): backup.backup_create has cyclomatic complexity 28 (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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"151313e9027d7064adbd99933bfcb192a6141fa95d48eb750e976b9a91fe1f17"}},{"ruleId":"D1","level":"warning","message":{"text":"certs.certs_issuers_list (cyclomatic 25): certs.certs_issuers_list has cyclomatic complexity 25 (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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3cdfa892dd54729668eed8cde6a348969c3515de1ebd3d81d62f4a9d38fc7b9"}},{"ruleId":"D1","level":"warning","message":{"text":"certs.certs_status_explain (cyclomatic 22): certs.certs_status_explain has cyclomatic complexity 22 (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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6967ad2b0bb76809f2eca25edd086da6fe66168c74902efb705ba43b2feba35"}},{"ruleId":"D1","level":"warning","message":{"text":"backup.restore_create (cyclomatic 21): backup.restore_create has cyclomatic complexity 21 (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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5d57b3f53e96b894635d4773080946249f9495de45912e849bfa4aa1aca641"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.policy_violations_list (cyclomatic 21): policy.policy_violations_list has cyclomatic complexity 21 (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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"778818dbfe0fc9f696e7e584ce1cc50c61b496acaa75ace986de120ed400f7f0"}},{"ruleId":"D1","level":"warning","message":{"text":"cilium.hubble_flows_query (cyclomatic 20): cilium.hubble_flows_query has cyclomatic complexity 20 (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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a66ff4026b2865237e1bf6f71f658ac87c903e26998acc4e425f434e2b1d89"}},{"ruleId":"D1","level":"warning","message":{"text":"tracing.init_tracing (cyclomatic 18): tracing.init_tracing 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":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51847b322335e1b712ed0d9ed5b85e943022122a38b839e0e38e1e532f006ea"}},{"ruleId":"D1","level":"warning","message":{"text":"gitops._gitops_apps_list (cyclomatic 17): gitops._gitops_apps_list 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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"deca4a1bdaa3a28dcc525a15aa8d2999de2517bd9ad0e93cb671407b713ecbae"}},{"ruleId":"D1","level":"warning","message":{"text":"policy.policy_list (cyclomatic 17): policy.policy_list 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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe366c2a22d72285941799eb1a8737aa2ba0faafb54459e6aa2487dd0791789"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.policy_violations_list (cognitive 60): policy.policy_violations_list has cognitive complexity 60 (threshold 15). Drivers by points: if/else 11 (36 pts), loops 6 (21 pts), boolean chains 3 (nesting depth added 40). 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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fe084f1cbf56269d415b8981ab384d683dec9d65c4a26ea763f81a2b339dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.backup_create (cognitive 44): backup.backup_create has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (39 pts), boolean chains 2, loops 1 (2 pts), error handling 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"986dec49a1c1cb1c14eb1e861b041025db204fb7ad570f443c9401ceb2c64331"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.policy_list (cognitive 39): policy.policy_list has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 4 (16 pts), loops 4 (12 pts), if/else 6 (9 pts), boolean chains 2 (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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f81ce3c081f9b13d56d1f2660ca379c03fd1a441eae00d93b42f98d95328b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"certs.certs_issuers_list (cognitive 36): certs.certs_issuers_list has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 4 (8 pts), error handling 2 (4 pts), loops 2 (4 pts), 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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a6344646b4d4761c7f41cf3776ec99a1c13b1e12d655f91428d3233bbd2bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"tracing.init_tracing (cognitive 31): tracing.init_tracing has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 4 (8 pts), loops 2 (5 pts), ternaries 1 (2 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":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9511b287749fe67840ba289a6cd9d3387a50b6338811d2fa41004b9e9a48376"}},{"ruleId":"D2","level":"warning","message":{"text":"gitops._gitops_apps_list (cognitive 31): gitops._gitops_apps_list has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (9 pts), boolean chains 5 (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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e6f6a697a65bfd6ce224232057260c7a45ddd12f693f55b998e9d420d00570"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.restore_create (cognitive 29): backup.restore_create has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (23 pts), loops 1 (3 pts), boolean chains 2, error handling 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f6bbfad5a91cf4fa64ca5bebf68331b422f0853384cf8c598fb8e2d08111cf"}},{"ruleId":"D2","level":"warning","message":{"text":"certs.certs_status_explain (cognitive 28): certs.certs_status_explain has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 4, boolean chains 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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a20e4e08a5212a17be6ee85bbee771cdc3b2a4334978b3200489fd3ed6c277"}},{"ruleId":"D2","level":"warning","message":{"text":"gitops._gitops_sources_list (cognitive 23): gitops._gitops_sources_list has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 pts), boolean chains 3 (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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec1a6216da49848a817ab1019761f5c18f186ec9b2bd9a7bcd401982f02bf3a"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.policy_explain_denial (cognitive 23): policy.policy_explain_denial has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (7 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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cabc99ca7e188a8f3b6defad242784fa3547663a9030bda691926b107bdbd2"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.load_config (cognitive 21): loader.load_config has cognitive complexity 21 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 7 (8 pts), loops 2 (4 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":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd15f4f63386e9b9200272dd564ed78c9c8750fffa0299fa6e0f0f0d152c3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"cilium.hubble_flows_query (cognitive 21): cilium.hubble_flows_query has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 3 (5 pts), boolean chains 2, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7f2c1eb77474fa60824a2242f21ad2237ddb34d8ef6991c4b7031fa3d36818"}},{"ruleId":"D2","level":"warning","message":{"text":"rollouts.rollouts_list (cognitive 21): rollouts.rollouts_list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (8 pts), boolean chains 1, 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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4d85613ad760571ba1830f0a356e759984449359729f0000050fa51ad53bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.cmd_doctor (cognitive 20): cli.cmd_doctor has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 4 (6 pts), ternaries 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":"kubectl_mcp_tool/cli/cli.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd211fddab12e193583120c943d46bf3a8c3e9bc19b7eae437a9f64a0f0f6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"backup.backup_schedule_create (cognitive 19): backup.backup_schedule_create has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, error handling 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf98b4e294ffb05972a5872e7d7e1f55900443921907f9a6e50069b25f5f55"}},{"ruleId":"D2","level":"warning","message":{"text":"custom_resources._classify_crd (cognitive 19): custom_resources._classify_crd has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), ternaries 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":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b8afe7ad7c08f02a9b000faf8fc505a317ab6bb489dbae3f35499a5132c01"}},{"ruleId":"D2","level":"warning","message":{"text":"kind.kind_port_mappings (cognitive 19): kind.kind_port_mappings has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 3 (6 pts), error handling 1 (3 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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"24941fda639d05d2a27b87b268c5f3373dfc581c0f21bf52c036142856d337aa"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.redact_secrets (cognitive 19): helpers.redact_secrets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 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":"kubectl_mcp_tool/utils/helpers.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaeda2cca141767d10807d61e0d7ed66194ef92380c172af16960177330c90e"}},{"ruleId":"D2","level":"warning","message":{"text":"output.format_call_result (cognitive 18): output.format_call_result has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), boolean chains 2 (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":"kubectl_mcp_tool/cli/output.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"587563a1e036e6d1e5855c9fbf081d4d8893031c206e37e80f9f47293c27f223"}},{"ruleId":"D2","level":"warning","message":{"text":"cilium.cilium_status (cognitive 18): cilium.cilium_status has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 3 (6 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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d283e3542176fc42b19483d4df73a6d0f4ee2868b4c211fcc58159fe9eb873"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers._redact_secret_blocks (cognitive 18): helpers._redact_secret_blocks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, ternaries 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":"kubectl_mcp_tool/utils/helpers.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5badf0a0edf23521a3fee68f8182e791f6a4efb6b1c796a15a3bd94a63b18303"}},{"ruleId":"D2","level":"warning","message":{"text":"rollouts.rollout_promote (cognitive 17): rollouts.rollout_promote has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc10967bcabfd69a4ef4d8c902f556f2d5bee05078d51a410875e368f701d58"}},{"ruleId":"D2","level":"warning","message":{"text":"elicit.confirm_destructive (cognitive 16): elicit.confirm_destructive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 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":"kubectl_mcp_tool/elicit.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"246c37971211aefb7ca0395d63b9acbf911e429a190fb1374edb7afb04a9bdca"}},{"ruleId":"D2","level":"warning","message":{"text":"custom.load_prompts_from_config (cognitive 16): custom.load_prompts_from_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), error handling 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":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049bccbd8da6a3881b58e97bc6efe44eb0eda5c4759073dc13c3ba5e2b481fb"}},{"ruleId":"D2","level":"warning","message":{"text":"gitops._gitops_app_sync (cognitive 16): gitops._gitops_app_sync has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d0ed0840b5aaf720c3b83b2dc92fdb5b017242f7f912877479956d0fdf3a57"}},{"ruleId":"D2","level":"warning","message":{"text":"keda._keda_hpa_list (cognitive 16): keda._keda_hpa_list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 2, error handling 1, loops 1, ternaries 1 (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":"kubectl_mcp_tool/tools/keda.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70ffe432425ae44ffdecd32eb6685bf8ddad838d2181d087e20d1d8dec0c2d8"}},{"ruleId":"D2","level":"warning","message":{"text":"find-overprovisioned.analyze_pod_resources (cognitive 16): find-overprovisioned.analyze_pod_resources has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, loops 1, ternaries 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":"kubernetes-skills/claude/k8s-cost/scripts/find-overprovisioned.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9666884ed434b819d12b61b471673e75d3dc88947656f736629c7222a776ae6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/kind.py: FileTooLong \u2014 971 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 471 over it, 1.94\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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ab5b57a55b78b44868db03aabf3cb8b3f7e4bbda2ef3ac9f28ef2792a6dc51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/helm.py: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 396 over it, 1.79\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b753dc0cfd322930425f76a6a328fae08bbc57df213a86cfa706d8e2a55f23f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/custom_resources.py: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 309 over it, 1.62\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":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df304c1957cf91cdc8eaf0f71459d5b4d1e8ede74c69b63887178eb61fc1326c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/cluster.py: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2233f1384434d2eb6f212d3bda49b1c5733cb54a70970b25b12ab57ac490b980"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/backup.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c0aa1990c22e543f04d3e30598979b4a8404d0b47b469551225dabaa1f502e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/cost.py: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 over it, 1.12\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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d468ae9ab48bb80fee927453ff455b89bb43e12db0b8301b9e89fc69d851008"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 5 shared lines): kubectl_mcp_tool/tools/capi.py:37-88 | kubectl_mcp_tool/tools/capi.py:132-189 | kubectl_mcp_tool/tools/capi.py:233-285 | kubectl_mcp_tool/tools/capi.py:389-436 \u2014 These 4 members are variants of one another: a block of 5 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20cf1928f82b7ab7cc7c31efcb2c7ef8db06e6ff61ece46f66e5c08fa061a00"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (66 shared lines): kubectl_mcp_tool/tools/backup.py:157-272 | kubectl_mcp_tool/tools/backup.py:382-477 \u2014 These two members are variants of one another: 66 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f565dab0d42795a107d32c77c959c091d0d3220cd04da0c83abf90edcbb6a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): kubectl_mcp_tool/tools/backup.py:699-821 | kubectl_mcp_tool/tools/capi.py:552-653 | kubectl_mcp_tool/tools/certs.py:584-663 | kubectl_mcp_tool/tools/cilium.py:451-510 | kubectl_mcp_tool/tools/keda.py:341-396 | kubectl_mcp_tool/tools/kiali.py:501-576 | kubectl_mcp_tool/tools/kubevirt.py:609-744 | kubectl_mcp_tool/tools/rollouts.py:595-704 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"27082bb877ff69702392e6da699e9cc84a7f4f42ba0c95947838bcd07f523469"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): kubectl_mcp_tool/tools/backup.py:58-106 | kubectl_mcp_tool/tools/backup.py:321-367 | kubectl_mcp_tool/tools/kubevirt.py:164-220 | kubectl_mcp_tool/tools/rollouts.py:506-556 \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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2110e7eb2778c0a2a60a049f0c2a397224f5373f89abb08a63c9d6d8690ac5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): kubectl_mcp_tool/tools/capi.py:37-88 | kubectl_mcp_tool/tools/capi.py:132-189 | kubectl_mcp_tool/tools/capi.py:233-285 | kubectl_mcp_tool/tools/rollouts.py:40-107 \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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1375c042f531aba34f32fc514b78a32c8ee8fab6fb54581c5076f807faab1845"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): kubectl_mcp_tool/tools/certs.py:584-663 | kubectl_mcp_tool/tools/cilium.py:451-510 | kubectl_mcp_tool/tools/keda.py:341-396 | kubectl_mcp_tool/tools/policy.py:427-474 \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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a081ddf63590f2f43181886cb574685bf2aefdf5edb8b8dd46ebd9fba217adfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): kubectl_mcp_tool/tools/rollouts.py:218-273 | kubectl_mcp_tool/tools/rollouts.py:281-329 | kubectl_mcp_tool/tools/rollouts.py:337-385 | kubectl_mcp_tool/tools/rollouts.py:393-446 \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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cfb325d4e4dcbedc0dce287ebff3c17eed5cd52824db81956eef50ef9ecd17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): kubectl_mcp_tool/tools/gitops.py:28-101 | kubectl_mcp_tool/tools/gitops.py:309-363 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c699b8323ce68b12e499b990734b0988a0266a963348dc67c888b29065679a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): kubectl_mcp_tool/tools/keda.py:276-337 | kubectl_mcp_tool/tools/kiali.py:447-497 \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":"kubectl_mcp_tool/tools/keda.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d757c705afccad86e463ea3f019a2a3411575d23af610bd77785d7f68e4683e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): kubectl_mcp_tool/tools/cilium.py:123-157 | kubectl_mcp_tool/tools/keda.py:234-268 \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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"490f2a41efef0934df9ce0c9d81ebcb37a6bc47a3d025092a14b8afad283df05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): kubectl_mcp_tool/tools/keda.py:24-77 | kubectl_mcp_tool/tools/keda.py:120-167 | kubectl_mcp_tool/tools/kubevirt.py:561-605 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"kubectl_mcp_tool/tools/keda.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"50730bcbf96003778e9030f6a6e60bfcc673bf29e22051e0e766d44b22eeeb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): kubectl_mcp_tool/cli/output.py:196-212 | kubectl_mcp_tool/cli/output.py:219-236 \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":"kubectl_mcp_tool/cli/output.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcc6d7162828807cd05022022a1acc0721dcfebb174c94fb7c49f5be639d542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): kubectl_mcp_tool/tools/kind.py:57-92 | kubectl_mcp_tool/tools/kind.py:466-497 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd5aef09c8ab1b918b5958c6c3d1c3e0f679dd30e6ce5bb04670bf652de7dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): kubectl_mcp_tool/tools/kind.py:777-820 | kubectl_mcp_tool/tools/kind.py:899-945 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f815c477a22c6428af2639fea76c1683ce0913c28bbc25dac71a51eb22b8465"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): kubectl_mcp_tool/tools/kubevirt.py:228-270 | kubectl_mcp_tool/tools/kubevirt.py:279-324 \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":"kubectl_mcp_tool/tools/kubevirt.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed58de22c8b8fe4b1c9da8c277fa0c1fb3d1174cc51b1d98847e79b84bb9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): kubectl_mcp_tool/tools/backup.py:34-50 | kubectl_mcp_tool/tools/kubevirt.py:38-54 | kubectl_mcp_tool/tools/utils.py:11-21 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b10b6553f6b2c9425dee60dcc17ee33adaad49402235436ee67d32ffa17d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): kubectl_mcp_tool/tools/capi.py:96-123 | kubectl_mcp_tool/tools/capi.py:498-548 \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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcae540709602ccaba8882c8830645eccdccfeee58e18dfa85994e63d2f475f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): kubectl_mcp_tool/tools/kiali.py:50-90 | kubectl_mcp_tool/tools/kiali.py:279-314 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"kubectl_mcp_tool/tools/kiali.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfe42de5e10561551cf3533d46f5201c37a5309162d07a134361f704ee7dfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): kubectl_mcp_tool/tools/kind.py:280-312 | kubectl_mcp_tool/tools/kind.py:320-349 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a61a89fea05bbc7f403443e99d42af26da8fb2986483c63a499ebd3126cae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): kubectl_mcp_tool/tools/kind.py:96-113 | kubectl_mcp_tool/tools/kind.py:117-138 \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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cba977bf0f4f117c6f41ee5b6e49890e401b06278e42e19ab81b2486d42f2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): kubectl_mcp_tool/tools/backup.py:519-555 | kubectl_mcp_tool/tools/backup.py:562-600 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"45572fae4f1236a2960506e97915c720d50b7c86af3967508e6d60c5e96a7585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): kubectl_mcp_tool/tools/vind.py:280-311 | kubectl_mcp_tool/tools/vind.py:375-410 \u2014 These two members are one piece of code written twice and then edited apart: 32 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":"kubectl_mcp_tool/tools/vind.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f9b80d45697efdccbb8e24223a3690bc4f78690c4aa7a06734e7b3440cba4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): kubectl_mcp_tool/diagnostics.py:30-53 | kubectl_mcp_tool/tools/kind.py:205-245 | kubectl_mcp_tool/tools/kind.py:357-390 | kubectl_mcp_tool/tools/vind.py:444-480 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 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":"kubectl_mcp_tool/diagnostics.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec35745e5dd97f538a73e461aa9a9b24db8af69a3eb9959cbf4207d95f5c8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:1047-1083 | kubectl_mcp_tool/tools/helm.py:1122-1158 \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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d88b75563d136128d4e321a83d9fc160d314de2c53eaf1ebfc489925750d860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:198-233 | kubectl_mcp_tool/tools/backup.py:419-454 \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 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a9380450302cf481c83cda9f42909d45ad1a0730ff9ef1d9256f60d478bc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): kubectl_mcp_tool/tools/gitops.py:110-143 | kubectl_mcp_tool/tools/gitops.py:372-404 \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 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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"049d59eb5b8d279ac604a13b7259740d8f471636ed3fc96de4833c2f9c38ece6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:132-164 | kubectl_mcp_tool/tools/helm.py:203-235 \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 \u0060kubectl_mcp_tool/tools/helm.py:132\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf6cb5e0c4c2aa06b1c63c82207c1a9570e8ba943bff6708a7ebae2623982ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): kubectl_mcp_tool/tools/certs.py:196-225 | kubectl_mcp_tool/tools/certs.py:230-259 \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 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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"550620453c5e2d2c2b9ca967a247fdb0533377257d26422bf472c07f6d3e4e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:69-97 | kubectl_mcp_tool/tools/backup.py:332-358 | kubectl_mcp_tool/tools/rollouts.py:517-545 \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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str = \u0022\u0022\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kubectl_mcp_tool/tools/rollouts.py:547\u0060 calls \u0060sum\u0060 and \u0060kubectl_mcp_tool/tools/backup.py:100\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2248c8096828bce8e536bb0c1b53245089d55d342b0f7b35cd027a32181d05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): kubectl_mcp_tool/tools/capi.py:60-88 | kubectl_mcp_tool/tools/capi.py:161-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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/capi.py:58\u0060 calls \u0060next\u0060, \u0060get\u0060 and \u0060kubectl_mcp_tool/tools/capi.py:158\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce527c1266c44ad79a404cdd898cbb1e4abc9226280ecf310c25932b2b1f60ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): kubectl_mcp_tool/tools/custom_resources.py:883-911 | kubectl_mcp_tool/tools/custom_resources.py:966-993 \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 \u0060kubectl_mcp_tool/tools/custom_resources.py:883\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":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1d2dd0c11ab941c272bb6c4baa410d14fce9510c24784213edd0054bb61f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201328 lines \u00D7 9): kubectl_mcp_tool/tools/cluster.py:289-304 | kubectl_mcp_tool/tools/cost.py:149-166 | kubectl_mcp_tool/tools/cost.py:640-660 | kubectl_mcp_tool/tools/helm.py:925-941 | kubectl_mcp_tool/tools/operations.py:607-625 | kubectl_mcp_tool/tools/pods.py:260-287 | kubectl_mcp_tool/tools/pods.py:486-502 | kubectl_mcp_tool/tools/security.py:204-219 | kubectl_mcp_tool/tools/security.py:258-275 \u2014 there are 9 copies across 6 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 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/cluster.py:289\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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"100b8b43f660ef50fda4e71c05a1abefad190a8717d770eb62703755dd287fcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): kubectl_mcp_tool/tools/rollouts.py:281-308 | kubectl_mcp_tool/tools/rollouts.py:337-364 | kubectl_mcp_tool/tools/rollouts.py:393-420 \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. 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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"02691cffe9d81e8828d6a24819504125aee56b741cad10ca370ac440d4d2a190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:78-106 | kubectl_mcp_tool/tools/backup.py:341-367 | kubectl_mcp_tool/tools/kubevirt.py:193-220 \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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str = \u0022\u0022\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e4c1a7da77afbadf941ffa7a2959481fbe05cae8318c2ed10d0a7abe7be9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201326 lines \u00D7 3): kubectl_mcp_tool/resources/resources.py:103-128 | kubectl_mcp_tool/resources/resources.py:161-171 | kubectl_mcp_tool/resources/resources.py:173-191 \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 \u0060kubectl_mcp_tool/resources/resources.py:161\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/resources/resources.py:103\u0060 calls \u0060list_node\u0060 and \u0060kubectl_mcp_tool/resources/resources.py:173\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":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"416ab566ef5f81484aff970786f07d51db87fc3b9039e87b80a39b1e881a2445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): kubectl_mcp_tool/tools/cilium.py:58-82 | kubectl_mcp_tool/tools/cilium.py:86-108 \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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbe5ecb5f0e2590190e8b82a2d94786a904cbeae5e3c47d50124339d33b65e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): kubectl_mcp_tool/tools/kubevirt.py:332-356 | kubectl_mcp_tool/tools/kubevirt.py:428-452 \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 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":"kubectl_mcp_tool/tools/kubevirt.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"532c0811f574c43612cc1ad87bb97375fc04c8c3ca8e9beb01a785057d9f0ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): kubectl_mcp_tool/tools/kubevirt.py:364-388 | kubectl_mcp_tool/tools/kubevirt.py:396-420 \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 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":"kubectl_mcp_tool/tools/kubevirt.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ffc73982db5da58fbed37079a603f900693dfc41e64dc1d7660c33c6003290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 4): kubectl_mcp_tool/tools/backup.py:76-98 | kubectl_mcp_tool/tools/backup.py:339-359 | kubectl_mcp_tool/tools/kubevirt.py:189-212 | kubectl_mcp_tool/tools/rollouts.py:524-546 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str = \u0022\u0022\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kubectl_mcp_tool/tools/rollouts.py:547\u0060 calls \u0060sum\u0060 and \u0060kubectl_mcp_tool/tools/backup.py:100\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d825d3d545263d6993566838dcfe377dbb8c554d4f4b608def3509c80966463e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): kubectl_mcp_tool/tools/cilium.py:123-146 | kubectl_mcp_tool/tools/keda.py:234-257 \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. 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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"100b26980988226e68a71a7b9653ce4aad1adead10405ba547df51038db3d00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:914-937 | kubectl_mcp_tool/tools/helm.py:974-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 \u0060kubectl_mcp_tool/tools/helm.py:914\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:912\u0060 calls \u0060extend\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:972\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aa88537e44477d99987a68099cf1fa587a4f9c30438e444f3af9c58eeec89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): kubectl_mcp_tool/tools/pods.py:39-61 | kubectl_mcp_tool/tools/pods.py:282-305 \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 \u0060kubectl_mcp_tool/tools/pods.py: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":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"83de18dbe4fe364a509d1348c25427354b7ff978275f381ae034fe5a0617a3aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): kubectl_mcp_tool/tools/pods.py:501-524 | kubectl_mcp_tool/tools/security.py:25-48 \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 \u0060kubectl_mcp_tool/tools/pods.py:501\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":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d994fddb822db0f5a678acf94833bce0c9cdf5731133ab6f089ff59158435ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201323 lines \u00D7 4): kubectl_mcp_tool/tools/operations.py:413-435 | kubectl_mcp_tool/tools/operations.py:478-496 | kubectl_mcp_tool/tools/operations.py:539-557 | kubectl_mcp_tool/tools/operations.py:602-621 \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 \u0060kubectl_mcp_tool/tools/operations.py:413\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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe881ac0858839b558bfe43c2e1fe7385e44ec53bb6c10888fb2c3b9926daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 7): kubectl_mcp_tool/tools/cost.py:239-257 | kubectl_mcp_tool/tools/cost.py:295-313 | kubectl_mcp_tool/tools/pods.py:407-428 | kubectl_mcp_tool/tools/pods.py:497-518 | kubectl_mcp_tool/tools/security.py:21-42 | kubectl_mcp_tool/tools/security.py:214-235 | kubectl_mcp_tool/tools/security.py:270-291 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/cost.py:239\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060Optional[str] = None\u0060 in one and \u0060str = \u0022default\u0022\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/cost.py:294\u0060 calls \u0060model_json_schema\u0060 and \u0060kubectl_mcp_tool/tools/cost.py:238\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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ba3f49d478fa8b2a6afa314871b1308e06af08a74e51453b8cde8b0b58b048"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 5): kubectl_mcp_tool/tools/operations.py:188-204 | kubectl_mcp_tool/tools/operations.py:418-439 | kubectl_mcp_tool/tools/operations.py:483-500 | kubectl_mcp_tool/tools/operations.py:544-561 | kubectl_mcp_tool/tools/operations.py:672-689 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/operations.py:188\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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2997238a45a24274183f24e38a9cd2027308f40fc138b9d64e6ee74805d4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): kubectl_mcp_tool/tools/cost.py:66-87 | kubectl_mcp_tool/tools/cost.py:481-502 \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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d8924c017e2cf438e9fcf49dc5a000aaf68549bc75b8076de1739c71d2d268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): kubectl_mcp_tool/tools/gitops.py:169-190 | kubectl_mcp_tool/tools/gitops.py:192-213 \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 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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1dd8738a119606f40f6de797949b850110649f2b80b2c4861cdf8479cc4ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): kubectl_mcp_tool/tools/operations.py:446-467 | kubectl_mcp_tool/tools/operations.py:507-528 \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 \u0060kubectl_mcp_tool/tools/operations.py:446\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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d4f1f823aa77794bbd876e75ec5692e1a9f9ae935d30dd3f9cd47903aa9748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:252-272 | kubectl_mcp_tool/tools/backup.py:457-477 | kubectl_mcp_tool/tools/backup.py:675-695 \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. 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ef31e166ee70c4a81d8fc80d98451d458f3b1956d7cfb7249d9ffe92b7c58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): kubectl_mcp_tool/tools/capi.py:59-77 | kubectl_mcp_tool/tools/capi.py:160-178 | kubectl_mcp_tool/tools/rollouts.py:72-94 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/capi.py:58\u0060 calls \u0060next\u0060, \u0060get\u0060 and \u0060kubectl_mcp_tool/tools/capi.py:158\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbda297845fab21c16aeeed0201195f474706a3c5df446255dcef0ebaace6c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): kubectl_mcp_tool/tools/capi.py:160-178 | kubectl_mcp_tool/tools/capi.py:261-279 | kubectl_mcp_tool/tools/rollouts.py:72-94 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str\u0060 in one and \u0060str = \u0022\u0022\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kubectl_mcp_tool/tools/capi.py:180\u0060 calls \u0060sum\u0060 and \u0060kubectl_mcp_tool/tools/capi.py:281\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d874a388ff1dcf041c51f1b71828e7d68c5e4e2a3a650c58a7c836dd571dd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): kubectl_mcp_tool/tools/cluster.py:228-246 | kubectl_mcp_tool/tools/cluster.py:295-313 | kubectl_mcp_tool/tools/cost.py:578-596 \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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d452e011e3d417de806e9d883eb3095c63196671d0b4cb087f66787f06f5e825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): kubectl_mcp_tool/tools/vind.py:550-568 | kubectl_mcp_tool/tools/vind.py:639-654 \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 \u0060kubectl_mcp_tool/tools/vind.py:550\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":"kubectl_mcp_tool/tools/vind.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d12de19056d9238e2978a957d430279d0882ddb675987d765b6e4ebd2b231ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 11): kubectl_mcp_tool/tools/backup.py:127-139 | kubectl_mcp_tool/tools/backup.py:498-510 | kubectl_mcp_tool/tools/capi.py:109-121 | kubectl_mcp_tool/tools/capi.py:210-222 | kubectl_mcp_tool/tools/capi.py:513-530 | kubectl_mcp_tool/tools/certs.py:159-171 | kubectl_mcp_tool/tools/keda.py:98-110 | kubectl_mcp_tool/tools/kiali.py:111-123 | kubectl_mcp_tool/tools/kubevirt.py:142-154 | kubectl_mcp_tool/tools/rollouts.py:128-140 | kubectl_mcp_tool/tools/rollouts.py:577-589 \u2014 there are 11 copies across 7 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 11 sites; resolving a subset leaves the remainder to drift apart. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6b78f0db4ee9443d7d2e369b0c06a79d3f6c2976358db976f22a4b2cdb6c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): kubectl_mcp_tool/tools/certs.py:292-309 | kubectl_mcp_tool/tools/cilium.py:138-155 | kubectl_mcp_tool/tools/keda.py:249-266 \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. 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, \u0060kubectl_mcp_tool/tools/certs.py:290\u0060 calls \u0060strip\u0060 and \u0060kubectl_mcp_tool/tools/cilium.py:137\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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd950e3ad4a3459fcce37013b28afd6ba21ab68bf597af04d527714820a88bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): kubectl_mcp_tool/tools/helm.py:435-452 | kubectl_mcp_tool/tools/helm.py:578-594 | kubectl_mcp_tool/tools/helm.py:624-641 \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 \u0060kubectl_mcp_tool/tools/helm.py:435\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:575\u0060 calls \u0060extend\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:621\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3483a6d8a6ec45a5cf5e5693abdc8b2515c9f113610b60f696c6296b68fb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): kubectl_mcp_tool/tools/gitops.py:345-363 | kubectl_mcp_tool/tools/kubevirt.py:480-497 \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. 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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"83315fbb1e35561ae9a3567572b9107efb2f3aee55b30ec4021e1b4ccee92e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): kubectl_mcp_tool/tools/kind.py:73-90 | kubectl_mcp_tool/tools/kind.py:476-493 \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 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060timeout\u0060 to \u0060int = 300\u0060 in one and \u0060int = 60\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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"35395c6cba598393fb74d8068a78b653d851279113e7aa74e8d4600f35520b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): kubectl_mcp_tool/tools/operations.py:186-202 | kubectl_mcp_tool/tools/pods.py:111-128 \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 \u0060kubectl_mcp_tool/tools/operations.py:186\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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ab21711b413bf5dbbba217c3c028ad26ba6fc539956f9c56b04e3b5e3c113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 10): kubectl_mcp_tool/tools/helm.py:718-733 | kubectl_mcp_tool/tools/helm.py:754-769 | kubectl_mcp_tool/tools/helm.py:793-808 | kubectl_mcp_tool/tools/helm.py:861-877 | kubectl_mcp_tool/tools/helm.py:1035-1050 | kubectl_mcp_tool/tools/helm.py:1075-1090 | kubectl_mcp_tool/tools/helm.py:1111-1125 | kubectl_mcp_tool/tools/helm.py:1150-1165 | kubectl_mcp_tool/tools/helm.py:1205-1220 | kubectl_mcp_tool/tools/helm.py:1245-1260 \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 \u0060kubectl_mcp_tool/tools/helm.py:718\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:858\u0060 calls \u0060extend\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:715\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc47ab06de68502dc092ca63242cc2d4ca4906efd0bb3ffd6613834ed40815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): kubectl_mcp_tool/tools/gitops.py:44-60 | kubectl_mcp_tool/tools/gitops.py:63-78 \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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1531de6996c6c44f676431ecc636c913bc03a478eb4e85efd120511c225aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): kubectl_mcp_tool/tools/kind.py:33-49 | kubectl_mcp_tool/tools/vind.py:29-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. 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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"886ce51847100f397754fef28a336e6d147bfbb814b3eaa065965238bb936897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): kubectl_mcp_tool/tools/policy.py:221-237 | kubectl_mcp_tool/tools/policy.py:241-257 \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 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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2969d5fdb7b8b6b55d2bd0949ca82dbfe600c47ff15c891ae1048305de9f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): kubectl_mcp_tool/tools/cluster.py:465-484 | kubectl_mcp_tool/tools/cost.py:222-240 | kubectl_mcp_tool/tools/cost.py:468-483 | kubectl_mcp_tool/tools/cost.py:562-583 | kubectl_mcp_tool/tools/networking.py:111-127 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/cluster.py:465\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/cost.py:466\u0060 calls \u0060sort\u0060, \u0060rstrip\u0060 and \u0060kubectl_mcp_tool/tools/cost.py:220\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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ce1e04628241d50780408fb9149597c219bb3b426d4f0bed40a934f8507d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): kubectl_mcp_tool/tools/cost.py:295-310 | kubectl_mcp_tool/tools/security.py:89-107 \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 \u0060kubectl_mcp_tool/tools/cost.py:295\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, \u0060kubectl_mcp_tool/tools/security.py:108\u0060 calls \u0060get_networking_client\u0060 and \u0060kubectl_mcp_tool/tools/cost.py:311\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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0df2c8128f24895cbdc70eeddbabf3dce13c0c9e05b3e03c57a04156dbb5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): kubectl_mcp_tool/tools/rollouts.py:237-251 | kubectl_mcp_tool/tools/rollouts.py:296-310 | kubectl_mcp_tool/tools/rollouts.py:352-366 | kubectl_mcp_tool/tools/rollouts.py:408-422 \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. 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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bc08f0f0c7f25c58de979b0b145806ac13cffb0387ea9df8fbe396d3705191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:671-685 | kubectl_mcp_tool/tools/helm.py:1215-1227 \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 \u0060kubectl_mcp_tool/tools/helm.py:671\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. 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 before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:668\u0060 calls \u0060lower\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:1213\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"af617e53c5ea05c0a0a09948343f4dfbb32a5863f9df62585ab68234527f2574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): kubectl_mcp_tool/tools/operations.py:387-398 | kubectl_mcp_tool/tools/operations.py:616-630 \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 \u0060kubectl_mcp_tool/tools/operations.py:616\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. 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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740781d3bbf476ff0503bcf0569bf09226c042efe740320e12d50afdc1fdcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 31): kubectl_mcp_tool/tools/cluster.py:84-96 | kubectl_mcp_tool/tools/cluster.py:114-126 | kubectl_mcp_tool/tools/cluster.py:227-239 | kubectl_mcp_tool/tools/cluster.py:260-273 | kubectl_mcp_tool/tools/cluster.py:294-306 | kubectl_mcp_tool/tools/cluster.py:389-402 | kubectl_mcp_tool/tools/cluster.py:478-491 | kubectl_mcp_tool/tools/cost.py:156-169 | kubectl_mcp_tool/tools/cost.py:234-246 | kubectl_mcp_tool/tools/cost.py:373-386 | kubectl_mcp_tool/tools/cost.py:477-490 | kubectl_mcp_tool/tools/cost.py:577-589 | kubectl_mcp_tool/tools/cost.py:650-663 | kubectl_mcp_tool/tools/helm.py:401-414 | kubectl_mcp_tool/tools/helm.py:447-460 | kubectl_mcp_tool/tools/helm.py:589-602 | kubectl_mcp_tool/tools/helm.py:636-648 | kubectl_mcp_tool/tools/helm.py:931-944 | kubectl_mcp_tool/tools/helm.py:1085-1097 | kubectl_mcp_tool/tools/helm.py:1255-1268 | kubectl_mcp_tool/tools/networking.py:72-85 | kubectl_mcp_tool/tools/networking.py:121-134 | kubectl_mcp_tool/tools/operations.py:157-169 | kubectl_mcp_tool/tools/operations.py:386-398 | kubectl_mcp_tool/tools/operations.py:615-628 | kubectl_mcp_tool/tools/pods.py:277-290 | kubectl_mcp_tool/tools/pods.py:402-415 | kubectl_mcp_tool/tools/pods.py:492-505 | kubectl_mcp_tool/tools/security.py:144-157 | kubectl_mcp_tool/tools/security.py:209-222 | kubectl_mcp_tool/tools/security.py:265-278 \u2014 there are 31 copies across 7 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 31 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/cluster.py:260\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. 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 before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:1084\u0060 calls \u0060strip\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:930\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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecca44ba87bdaeff844ab3a771c2f7596f7425a11fd50776d038b78445f027d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 16): kubectl_mcp_tool/tools/backup.py:128-141 | kubectl_mcp_tool/tools/backup.py:499-512 | kubectl_mcp_tool/tools/capi.py:110-123 | kubectl_mcp_tool/tools/capi.py:211-224 | kubectl_mcp_tool/tools/certs.py:160-173 | kubectl_mcp_tool/tools/certs.py:298-311 | kubectl_mcp_tool/tools/cilium.py:144-157 | kubectl_mcp_tool/tools/gitops.py:132-145 | kubectl_mcp_tool/tools/gitops.py:393-406 | kubectl_mcp_tool/tools/keda.py:99-112 | kubectl_mcp_tool/tools/keda.py:255-268 | kubectl_mcp_tool/tools/kiali.py:112-125 | kubectl_mcp_tool/tools/kubevirt.py:143-156 | kubectl_mcp_tool/tools/policy.py:183-196 | kubectl_mcp_tool/tools/rollouts.py:129-142 | kubectl_mcp_tool/tools/rollouts.py:578-591 \u2014 there are 16 copies across 10 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 16 sites; resolving a subset leaves the remainder to drift apart. 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef275d39364e2c85f2368d5d11788e1c7449500552fd8e572adbe49cee0e8879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 10): kubectl_mcp_tool/tools/helm.py:803-816 | kubectl_mcp_tool/tools/operations.py:194-206 | kubectl_mcp_tool/tools/operations.py:240-252 | kubectl_mcp_tool/tools/operations.py:280-292 | kubectl_mcp_tool/tools/operations.py:347-359 | kubectl_mcp_tool/tools/operations.py:429-442 | kubectl_mcp_tool/tools/operations.py:490-503 | kubectl_mcp_tool/tools/operations.py:551-564 | kubectl_mcp_tool/tools/operations.py:679-691 | kubectl_mcp_tool/tools/pods.py:69-82 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/helm.py:803\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. 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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb5fae051c34d3b6fefc097d206286fc265648a5effa7fdce489201bc8b4eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 6): kubectl_mcp_tool/tools/helm.py:764-776 | kubectl_mcp_tool/tools/helm.py:872-885 | kubectl_mcp_tool/tools/helm.py:990-1003 | kubectl_mcp_tool/tools/helm.py:1045-1057 | kubectl_mcp_tool/tools/helm.py:1120-1132 | kubectl_mcp_tool/tools/helm.py:1160-1173 \u2014 all 6 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 \u0060kubectl_mcp_tool/tools/helm.py:872\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. 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 before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:763\u0060 calls \u0060strip\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:989\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46b43bfcb8ca3d964154efa8bffefa8d30f7ed67ffcb5750c84467e41045eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): kubectl_mcp_tool/tools/capi.py:144-157 | kubectl_mcp_tool/tools/capi.py:245-258 | kubectl_mcp_tool/tools/capi.py:346-359 | kubectl_mcp_tool/tools/capi.py:401-414 \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. 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 after the matched lines, \u0060kubectl_mcp_tool/tools/capi.py:158\u0060 calls \u0060get\u0060, \u0060next\u0060 and \u0060kubectl_mcp_tool/tools/capi.py:361\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae931d370d36f08d1a5f2aea044266e0d455c806a3a271ce688caa0feb6d420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): kubectl_mcp_tool/tools/cilium.py:325-338 | kubectl_mcp_tool/tools/keda.py:298-309 | kubectl_mcp_tool/tools/kiali.py:462-473 \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. 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. 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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbdc4e1dbabb080864bc7ac497d96c428cad3bb26f76a320362ab3fab0298f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:36-49 | kubectl_mcp_tool/tools/kubevirt.py:40-53 \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. 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d134345220095f011b9d3aeb455af1e4d833006f629dd0e1286f376cf5a3e2b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): kubectl_mcp_tool/tools/custom_resources.py:682-695 | kubectl_mcp_tool/tools/custom_resources.py:775-788 \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 \u0060kubectl_mcp_tool/tools/custom_resources.py:682\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":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cb45b415721e4feb58331045cec5dc1db7709dd31f7ed63b8d87571b2afd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): kubectl_mcp_tool/tools/cluster.py:161-173 | kubectl_mcp_tool/tools/cluster.py:192-204 | kubectl_mcp_tool/tools/helm.py:728-740 | kubectl_mcp_tool/tools/operations.py:315-327 | kubectl_mcp_tool/tools/pods.py:120-132 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. 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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc6f49c5bb658cbb55a26894633502c6f2954659716caacd5b81afb565d6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): kubectl_mcp_tool/resources/resources.py:225-237 | kubectl_mcp_tool/resources/resources.py:240-252 | kubectl_mcp_tool/resources/resources.py:255-267 | kubectl_mcp_tool/resources/resources.py:270-282 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77203b87e4a99e84e91c8aded2a6e1f5004e8ad797dc051a2c6df5528ac2c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): kubectl_mcp_tool/tools/cluster.py:287-300 | kubectl_mcp_tool/tools/operations.py:188-200 | kubectl_mcp_tool/tools/pods.py:113-126 \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 \u0060kubectl_mcp_tool/tools/cluster.py:287\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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cc2d6ecd4befc3655deec0824578f9f63ca21d0a9ec53af9b95174f67a4600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): kubectl_mcp_tool/tools/helm.py:671-683 | kubectl_mcp_tool/tools/helm.py:1215-1227 | kubectl_mcp_tool/tools/pods.py:180-192 \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. 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, \u0060kubectl_mcp_tool/tools/helm.py:668\u0060 calls \u0060lower\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:1213\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75a0a72cc53e2226276629cf94fe51c8b791a051257bf7fc950908a378042f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:106-118 | kubectl_mcp_tool/tools/helm.py:189-201 \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 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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bcf58f990af873a08a32a848d3f7eee1c586901a2c6813a94449437959721a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): kubectl_mcp_tool/tools/operations.py:294-307 | kubectl_mcp_tool/tools/operations.py:329-341 \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 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 after the matched lines, \u0060kubectl_mcp_tool/tools/operations.py:309\u0060 calls \u0060extend\u0060 and \u0060kubectl_mcp_tool/tools/operations.py:342\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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2707db995162e21bad39e489b9503bd7d58cb35f832ccd5f509739458464613f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 13): kubectl_mcp_tool/tools/helm.py:439-452 | kubectl_mcp_tool/tools/helm.py:582-594 | kubectl_mcp_tool/tools/helm.py:628-641 | kubectl_mcp_tool/tools/helm.py:721-733 | kubectl_mcp_tool/tools/helm.py:757-769 | kubectl_mcp_tool/tools/helm.py:796-808 | kubectl_mcp_tool/tools/helm.py:864-877 | kubectl_mcp_tool/tools/helm.py:1038-1050 | kubectl_mcp_tool/tools/helm.py:1078-1090 | kubectl_mcp_tool/tools/helm.py:1114-1125 | kubectl_mcp_tool/tools/helm.py:1153-1165 | kubectl_mcp_tool/tools/helm.py:1208-1220 | kubectl_mcp_tool/tools/helm.py:1248-1260 \u2014 all 13 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 \u0060kubectl_mcp_tool/tools/helm.py:439\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:438\u0060 calls \u0060loads\u0060, \u0060strip\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:720\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"60583ee97f1b88a7cd76059b6c932a53fbbe082ec6c6c511788b7a6d072f0e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): kubectl_mcp_tool/tools/gitops.py:326-339 | kubectl_mcp_tool/tools/gitops.py:345-357 | kubectl_mcp_tool/tools/kubevirt.py:480-491 \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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"da12f4b307b1e373e7cfe797d0e164c7f4988d5326b3ac86ed04462aeb4681db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): kubectl_mcp_tool/tools/helm.py:141-152 | kubectl_mcp_tool/tools/helm.py:212-223 | kubectl_mcp_tool/tools/helm.py:259-269 \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. 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 after the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:154\u0060 calls \u0060exists\u0060, \u0060unlink\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:270\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca06b015018bcde9a39cf2ff45e3a1024dd61f5743d1af3f318ccda42e5451d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kubectl_mcp_tool/prompts/custom.py:71-82 | kubectl_mcp_tool/prompts/custom.py:92-103 \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 \u0060kubectl_mcp_tool/prompts/custom.py:71\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":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c7410a57e6f54a6624afc5425e326d4f5b431b60021aa21d1c5bd3a74bccb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kubectl_mcp_tool/tools/cluster.py:839-850 | kubectl_mcp_tool/tools/cluster.py:936-947 \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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"1331bf3581a161f3b51588b6c26a5e11a9f6c32d47162d245e3857c3329fb81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): kubectl_mcp_tool/tools/operations.py:208-221 | kubectl_mcp_tool/tools/operations.py:329-340 \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 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":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09bc0d4b30ba6783dad76603480512608ffd32a27a7d41a4b68409e71a43e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): kubectl_mcp_tool/tools/certs.py:625-635 | kubectl_mcp_tool/tools/kubevirt.py:640-650 | kubectl_mcp_tool/tools/kubevirt.py:667-677 | kubectl_mcp_tool/tools/kubevirt.py:680-690 | kubectl_mcp_tool/tools/kubevirt.py:693-703 | kubectl_mcp_tool/tools/kubevirt.py:706-716 | kubectl_mcp_tool/tools/rollouts.py:640-650 | kubectl_mcp_tool/tools/rollouts.py:653-663 | kubectl_mcp_tool/tools/rollouts.py:666-676 \u2014 there are 9 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 9 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dceeb0df02d555ab9e8c48bd4b60308aeeb0a0306cbaedb7df7c02c9a510580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): kubectl_mcp_tool/tools/capi.py:552-562 | kubectl_mcp_tool/tools/certs.py:584-594 | kubectl_mcp_tool/tools/kubevirt.py:609-619 | kubectl_mcp_tool/tools/rollouts.py:595-605 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5c0d0d979d51844bc181c4815dfe4cf7b9411f9ac4546b260e32f9af3dbd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): kubectl_mcp_tool/tools/cost.py:184-194 | kubectl_mcp_tool/tools/cost.py:506-516 \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 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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"353fea179d2d5cde7c1c7f0d42c7989769099dd7a2ae16ea0bc5abb020614929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): kubectl_mcp_tool/tools/capi.py:48-57 | kubectl_mcp_tool/tools/capi.py:455-464 | kubectl_mcp_tool/tools/keda.py:35-44 | kubectl_mcp_tool/tools/keda.py:131-140 | kubectl_mcp_tool/tools/kiali.py:191-200 | kubectl_mcp_tool/tools/kiali.py:290-299 | kubectl_mcp_tool/tools/kubevirt.py:73-82 | kubectl_mcp_tool/tools/kubevirt.py:175-184 | kubectl_mcp_tool/tools/kubevirt.py:471-480 | kubectl_mcp_tool/tools/kubevirt.py:572-581 \u2014 there are 10 copies across 4 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 10 sites; resolving a subset leaves the remainder to drift apart. 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 after the matched lines, \u0060kubectl_mcp_tool/tools/keda.py:47\u0060 calls \u0060next\u0060, \u0060get\u0060 and \u0060kubectl_mcp_tool/tools/keda.py:144\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9933cdf9400be5fc28253bc4865a43e3fe659a8da645d807f4bbbb975f5fd1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): kubectl_mcp_tool/resources/resources.py:227-236 | kubectl_mcp_tool/resources/resources.py:242-251 | kubectl_mcp_tool/resources/resources.py:257-266 | kubectl_mcp_tool/resources/resources.py:272-281 | kubectl_mcp_tool/resources/resources.py:289-298 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b031a522f0ea95f5fcdbc641de7df5ba77ecf823b18c4ec0595099e2e0056166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 5): kubectl_mcp_tool/tools/helm.py:335-338 | kubectl_mcp_tool/tools/helm.py:435-445 | kubectl_mcp_tool/tools/helm.py:578-587 | kubectl_mcp_tool/tools/helm.py:624-634 | kubectl_mcp_tool/tools/helm.py:658-667 \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. 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, \u0060kubectl_mcp_tool/tools/helm.py:668\u0060 calls \u0060lower\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:446\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"749114e74116ef798f5317ddd7d08c8dc006de3bdfa550954f6aedfe82b6bc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kubectl_mcp_tool/providers.py:192-201 | kubectl_mcp_tool/providers.py:260-269 \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":"kubectl_mcp_tool/providers.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc21d26d4d5b04d7684238251da0a52855c2a19ed48fae14873c8721e3e898f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kubectl_mcp_tool/resources/resources.py:34-43 | kubectl_mcp_tool/resources/resources.py:53-62 \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":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ff48e97ba1af892856a64ce231419eeffaad5866cd57a3c11485f6059fec63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kubectl_mcp_tool/resources/resources.py:67-76 | kubectl_mcp_tool/resources/resources.py:120-129 \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":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0df8071c49cc3ccef21eba63d48bbf857a77f77f02c99c19d222f7dcea0ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): kubectl_mcp_tool/tools/vind.py:587-596 | kubectl_mcp_tool/tools/vind.py:599-608 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022vcluster\u0022\u0060 in one and \u0060str = \u0022\u0022\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":"kubectl_mcp_tool/tools/vind.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f78511a1af793613d6c429875a8012bc806f08066c5c183584a94ab552f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 20): kubectl_mcp_tool/tools/helm.py:399-407 | kubectl_mcp_tool/tools/helm.py:445-453 | kubectl_mcp_tool/tools/helm.py:587-595 | kubectl_mcp_tool/tools/helm.py:634-642 | kubectl_mcp_tool/tools/helm.py:726-734 | kubectl_mcp_tool/tools/helm.py:762-770 | kubectl_mcp_tool/tools/helm.py:801-809 | kubectl_mcp_tool/tools/helm.py:870-878 | kubectl_mcp_tool/tools/helm.py:1043-1051 | kubectl_mcp_tool/tools/helm.py:1083-1091 | kubectl_mcp_tool/tools/helm.py:1118-1126 | kubectl_mcp_tool/tools/helm.py:1158-1166 | kubectl_mcp_tool/tools/helm.py:1213-1221 | kubectl_mcp_tool/tools/helm.py:1253-1261 | kubectl_mcp_tool/tools/operations.py:155-163 | kubectl_mcp_tool/tools/operations.py:238-246 | kubectl_mcp_tool/tools/operations.py:278-286 | kubectl_mcp_tool/tools/operations.py:313-321 | kubectl_mcp_tool/tools/operations.py:345-353 | kubectl_mcp_tool/tools/operations.py:384-392 \u2014 there are 20 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 20 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/helm.py:399\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"748fac81ee65dd71e20f7b59e59ed6815eb83e373e9ff3037f4cf4e03cfe5f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): kubectl_mcp_tool/tools/helm.py:671-679 | kubectl_mcp_tool/tools/helm.py:764-772 | kubectl_mcp_tool/tools/helm.py:872-880 | kubectl_mcp_tool/tools/helm.py:1045-1053 | kubectl_mcp_tool/tools/helm.py:1120-1128 | kubectl_mcp_tool/tools/helm.py:1160-1168 | kubectl_mcp_tool/tools/helm.py:1215-1223 \u2014 all 7 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 \u0060kubectl_mcp_tool/tools/helm.py:671\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:668\u0060 calls \u0060lower\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:762\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99e6a4f6d63592a4124effa416f9efdad49f226b7092feed5204138e8bbfeac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): kubectl_mcp_tool/tools/cost.py:184-192 | kubectl_mcp_tool/tools/cost.py:401-409 | kubectl_mcp_tool/tools/cost.py:506-514 \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. 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, \u0060kubectl_mcp_tool/tools/cost.py:399\u0060 calls \u0060get_k8s_client\u0060 and \u0060kubectl_mcp_tool/tools/cost.py:183\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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e407a2222607ea37c810860ed69ca68f748afab0ad396d4a8c1bb33c2692a0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:184-192 | kubectl_mcp_tool/tools/backup.py:408-416 \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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b364db7984bbc7b95adc6897b791159ea0bf4bb82f12821a0d99038aed6d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 21): kubectl_mcp_tool/tools/helm.py:400-407 | kubectl_mcp_tool/tools/helm.py:446-453 | kubectl_mcp_tool/tools/helm.py:588-595 | kubectl_mcp_tool/tools/helm.py:635-642 | kubectl_mcp_tool/tools/helm.py:670-677 | kubectl_mcp_tool/tools/helm.py:727-734 | kubectl_mcp_tool/tools/helm.py:763-770 | kubectl_mcp_tool/tools/helm.py:802-809 | kubectl_mcp_tool/tools/helm.py:871-878 | kubectl_mcp_tool/tools/helm.py:1044-1051 | kubectl_mcp_tool/tools/helm.py:1084-1091 | kubectl_mcp_tool/tools/helm.py:1119-1126 | kubectl_mcp_tool/tools/helm.py:1159-1166 | kubectl_mcp_tool/tools/helm.py:1214-1221 | kubectl_mcp_tool/tools/helm.py:1254-1261 | kubectl_mcp_tool/tools/operations.py:156-163 | kubectl_mcp_tool/tools/operations.py:239-246 | kubectl_mcp_tool/tools/operations.py:279-286 | kubectl_mcp_tool/tools/operations.py:314-321 | kubectl_mcp_tool/tools/operations.py:346-353 | kubectl_mcp_tool/tools/operations.py:385-392 \u2014 there are 21 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 21 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060kubectl_mcp_tool/tools/helm.py:400\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060kubectl_mcp_tool/tools/helm.py:668\u0060 calls \u0060lower\u0060 and \u0060kubectl_mcp_tool/tools/helm.py:445\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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118b245020cc758a6f9ac8edb9026f1d63d4bd2a253de911a5b73ba1a80b368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): kubectl_mcp_tool/tools/capi.py:574-581 | kubectl_mcp_tool/tools/capi.py:593-600 | kubectl_mcp_tool/tools/capi.py:617-624 | kubectl_mcp_tool/tools/capi.py:627-634 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d370266c35735ee9a9520436b4f1cdacbe5d13e1d20234458f2fbd754d94adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): kubectl_mcp_tool/tools/certs.py:615-622 | kubectl_mcp_tool/tools/cilium.py:462-469 | kubectl_mcp_tool/tools/keda.py:379-386 | kubectl_mcp_tool/tools/policy.py:439-446 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"200d28f74d1f2c367b2d3978ffb0a0341b32832d274e43d2c1fd4a6e67d19157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): kubectl_mcp_tool/tools/gitops.py:424-431 | kubectl_mcp_tool/tools/gitops.py:448-455 | kubectl_mcp_tool/tools/gitops.py:468-475 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a970ef54b00a1652f3ef8cf6b449a6631068be1ba3670759cabb25dd17e25a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:188-195 | kubectl_mcp_tool/tools/backup.py:634-641 \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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"488fd4a63a75f004f13f45a4dab0a434ee748d030d3b1f9e5813698b99c3b78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:405-412 | kubectl_mcp_tool/tools/backup.py:631-638 \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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f299d42ffbdc0d1052225a295a2c4b6c7e2835270226e290e6eb51a30ba1cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): kubectl_mcp_tool/tools/gitops.py:414-421 | kubectl_mcp_tool/tools/gitops.py:458-465 \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":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd49353fa8999a732c6669bc29c8d8511fcab3d2f85e11d139c4a5d84bfd933f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): kubectl_mcp_tool/tools/backup.py:752-758 | kubectl_mcp_tool/tools/capi.py:637-643 | kubectl_mcp_tool/tools/certs.py:647-653 | kubectl_mcp_tool/tools/certs.py:656-662 | kubectl_mcp_tool/tools/cilium.py:472-478 | kubectl_mcp_tool/tools/keda.py:361-367 | kubectl_mcp_tool/tools/keda.py:389-395 | kubectl_mcp_tool/tools/kiali.py:521-527 | kubectl_mcp_tool/tools/kiali.py:530-536 | kubectl_mcp_tool/tools/kiali.py:539-545 | kubectl_mcp_tool/tools/kiali.py:548-554 | kubectl_mcp_tool/tools/kubevirt.py:631-637 | kubectl_mcp_tool/tools/kubevirt.py:719-725 | kubectl_mcp_tool/tools/kubevirt.py:737-743 | kubectl_mcp_tool/tools/rollouts.py:679-685 | kubectl_mcp_tool/tools/rollouts.py:688-694 \u2014 there are 16 copies across 8 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 16 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"47797e8c49d4a6cdd9d49b803e8a5c30e730a837ed45a59a821f3f834fb63211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): kubectl_mcp_tool/tools/capi.py:565-571 | kubectl_mcp_tool/tools/capi.py:584-590 | kubectl_mcp_tool/tools/capi.py:646-652 | kubectl_mcp_tool/tools/certs.py:597-603 | kubectl_mcp_tool/tools/keda.py:352-358 | kubectl_mcp_tool/tools/kiali.py:512-518 | kubectl_mcp_tool/tools/kubevirt.py:622-628 | kubectl_mcp_tool/tools/rollouts.py:608-614 | kubectl_mcp_tool/tools/rollouts.py:697-703 \u2014 there are 9 copies across 6 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 9 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46c962e1f9d1a4afa3b26893c9b923e9df54335b37579f8b034440f48dd04ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): kubectl_mcp_tool/tools/operations.py:117-123 | kubectl_mcp_tool/tools/operations.py:236-242 | kubectl_mcp_tool/tools/operations.py:276-282 | kubectl_mcp_tool/tools/operations.py:311-317 | kubectl_mcp_tool/tools/operations.py:717-723 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acb505e46280c3c8c9aa2ebfdde3c667aa4a40006c6d14e34211a5d9d04f991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:44-50 | kubectl_mcp_tool/tools/kubevirt.py:48-54 | kubectl_mcp_tool/tools/utils.py:15-21 \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. 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"44676f9e56b6241ab41ed9483c270dac98a2e8e725ae358c73f9f55d12bbf4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:712-718 | kubectl_mcp_tool/tools/backup.py:780-786 \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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8eec62a9c2afb0e2d41446688809d504bfad8c10043c55871af3834336ba9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:729-735 | kubectl_mcp_tool/tools/backup.py:774-776 | kubectl_mcp_tool/tools/backup.py:813-819 \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 \u0060kubectl_mcp_tool/tools/backup.py:729\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9b785498732dbd5353298cb52030cadf828d434be99b02f7f3d87b68cd7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/tools/certs.py:638-644 | kubectl_mcp_tool/tools/rollouts.py:617-623 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ae7a5ca6c0d585b3873ef304d9e72296213302e8ab9172ec229a8b12833e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:1293-1299 | kubectl_mcp_tool/tools/operations.py:153-159 \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. 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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295a502dfcd1188ddbe4f8d0e9871620685ee3bf213c38e1f29c1b801bf3d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/tools/keda.py:370-376 | kubectl_mcp_tool/tools/kubevirt.py:728-734 \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":"kubectl_mcp_tool/tools/keda.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea164d4c9931876a04d944484953dee4eb9fcc906b9e25a50766055dd06578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kubectl_mcp_tool/tools/backup.py:797-802 | kubectl_mcp_tool/tools/kiali.py:570-575 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022velero\u0022\u0060 in one and \u0060str = \u0022\u0022\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc5ebb76d158683e6b2c70926ea138eabc5c760aa57ac3060570ded691fc35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:391-396 | kubectl_mcp_tool/tools/helm.py:621-626 \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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e0674512b623f0a135a08a8afa5addf4465e07a99ec8a9b2879e605960d6ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): kubectl_mcp_tool/tools/capi.py:53-57 | kubectl_mcp_tool/tools/capi.py:154-158 | kubectl_mcp_tool/tools/capi.py:255-259 | kubectl_mcp_tool/tools/capi.py:411-415 | kubectl_mcp_tool/tools/capi.py:460-464 | kubectl_mcp_tool/tools/keda.py:40-44 | kubectl_mcp_tool/tools/keda.py:136-140 | kubectl_mcp_tool/tools/kubevirt.py:78-82 | kubectl_mcp_tool/tools/kubevirt.py:180-184 | kubectl_mcp_tool/tools/kubevirt.py:476-480 | kubectl_mcp_tool/tools/kubevirt.py:577-581 \u2014 there are 11 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 11 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060namespace\u0060 to \u0060str = \u0022\u0022\u0060 in one and \u0060str\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060kubectl_mcp_tool/tools/capi.py:60\u0060 calls \u0060next\u0060, \u0060get\u0060 and \u0060kubectl_mcp_tool/tools/capi.py:163\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e200bb5ce63cd9a786f5c39f8790ff5e5b44a01a612a65edf71bb91a777998b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): kubectl_mcp_tool/tools/cluster.py:789-795 | kubectl_mcp_tool/tools/cluster.py:885-891 | kubectl_mcp_tool/tools/cluster.py:977-983 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f1941ac05efadbdda1da1ef310151c761ef12106d43aa028c54789317e2cd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/cli/cli.py:331-337 | kubectl_mcp_tool/cli/cli.py:347-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/cli/cli.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b92a1b1b033382ed3334648f695d76b984cf84db3836f2373282afe08236b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): kubectl_mcp_tool/tools/cluster.py:786-792 | kubectl_mcp_tool/tools/cluster.py:974-980 \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 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":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9436cc5060c7b53c1097610a543c779df9079608afa942492954197960f6a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): kubectl_mcp_tool/tools/helm.py:487-492 | kubectl_mcp_tool/tools/helm.py:531-536 \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 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":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e846fb05c061b582ac09058b66115f02361503785ade0026492082b77d1bf881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): kubectl_mcp_tool/tools/backup.py:24-30 | kubectl_mcp_tool/tools/kiali.py:26-32 | kubectl_mcp_tool/tools/kubevirt.py:28-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 3 call sites, so a change lands once. 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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca33c15ce0750b74e51fc4d03e2ab10ff0921a575a10dfe4dde06939962d94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): kubectl_mcp_tool/tools/capi.py:24-29 | kubectl_mcp_tool/tools/cilium.py:22-27 | kubectl_mcp_tool/tools/cilium.py:31-36 | kubectl_mcp_tool/tools/kind.py:20-29 | kubectl_mcp_tool/tools/vind.py:16-25 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart. 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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d0cc0b5e36d77babfae64b715bfecadb4976cff9b3b0a06646b28ffb654167"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/__main__.py: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/__main__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e618d5dd2b1780847c811b816d305b9629c9093d068b6cdc9d3f10f8553704"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/cli/__main__.py: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/cli/__main__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f909aa2027f373fecd843c17f8a68de34dcab4eb827fea22b90217ea87a9917e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/cli/cli.py: 37.2% line coverage (99/266)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/cli/cli.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcf8798b6322dafb1ae7e392b12623ceb00574f6168c612c493e60236d2984a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/diagnostics.py: 12.5% line coverage (18/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/diagnostics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02b05478f77d0bae71bb80e9f62536922cd119945068a4a1bc1368e6cfab6c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/k8s_config.py: 27.6% line coverage (74/268)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ecb75345b7aabd63be5e2f6455e12e32afb62b77436ca440e64d78b4909803"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/providers.py: 29.1% line coverage (53/182)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f1749ea537c5fda17279ab6f1d80436f4f87b8a02b8290578226b828521526"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/resources/resources.py: 19.7% line coverage (34/173)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/resources/resources.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e532c63650b6cabe4a28e93f0023fe35d20396269d31545d272e4bed46c8a160"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/_cli_utils.py: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/_cli_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe072edd52ea4179d52a8c5a1639c7e959db99755ab7e596b11bfe9253e84ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/backup.py: 16.1% line coverage (49/305)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a395ab0d69de438cf309547423521b5023c1f99517dddcd2e1e845098789d46a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/capi.py: 24.2% line coverage (48/198)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b94aa681e681cfddcf4fa04f66865ce4298b64b1079a10e4e833a9e42884b6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/certs.py: 16.5% line coverage (45/273)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c164f3f0ec247c8ceebe34bf2d6e40b30331ef3bb7d7c801bbd64037c85c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/cilium.py: 18.3% line coverage (36/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c9e2928afb1dfbf0347d6e569eaeaa4e688e32450840ca8d0f9c3e25a11ecf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/cluster.py: 12.4% line coverage (48/387)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6d12285942a36c39cabcc4f915c4e63e3adf0761406627f005da3f6b833787"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/cost.py: 8.5% line coverage (30/354)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf6b2197007a53234b31491dece186fa78dce88de5bd0b6fed6d8325b5b1dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/diagnostics.py: 21.1% line coverage (8/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/diagnostics.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea2a3693d20e600c54824f13b2b57db1664c31bd7ca5f3e1e94809be56b30ae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/gitops.py: 21.5% line coverage (34/158)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/gitops.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cce6cda09c8d313313b21b10aa22efbf407e042581514caba311b7382929e8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/helm.py: 12.5% line coverage (67/535)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"391c7e494180180d02e0391de9af938526b81ef7d5419a0c1197aedcdeb7961d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/keda.py: 22.5% line coverage (29/129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/keda.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7031511091dc50265e63cb11e6a6cdc374aff11d43f3c146821eed26b7340fb4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/kiali.py: 23.7% line coverage (46/194)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/kiali.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f93c0815eb360048ea5b7f962ddeb7eb141e4dba6ce61cab0045aa65bf40b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/kubectl.py: 32.2% line coverage (28/87)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/kubectl.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6908b6ef75e6e35b055266051d0c0dce80efc33390eda61c90ddeb489caa79"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/kubevirt.py: 23.7% line coverage (59/249)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/kubevirt.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f936a7efb0995f881bc6778ba51ea8880619a2fb95da9b3447cad75d8172d9ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/networking.py: 18.6% line coverage (13/70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/networking.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80acdf8ffd78ff328e6d5110910ad4cd29235113938388cb562c385afb0486c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/operations.py: 28.2% line coverage (85/301)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12358f100f9c02b76f753ac0f4cbdd0c01a66d0cdd31bf550e2a691188b49332"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/pods.py: 13.6% line coverage (27/198)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4727def190c97cf3e21b4462d3f433e972699d8001ac4dea059c07866d7d725d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/policy.py: 17.0% line coverage (30/176)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f734eccebff1bba2321f59fe3f1564c338c373e026f55e23b22200b722efdb6c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/rollouts.py: 20.4% line coverage (50/245)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7506d97d7a2725cb0ce72a7d1124c15ea0de1e839ae343a1f5cf36f352e6eeee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/security.py: 15.3% line coverage (18/118)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"668259b965077bc5710763907feccb46a82ce96f3ae04bd1f959881dd9803794"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: kubectl_mcp_tool/tools/utils.py: 20.0% line coverage (6/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2f697afbad6f9d598ff42ad8d474cd0a3cffb2561c42a24b80091af9198c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: setup.py: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f0bdce8e8ba6e181e92d9a76cceb66bd86def2a774b9aa82b0f3e5949039d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: setup_legacy.py: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"setup_legacy.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fc256073c7eb36c3b038c22f8ed0cb78fec34e0d14181d74aa497c48ae16dd"}},{"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 \u0060package.json\u0060 makes this repository a deployable product (line 27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"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":"594ba20856faebb900e8f635978e37e019356a968254d953432a089b831a6265"},"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":"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"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":"f39929fc13f53466c9b86acfedbc7f93cf4f7e9d2c5904ddbaf9a8cb3465121c"},"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":"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"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":"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":"fae29c6a3f122a3b1eceefb40755886bb619594b2ede323cf47de6f48b50f907"},"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":"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":"7d718e670861c75cbd0e439fed350d0a4408875da02e6ea0a06adcd5eb66b092"},"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":"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":"79520914edc48738908806cf66dd7f57ba2378d2754166fd6128f3476c45519e"},"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":"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":"86efecf3fe6bfe04beb7d71da4e6758cd42044166fd1e9e237b1761eca0429d0"},"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":"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":"2aad9d4a6cd4e87737da7c03b4ec56fdce433b2690311c1ba4f2e7fbafb0b7dd"},"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":"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":"bd6e41ec604854d53fd90f38188c642a762e724d8833d6649ee2fa51135a3052"},"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":"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":"916cf9e7b1748e0be44285b9c0ffbf316fe213036f5519b126d465b85d600177"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"551e94b025845c54c4786a93d6b35e0a112d5f31e0777c1969e336b037d1c21a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e2204b35633f7c762503150c299a247820eaa75858a6c97f681ad4b5556f91e9"},"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":"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":"f03e0e1e9b4d08bc2f410ee6d9e844a81f207869cecd619dc014a603de0ad041"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c5ecaf97092c6225dfdc2b400866a2815039c2854017f4b3c45fddb6041d19d4"},"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":"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":"8d43de83c423ca574f92bab7792ef146e613572a725ea87a6ba36e7a30f4d7be"},"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":"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":"aee8e2b65a78a8399e1345d714e8aa6853dc51fb266a4f1204da0ced940d3376"},"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":"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":"eb741bb54f8c0392143f8453975509f6971f30ae9c7ef3f7cc3485d9fa84174b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a43a6b16b078db02aa4a16817ec7cd7c82023bb3735c072a8f484f66c05045bc"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d8388d98c4f0a3761dfd72b324c68fa511366b359be3b1060824caf0d70ffa8e"},"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":"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":"556f324f2d71cd5948a5deb252d091d7f2f4fd02c69be94c609fa77c64b5aac6"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"d8ef9533e0b90ca4d1ece7d1dfbc4c93e2b447247b1583476717cd8000c5dd5b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"b03c6e5fb27c2006376e74b83cb9af13cdba34e189f2c0724697797c2a0ad606"},"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":"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":"d99bc24fab633d3d2378be0b42c8a2a59c7321d500333395dc99cd7c275e062b"},"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":"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":"f0cb6938a781721f63c6ab13b2c7dec602f0714ec1f002d2d21748cd171fb7ca"},"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":"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":"ea74d0e685cc7c917cbfaefff21d1fdbdc0a075846d521a41221b5d02afdf359"},"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":"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":"3c938f87cd6fba872f2d72fce4102b592dea0b7d94e1c421aa6781c365ce79ff"},"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":"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":"5ba9ed47bb21a6b5d9d2459662ba620b936e6d9fe5a47d04b156d5311c0bec38"},"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":"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":"6ae9fc51dd4e7278932e760e4012fbf9c4be81612963850766ce3359c0f15a3e"},"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":"3e6b97dc48730501b21b30fe190439dcbe1f84de772d31145046f48d2366cde6"},"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":"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":"3fcacb08c3601347ef64bdffc4404c2500a066e7e06f284d2cd990ab9be7ea03"},"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":"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":"678dc1fdc144d0249b5713c818335575cfa64fa605cb897ab5490ec0c32bfbf2"},"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":"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":"c339074a2cae87460aaae93adbc27cb51f9a6e0b84bea6d4863c0e817fee2eeb"},"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":"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":"29e6e6ceadf01dd73b4e44ffaa87c1f11cb506780562ae5aa64ca77bac9a3dc9"},"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":"546ba4949830fd03680a8624414715140bed7275a36b22444e099361f6e3428e"},"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":"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":"adcef852ada22da606c9043703a371597a7aacdb31dfbbbb80edcd591d1c3a6b"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"dec37a27b58bbf8f8f7a92a6f9bc55026068dcbbb371998dddb29a629ff1830f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0f578e3e10c5b97bf812d30b7ee3a7c2a310cba70abfe257990d06c4a2b1de05"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"c43c93422aef5c2516761d0c68966dec0142d03c06d5da64f59657516af27a0f"},"properties":{"dependency":{"package":"aiohttp","version":"3.8.0","advisory":"[GHSA redacted]","aliases":["[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]","[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]","[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]","[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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2023-120","PYSEC-2023-246","PYSEC-2023-250","PYSEC-2023-251","PYSEC-2024-24","PYSEC-2024-26","PYSEC-2026-1097","PYSEC-2026-1098","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1102","PYSEC-2026-1103","PYSEC-2026-1104","PYSEC-2026-1105","PYSEC-2026-1106","PYSEC-2026-1107","PYSEC-2026-1109","PYSEC-2026-2094","PYSEC-2026-2095","PYSEC-2026-2096","PYSEC-2026-2097","PYSEC-2026-2098","PYSEC-2026-2099","PYSEC-2026-2100","PYSEC-2026-2101","PYSEC-2026-2102","PYSEC-2026-2103","PYSEC-2026-2104","PYSEC-2026-2105","PYSEC-2026-2106","PYSEC-2026-2107","PYSEC-2026-2108","PYSEC-2026-2109","PYSEC-2026-2110","PYSEC-2026-2111","PYSEC-2026-2112","PYSEC-2026-2113","PYSEC-2026-237","PYSEC-2026-3545","PYSEC-2026-3546","PYSEC-2026-3547"],"severity":"high","fixedVersion":"3.14.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a6df8f01aa962955dab5f5079f13c48a6551a9d4f6dd78ed32df008843edda3"},"properties":{"dependency":{"package":"urllib3","version":"2.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-141","PYSEC-2026-1994","PYSEC-2026-1995","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.6.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"374582e0202bec1319307a1e121ebbe71d8945de552f3d18f2f1b93f11d4e6c3"},"properties":{"dependency":{"package":"setuptools","version":"67.0.0","advisory":"[GHSA redacted]","aliases":["BIT-setuptools-2024-6345","BIT-setuptools-2025-47273","BIT-setuptools-2026-59890","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-49","PYSEC-2026-1918","PYSEC-2026-3447"],"severity":"high","fixedVersion":"78.1.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7ffb5ccafd1831456da5089e6f453a5878c98027a70c77aec1d8f68195e2fe1"},"properties":{"dependency":{"package":"starlette","version":"0.27.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-161","PYSEC-2026-1941","PYSEC-2026-1943","PYSEC-2026-2280","PYSEC-2026-2281","PYSEC-2026-248","PYSEC-2026-249","X41-2026-002"],"severity":"high","fixedVersion":"1.3.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b874b9ebee90df1321f802e16c0fe8cebd3d35de38b2e4a4d6d0965dbe01a0d9"},"properties":{"dependency":{"package":"wheel","version":"0.41.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-2047"],"severity":"high","fixedVersion":"0.46.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb1b09868a90456c79b91184cb23576e0ce4f745669a7bc133b1b1522268e90a"},"properties":{"dependency":{"package":"cryptography","version":"42.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2024-225","PYSEC-2026-1284","PYSEC-2026-2141","PYSEC-2026-35","PYSEC-2026-3553","PYSEC-2026-3554"],"severity":"high","fixedVersion":"48.0.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be064f803cd9ed941b2f078b91fbe6ad08d92434c18d45b8ed0d5301800f18e5"},"properties":{"dependency":{"package":"requests","version":"2.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"severity":"medium","fixedVersion":"2.32.4","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03bd11365bcb4ef8836e3f5fede4b987fba842f222c4cb1c0ef7cf99247dca33"},"properties":{"dependency":{"package":"fastapi","version":"0.100.0","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"severity":"medium","fixedVersion":"0.109.1","reachability":{"kind":"unknown"}}}},{"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":"9b15183b821b0d8f2a8a9a4a501e7e6d43815f083fe597ec3f99fb39c4628148"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d15df5171d54d9a3cfe919193b940b95eb1db599610449c8b68164e072da6651"},"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":"e04b5602159cda120607601027e36bb87006d4b0e62de991614d45fd572a52cc"},"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":"c49d36f1172271d9382df734f1dda16e209fce08d5251be648b7f0862a7e816b"}},{"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":"15d414d14b4eecb8ab841f7c8b73c564e104cad14b82d1caf13f6116335ad6c8"}},{"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":"4c74ab434ec887a7fc311abb57f2e40f6090ba94697e6a54cf81f997bf7408a8"}},{"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":"baae22fef545afbfa4d9352f403ff7ddebb2bb659bc906ce7110554a63c08b09"}},{"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":"647552a672aeb63393cb790a65581af5f1647ccfabfe0606342a1129027e6fec"}},{"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":"85fb659417ac8d31364fa0ebbff3b36a10ba82ec72cd0afed0583a2b2c98941a"}},{"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":"ad80095abab12aa4950ffeafbf6d5e3c2142fc2c4f06913ffe8c468c889cf182"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: __init__.py \u2194 setup.py: \u0060kubectl_mcp_tool/__init__.py\u0060 and \u0060setup.py\u0060 change together 100% of the time (17 of the 17 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 17 shared commits counted here, the most recent 3 are \u00600b7f7734\u0060 feat: dynamic CRD discovery with semantic understanding (#69); \u0060e2ed8b4e\u0060 chore: bump version to 1.24.0; \u0060f7efae06\u0060 chore: bump version to 1.23.1 for code optimization release \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08e075040469abb6a0cadbecb31957b9e3d955f908f0629209a1b9f320c6e17"}},{"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","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":"85d8be18c72ca511b1a414ce15e4782d0ff1965c5301183021f765bcdf7f8664"},"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":"e6bd217bc47482003bb03fa0e919bd86c7ced9930c98eb7f4de908e70b9426d9"},"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":"f126e67b01d043bf9a222931f3797dbd06d3e617d9200c38eaa234f40c72937f"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","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":"D41","level":"note","message":{"text":"No seccomp profile: The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"deploy/kubernetes/deployment.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8feff041ede8c5db050920889c93b2a6be384bb09ad54dceda47347d27711f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060setup_legacy.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 6 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060requirements-dev.txt\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"requirements-dev.txt"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c5fb1fa839b492e817c2eefdcebe89a7c7d87d00550061115a8f3eb52d2a9d"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9393af636d5288720cf365c715e0d48947e2734850d9c22bbc18db25121aeba"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0cb52475f17b006b63d74e49e77383a5a7ea993f400a153f00ecfd1f6ba268"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"55496f499251450f7f1d8012b063164782e82dacbec6c31be10ec98a5351810d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"7524e52495acf9d35fb9eba30aa146edad885cf506fb0dfe61d6e83bc72ead42"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50baac1ece51d23d151b738bd4855db65f5fe0f009af93d71c4352d23e8181f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15baace0b761379cdeaf39779423815e14d99a3076e66e37a66c839cd436d50"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a17fd2b3d010a947d61dfabf9967a9ec6e091aabb9be734bbddcd77174fdc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d588c04d7427576a6975d5c311d12221a1b115d9f432ab2d4b1f6978fb8d2705"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"89293322ea8545b3e22c77d20a778753e67d03438be1c1de43045f7964652ef8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ba0e616e2b85b14f3fd11c6233a8354d819377a045b4fdb5289a2e73956d58"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubernetes-skills/claude/k8s-cost/scripts/find-overprovisioned.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9ace3dba16305609851e514f6fbca5033e352ea4581124166ae29d2ccf2af8"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.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":"kubernetes-skills/claude/k8s-cost/scripts/find-overprovisioned.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2db47ba4f665f0a4311fecb20ffebe2acc8704665b5f471c36a9d87b0b2f015"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(handler, logging.StreamHandler) and handler.stream == sys.stdout\u0060 appears character-identically in 2 files \u2014 kubectl_mcp_tool/mcp_server.py, kubectl_mcp_tool/utils/helpers.py. 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":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6734928ee69b786aba8e26bcecbd44829a6df97348de29a513f44aa5b110c11"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact_secrets\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 69 (\u0060redact_secrets\u0060) with a piece of \u0060obj\u0060 (and at line 74) \u2014 and nowhere in \u0060redact_secrets\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060redact_secrets\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/utils/helpers.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6982000ee49c7f055d5a1d45d3d6b1bf33bc31bf4b9cb35e1c3dbfa8bedf395"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 140 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 140), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa244a399bb4fa02be16721626c794362656b90d43dfe653321f329c28a5c24"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 211 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 211), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"983be9f7eaf67a0dc998ec36098383c14e9438c67fc8b94c9275ae5e58f5f052"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 256 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 256), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2e9556608db5ee991eca1123b4150c67d35f6639eda4988847f67a7522414d"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 335 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 335), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c696ee994b2f9505c47c4e0389150944002bc869f978f4f39b4d9de482d5ee9e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 393 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 393), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"656eb4313af3685b6dff1abf847c67dc54ea4996b81c3cd825e46358b5c99ae6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 434 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 434), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107695f4eb620502416035f5b4a7c3179d0a669c58703c1d1ce00c072d5ee89"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 577 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 577), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cc810b21430ab780c1121358859d1de9d7330e5406594bdd1d63f936707630"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 623 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 623), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6b2f43cb2d4387f6ea7db2b059b1cf261ecad569fb83e74b1bf291d7139cd"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 657 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 657), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf79d63daa60fae1d8bc3e73fbbf45c8b8924a22bdd82a79df38acfa2919ff48"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 717 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd[: 4])\u0060 (line 717), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"baba02ab9f294c08c52336447406fc63a00d5f669f895e47f901564d5504c40f"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 753 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 753), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"442a5001ec6d9174933d9e9f23935bc41728829df90f6489b068d20f7da4d8ed"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 792 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 792), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"453d53f932c5cc2b0900518d1a918b4be92575f8ad2ed57870b761990d70b7a3"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 860 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 860), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20c4c5567cb92b815628b4e89877e2d2ad82fd3362dc6a3dc639bf6f3133fe"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 914 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 914), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba357c85186691074ae58094c32c0be16da4b5c8760658f3d6998ea68ec11a9"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 974 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 974), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2942332b0f50c851938a32587125053035bc3317cb3b05ad3af60b668f381"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1034 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1034), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b36f1762e32cd4a713d7532ea928992c9083ede8e5458cf14e059559ff2b92"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1074 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1074), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aab5d9a1c45192430a4def8774cc38ea532467ad8935a7b9fcb97097aa7149a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1110 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1110), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9a3be32e80228881edaf29c66f6bcdd4e755dc919dc4eaa9afed70aa54fcaa"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1149 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1149), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d78c94ba0c3346f239e333bb9e4f5a4a035e33deace4e6c86f691ca2a45cc5a"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1204 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1204), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09978a4262ece0c8b1f1c9e04b61e8611af133c3c52e5f473f9d06f64fa3d16"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 1244 is called with an argument built by \u0060\u0022\u2026\u0022.join(cmd)\u0060 (line 1244), whose cost grows with the collection it walks. Python evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isEnabledFor(logging.DEBUG)\u0060 test, no debug flag, no \u0060lambda\u0060 the logger calls only when the level is on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d9a6a6752963acf95b9b474b1b45fffd1d443e292911aa52b82399c93db242"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/crd_detector.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25cc32ab6af3a25484fe832a7fecbbee7457ef7c12c1e50f6718e5cde8cf60a"}},{"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":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25102d2331b0ab124ff17e044071d57039e27954e0ec623146395d4058371b2"}},{"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":"kubectl_mcp_tool/providers.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d187115a08db6c00a54b6cb91a4ab2641947d399db879feb8daa7c4bf8327b5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/_cli_utils.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eba6dc3ba922173eee22aaf452bd33c2245f4cf2e8559d4dc184a81fd6a8a0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/backup.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27ca110a02500932678137a2faa69750bc3896df2311fc5794f40288e8b51a1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/capi.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d436597a4cf97b798ad13d2eafbb8eb235cf63c6a546ba7055b9b9fbb5404d93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"070f907258412a9149932ab9f99e5287eff6a8c77beeff84f94a6e2882d758ff"}},{"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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fbf2237f1f0d90b0477b92fc0a9263025f3288e70e88fc30a08f6c0cd5b399"}},{"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":"kubectl_mcp_tool/tools/certs.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"27755309b70430159b7fa617eaafb6af9f967cd22b8083d571ee1f96bdcb9647"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00bcc4df14ea947e7dae7c29ac1aca49024f44475720591d4c6c4f4aa99209d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b96a1db963feda4b7402027f25a79d51944a7e9dd37ae486e49c96d138f8192"}},{"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":"kubectl_mcp_tool/tools/cilium.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5644e086d1f0ee439b37adf79df96c47f158a3e70bbc69f29a07891994f20389"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/kiali.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf42389f8e3126b8c419061cabf7fa7b6d46bc995b8539afb1488229e3c9b0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8029d5df8d5fd7e890f8db684dc6aa1982199031a79daa77fa5827e9fc8f316e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e559ba872414d1e5f9b22a91303073daa8a5f2d77d4ffac93b7c38b5cd41aa9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/kind.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14b1dc2e7b737651d5e54e0fe51e5b11b65a0d466255d1255e1a14dd4df2356"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/kubevirt.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5780d14cda1a9645c10f48594d8c822b93aaad0e49ee36ff0a57b8fa4d3896f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/networking.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9582d21be657375120d8c1291e372039ce7920a3cea0352e4995e40a35a1416d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/policy.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1b7e9eb759c4e9ae559b0432065474811aa6a1dd35c0b65e08de255794f9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/rollouts.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb1256e469a987a5ec08dc3284d011f5e5d98035a7b23325edf2063ab3c179"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/vind.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b735f3c15c353403eadd4f21b1e74e86dd973ca9fa105963497257af669a5857"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\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":"kubectl_mcp_tool/tools/vind.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b8cebee749ce7a623ab574a821436deb9c11859fbad9c6c5f4dc7d7962c0fd"}},{"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":"kubectl_mcp_tool/cli/cli.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a775073579c5f833ff17069f3c9659716998180f50a62d9a3614fce0742c9e05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 23 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/diagnostics.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b913c8be2778d6bc8b6b690dca26dbfc898e2c5d84645e9f542c90fa5dc0dec5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 24 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/diagnostics.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa2bb2e3f6b3244a05544512471948b2d86c8adbb0dcdeecf9360b46a4cb8ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/elicit.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dcd2016845b238864d887c38c3e5502ccec8c51b37c10e23588bfd5c5845fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdba7fd0fa86fb732045bccd3e8d6b3cc0570e4617afffef75058bc734f871b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d782ae80b05fcbf6545d27c405141007a2b9203b2710699628e88c88619d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffcedbb3b9b7092c0531381ae5fbddb54eeaeb0c9e27cf3f6fc2e6b8b792454"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"339b70578e10841b3ea2a57aa9e37ef18a91b8bce24443facd8b8e0e0e2ecbe2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 253 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8c7966e9c16facfc2f532fe2489c285f9fc27ca7b3b425d5dfddd9d20690f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a76db5f04c19fb026599e2cdc30e0ab352ca0ca821b55b20bf0ce8bb4c04a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 261 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0727b882823acc9766a91f432e8fc3e573800379c2ef25d7a50470c4b48fd3ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 345 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b11b65ae4e8519608222270da761acfaa35d1f723d218a0fde2275b3e3cb6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 496 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"582e607d43845fd584a4cda0343b897a0afa93516c296ac2e6b459be0ceb8e9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 517 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2bc12d1c2cbb042f672291d88d757fa199f342cd6766d12fb9730ea9177b38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 527 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a8f785fe9644a777bedd25060b7b39b13364a4f2b2318652bae1ab516de9ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 537 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/k8s_config.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9d3159602de8615022c5027d1ce0bdb67020d5123c474dc9c2fb61f0324de8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b97567087ecc78d19466890e68d19467ff52861c352dcc820c1560877a6bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 206 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"514135c60845899142caf7933b344aaa92d8dff078d5fffd06bcbf2cb1c2898a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e454d523a1419d49d3c85c28855fe19f44804822ddce770f06f4fba2d04eda7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9371f5c56e63e7de04091cd92342b6c67302fc0bff7ccb9316505e1d3b3a8313"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2730b6346bc84f3f493ac89df8bc8ada2184f54ddd37c6bf75ae76fddd06d6c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a2d79748063bccbc91b959043bff5fef06b080b95569668699b33bc0598984"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1f70c9b503bf0a664699e137323442c3f32ec3236c287162eba550b7ee801f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 296 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ddb87c7aeed5d6b6a2defe5505c385c81a66b1c685b192d4bfc6867842907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 359 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d794c8b2f5baadfdd5d9bf65e9ce3ccf7ff9793dd755a743f54ccc5aa7d54f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d093495d34e63c6c4114976888f65d3be7af8cfb1746a3b69fc8d17faf5af816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 361 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"415cc122126f2afe4568f977a953c6856ea6e0e657ea9fd2a0f0bf58353bc255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 367 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/mcp_server.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"302098bb7915aa9a1b5fb263951561c22904be58a30ad3ea64a17fa46d0a5aa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8737a311d1f19952e4d5af71eab82ec436553c65fe64b1875f3126f9c94011de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 147 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ef7e0588617933017b189a1ea5161431e5a75e1edca939a431c57ac64f21d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa78131be33b433230f59f605e1cec9ce467fb8cf190e9f76844c640b820fd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 203 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"831ce35a24b2c561e4a0ff0431cb5688fd9e09be6b1c9f45d30adbb785c6ca9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a88c8d7de964924250716a0bf9f726a64f8cdcf2b9d76abcc195c95c18d10c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/providers.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f4e7985241cc662a1badafb80758854eba346a12252a29093becb76a9c89f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 35 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/safety.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c170b05dbc5888783b34f9ce25a338c9a6f0c74380146ae342370b50d27292"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/utils/helpers.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdf3553e5a037b542107f98d8bab2549e0ca61934c89799b0e70b18ee60f344"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"922f9bbbc88fe70175079252dd4433a91a5ba95c2ee3238870d63410fab0c0c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9998ec56ffcfc2f6ac277e3ee75a655952ac97f9392426eddd034e4e1eed1c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7748e80ec8c812fb2665ac278464453b3b84a1687ead8a90c8a4e504f02635"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac595a77825e2be8d4552131bc01bdf19788b664ae5561dbe2b6d2f6f1c6140"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ffbebeae11b710562b65dd7696717457a98fcc0cf6987d2f46bf2e47e079bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 261 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba88bc942f00d967545169cffcf4e29d26679e939dfe2369a0c65d7a03f06e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 295 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9316bc33af25453bc5b4bccc084ef74445c1bf21d39d6ae89f7f363d929b1ad3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 325 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d571952c0e61d0a595fea1c9344f6c1f32da2b5eca69d413f5e58cedd1757b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 390 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360910282b49e179e33f5075f0665234153089b0f7a33a86fea3aa44cb67001"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 479 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c03e94f44658b162c85ef86caa6aa32b738cd3c32fdcce8b6b0e70e3e66de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 590 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cluster.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52f032dabc8e895d300d1ced5bcc0d17a5cee0a1796e30706b810ae264c2626"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ac60756630ee263a4529a338c690c342bda0404ded032864c0310bd650a7bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3506b5a02ce8a46995f2d288e8ebefa64f2a096f6761fc9aaf4bcd589f763c04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 290 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cdf1e954647952b8383d0c9fc59a1e18178f2653fbf3091afffe3127c68c2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 374 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"42802cf09761c1bb841f6d022f8d853504e28b5586327e63c2d7a10575408417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"968ede71cedf4322ce061afc785f6ddd621e80e94e42056a0e6e9acfe02b165a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 578 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"564b49623c2f40722e107c7a0f0824ad8866c2cd167a8e40b9357ee5e09c0179"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 651 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3114bca3c95e2b16750d9949f3d59a078f50f15fe30c52681bd0feb43a06538"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 755 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f290a55879eb5f6dbb7e98946f5bdeb9ace8d374dadc020080324d5c986c4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 683 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"3187be37c237351466c3a64c5f10c28354f9494e432601e2ed821c1cfb5d91c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 776 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ada0bb4e840568e79e7d3cbfcb252ef7489914accd54b82d9dfff949d139d2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 899 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8764c9b001d44c24d527e0d9fdb2a76b8d11be5bbf4184d275d79fec218492b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 981 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"167efd9cf43e5ad2ec3d938053fa8d717235b5c3788b87aec9f45f78fbde52da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1076 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/custom_resources.py"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"a385c33d7dde05572b1a0a3258e8e2658b182349ce1a886207c30cfb38904bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/diagnostics.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f79ee84f2729fdc485519e8098d6ecd6b19efd020715f02ac2631d9b57b7df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"409673f374ba4544ce8a1025550e178aac1e8f94deeb3b3e2aa78f60cc2e6fe9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb5a67ce491d88544edac89faefce38405e77cd81a6c7dca8b0f61874b069b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe0eb45e4c153941e8267bfabeeb4cb5c8c7dbfd7446d80993db6b313de9a1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f184f9a334d9a2f0196ee6eb096898421e23bd90748cb6cebec04903e103b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"000bc372c0d5b986185d03e251bd1416fca75af157f14c0e6a7a0e3992ab2007"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01e75f1f4a72ec7a4cb612ae34a5551b6ccc80d87a6e1dee127436e47e47572"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dbe51af1c4876c72e94291ac68166196009d12d7319df3ddc8d76c2ac202f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b0cbd1a305821f93fe1fddf785f7715a1b1b245ff07a30738e75819c590c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"447e8d0cd3e7e0af398e301755649aee84bec6cbfa05233675c7d6c043166229"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c87f0f8f56230e9eab32ec9957a5d0a19871afa9ccf306969268da72c06ca1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d02775bbf35974f6471ac3f14f20755be8c6ceb9d2cc542e21baac458c9a33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 335 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6962671d225fcfffcec2625a0299526df3091b8231498718f71705ff2aafda52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8a042cae7bc425d50b0836c84e60316035714d00d0923448f5e1ce68b53fc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"001b857bf5aa1ea626f5812b5068e0905a540360d8f75b46ac34b9cf411e1653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb386159817676df6f50846f6b6d4c6da808a0b896663cf43e323ba54618af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 434 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf01332d5e37dbe92b395c84cff9e7f96f6835ec2faa9d21e893dd9f77351c61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 448 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f32a5b9173b31f76410aef70fce837c68305f9e49b7de473457a229021ce7d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 577 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df8e66aa0994fc58b960e3efe8521ac8f2ed9323f68de775889074ee6a0c597"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 590 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"48aced2ff9facd2745b970c5697f13d6d54bb37fd3632717a5a0b332ce2356b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 623 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e402c9aa626488674260bf1d8c071ffa8ebc2734be0200e6d1a4e11abe30a197"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 637 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888c4a34ce3e0c9652f05b47a99e212af8d06d24d0db2f85cfd93db5399cf26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 657 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787eae6b09e779ec45144df9cfe1960d0a657f0f865bfd9e46ccb1c0a6ea65e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 672 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc420ad5726208d52e60596ab2762260d31d9d00cff5f194d1e33617f071e7fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 717 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ff128dbd4dcc0bfe709e97a739a97caa5c82cdb9c73bc7d5043f6042f5f863"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 729 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dfa76c217cf4fec52169266a3bca69cd7887a1d446cf326a8b391e730b49b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 753 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"faedd203cc1db56b09069120d4c79fbfe44ad21397797b31458b03be8e683d10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 765 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6c430640ab8dcb36077486520191fc20b4416e6224afb6c33190d79b2f202"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 792 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"85132f4ad513ef04a3fd3c01eaa86b8b2a2df746cc17bfc1ec9bea3c6a00104f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 804 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd35ebdf63a6eb6173cf13027db69040c01c0184f777e44d111750828c3d6b72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 860 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fd22e1aa048615493e0b3c0f3f57e4d016fcf4deb4103a268ffb29ec0b942d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 873 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d53aa06cb2790a49f583cc6fc431cb740f148dcfeb93d478d292418b6a5e8a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 914 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"900148704afa1efc1a6a33de5161c510df9c5f3211480f689f84f5fc37be1af5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 932 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ae3666fecf0ea2dda0e11aa2250890bd948b9a668f0898a5878e30fa1feb08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 974 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"85de8bec22a8e62e97b4313930e18e80272c8f336c8f19fac908117da8ff0c36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 991 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"4913aecae64795392bb98762e2f84342b0f29fefd51476b179b2e49add9a12f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1034 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cfd4102f2fb6bacdf6526573d85ee15ce2d86b9af15ef2e252d6c7e3a04fac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1046 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b334e8aacd99553f54ce25c80d3ea064fc649ae08ac6d100df7c81241cc11f9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1074 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"08359dc044d061f7fdefdb48149e111f0876dcdb2a104019edc7b0abd793ca8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1086 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"525cb5fbf30e2795788711df6b97dad9449bf65fe632ddf993eb80440c5ad1bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc1a7a68cb035dfaf563e87cbf89e2ddd2e53ba8c890c1596219ecc41bbd2a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca055793e4947d10b54d6cdc4b0a7b1e45a23139f3d6adb6cf30982acc951b8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9634a4d8cb88c32236966b695b0c2ff3afe4ac57a3714d99f3991ec9302d0ac7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef7100bee180a34f2960a7067a0ac5c1e035d167c1bb2916f72ab25545c80dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1204 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cf9685c31e79a814de03dec18d96d02051079226916661ee79e06ab62a20cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1216 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f330b4331ba1fbacfa9b62fb6dca007375bef3f6f6e047567df86ce9c76ae1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"159c9117502b4fb12e57a91255200c3ae0833559f16c69137981a7907554b2d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed866a2ccbb9a25c6a3c6f0ce6ee0c3d67d88dee40bc63e2eb7eb689040938a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/helm.py"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd88b4c2f35d0d73ed79db1a3ae6787470ca146964ad56fde1e973c1d3f275e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/networking.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73f0a163c05e6371c21940b98892a877622d6b2a4c653f4ce8767cc53cec901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/networking.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c56b72092a46fa1f1d27e1c7abafcd0d3f80b48fb4e4bf23cc5b4a1b40bc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/networking.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e46a8ff106a1716cebfc8d1beeb3641799650b784397d1813802aae6ef4798"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3862a5c273e12d0c4e4b6db7d314a49d325ffedcc81ed8ffb0d46e9cafc544"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb920b4b8dba7acd148ff799f0bbed71c93261b5c1f4cf8e2132a1b9fff9d86b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9462a7e585da6434a1a454888bb43f8429d187fc29cbeb4f48e295252ee056e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a329cfe460d02b68b0c94d9b5cdb1a589e79f733cd7fd5fc0c667ad876160a44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"210c797f7a3ae6eb02a470bf2a538596572763a64d97f96f73539f96343cc9eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 316 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb403722fd4e12c57f6f8959f9578e5d42f671e2171cd028e1c616f4b23ddb70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"084567598d1029f089ba8becb7ae14746853cc42404d6bf688504dcfcc753ee9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 387 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c9ad790a00ce442290e9c232d9daf009f2dda1bb01aaadda5f3f7688e1c4c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 430 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"463ae3bdb6427e0352436f61f66f404ec5fd79beb6479717805aeac509683f52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 491 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"513937cd1fea13feed2e755d941a493ffa334ca72e0a5fb0af327aaff610e055"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 552 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"c981aca287a72d446fb3ff053f7d1537d6f398da8d69cf1473f006b4aa8b024d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 616 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"811689759fef10b3bfbb4ed69a16649006cedd3d270ceb6b61b7cbcef68aa43e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 680 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96b4d25d5ff3418ba60e8964489397e40e4629b4a21d9d2c80e2d7abe342781"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 722 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/operations.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f04dddc72d485341c2260414d9899ababcff033d93a93205c128f01da46625"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a7265a182092d3082a67afc1b2b10188209fd20d0a0f3a4042755c18e553a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa085ede864ad9a05c3ecba888db35a805c1327468a2f9e0ba9889bfdfcfa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"31945e0dc0a02a46f3dd20b574232df7001e00f173c02ecc1602141cd9382d0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ace26f334d31090a8bc951c919143fee70bf5b89147711e1695faed1e33142"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 403 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad3d0d6afb2b9e7d4be22bf8e6e97774f9f8c1fcc1bee0ea1d114d0362c63e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 493 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb5e96814deff36ae6735abe19a42a47097488ddc12b65a7e43bb72ba6776ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 565 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/pods.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"33afb524315802c0be61d70bf657e244ac8151d8b9619dd8e361e2e99d2be831"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f95e2d48460f1e780e2539cdfac142b10f1e8ccba96834bb2ec2203883c920b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b809f2989d3ba2c18128c9dd49fc8b9ac09ac44704aa4175dac44e4146f598e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b587bc8563046ba14dc98fa3c1f647e33e17004a0f6a07c7b089ab2bf9b7d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b661799fd8a506072fa09bfd4e77fd53926935d67250029251642360044a25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/security.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e15b78b63c4b032a85b60ba8e16d0027f1f89def54feb0c6bb534b44f9170c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc13081ab7b75fb681837a564a933cb0cd9f345909dc2cfbbb99fc650c210405"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 192 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"632d7df355aa1fe33242c900fe90c001e6611848f846758c3566f1b00de29ac6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b75764a7a19eea36842423a61fec8cd94dd19b35cd64321d7ddf4c0790ea39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 225 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/custom.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0131c6fab1472b570791a718181fade1bc3c4bd8d539049ee16e4c796b17a445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb08885a23e56cf8b810d978a08fa85d42b6f233d50c78582170731af8d59687"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4bd99f2377bc4fd42ba1317201c27d81be61c44aa8aa14bcfa95103c899b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b234f386c7b11462784f46a35cc92d0e63ae75dc6e4dfea67776fed5cac4557"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2491f2b0d9d353d20cfabf82a4006b751c66056ff55062570f209cf42e9319c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"89919b935049c0c830cda9c4990605a96369bc73db3290c87bffd8e131f11102"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/prompts/prompts.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4114811a2761a7c4c5d8a6285095db7e4f57fcd389af14b8b1e816e92b31f977"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/metrics.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8437d8c9735c2ce61f557e809aa443e3f81bd9fd7609652cd638e767e3108723"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f650a231a3c1437dc37434dd7ed28d629dbf9ada5660da4845b07d5b7607b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"60be09554b19b5631b9c148641740afa61113f0da5381354c7f21fe7c47251bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ef36b43240a8a11f9bf499c9eb1dbc9ee8a193b002667aeaac9b7859ef24b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e005861901bf30fa241847d4ddb8df6c236e3026095c0db7435ceb4f463f4eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977ab84cf5f7b2f834ca05619bd76dbdeb79187891e9fe13db730a55ad63a0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 227 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6c8313b509bc0cb325e157655906d7e3fa2ca7b5e10bf261a8993d5232d606"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 250 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/observability/tracing.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a224d4e0e94cfbe526279748548cceabed79939511da36770a557d23c23906"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 163 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"031c471401c91a2eadb550564bfd97e870ca0d4fa79fadfc63a98496d7813a90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1c85995fc408c7ba6d90669f8a321766385f4aa769b61e73ad315782080998"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed175cb63e6fa9318cc77759f24ba51e9ec59e9f9231b20635f8e2c518499b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"132347e920f9985278c92e0bdf07658223454ff4f5a4f80b4a526da13e13a66a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 249 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fac23425ed97f33a0f04b1a780c54b7bcd1737d2c8710facbba0c09305a0f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffd9745e79d67411e237521e149d0cf8404aef94ecda1465dc277f91bb388a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 260 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ce7fc01bb5a90a70f6f6e84d07e75c8580d39dc510ccbc823e22db5f56a277"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 262 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece15f6306de9d3a2b577cbb35a1aa4f5f50d4ab8ab081f361b1337c87a2ec1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"84dc017ff92614a3016938f9d6d1d35536ac8dbd5e03c282618ff2a92fd83c61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ab1bddc7127f31f8d729c35f6e21a90d118472baced55603fa6fc35ce27309"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 317 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb3de10b41ef4c32b25093f0e38b84a961d18a9be0c837c6702202ce575241a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 351 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"db908f174cd8c2277f7a46e0adb6db0c8e7ba8a1ce5c21c440db2c79a9be7cb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/config/loader.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b08add4dd62830333cf4564349b4775fce8298f2ba197c26571ddd284b7ea91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/cli/cli.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9ddb780b21d2a5272860073404d71861fa8f933dd141e84f7c846ebe5f6451"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/config.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"efba53a84d7936e2ab59d46f7109951c1c86236fe561af73300fbad1c1236ca9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/config.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a62cee77f173c2876fa9fba25cb9082295d6b23ea695ed59b06335bb43baf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 37 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/verifier.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8330936ae91e322b057c1382aff56a740af8ceb2be708c251371e0a621b3735"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/verifier.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6087f30771c37f951d4e7569344109cbe39e99d5446fd4e23b60fe4c36f197a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/verifier.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"55df6ed618114ba7a1b4534e09a810ac611fa772eafc1d087aa27eecd7ac1f16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/verifier.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f54eceffac1e6aac15949d7b2bef06ebefd71b9463db1b3c6d28e0f8d1bb16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/auth/verifier.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcddf8967703305e0398cc9c5dd5759a2a3dfaeb8d1c8829010561f967868872"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_cluster_crds\u0060 swallows every exception into \u0060return set()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/crd_detector.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af0b15749ae068e247cb61b3bc5904818b3ec089b5fdceadc4c8a620f695b35"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_cpu\u0060 returns \u00600\u0060 when \u0060(ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5ffd8cf1df29c6b1052238cf57827fbf8f82d91d9f9152a7f3034dd56a75ae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_memory\u0060 returns \u00600\u0060 when \u0060(ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"859972cf5a0896bc2eeaf86b06eec1c05128b4b2bad892f163df3efc9538df93"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_calculate_available\u0060 returns \u0060\u0027N/A\u0027\u0060 when \u0060(ValueError, TypeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/cost.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf2fd4fb9bfcfc1b1438d73814565a4fef16a718b91c5d9ae9acae55eaacfd6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060get_resources\u0060 returns \u0060[]\u0060 when \u0060json.JSONDecodeError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kubectl_mcp_tool/tools/utils.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fc5795d8689738d67d942d38067c2d8ca47491afd5fe8de9545e856dad859d"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-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-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-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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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":"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/"}]},{"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"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"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":63,"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."]}]}