{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"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":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D42","name":"Runtime Threat Enforcement","shortDescription":{"text":"Runtime Threat Enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/D42"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"Service.ReconcileLaunchTemplate (cyclomatic 58): Service.ReconcileLaunchTemplate has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a6ff27c4dd1d1e2eecca92fbd167a4ea11fbebf2d8f14114631a786d66602f"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.CreateInstance (cyclomatic 41): Service.CreateInstance has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ac9edc9ee349bb6c310085b9c59f677ccfe3a0938b293c84c93cd85933d6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineReconciler.reconcileNormal (cyclomatic 40): AWSMachineReconciler.reconcileNormal has cyclomatic complexity 40 (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":"controllers/awsmachine_controller.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc07a4d0712711cf97c28d804df64f05a0b230a417b63f6c49ef5678c976552"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileSubnets (cyclomatic 40): Service.reconcileSubnets has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"320cd0afe25cb826ebc480558cfc1779a7d3c8ad14c00ab8348a1d63691af617"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.createSubnet (cyclomatic 37): Service.createSubnet has cyclomatic complexity 37 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74d1a27aeb172c70fd7baeccd3cefa9b18811197a9f3dd51888a9d6a78ff00"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSCluster.ConvertTo (cyclomatic 36): AWSCluster.ConvertTo has cyclomatic complexity 36 (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":"api/v1beta1/awscluster_conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b0f60ba5b4eea666660bbdd68b2c607ff9949c47f3ef5c898a0aea30055ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSCluster.validateNetwork (cyclomatic 32): AWSCluster.validateNetwork has cyclomatic complexity 32 (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":"webhooks/awscluster_webhook.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c2d67c5a695c31c809e1d2bca95cc527fdfd2d2fabd321272d0f9053ae9cc6"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.runInstance (cyclomatic 31): Service.runInstance has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"61288221675ab8eb2d72acbc790a45b28c71521c9c97285134348827668442c4"}},{"ruleId":"D1","level":"warning","message":{"text":"controllers.buildOCMClusterSpec (cyclomatic 30): controllers.buildOCMClusterSpec has cyclomatic complexity 30 (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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac08029f1ed8b18221036830110718536e9d60e33133df59bdba5cafe536606"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAControlPlaneReconciler.reconcileNormal (cyclomatic 30): ROSAControlPlaneReconciler.reconcileNormal has cyclomatic complexity 30 (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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c4b4c75f2eaf4e0a1405b16dc5b04888b2a0ec3b3470dcbdd98dec8403a6e0"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.SDKToLaunchTemplate (cyclomatic 30): Service.SDKToLaunchTemplate has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07cf9cb8687d0ac2595c8b509f7ba92c914b4591e05be00e98a124e498cf7cc"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSCluster.validateControlPlaneLBs (cyclomatic 30): AWSCluster.validateControlPlaneLBs has cyclomatic complexity 30 (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":"webhooks/awscluster_webhook.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"692797c67f80950807c91f2c2f67cc56619406946ec5cccc29961974d06ebf54"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachinePoolReconciler.reconcileNormal (cyclomatic 29): AWSMachinePoolReconciler.reconcileNormal has cyclomatic complexity 29 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc08db0ddb74f6519aa51ddc7acf85c2e1f533f9f38adeef96bd5b4a8d1318"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 29): main.main has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"main.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40c572ebfa3eb335faae75b852b3027937bfc887dfc652481ef5f828dcc3d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAControlPlaneReconciler.reconcileExternalAuthProviders (cyclomatic 27): ROSAControlPlaneReconciler.reconcileExternalAuthProviders has cyclomatic complexity 27 (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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb4d429d18d8f14fba51ff87494ef857b9654af9c4346073b8b476d3f8995e"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAControlPlane.validateRosaRoleConfig (cyclomatic 27): ROSAControlPlane.validateRosaRoleConfig has cyclomatic complexity 27 (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":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc561e8c332d6ddcd2c7bc414eecdf2c223c5270e848e7f9b1e5abcbb1a56e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.ReconcileSecurityGroups (cyclomatic 27): Service.ReconcileSecurityGroups has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5c3a62eac1f93d0cd3c0a6ceb0b5e32d714c53b98d5f199f644eb7d52f9bae"}},{"ruleId":"D1","level":"warning","message":{"text":"ocmrole.checkRoleExists (cyclomatic 27): ocmrole.checkRoleExists has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b8b4e2320e5999cb82ef95f94c292635b014d319c7b4b2cc9075413ca1b25"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineReconciler.reconcileDelete (cyclomatic 26): AWSMachineReconciler.reconcileDelete has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f425fedd5b6fa5f10d6c6bb708f1e6b5e11f36034a50997d5b5668d097890804"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.getSecurityGroupIngressRules (cyclomatic 26): Service.getSecurityGroupIngressRules has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c47301008d9d957463b91bd7a193f2365d5170250cc774fc4731db1f7cef33f"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.findSubnet (cyclomatic 25): Service.findSubnet 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":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c849d1b3ff6334e1bb48194d05a3b4e542b440d6423ee386d921a97956efc60"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSCluster.ValidateUpdate (cyclomatic 25): AWSCluster.ValidateUpdate has cyclomatic complexity 25 (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":"webhooks/awscluster_webhook.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b18a791dc0d55a6976f8f7577118a2eb4e7375fb6e76a76dead7c27275d62a"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.ReconcileCNI (cyclomatic 24): Service.ReconcileCNI has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf82c4928352e3f44d54ccd573577077df32c442d0def094e45581d9f198fcab"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAControlPlaneReconciler.updateOCMClusterSpec (cyclomatic 23): ROSAControlPlaneReconciler.updateOCMClusterSpec has cyclomatic complexity 23 (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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"408b49829c2358f9b7823e90971a1cd5d9b0dfbf428a894d19760840fe9d7428"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.DeleteNetwork (cyclomatic 23): Service.DeleteNetwork has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/network.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"225b407215faefef3f495d50194047724c0b26d767d09b7fd281c32fa152e997"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileVPC (cyclomatic 23): Service.reconcileVPC has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b985f2c49466dac7fd6547809ffc2059c0abb460304eeed4c86e910e2e4c63"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineTemplateReconciler.Reconcile (cyclomatic 22): AWSMachineTemplateReconciler.Reconcile has cyclomatic complexity 22 (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":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"55691b602a3dfc38da412779f79bad4656021ae4289c4fe686be120379e236b3"}},{"ruleId":"D1","level":"warning","message":{"text":"webhooks.validateNetwork (cyclomatic 22): webhooks.validateNetwork 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":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72131392ceee583eb942d758778949007a2be7036c02e5f409a249917edb2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"controllers.nodePoolBuilder (cyclomatic 22): controllers.nodePoolBuilder 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":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"89da4545a033c65c74937a0240640d1718bfbea1214c64fa3ba9f24d10f38d3c"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAMachinePoolReconciler.reconcileNormal (cyclomatic 22): ROSAMachinePoolReconciler.reconcileNormal 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":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4492dc200fd53584b77cdb0018789b55306f0607fa03263ec4843045afae11"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeadmConfigReconciler.joinWorker (cyclomatic 21): NodeadmConfigReconciler.joinWorker has cyclomatic complexity 21 (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":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"facb7df5ef3a49ab1e694b396d084b73923ee4ca4d48b6a083178e1ab768280a"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileCluster (cyclomatic 21): Service.reconcileCluster has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05283fb20b7a748fbaf445f5ed364763c1bfeac7102ec9ed090e8e32fae879"}},{"ruleId":"D1","level":"warning","message":{"text":"userdata.NewNodeadmUserdata (cyclomatic 20): userdata.NewNodeadmUserdata has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/nodeadm.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"514f941b955a76969f9839b0717d0e4dc2c583301fd6ed81f12356a72d33e71d"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAMachinePoolReconciler.Reconcile (cyclomatic 20): ROSAMachinePoolReconciler.Reconcile has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"716cde36e19d32a24b9ea7f491c569de0a1976861d3ded7c4d70bc3bbea2a49c"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileVPCEndpoints (cyclomatic 20): Service.reconcileVPCEndpoints has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b1fd457eb5ab27a89933419677faca832f9898ddbffd1b935ff27f242531d"}},{"ruleId":"D1","level":"warning","message":{"text":"ocmrole.GetOrCreateOCMRole (cyclomatic 20): ocmrole.GetOrCreateOCMRole 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":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f2c0709368b293c82141ee4930f25952f4775ac3b994f88293f32175e027a"}},{"ruleId":"D1","level":"warning","message":{"text":"main.setupReconcilersAndWebhooks (cyclomatic 19): main.setupReconcilersAndWebhooks has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5b9ffa62df15e58104a1d073738f22078db874ce9fd84d882c35cb73646429"}},{"ruleId":"D1","level":"warning","message":{"text":"NodegroupService.createNodegroup (cyclomatic 19): NodegroupService.createNodegroup has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f9ae308dcb5c79fb162376adbbbae33b3de678375bfdf6d66273be98415c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"NodegroupService.reconcileNodegroupVersion (cyclomatic 19): NodegroupService.reconcileNodegroupVersion has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"239f173dc8924550fa47a6d2ccd8f58874e2c202271550ef44267e330c20399c"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.getAPIServerLBSpec (cyclomatic 19): Service.getAPIServerLBSpec has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6be13382ad408fa1430e89534005794c240284ae9282a98502d1e6edd5d07e"}},{"ruleId":"D1","level":"warning","message":{"text":"boilerplate.file_passes (cyclomatic 19): boilerplate.file_passes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/boilerplate/boilerplate.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7f2f1dea257dd8270f6bc9046fdd198f1375d7a12b815ea90e49423fa6f4ed"}},{"ruleId":"D1","level":"warning","message":{"text":"EKSConfigReconciler.joinWorker (cyclomatic 18): EKSConfigReconciler.joinWorker has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"968faf28381a8291e4f878b410f85693206f70d81e15b41b0dcd48ab449a8076"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineReconciler.Reconcile (cyclomatic 18): AWSMachineReconciler.Reconcile has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"controllers/awsmachine_controller.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3846e3025df7b671155b3cf2ce6f0ae324c091eddc5bfa4903938e3ed1343dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineTemplateReconciler.getNodeInfo (cyclomatic 18): AWSMachineTemplateReconciler.getNodeInfo 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":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d996640d255fa4cf71fb7ca6bdabc790405d4fd2760f546c202c2fb2bd7d6982"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSManagedControlPlane.ConvertTo (cyclomatic 18): AWSManagedControlPlane.ConvertTo 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":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c7a0b09a5d0303fc5fadff1d0de10ccbcddcc66b32aff6cae69fcc75a5302e"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSManagedControlPlane.ConvertFrom (cyclomatic 18): AWSManagedControlPlane.ConvertFrom 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":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b5823c9a84db86bb1b440c5bb5648c3766fd29ff46bfb45df5b5b0ccb9679e"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachinePoolReconciler.Reconcile (cyclomatic 18): AWSMachinePoolReconciler.Reconcile has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa8b088760d4547d5b58015eaf04c2f36e028dcaecd376e5d2a6428dcc2d99a"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachinePoolReconciler.updatePool (cyclomatic 18): AWSMachinePoolReconciler.updatePool 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":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad58b5d80b5898949b96b296c81868721e7c92b108bd30d12609a9648aed206"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.DiscoverLaunchTemplateAMI (cyclomatic 18): Service.DiscoverLaunchTemplateAMI has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b4cd4638a757cb423b96e0627ee0b46e9a68f8622dbc5c9f5aa710a6bb53f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.createVPC (cyclomatic 18): Service.createVPC has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c0efd7633aa4c405a8b618eb4dc874f12077c31cc755a4ba4e0b53eb644212"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineTemplate.validateHostAllocation (cyclomatic 18): AWSMachineTemplate.validateHostAllocation has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachinetemplate_webhook.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"72addb72fe743d97fa1a916dc4a94223ff8877b8a949e4434b0e45b212b30819"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachineTemplateReconciler.getKubernetesVersion (cyclomatic 17): AWSMachineTemplateReconciler.getKubernetesVersion 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":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cac6d91d51d9a8e234c023e6eccb4b5cb489513f4241b5548cba58cc731110"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSManagedControlPlaneReconciler.reconcileNormal (cyclomatic 17): AWSManagedControlPlaneReconciler.reconcileNormal has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dbb214eb2e37baf17f4896453b26cadd709976f75bb8e9e31b076a0928181b"}},{"ruleId":"D1","level":"warning","message":{"text":"ec2.getInstanceMarketOptionsRequest (cyclomatic 17): ec2.getInstanceMarketOptionsRequest has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97598f9d366a3bb786fe9f4e7ee89b05e3a03419379fd0ece365900d61e810d"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.createCluster (cyclomatic 17): Service.createCluster has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"285bd170d12dcbc7f8fc8118d7f1605a81e09dafa8162ffd7d9109d2dfceaf11"}},{"ruleId":"D1","level":"warning","message":{"text":"NodegroupService.reconcileNodegroupConfig (cyclomatic 17): NodegroupService.reconcileNodegroupConfig has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fff14d5f3eb4e7ac4bccc42129a01401f1c19dd02330cbd66e268d0e0810fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileTargetGroupsAndListeners (cyclomatic 17): Service.reconcileTargetGroupsAndListeners has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"e903b5aef0b8b0d1e6dfe3b62dcfb451f98884e9bc74fe134c96f0e047401974"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.reconcileRules (cyclomatic 17): Service.reconcileRules has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"04435a0721afa2652bbb92e5dce0140e53f19c931abf7d522955c2c2daf46c81"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.getDefaultSubnets (cyclomatic 17): Service.getDefaultSubnets has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a486631175c41a1caf8d01f43abbea8dbef1d354532817621c666e8e72984af"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.ensureManagedVPCAttributes (cyclomatic 17): Service.ensureManagedVPCAttributes has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346d738dabaaaea79351c23d3a2c0a4b674d6d7a2f2f8ab1aa1085d505f466d"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachine.validateHostAllocationUpdate (cyclomatic 17): AWSMachine.validateHostAllocationUpdate has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb35d8a8ddb6b06e0649c1febdcbd182ae805b4b307695d058d877281c24f861"}},{"ruleId":"D1","level":"warning","message":{"text":"S3Bucket.Validate (cyclomatic 16): S3Bucket.Validate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/s3bucket.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde3de26e464553d1f0b2855058cac0a82bdc0529a589ce6cfb986ad020f4a75"}},{"ruleId":"D1","level":"warning","message":{"text":"EKSConfigReconciler.Reconcile (cyclomatic 16): EKSConfigReconciler.Reconcile has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a89caf2e89897212c1eb6773d9a96a63281565eb2ac4fbb65debb9c110ae8b"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeadmConfigReconciler.Reconcile (cyclomatic 16): NodeadmConfigReconciler.Reconcile has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a00acde5c62aaee23a3df7defd9cccf01c0b92106d5f17421d2661ffd676e37"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSManagedControlPlaneReconciler.Reconcile (cyclomatic 16): AWSManagedControlPlaneReconciler.Reconcile has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, 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":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3dad829f0446e8029499d4a27874a38cdc8730f0f90197feecb6608b47449"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSMachinePool.ConvertTo (cyclomatic 16): AWSMachinePool.ConvertTo has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e8dcc1c717ae639f9313f893e1439072c894bf6222590aa8d3cb164e2b8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"AWSManagedMachinePoolReconciler.Reconcile (cyclomatic 16): AWSManagedMachinePoolReconciler.Reconcile has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d527b2edb9f58b74537f4ed8e0ee4fbe01a6d7726a65fc18273f4c152e0c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSAOCMRoleConfigReconciler.reconcileDelete (cyclomatic 16): ROSAOCMRoleConfigReconciler.reconcileDelete has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, 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":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff19bf8e19fc0c875e7c1e62ae6c72c94eb6e5ce3a1d507119fbe7081bc86c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ROSARoleConfigReconciler.Reconcile (cyclomatic 16): ROSARoleConfigReconciler.Reconcile has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaroleconfig_controller.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f2f7b1d4efe9b49ae249b3d58a499891786338340e5f27f1718289a7962fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"main.setupEKSReconcilersAndWebhooks (cyclomatic 16): main.setupEKSReconcilersAndWebhooks has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4538fd923791ad580ed04ba0c21875e5ceb8b977d7115f152e17bb0ad5321ca5"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.SDKToAutoScalingGroup (cyclomatic 16): Service.SDKToAutoScalingGroup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c1f6766c722703fa0684b0e8ca3c4744bd5a195d7c359f60cef15c5e4bfae8"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.shouldEnablePrimaryIpv6 (cyclomatic 16): Service.shouldEnablePrimaryIpv6 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2728a277b4a6b367a4ff605fb393774eca1d2147e49700c9277e2563c01173f2"}},{"ruleId":"D1","level":"warning","message":{"text":"IAMService.EnsureTagsAndPolicy (cyclomatic 16): IAMService.EnsureTagsAndPolicy has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ad09e2db69f14e3f8a6200150a2b69026ca8d1a4ebdc1736d2fd4546d7d97"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.describeVpcSubnets (cyclomatic 16): Service.describeVpcSubnets has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9d753d79b41825b341a60d32afbf32cad6955251cd9368e5f09a94337e4e58"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ReconcileLaunchTemplate (cognitive 82): Service.ReconcileLaunchTemplate has cognitive complexity 82 (threshold 15). Drivers by points: if/else 39 (72 pts), boolean chains 8, match/switch 1 (2 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b62e7f3528626929e8bbc5b8fedefcbaae7ed2f1b23a4a4de24786fa83ba81"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileSubnets (cognitive 81): Service.reconcileSubnets has cognitive complexity 81 (threshold 15). Drivers by points: if/else 30 (68 pts), loops 5 (10 pts), boolean chains 3 (nesting depth added 43). Of this number, 78 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"672deebeee0db865c4618a5a0d6f032d9a2bbeae2413210bbf819cd6be19499a"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCluster.validateControlPlaneLBs (cognitive 68): AWSCluster.validateControlPlaneLBs has cognitive complexity 68 (threshold 15). Drivers by points: if/else 25 (62 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 39). 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":"webhooks/awscluster_webhook.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9300ec28b7840c374ac605e5091411fdcb919d7ff78b533f0fc171fc66db5fb"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCluster.ConvertTo (cognitive 62): AWSCluster.ConvertTo has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (54 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 27). 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":"api/v1beta1/awscluster_conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9b443675a340f3b6b43cabad046deba5015873249489a9d786a1ae5830faf"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.CreateInstance (cognitive 59): Service.CreateInstance has cognitive complexity 59 (threshold 15). Drivers by points: if/else 32 (51 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c42f5d9572df4b439072d26dc7bbb0000c0d722e133cee6c9eb8be85344618c"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineReconciler.reconcileNormal (cognitive 57): AWSMachineReconciler.reconcileNormal has cognitive complexity 57 (threshold 15). Drivers by points: if/else 33 (53 pts), boolean chains 3, match/switch 1 (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":"controllers/awsmachine_controller.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d88e026cd05e3b24392862377b3db9182e9528576a941b232f85b873f5abb"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createSubnet (cognitive 57): Service.createSubnet has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (46 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 22). Of this number, 35 points are the body\u0027s own statements and 22 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5abd9463317ea09c9617af2220266f2541c3736cdf7e169125dc972ae9704"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAControlPlaneReconciler.reconcileNormal (cognitive 53): ROSAControlPlaneReconciler.reconcileNormal has cognitive complexity 53 (threshold 15). Drivers by points: if/else 26 (49 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f6ed29efbd3675ce9c8a69cce6b45809941491ea5514d6c818bf7645e32a3c"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCluster.validateNetwork (cognitive 52): AWSCluster.validateNetwork has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (43 pts), boolean chains 6, loops 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edeab746fe56f137d6e57754a1757d3481d602c94bb740d0b2ed2c972418ad0"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAControlPlaneReconciler.reconcileExternalAuthProviders (cognitive 51): ROSAControlPlaneReconciler.reconcileExternalAuthProviders has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25 (47 pts), loops 3 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"998ccd7433975f7a13928965c9532632296676910b99deaa114ea4d8bfb938bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ReconcileSecurityGroups (cognitive 49): Service.ReconcileSecurityGroups has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (44 pts), loops 3, boolean chains 2 (nesting depth added 23). Of this number, 40 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fb32dec2cd06e95ccc6b88597502eeccf6c9868719da82aca5c4bb7f9b70a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ocmrole.checkRoleExists (cognitive 49): ocmrole.checkRoleExists has cognitive complexity 49 (threshold 15). Drivers by points: if/else 23 (48 pts), match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6495f5fa2c72f67db7be1d9b650930b24ef5d61ee4295c062865ddfd524830ce"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.buildOCMClusterSpec (cognitive 47): controllers.buildOCMClusterSpec has cognitive complexity 47 (threshold 15). Drivers by points: if/else 27 (41 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5df119f9885db6e4a216608a52bf1e4b321c917ad089559c0a1f80e666a86a"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.runInstance (cognitive 47): Service.runInstance has cognitive complexity 47 (threshold 15). Drivers by points: if/else 25 (35 pts), loops 5 (11 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc92eb1545460f54b82b0e98618673adc3270a25fc2bb2754954eb01876d5021"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.findSubnet (cognitive 46): Service.findSubnet has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (36 pts), boolean chains 5, loops 2 (4 pts), match/switch 1 (nesting depth added 24). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6ccfbf402244a6c079b87defdd5fe23780b1cb7c865abdd2d24fc54dee2e97"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineReconciler.reconcileDelete (cognitive 45): AWSMachineReconciler.reconcileDelete has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (39 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a113a19e85e7238280a652ba04de5021cc654367fe6bf96d17563ffed85cfb"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getSecurityGroupIngressRules (cognitive 45): Service.getSecurityGroupIngressRules has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3724010470eb27d21bda63d7e784d65357270c07b73da7fd18168f77fb982c15"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ReconcileCNI (cognitive 43): Service.ReconcileCNI has cognitive complexity 43 (threshold 15). Drivers by points: if/else 19 (37 pts), loops 4 (6 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f23203830bb2877801de6752d60531cd39b7a7d5a1c37a14833cfeb339d36"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileVPC (cognitive 41): Service.reconcileVPC has cognitive complexity 41 (threshold 15). Drivers by points: if/else 23 (41 pts) (nesting depth added 18). Of this number, 36 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ecf356cbec8f9bb6d799b2da1fddf204b55a9eae9b3ad3b37eedff2a2e7611"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 40): main.main has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (40 pts) (nesting depth added 12). Of this number, 37 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6790b6deacf27413460cbd5dc85b4aed290e794a9c8c7bc1bda29cdea50d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.SDKToLaunchTemplate (cognitive 37): Service.SDKToLaunchTemplate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 6, loops 3 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"35528f6e6faa6772349ee6bab07898127249984e5be66c428171a776aa568614"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileTargetGroupsAndListeners (cognitive 37): Service.reconcileTargetGroupsAndListeners has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (31 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cbac7c036432b5d3c534454e986dd6e8da3f25e2722c9568696ec68e873d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachinePoolReconciler.reconcileNormal (cognitive 36): AWSMachinePoolReconciler.reconcileNormal has cognitive complexity 36 (threshold 15). Drivers by points: if/else 26 (34 pts), boolean chains 1, loops 1 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec962b6681055cd9690ab9773effee304596e0fb393b7c1259f3e1030287076"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileVPCEndpoints (cognitive 36): Service.reconcileVPCEndpoints has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea498cc54aa678a5125026e26efb1f2d258b62c26fd664b4e097213c492e70c"}},{"ruleId":"D2","level":"warning","message":{"text":"ami.List (cognitive 35): ami.List has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 4 (8 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/list.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ac7104c45a1b87a51152c25eb9d756f2267415d7c60237df3d94aac8b0932"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAMachinePoolReconciler.reconcileNormal (cognitive 35): ROSAMachinePoolReconciler.reconcileNormal has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 2 (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":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128ab09fe27f252a512c4d2154d6957460de6c3d2e26c4c29d9276ac73b3cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getAPIServerLBSpec (cognitive 32): Service.getAPIServerLBSpec has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (9 pts), boolean chains 4, jumps 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ce42968e2f404c31b26ad9ddc8565aea02272677a76def6546efd7c0221b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachinePoolReconciler.updatePool (cognitive 31): AWSMachinePoolReconciler.updatePool has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 5 (10 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebbe535fb891f67ff1c40faaebb63f6782a9851124c5a828e694b61faa58b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.nodePoolBuilder (cognitive 30): controllers.nodePoolBuilder has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21 (28 pts), loops 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":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2e9455f2a7fb529dc5177677d87ca64f6ce5a763031a3d1613c33fbbce6d90"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.describeVpcSubnets (cognitive 30): Service.describeVpcSubnets has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd92e0f141f717b4a08a9e95dc31d7ef8bc99bea533133b2923b8390d6c14e1"}},{"ruleId":"D2","level":"warning","message":{"text":"webhooks.validateNetwork (cognitive 28): webhooks.validateNetwork has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"84de31d25588d34b65518edc8af047e58e3a0f84e371797b936fcb8de85df9b0"}},{"ruleId":"D2","level":"warning","message":{"text":"boilerplate.file_passes (cognitive 28): boilerplate.file_passes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/boilerplate/boilerplate.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e8f9138473e0f8314032e85c9bc0d144b9f0a7b1a056d000c345847a9b25e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAControlPlaneReconciler.updateOCMClusterSpec (cognitive 27): ROSAControlPlaneReconciler.updateOCMClusterSpec has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (20 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). 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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2395d2877f1899ec01d4126aa6e8ed0b01e20d792069a77c411ec6ade847445a"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileV2LB (cognitive 27): Service.reconcileV2LB has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc35f27b052d9b1a7b91288cfa8443899a32f0d498ae485dbd71cf4424af3d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.updateNatGatewayIPs (cognitive 27): Service.updateNatGatewayIPs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2, loops 2 (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/natgateways.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2b39ea17442cb4b61725eeb4bfd78144dd21454195e206544783e09d356539"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.DeleteNetwork (cognitive 27): Service.DeleteNetwork has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23 (27 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/network.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0406072a8b88a22c6cd59ae3629990e09982a6ed9d834325c4e80fc9a98a7dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"userdata.NewNodeadmUserdata (cognitive 26): userdata.NewNodeadmUserdata has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/nodeadm.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57a8662ec0c485b5d66fbcb47218516f523a62da497c46172c70b43e21b3589"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAClusterReconciler.syncROSAClusterNodePools (cognitive 26): ROSAClusterReconciler.syncROSAClusterNodePools has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/rosacluster_controller.go"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b5c696a64596ba99e87dd2b1ea3b87fe434354edf840bd57445131b5f5c3a0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setupReconcilersAndWebhooks (cognitive 26): main.setupReconcilersAndWebhooks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19 (26 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d1b58badaa909ec7aea1445637c4fd7ce7e56d2f25ad48fef80e9c8b4be105"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.ParseFlag (cognitive 26): endpoints.ParseFlag has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/endpoints/endpoints.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c736f70347b57671a9376b5ea6d11f0932ffde59d67b2fe7bd4408838f33d01"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getInstanceAddresses (cognitive 26): Service.getInstanceAddresses has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd6ef24ef3673943dfaa5b553cc096673aff8d733b591cd712fcc11e880aac"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.shouldEnablePrimaryIpv6 (cognitive 26): Service.shouldEnablePrimaryIpv6 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cbc137b477c9d509f7b49794c199c1803efddce274f82e7c7652f65c2f30ac"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileRouteTables (cognitive 26): Service.reconcileRouteTables has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts) (nesting depth added 14). Of this number, 21 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/routetables.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5681209d0a9f7d3c6841d4896c073e623e1cd1de7ac71d52f14e0aa4bd11ece"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createVPC (cognitive 26): Service.createVPC has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"136d215263f7df99366a7e65cdc852ec8f2d611ad80cbe7ad12a04ce1f722ac9"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCluster.ValidateUpdate (cognitive 26): AWSCluster.ValidateUpdate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 7, loops 1 (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":"webhooks/awscluster_webhook.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a981c5e9f6585e21d0771678cde98f31e4b7e4a793962d0f1d15cd4b818bd69"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileClassicLoadBalancer (cognitive 25): Service.reconcileClassicLoadBalancer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (25 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74684e8b34a2b6f57fbea241d81e633cdc5af5ecb0d368db603cd28d177ebf8"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getAPIServerClassicELBSpec (cognitive 25): Service.getAPIServerClassicELBSpec has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (7 pts), boolean chains 4, jumps 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb22782d8ac43d1bea08baf90d3027c826d03fb37a293f6e7caeb7aa53e8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeadmConfigReconciler.joinWorker (cognitive 24): NodeadmConfigReconciler.joinWorker has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e72243b338c144b2650927b3b2963a669eb4a2a3c9ef437e22d8302e55aef2"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlane.ConvertTo (cognitive 24): AWSManagedControlPlane.ConvertTo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"691b92400b88b59962f69e38327679c816015121649966d94eb1013156b51596"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlane.ConvertFrom (cognitive 24): AWSManagedControlPlane.ConvertFrom has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede06db9132924205fac4ab3253bdc9e6c02262f0b2eac546a808889de35bcc5"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ensureManagedVPCAttributes (cognitive 24): Service.ensureManagedVPCAttributes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09cf355191605a536cbe662dfac4e66d5cdd5f1bfb4fe75db48c365c7d136e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.DeleteBucket (cognitive 24): Service.DeleteBucket has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (6 pts), loops 2 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/s3/s3.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba1c4e8a3e095197f1bec4d3d3b41a29ea326a62319b672baf05754712b3731"}},{"ruleId":"D2","level":"warning","message":{"text":"S3Bucket.Validate (cognitive 23): S3Bucket.Validate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/s3bucket.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be41ade9eb2add11852aab3097ea3e8123f7fd5dcd51f755ad345b9399f69dd"}},{"ruleId":"D2","level":"warning","message":{"text":"webhooks.validateEKSAddons (cognitive 23): webhooks.validateEKSAddons has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73a01ff9dd66544452e9390db27b2ebd4a3c101a68fde027e324f2230c29130"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAMachinePoolReconciler.Reconcile (cognitive 23): ROSAMachinePoolReconciler.Reconcile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0ecea434b95e21b1854acf6d6c4bfb9eba1ab689b9020521045581c69e63c3"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.DiscoverLaunchTemplateAMI (cognitive 23): Service.DiscoverLaunchTemplateAMI has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b455aefcfffa35147601bf3e72f30c62b69cbff205fe87c978e581b492e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileCluster (cognitive 23): Service.reconcileCluster has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 1, match/switch 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de6395fd68a4b699b042ba74a8e29455de7bacd3d9c205520671b512988e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileRules (cognitive 23): Service.reconcileRules has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"16201d60a3da5a4a86c343a3c8ef3f5952d9efdfe1d5afeed983101461fa7ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSCluster.validateControlPlaneLoadBalancerUpdate (cognitive 23): AWSCluster.validateControlPlaneLoadBalancerUpdate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5 (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":"webhooks/awscluster_webhook.go"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f8e442ca4e6ba2f76efcb029f34ba9644954496a1b651a011bf44ecfbf8512"}},{"ruleId":"D2","level":"warning","message":{"text":"scope.buildProvidersForRef (cognitive 22): scope.buildProvidersForRef has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 pts), match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/session.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dff1d021b5461086cc76cf320bd9c390329bfcb672d3f8b029f7de5413861b"}},{"ruleId":"D2","level":"warning","message":{"text":"IAMService.EnsureTagsAndPolicy (cognitive 22): IAMService.EnsureTagsAndPolicy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b62ffb07f81a1e2da663f8047ad656a229b37cd6d1f101ead94a10e306d5438"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineTemplateReconciler.getNodeInfo (cognitive 21): AWSMachineTemplateReconciler.getNodeInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b9d3148b253c5f5bddcea6663d7f0f64792d066bec10f77cdffb0db7100b83"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSControllerIdentityReconciler.Reconcile (cognitive 21): AWSControllerIdentityReconciler.Reconcile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controlleridentitycreator/awscontrolleridentity_controller.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b9e3b0a59cf5fbd745a6311bb86c1241af7d6c9287c484f33f5009eb609e2"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.SDKToInstance (cognitive 21): Service.SDKToInstance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bbd80ab0b665081c6424d21dcf947b8c119d751055cfc41e7db6b7d8ea6361"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createCluster (cognitive 21): Service.createCluster has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2, loops 1 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba80e67e5f94861c110fb4847c2cae7e0392683c10eea2364bcbe5973658e5a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getManagedPodIdentityAssociations (cognitive 21): Service.getManagedPodIdentityAssociations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/pod_identities.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c1a7afc21469de8f1e50f24667880ea8864a0738335d871aa6294dfd23a511"}},{"ruleId":"D2","level":"warning","message":{"text":"NodegroupService.createNodegroup (cognitive 21): NodegroupService.createNodegroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcb3a46a29747ff5279a957c35ebbecddef27b81d8af5299e77eca46fb7dd18"}},{"ruleId":"D2","level":"warning","message":{"text":"NodegroupService.reconcileNodegroupIAMRole (cognitive 21): NodegroupService.reconcileNodegroupIAMRole has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f79b36fbfc7375e22fe0fea75141ad5f074abc4b88fe7c975bbc373de951ee"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getDefaultSubnets (cognitive 21): Service.getDefaultSubnets has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3688adf8ab0804144fc43597728c9f5d5e5b01406b09d6f849be1c7d3408b91"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlane.validateAccessEntries (cognitive 20): AWSManagedControlPlane.validateAccessEntries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 2 (3 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":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea1a1f642a7bb04b51bec8e98772bcc774283b4b2d859fd082dcc5b400cc0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachinePoolReconciler.Reconcile (cognitive 20): AWSMachinePoolReconciler.Reconcile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c17271dac714c0106a4f1a5dd756eed059002129eab1ac41aeab8521b7efc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSARoleConfigReconciler.Reconcile (cognitive 20): ROSARoleConfigReconciler.Reconcile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"exp/controllers/rosaroleconfig_controller.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9508a1d2f6b6dbf1137ee00f5727d253772cc7b209968d9bc77e8a425a4688df"}},{"ruleId":"D2","level":"warning","message":{"text":"webhooks.validateLifecycleHooks (cognitive 20): webhooks.validateLifecycleHooks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 7, 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":"exp/webhooks/validation.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"29798e098ed052a93c190aa3e00ce8873ba34d47276e1128388a6e499722cd48"}},{"ruleId":"D2","level":"warning","message":{"text":"NodegroupService.reconcileNodegroup (cognitive 20): NodegroupService.reconcileNodegroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f327854ff6477c658719c9287fd43a3fbacc7ebe6a5b53dac73c0c4fdfb7381"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getSubnetTagParams (cognitive 20): Service.getSubnetTagParams has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2af559fac2c5f4f4dd4e6b0e9ad1c1bd012a5de7cf21b2034e2fc9ff5b474e"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachine.validateIgnitionProxy (cognitive 20): AWSMachine.validateIgnitionProxy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcd453a094b178232a9b67b4be1951bf5fe4485269fd0e201f55f20277aea9f"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineTemplateReconciler.Reconcile (cognitive 19): AWSMachineTemplateReconciler.Reconcile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e932fafc119681fe89ddc534d87611e2a74194b718b7f222e998b4b49caf59ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlaneReconciler.reconcileNormal (cognitive 19): AWSManagedControlPlaneReconciler.reconcileNormal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (18 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e8c4583d8e70ce90a1c1c25179ffe469232cac71dc063c8657f79e3e168ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedMachinePool.ConvertTo (cognitive 19): AWSManagedMachinePool.ConvertTo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/conversion.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aaa24dc54148b67a41f791ffa2f77bd0e1b67d1687340074b30f3c73e492640"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAOCMRoleConfigReconciler.reconcileDelete (cognitive 19): ROSAOCMRoleConfigReconciler.reconcileDelete has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 2 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fc38e22ff161dd4bbdcae953b4c10a5ad3d09783843320e6fb0459e9d6066c"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsInstanceStateReconciler.watchQueuesForInstanceEvents (cognitive 19): AwsInstanceStateReconciler.watchQueuesForInstanceEvents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts) (nesting depth added 10). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/instancestate/awsinstancestate_controller.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2809f3bbdaef352ca0b90e0ce91ea430ee750fc06496a9f201a31968b1402af"}},{"ruleId":"D2","level":"warning","message":{"text":"main.setupEKSReconcilersAndWebhooks (cognitive 19): main.setupEKSReconcilersAndWebhooks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 1 (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":"main.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96339a28e15b09fa180b8e59070931120899b8e1d9f30be4818f74c9a5a6b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"asg.ReconcileLifecycleHooks (cognitive 19): asg.ReconcileLifecycleHooks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/lifecyclehook.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e8f139a76137b1a619cb3117656686204db4e64869e26ed0f481379a6e064e"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ReconcileBastion (cognitive 19): Service.ReconcileBastion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (19 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/bastion.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b369d0864ec757988f46d1c5ee9a90c88807dd9ec695a5b2f6b863f69c3a8eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileControlPlaneIAMRole (cognitive 19): Service.reconcileControlPlaneIAMRole has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd4ee86468542d92d39fc374a88b31f2835e41256747f6cc4867e5cae839b8f"}},{"ruleId":"D2","level":"warning","message":{"text":"NodegroupService.reconcileNodegroupVersion (cognitive 19): NodegroupService.reconcileNodegroupVersion has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40b36dc9f6c0c49f050424d59793a337726f42ac1920beabbab08ec310e2211"}},{"ruleId":"D2","level":"warning","message":{"text":"ocmrole.GetOrCreateOCMRole (cognitive 19): ocmrole.GetOrCreateOCMRole has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"968cd5e37e4b8da8c4156fcec4dafa7a87c1dbb2ab958eccb8ab0254db113e04"}},{"ruleId":"D2","level":"warning","message":{"text":"ami.assertNoDuplicateFlags (cognitive 19): ami.assertNoDuplicateFlags has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4404128613f2a9ff4a23d74b7bdb667e6d83c87f6834e9f42b7c28d66ba9234"}},{"ruleId":"D2","level":"warning","message":{"text":"EKSConfigReconciler.Reconcile (cognitive 18): EKSConfigReconciler.Reconcile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bab556a70f333375685676d6c804aa050388be1a7ee2e08d362e1b5f68f6b53"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeadmConfigReconciler.Reconcile (cognitive 18): NodeadmConfigReconciler.Reconcile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1407c1a495992c674362eacea1dcca7f4d6040b2c66d487baaf164ca1a18291"}},{"ruleId":"D2","level":"warning","message":{"text":"addons.listAvailableAddons (cognitive 18): addons.listAvailableAddons has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 7 (8 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb3600f0603127294d9e61e9a4e71d271368b02223c719ecacb2a54ae524050"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSClusterReconciler.reconcileNormal (cognitive 18): AWSClusterReconciler.reconcileNormal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awscluster_controller.go"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a350a58cf63c7388cfbb077b8292148cc2e315aa440d443db114fc7d1fa6bdc"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineReconciler.Reconcile (cognitive 18): AWSMachineReconciler.Reconcile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: 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":"controllers/awsmachine_controller.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"19912073e0d589b4364adbe1c027da0b6d02fcf9ba320c91dcea4bbd60c1679a"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlane.validatePodIdentityAssociations (cognitive 18): AWSManagedControlPlane.validatePodIdentityAssociations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8098c9eaa09dc439ddb1dcabe9b17d41ed5dcfdfdb4aea28995171cb6e2cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileAccessEntries (cognitive 18): Service.reconcileAccessEntries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/accessentry.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f709bbda3f1c16e66e64add01ae04a95ad250e55af1d5be7b0aa3c0e4a5e997b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcilePodIdentityAssociations (cognitive 18): Service.reconcilePodIdentityAssociations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/pod_identities.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f7c7db1947833616ed3ce8a187699f4077877b9ce820514ba76ae66261bc4f"}},{"ruleId":"D2","level":"warning","message":{"text":"FargateService.reconcileFargateIAMRole (cognitive 18): FargateService.reconcileFargateIAMRole has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a949a238a0f1a43a4759b144648ef93130b04787196bdbd7ee58fac597d3bfb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.filterProviderOwnedLB (cognitive 18): Service.filterProviderOwnedLB has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Service.filterProviderOwnedLBV2) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/loadbalancer.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73d381226982cc9ead75b087f38ee9b4192759805a06e6654046fcb9232a9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.filterProviderOwnedLBV2 (cognitive 18): Service.filterProviderOwnedLBV2 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Service.filterProviderOwnedLB) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/loadbalancer.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e716e42bc9fbe8545115f249576b7752875d9fcc64bad3b6f0147fa06f8c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"boilerplate.get_files (cognitive 18): boilerplate.get_files has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/boilerplate/boilerplate.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafb0ed75571b87ca0601ba70c06f021c809fe7334f27b6d4c4af892130bbd74"}},{"ruleId":"D2","level":"warning","message":{"text":"EKSConfigReconciler.joinWorker (cognitive 17): EKSConfigReconciler.joinWorker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 4, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1c0c5d00648c2e35ab87dd761daccb548132929fcffa99d10d49f63c80e122"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSManagedControlPlaneReconciler.Reconcile (cognitive 17): AWSManagedControlPlaneReconciler.Reconcile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea546a313e230e2f750bd7995c949d8eaee78869f9b1a2c54a06c6e7f5ea274"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.deleteOrphanedAWSMachines (cognitive 17): controllers.deleteOrphanedAWSMachines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_machines.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1d4027c2f0f0a33f20d7c03d4eecb4d310fce72aca2bf1e9cffe8d6c9dd1f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAOCMRoleConfigReconciler.reconcileOCMRole (cognitive 17): ROSAOCMRoleConfigReconciler.reconcileOCMRole has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ee3646f5ac1dbc703557ca5cf8301aec04dffd5f3bb44d7245825f733a0e61"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createLaunchTemplateData (cognitive 17): Service.createLaunchTemplateData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48524dbc3815d2b7888e54f0f14226c61f051cbd0aeb6de86fe447463e497ee"}},{"ruleId":"D2","level":"warning","message":{"text":"eks.getASGTagUpdates (cognitive 17): eks.getASGTagUpdates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/tags.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"11990ea19cca575aa931c7a025d48777f8aa3b205a4ca68766671186d3d40d69"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getManagedAccessEntries (cognitive 17): Service.getManagedAccessEntries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/accessentry.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b37db36b937bf12a2292f46fdc84724b5f3677a2633417d9a4c08764577206c"}},{"ruleId":"D2","level":"warning","message":{"text":"NodegroupService.reconcileNodegroupConfig (cognitive 17): NodegroupService.reconcileNodegroupConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7d7d6f6434f56e1ccdef324736dabf31cc2d412784d28adc958e719d2ac12"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createTargetGroup (cognitive 17): Service.createTargetGroup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61d127e1fca2df785f6a3f11d2354f9e692dd773d93d4a245aed8e62cca1d71"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.describeSecurityGroupOverridesByID (cognitive 17): Service.describeSecurityGroupOverridesByID has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"943256ae6ae5927e4e889b27932859b101b12b6bd0ba18e4688c9366d1b619f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.processIngressRulesSGs (cognitive 17): Service.processIngressRulesSGs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade9822790af04f2157a84121e354eb19cc49ae712d0d737119ca17902cf6a06"}},{"ruleId":"D2","level":"warning","message":{"text":"plan.Create (cognitive 17): plan.Create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/addons/plan.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b142ec4efa7b509d5a3ffac3b75320013f6297443f93b49e730c1a542ef0cd"}},{"ruleId":"D2","level":"warning","message":{"text":"ocmrole.createRole (cognitive 17): ocmrole.createRole has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"79016992ecb9a5f66d6e381082d00a0bb3d2cc7f18847cee89b00d47f6fd02ea"}},{"ruleId":"D2","level":"warning","message":{"text":"IngressRule.Equals (cognitive 16): IngressRule.Equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, boolean chains 2, match/switch 1 (nesting depth added 3). 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":"api/v1beta1/network_types.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"88732a725474c43d6bee7f981c46736dfaaeb8d04196cb0d0ce12bd2d4fff2b3"}},{"ruleId":"D2","level":"warning","message":{"text":"IngressRule.Equals (cognitive 16): IngressRule.Equals has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, boolean chains 2, match/switch 1 (nesting depth added 3). 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":"api/v1beta2/network_types.go"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c8d6ae9bddce3db3807746a139d80aeadb339c6bceefa1f009d075dc819478"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineReconciler.securityGroupsChanged (cognitive 16): AWSMachineReconciler.securityGroupsChanged has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 6 (7 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":"controllers/awsmachine_security_groups.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef5d5bff979c25ed4ba80d38711cd6d5c95a568570383a373e118d760411f3"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachineTemplateReconciler.getKubernetesVersion (cognitive 16): AWSMachineTemplateReconciler.getKubernetesVersion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 3 (nesting depth added 3). 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":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"957a7c048c94e0edb2276c86ffa03f3af716bc87e68a7e8f8cda14720488ed3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSAControlPlane.validateRosaRoleConfig (cognitive 16): ROSAControlPlane.validateRosaRoleConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef6c84e9934eb65d3b24f2f40bb5b9473a2551b2626de5c12b19924d3a14071"}},{"ruleId":"D2","level":"warning","message":{"text":"AWSMachinePool.ConvertTo (cognitive 16): AWSMachinePool.ConvertTo has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2eb17e82acd11b29ba5d993c3b774f4b7cbd8415448a86f42fbaa2ac65ad7"}},{"ruleId":"D2","level":"warning","message":{"text":"controllers.createAWSMachinesIfNotExists (cognitive 16): controllers.createAWSMachinesIfNotExists has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_machines.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd094b44e8f9b3119b1ec7bd5312ea340ddaeab49e6f9317a452001f3429970"}},{"ruleId":"D2","level":"warning","message":{"text":"ROSARoleConfigReconciler.reconcileOIDC (cognitive 16): ROSARoleConfigReconciler.reconcileOIDC has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaroleconfig_controller.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"685460cdf039c0ff68c6d67e491f18dbd597a90af5887d4685820f83b32c599b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.SDKToAutoScalingGroup (cognitive 16): Service.SDKToAutoScalingGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, loops 3 (6 pts), match/switch 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa604b6402a078d44d92dc13b2b23e5540bea0cc71bfe2b9fa3419bd4afb0817"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.SubnetIDs (cognitive 16): Service.SubnetIDs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"486fee781becf7a75c75c7acdb4b1df4cc475cf8b6d1d067cb19f193d37f7a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.eksAMILookup (cognitive 16): Service.eksAMILookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/ami.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf7addee601117c805837510e36b1bcae1dcb4e70b57ff91c141d796c553bca"}},{"ruleId":"D2","level":"warning","message":{"text":"eks.clusterUpdatingStateRetryable (cognitive 16): eks.clusterUpdatingStateRetryable has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (16 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a24f8a30cd8e969456eb58884b9240149286b2750d0c274f3d36b286e0d4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"IAMService.EnsurePoliciesAttached (cognitive 16): IAMService.EnsurePoliciesAttached has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d162e5396aa7dcdc47f6585aef9422b40435c4ce6df8f9c28a787801b4d17"}},{"ruleId":"D2","level":"warning","message":{"text":"IAMService.FindAndVerifyOIDCProvider (cognitive 16): IAMService.FindAndVerifyOIDCProvider has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 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":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6236dd9b49ed5e48995771ff52bfc194416311a43e15d5ce61a80a35b8eb40"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileAccessPolicies (cognitive 16): Service.reconcileAccessPolicies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/accessentry.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bdca1ac1a793e1a7feb747ef572021301466c5a85377dc03fdd5ad183476e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.updatePodIdentityAssociation (cognitive 16): Service.updatePodIdentityAssociation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/pod_identities.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4221f1cd40711872b182b825235e0fdcf14697bbc4aa8cc376d89f1ed7c6b473"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.ReconcileLoadbalancers (cognitive 16): Service.ReconcileLoadbalancers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2208f352dfaf3b4674e20642cf1b4533380d4a31d862a9d3629dbbf48331ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.filterByOwnedTag (cognitive 16): Service.filterByOwnedTag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b86ed628840e62a905db20bb3717c1cbc59d04a7b48faa36754e26f70b7b17c"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.reconcileNatGateways (cognitive 16): Service.reconcileNatGateways has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), 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":"pkg/cloud/services/network/natgateways.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"69002e2e5ec78e9c140e8a4d39c63f8b951f9436e84b32c0245b4452b54ae274"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.getNatGatewayForSubnet (cognitive 16): Service.getNatGatewayForSubnet has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/natgateways.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac615ea1cd9c2c17f4b43b05e78fc6b782fa721c51e56bb5ce94b59257e728d"}},{"ruleId":"D2","level":"warning","message":{"text":"ami.FindMissingAMIs (cognitive 16): ami.FindMissingAMIs has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 1 (5 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/find_missing_ami.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb3898b9a9a3aff27a4b354fda48c4e2a1f96fbfc843bb6608689e0a61f970"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 83 methods, declared across 12 files: network/routetables.go (18), network/eips.go (13), network/vpc.go (12), network/subnets.go (10), \u002B8 more file(s). The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/service.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"542e23aa960e5a19abbfed954e45960b554a39d2d9422420e87b2ae3c241f748"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: elb/loadbalancer.go: FileTooLong \u2014 1207 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Service (44 blocks, 75-1897). The bar is 500 significant lines; this is 707 over it, 2.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b463b7f5ae3654813a1ecc9d8d97039b366de84917e3006d2142f294992f375f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 64 methods, declared across 7 files: ec2/instances.go (27), ec2/launchtemplate.go (18), ec2/dedicatedhosts.go (7), ec2/ami.go (4), \u002B3 more file(s). The bar is 30 methods; this is 34 over it, 2.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/service.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e81902a6b7a5ed538dcd052501fef331bf5dac914dbe34ead7f727ee9265fa0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/rosacontrolplane_controller.go: FileTooLong \u2014 1052 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: ROSAControlPlaneReconciler (22 blocks, 104-1714). The bar is 500 significant lines; this is 552 over it, 2.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f7509c830a3ab6e2c62534fab8d28f7ced20d8c8736e55dd67327d3136fa17"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManagedControlPlaneScope: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managedcontrolplane.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6ca29cf2f4eb3ad44ebc549fb07b14054c01584be15f138304c4dcc7207275"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AWSMachineReconciler: ClassTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods, 33 blocks, lines 87-1390. The bar is 400 significant lines; this is 361 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb901ca8bebf1a79c4580dcd21e17c0135ce6cc957262f73918d313992670d67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ROSAControlPlaneReconciler: ClassTooLong \u2014 741 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods, 22 blocks, lines 104-1714. The bar is 400 significant lines; this is 341 over it, 1.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"00793442feb1715968c22265ee0f87214e6df5d362eaa8fa4edd359b6584a6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 55 methods, declared across 11 files: eks/cluster.go (16), eks/accessentry.go (8), eks/config.go (8), eks/addons.go (5), \u002B7 more file(s). The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/service.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"559cc44daa68acbcd989305a61ea0bb849a392da2a0e2a41f8d5f56d5292fe9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ec2/instances.go: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: Service (27 blocks, 53-1566). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f036558081399986622a5d0b7f75663de331345505a92c4e1aa082d85001d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: controllers/awsmachine_controller.go: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: AWSMachineReconciler (33 blocks, 87-1390). The bar is 500 significant lines; this is 322 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03b6e335345cc474ee6a750f2ad309f702d2735cf523983b103b1adfb854877"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterScope: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd477b9cceca7b3b8ea57289a100641f574e24d5c56fe3894f751c1439b9ca0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: main.main: FunctionTooLong \u2014 main runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"069abe2a607fdba67ddfbf8a80105ae92b16906d22cadf6ffd75bdf24fcab79e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.ReconcileLaunchTemplate: MethodTooLong \u2014 ReconcileLaunchTemplate runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d902741ca23f677a598f972436b1f6a9fffe57b089ebfff0495be71c8c4518f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Service: TooManyMethods \u2014 45 methods, declared across 2 files: elb/loadbalancer.go (44), elb/eip.go (1). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/service.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b2d901777c012d84e7c74c36597d263feb2cf092858c496c8afcdd8da8ceb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ec2/launchtemplate.go: FileTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: Service (18 blocks, 68-1253). The bar is 500 significant lines; this is 218 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca46fe79e5033c46922a39b9d239b9a7ca55163267a776f0845bff9673d28db2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MachineScope: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2533a96681ddd8365f0ce1b220ec2cdc74661f532d8317728cf8fb37b0da3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AWSMachineReconciler: TooManyMethods \u2014 41 methods, declared across 4 files: controllers/awsmachine_controller.go (32), controllers/awsmachine_annotations.go (4), controllers/awsmachine_tags.go (3), controllers/awsmachine_security_groups.go (2). The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"51431817bef445cbbfaeb6e6c157436cc82c30a7a446b739082379cb4e68533f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManagedMachinePoolScope: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managednodegroup.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef3d81ef52c3e78f27abdd73d14418f4d79de221511901f31d0fedda3de57d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Template.ControllersPolicyEKS: MethodTooLong \u2014 ControllersPolicyEKS runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_controller.go"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1530b32a825e340693bc07ed4d853608ed4568b8815d52aee737ceebed55d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.CreateInstance: MethodTooLong \u2014 CreateInstance runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f2c8b6759432d3fd3f7b635e3f3ab5ae81f1249946e3465cbcaf1a5fcacf70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.getSecurityGroupIngressRules: MethodTooLong \u2014 getSecurityGroupIngressRules runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dced408859c99a347bdd3bad3005935c8cf3b8558ce0026240110fd5168a530f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AWSMachineReconciler.reconcileNormal: MethodTooLong \u2014 reconcileNormal runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b52ab1ebd024e4883e9aa1d16559490a27512da8ccedf89a9b7303a33ccd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: securitygroup/securitygroups.go: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: Service (25 blocks, 60-1080). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8638a72cb02f10b461d0c2add65416a8cff6ee2c9e6bcd210f6ee552fc2b658"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RosaControlPlaneSpec: TooManyFields \u2014 38 stored fields. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/api/v1beta2/rosacontrolplane_types.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd0b0dd9226b784588777d95448b0f201b3d3c7156460155224463c033e0623"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.createSubnet: MethodTooLong \u2014 createSubnet runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a32c3dbbb8db1cba2b676012a47ea43d2c0f15b242fb1dd0e6916c3fafb295c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eks/cluster.go: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded), about 66% of them inside a single declaration: Service (16 blocks, 49-923). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e92d237876ff6bd087d6c63c7346b330933bb1b6cb14a5129a9cf472683dd9d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AWSMachineSpec: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/awsmachine_types.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1786120150e66a5242b199b39fd83d984ddc931828a840181a9569bf25d863"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Instance: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/types.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebad2f5fd23d39d79a37386cd3eecfde836a48f5d6d10833ef8f69215e8ddb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AWSManagedControlPlaneSpec: TooManyFields \u2014 35 stored fields beside 1 method. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cbb9077ed2890ff69851d96da561a4ed68597cbd2b1a9da03b31f0adabcacc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ROSAControlPlaneReconciler.reconcileNormal: MethodTooLong \u2014 reconcileNormal runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f31b51e8fbc60f5acde9872b7d02d00911721290ed052d841cafd631a24040"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.reconcileSubnets: MethodTooLong \u2014 reconcileSubnets runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c2c155a8e21c97e37f5790f3fa9f21e72083d1eac6050da33114c096ee3009"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: controllers.buildOCMClusterSpec: FunctionTooLong \u2014 buildOCMClusterSpec runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"404b297630b5063d0038ab2fc31afcdfacfe3c6625054f6effd01eef30a55626"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AWSMachinePoolReconciler.reconcileNormal: MethodTooLong \u2014 reconcileNormal runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f779f337ffe70a10ad7475f261e4921c7ac40978fe76cd9bebb63939d23bcd9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Service.runInstance: MethodTooLong \u2014 runInstance runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ede5a4391fed0d8214db550ca9035c3a8c87a47ec3da1d50c02c0be36985d08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Template: TooManyMethods \u2014 32 methods, declared across 13 files: bootstrap/cluster_api_controller.go (7), bootstrap/cluster_api_node.go (5), bootstrap/user.go (3), bootstrap/cloud_provider_integration_control_plane.go (2), \u002B9 more file(s). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/template.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad191b829860dc3fcf26b50c3ad873f51a7b2aa910463aeae9ac49486912c506"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MachinePoolScope: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c9c342b4a1e1dcd2fd8c64fba1175a364412deb27800faa5102c179b8e6c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ocmclient: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. Most of these members implement rosa.OCMClient (32 of 32 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmclient.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bfa280e149d2eb408a78e91abb49be6ab6167539b3a1a2609644e5bb0c69dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./main.go: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\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":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367dc72a53962fe923665b5f483bdf960dd96563665569b62006d8b926042e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Template.ControllersPolicy: MethodTooLong \u2014 ControllersPolicy runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_controller.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0353c6eaad221ef0de9af329efdb0a8cc53aa774004391ec3fdbf288e5d325a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Template.RenderCloudFormation: MethodTooLong \u2014 RenderCloudFormation runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/template.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"095814bbf22196cb62a64fcee8868ad442b14146987fae44f2ed5e54ac54be72"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): bootstrap/eks/controllers/eksconfig_controller.go:73-152 | bootstrap/eks/controllers/nodeadmconfig_controller.go:70-149 \u2014 These two members are variants of one another: 36 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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"234f6764d3ba4dd74149dd8158d7fcda9500ec1276b0bdd8829a2a53b6f1b4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (23 shared lines): pkg/cloud/services/elb/loadbalancer.go:740-786 | pkg/cloud/services/elb/loadbalancer.go:853-893 \u2014 These two members are variants of one another: 23 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":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e13e9c3619b7bf353af48d2bc6bbcae966b4322324fae385cbc1a4b85052e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): controlplane/rosa/controllers/rosacontrolplane_controller.go:116-176 | exp/controllers/rosamachinepool_controller.go:56-108 | exp/controllers/rosanetwork_controller.go:326-363 | exp/controllers/rosaocmroleconfig_controller.go:63-102 | exp/controllers/rosaroleconfig_controller.go:76-115 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f70fa3eca1cffadd2cce9c7cded95ffbe6c6a875d17efa6228f0f3d82a7c83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): controllers/awsmanagedcluster_controller.go:118-151 | controllers/rosacluster_controller.go:153-186 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:168-197 | controlplane/rosa/controllers/rosacontrolplane_controller.go:116-176 \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":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce68f16d5f197e75f32f7c36b1d99f87b4e3358bb4e80a7563391e397482d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:86-125 | controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:128-206 | controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:57-88 | controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:91-166 \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":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"842bbe80449b39ce7605c25a4a75c4fa891bd493861eb098d45d93c10b50f7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/cloud/converters/tags.go:115-131 | pkg/cloud/converters/tags.go:134-150 | pkg/cloud/converters/tags.go:153-169 | pkg/cloud/converters/tags.go:183-199 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/tags.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0fd5d7caad6cca868b8f63ec419e47b39cf8965d24fc9432b2b3ff5d0e30bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/cloud/services/network/egress_only_gateways.go:176-187 | pkg/cloud/services/network/gateways.go:173-184 | pkg/cloud/services/network/natgateways.go:245-256 | pkg/cloud/services/network/vpc.go:668-679 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/egress_only_gateways.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4446446d9494f92faabc70703c17fbb4684df1a19d45d02de3d8924ce03ec285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): controlplane/eks/api/v1beta1/conversion.go:28-130 | controlplane/eks/api/v1beta1/conversion.go:133-220 \u2014 These two members are one piece of code written twice and then edited apart: 88 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":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5ffd55d0ce3992f986ab28fe29272f8f062f174ef0c084c9bfa51be8013f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): exp/controllers/awsmanagedmachinepool_controller.go:96-195 | exp/controllers/rosamachinepool_controller.go:118-227 \u2014 These two members are one piece of code written twice and then edited apart: 100 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":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b067894422b0600588212c79f629b4e8d09a433fc26d1803a55c11c595effe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (95 corresponding lines): controllers/awsmachine_controller.go:165-259 | exp/controllers/awsmachinepool_controller.go:124-229 \u2014 These two members are one piece of code written twice and then edited apart: 95 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":"controllers/awsmachine_controller.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b607a2a916e35efb42796b7f0d3902d501b7c752daa8d82b5258f3e0917dbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): cmd/clusterawsadm/cmd/eks/addons/list_available.go:55-135 | cmd/clusterawsadm/cmd/eks/addons/list_installed.go:55-139 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b426c65cd1978da4788d7e591693e07df09469f3fe6f1786a92d59679ecce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): pkg/cloud/services/eks/roles.go:173-244 | pkg/cloud/services/eks/roles.go:295-356 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58b572da0d2a88f854044d82dcfc335246d23d60adf26617d856039c7e453c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:563-614 | pkg/cloud/services/elb/loadbalancer.go:1547-1596 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda86a8d47797b62c8423afa81162758dd5778454456e4104d7b2b448621ce8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): pkg/cloud/services/s3/s3.go:192-240 | pkg/cloud/services/s3/s3.go:243-291 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/s3/s3.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3896637b5248c6f866113dbd74e90c63cba87ab7a5939df087c98656d171e32d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (285 corresponding lines): controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go:27-311 | controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go:27-464 \u2014 These two members are one piece of code written twice and then edited apart: 285 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":"controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a424baa9c32efbc1808e7e5efcea60f63806eae977d0560ccca76f89ac975d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): pkg/cloud/services/network/carriergateways.go:39-83 | pkg/cloud/services/network/egress_only_gateways.go:39-84 | pkg/cloud/services/network/gateways.go:39-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/carriergateways.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98bf410e7cbeb2962bde9efb598f1d239adf77c571d428076adbe13cb7ff0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): pkg/cloud/services/network/vpc.go:569-618 | pkg/cloud/services/network/vpc.go:622-666 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d89e45cc3294a071c93798b37a347a72bc05b5e54bb528ea36d5aa4cf7822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): controllers/awsmachine_controller.go:1278-1337 | exp/controllers/awsmachinepool_controller.go:766-824 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"controllers/awsmachine_controller.go"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fa96a77b4c5c9f77b75d626f2a50bb9c9792f8bb8b9a686f5e5fd662a67362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): pkg/cloud/services/eks/roles.go:246-293 | pkg/cloud/services/eks/roles.go:358-400 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"09137dfa791359a404ce970cf45a305cc9593de41d725f17792de0a01a1db49d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): pkg/cloud/services/eks/config.go:115-165 | pkg/cloud/services/eks/config.go:167-218 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/config.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba80fd36c9e13e3cfa321222fb4d126485a6b222694bf3b055c4ac45a999d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): cmd/clusterawsadm/cmd/ami/common/copy.go:33-102 | cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go:37-123 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"cmd/clusterawsadm/cmd/ami/common/copy.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a71fb80f1b8ae65397cf8c400e602fad4c422266809fbcf31dfe77442d84e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:1628-1666 | pkg/cloud/services/elb/loadbalancer.go:1668-1706 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f4af2b951c17bc2ec2321adea984708ed9e8e6187ab8560e81a75db22030b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): controlplane/rosa/webhooks/rosacontrolplane_webhook.go:54-104 | controlplane/rosa/webhooks/rosacontrolplane_webhook.go:119-165 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed89cf3d26cdd59ff0e0858d95b4fde28d19c4adac401ec5deec412dadf4e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (155 corresponding lines): api/v1beta1/conditions_consts.go:21-175 | api/v1beta2/conditions_consts.go:21-201 \u2014 These two members are one piece of code written twice and then edited apart: 155 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":"api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab1ff02a100411fdbaf0017dc073dde11e1208967f964ddd4fe3ef572b90381"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): api/v1beta1/network_types.go:511-570 | api/v1beta2/network_types.go:1086-1145 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"api/v1beta1/network_types.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9302363e11352537599fc72ae60062b6d15ee886d47f0ddfcf3d6afe723129a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 55\u002B corresponding lines): cmd/clusterawsadm/cmd/gc/configure.go:30-86 | cmd/clusterawsadm/cmd/gc/disable.go:30-84 | cmd/clusterawsadm/cmd/gc/enable.go:30-85 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 55 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":"cmd/clusterawsadm/cmd/gc/configure.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4f6ac7668369e4c09acd362bc64e1fb4fc9752a1dbe88d47fb9b511ab461d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): bootstrap/eks/api/v1beta1/conversion.go:28-69 | bootstrap/eks/api/v1beta1/conversion.go:97-136 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"bootstrap/eks/api/v1beta1/conversion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"757fc99bef2668a2f542a9ec3bca92101ca3b5115c35f4b04001297ca586999f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): hack/tools/ami/delete_amis.py:99-141 | hack/tools/ami/list_amis.py:62-97 \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":"hack/tools/ami/delete_amis.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"282c4c879323ca2167be76cc34bd319d835fdbb3983036dfd1764293fa9d4498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): exp/webhooks/awsmanagedmachinepool_webhook.go:152-192 | exp/webhooks/awsmanagedmachinepool_webhook.go:195-235 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe11865d95bdfa44301d58897d10e21005cf230623b0149ef7ca4dc950fec2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): bootstrap/eks/controllers/eksconfig_controller.go:299-333 | bootstrap/eks/controllers/nodeadmconfig_controller.go:289-325 \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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7568526683c2070a78c477c58e4d5f7c667becf71b158e5a75cfc868c5a1245e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go:50-94 | cmd/clusterawsadm/api/bootstrap/v1beta1/defaults.go:61-109 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2fee17cc5da4706050a6888fcda8be72ccf1643c6948fee641de241a636793"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/cloud/services/secretsmanager/secret.go:55-87 | pkg/cloud/services/ssm/secret.go:56-95 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"de61105a43c2fae95ccbb681470d4e3f75f053a586dcb6ea54babad06c861821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): bootstrap/eks/controllers/eksconfig_controller.go:263-295 | bootstrap/eks/controllers/nodeadmconfig_controller.go:366-397 \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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b6f3fc4e330efeec854a794c5446c1116b1056b61463eff96694601c4ab70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): webhooks/awsmachine_webhook.go:489-520 | webhooks/awsmachine_webhook.go:539-580 | webhooks/awsmachinetemplate_webhook.go:176-213 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"259e9b5dbfb264c636e0fe34d6730bad0144f14aa77b991055243a199f5339f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:72-125 | cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:127-172 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd634c3439a435b79107254f6c6f58b61dd801822e70e9bb0b7949c8218a9faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (178 corresponding lines): cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:29-206 | cmd/clusterawsadm/api/bootstrap/v1beta1/types.go:29-238 \u2014 These two members are one piece of code written twice and then edited apart: 178 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":"cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"62110447de287e22cc9a716708742c94cc420e489a4955c7f452b33385c8b11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): bootstrap/eks/controllers/eksconfig_controller.go:371-401 | bootstrap/eks/controllers/nodeadmconfig_controller.go:437-468 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7edaf47f8cb8f7d4c40f5e28178f9193390a54c457ac7fcc5780b27a470c803"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): exp/webhooks/awsmachinepool_webhook.go:195-227 | webhooks/awsmachine_webhook.go:69-90 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3220258733a5736cd8485d8375a75c1527b4ccb43f48c766709350c1388999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): exp/controllers/rosaocmroleconfig_controller.go:384-422 | exp/controllers/rosaroleconfig_controller.go:547-584 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df43f52e818940f4022cd994ab89daeb8661aff9ac12bfac3cd1fbcc4ed7507"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pkg/cloud/services/network/carriergateways.go:85-111 | pkg/cloud/services/network/egress_only_gateways.go:86-119 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/carriergateways.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f39d00d7a4ff41c77128e264c89936e9e193e6fcd907da4c987cefa3f3dbf74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): pkg/cloud/scope/cluster.go:56-94 | pkg/cloud/scope/managedcontrolplane.go:74-114 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3f1fd10429d92d4aedef239d2731f466a86c3feae0a49de79a3345ef00245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): exp/controllers/awsfargatepool_controller.go:182-223 | exp/controllers/rosamachinepool_controller.go:671-709 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsfargatepool_controller.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc115253f4d509d0bd8f4544183cfa505eb37c17678f57a78e92575db38bd959"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): pkg/cloud/scope/machine.go:54-89 | pkg/cloud/scope/machinepool.go:80-122 \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":"pkg/cloud/scope/machine.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5343d6f95c446da8974d0420a4c03d979ed00532f7061d024cdc46608750b330"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): exp/webhooks/awsmachinepool_webhook.go:66-92 | webhooks/awsmachine_webhook.go:343-369 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5950690f79ab23447e9db22bc28b81ee45c717b4b6debd9ba1b8fcac11eb774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pkg/cloud/services/eks/cluster.go:569-606 | pkg/cloud/services/eks/cluster.go:652-679 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244afb3dc48376ea088d3be2cca6078da48ecb83bf6af918637d0dffb7a88da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/cloud/services/instancestate/rule.go:180-212 | pkg/cloud/services/instancestate/rule.go:216-255 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f8ed8bc24de9ca67ac00a091f21439161f6228cf8c87c5ceaf8a572a8ea1dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 39\u002B corresponding lines): controllers/awsmanagedcluster_controller.go:153-198 | controllers/rosacluster_controller.go:188-233 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:515-553 | controlplane/rosa/controllers/rosacontrolplane_controller.go:1676-1714 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 39 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":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f136dd09dc2f951d421e14aa373421991954846d75ef213bf8ad158794674076"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:125-157 | pkg/cloud/services/elb/loadbalancer.go:619-653 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a640f923e40459c3184e28bfe8e1b2841dd66af74fd831c8ae9125257757f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): cmd/clusterawsadm/cloudformation/service/service.go:77-108 | cmd/clusterawsadm/cloudformation/service/service.go:111-137 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7649e6483adc1acf7905057b4873d18dff187a9bd2e831624c3979e3714782be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): pkg/cloud/services/gc/loadbalancer.go:211-237 | pkg/cloud/services/gc/loadbalancer.go:240-265 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/loadbalancer.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f417950aa7a8a077fa0e727a7ed08fd495043d75ea1f4419523c22e298f58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): webhooks/awsmachine_webhook.go:174-194 | webhooks/awsmachinetemplate_webhook.go:120-141 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6901aa758a792f40d4e6fb4f0935620cefdaf235014c5abe7bb800088e66ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/clusterawsadm/cloudformation/service/service.go:139-159 | cmd/clusterawsadm/cloudformation/service/service.go:161-180 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cd2d6c6f31127358473b3921d3fcf5f021cb3be8d401ca0c8a5cb9fa20fd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): controllers/awsmachine_controller.go:1096-1118 | controllers/awsmachine_controller.go:1152-1174 | controllers/awsmachine_controller.go:1176-1200 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 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":"controllers/awsmachine_controller.go"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"003332f9f0c6db5bb2a4f53ac52a1b88f8c544038aec11cd0449c98c7b76cfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): webhooks/awsclustercontrolleridentity_webhook.go:84-113 | webhooks/awsclusterroleidentity_webhook.go:81-107 | webhooks/awsclusterstaticidentity_webhook.go:76-101 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272702252f415c31abd05da7ab8c00b67f4e178048a67d7127c6edca2561008"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): pkg/cloud/services/iamauth/crd.go:35-69 | pkg/cloud/services/iamauth/crd.go:71-105 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/crd.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d2c4a9f45963ef90d406963f1fe71c12b96bccca47716cd15992dfa770df26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): pkg/cloud/scope/machine.go:283-300 | pkg/cloud/scope/machinepool.go:141-159 | pkg/cloud/scope/managednodegroup.go:345-363 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ffd3daec0f3456bc7a004574950deaf969d7a4e70cea190a2c4b3f2a6cbd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): pkg/cloud/services/ec2/instances.go:775-803 | pkg/cloud/services/ec2/launchtemplate.go:732-760 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e12afad2b0cab11486daf58f2fa51dbc0972195d3fbf704a0b06ef21eb371b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): pkg/cloud/scope/rosacontrolplane.go:50-86 | pkg/cloud/scope/rosanetwork.go:56-85 | pkg/cloud/scope/rosaocmroleconfig.go:59-91 | pkg/cloud/scope/rosaroleconfig.go:59-91 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosacontrolplane.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"213098f005c31ba223bff5a3d4579a5421130c275fc2d725ec00f98f93d5ab16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pkg/cloud/services/network/carriergateways.go:130-146 | pkg/cloud/services/network/gateways.go:155-171 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/carriergateways.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4de418ba81af1524f4116de28580eb48564440489300212b67268430dc310f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): bootstrap/eks/controllers/eksconfig_controller.go:404-428 | bootstrap/eks/controllers/nodeadmconfig_controller.go:327-351 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f056d0af6f8c0e262116c6fb315e1d8b656667e3314e2eae7b4d713bd42efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/cloud/services/network/routetables.go:246-264 | pkg/cloud/services/network/subnets.go:499-518 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/routetables.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c8f671535065c64751f5e2a090c469869948d7483c2cf0650a44fb2ca56635"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): exp/webhooks/awsmachinepool_webhook.go:94-117 | webhooks/awsmachine_webhook.go:424-447 | webhooks/awsmachinetemplate_webhook.go:51-78 | webhooks/awsmachinetemplate_webhook.go:80-105 \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":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0941b6b6a2e936ce813ec7af7740fb316964e70c5c7f6756b7f23c6e5f3d968e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/cloud/services/securitygroup/securitygroups.go:996-1016 | pkg/cloud/services/securitygroup/securitygroups.go:1018-1038 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcc6908ee202524d778e1783cd5abb4077151e76e82a51fab71836e866ce216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/cloud/services/eks/cluster.go:546-567 | pkg/cloud/services/eks/nodegroup.go:630-652 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43602ed6be3d1ef86bc045984493839cb341e29e312dd107799e5b146d22c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): pkg/cloud/services/securitygroup/securitygroups.go:498-511 | pkg/cloud/services/securitygroup/securitygroups.go:513-527 | pkg/cloud/services/securitygroup/securitygroups.go:529-543 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59b311e15b7b8f4ff06b2267b5feec4fd0938cdbc1f570b0bbe5b7ab332e088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): exp/webhooks/awsmachinepool_webhook.go:268-293 | exp/webhooks/rosamachinepool_webhook.go:38-67 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd365c98adb747f6f28bee90a7e294e21b2c49dbfb2cde4813b89cf5d088a6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): pkg/cloud/scope/clients.go:63-84 | pkg/cloud/scope/clients.go:87-108 | pkg/cloud/scope/clients.go:111-132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/clients.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"448b137083bdaff9f6428863c8717aaecae14ee7eb9d8f4be5eced27e3871ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): cmd/clusterawsadm/cmd/eks/addons/list_available.go:33-53 | cmd/clusterawsadm/cmd/eks/addons/list_installed.go:33-53 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bed2bb79899c665865c11e6cc69a7e81a5ac11c1adfab3449c0f156a7f8d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pkg/cloud/services/eks/fargate.go:48-88 | pkg/cloud/services/eks/fargate.go:165-197 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a099d993bd412ffb7bde99d0afcfa36b9ff207495a90cd9c2825853cdf32c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/eks/addons/procedures.go:75-96 | pkg/eks/addons/procedures.go:145-171 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/addons/procedures.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"717276caf3a7f91ecf968fd58a6ff712cdcd095ad75fbd3426db39b91ea66443"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/eks/identityprovider/procedures.go:43-67 | pkg/eks/identityprovider/procedures.go:80-100 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/identityprovider/procedures.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf035562d9e65282721c1e4accb8e94b066c9a2c8ae302826055097bfa44428"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/cloud/services/eks/fargate.go:199-218 | pkg/cloud/services/eks/nodegroup.go:46-66 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e96df6f17a6312002350ec11c468e326171b60544c906d3cd0303c2175e5eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:34-70 | cmd/clusterawsadm/cmd/bootstrap/iam/config.go:31-64 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aa218f68809e450c2ac0a61c35f990bfd0bbfac4dce17cd654a37e8fe52adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): pkg/cloud/scope/clients.go:198-215 | pkg/cloud/scope/clients.go:240-255 | pkg/cloud/scope/clients.go:321-336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/clients.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebad6c118b31e5ad8ebb8d3b295ccade63f4b5e30cacf97f77ebb1983c8b6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/cloud/services/iamauth/reconcile.go:181-195 | pkg/cloud/services/iamauth/reconcile.go:197-211 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/reconcile.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"795d2cce39ad0a30a710abfac366301c23f9b5f2dbf202094688b59762a84fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): api/v1beta1/conversion.go:55-67 | api/v1beta1/conversion.go:69-81 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/conversion.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e907b7d86c7a7bae9753f9e159ea64f56a52adb9afa0f7ee0aa871ebdf9c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/cloud/services/awsnode/cni.go:172-186 | pkg/cloud/services/ec2/instances.go:532-554 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2e8aaf041a185e1c0043a010868568df1b3fd01cbcb91796c93b230f402f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): pkg/cloud/services/ec2/launchtemplate.go:521-545 | pkg/cloud/services/ec2/launchtemplate.go:819-836 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba1835a36a14144ff3d50ff55c43fd299b25759ec76e605f82099835fc6e33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): bootstrap/eks/controllers/eksconfig_controller.go:337-349 | bootstrap/eks/controllers/eksconfig_controller.go:353-367 | bootstrap/eks/controllers/nodeadmconfig_controller.go:401-414 | bootstrap/eks/controllers/nodeadmconfig_controller.go:418-433 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e6f88e06b9e341b96700e16071d747ee382054a2b62a426983952f6016a841"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): cmd/clusterawsadm/api/ami/v1beta1/types.go:62-99 | cmd/clusterawsadm/cmd/eks/addons/types.go:50-88 | cmd/clusterawsadm/cmd/eks/addons/types.go:117-167 | cmd/clusterawsadm/resource/type.go:39-80 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 38 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":"cmd/clusterawsadm/api/ami/v1beta1/types.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d86f52636cd57605197fb1ce9d4901e66a78e7fd32cb304cd0eba7295f7346"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (106 corresponding lines): exp/api/v1beta1/awsfargateprofile_types.go:32-137 | exp/api/v1beta2/awsfargateprofile_types.go:29-163 \u2014 These two members are one piece of code written twice and then edited apart: 106 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":"exp/api/v1beta1/awsfargateprofile_types.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f87a5558847044b591aebe7e555e2cbc00335cfaba76433888962eaf5a8376"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:1087-1110 | pkg/cloud/services/elb/loadbalancer.go:1113-1135 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb2f7ad3866b3d05e81637fcaeed52cece0c3975a668e7e5d581ed2a38c16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): webhooks/awsclustercontrolleridentity_webhook.go:55-76 | webhooks/awsclusterroleidentity_webhook.go:53-73 | webhooks/awsclusterstaticidentity_webhook.go:53-68 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7085600e0d9b3345f55cc6bddefffdaaa59a06d4e9660f0c5785ae67bf6f24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cloud/services/eks/service.go:119-139 | pkg/cloud/services/eks/service.go:154-167 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/service.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50a2a5b3a99a0f80cfcb18daa4773c611b82a5cb79e05e332e40ca9c821566e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): cmd/clusterawsadm/cmd/controller/credentials/update_credentials.go:28-63 | cmd/clusterawsadm/cmd/controller/credentials/zero_credentials.go:27-56 | cmd/clusterawsadm/cmd/controller/rollout/rollout.go:33-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/update_credentials.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7af74bcabf5db375530d2bd447b9d5e9f7a891b4d62f235b7fafdaaae1a78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): pkg/cloud/converters/tags.go:58-76 | pkg/cloud/services/autoscaling/autoscalinggroup.go:505-521 | pkg/cloud/services/eks/iam/iam.go:178-192 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/tags.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdd5f6aaa3ec3b0002bed0126fcc003f59d15291a1d1390154d6ab94ac40100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): pkg/cloud/scope/clients.go:45-60 | pkg/cloud/scope/clients.go:218-237 | pkg/cloud/scope/clients.go:258-273 | pkg/cloud/scope/clients.go:276-296 | pkg/cloud/scope/clients.go:299-318 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/clients.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"98840faeca9436d422f4356b667e181b0079cbe1efef2b4e03b653d0c5144b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/cloud/scope/clients.go:135-153 | pkg/cloud/scope/clients.go:156-174 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/clients.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a30295e47ae5bb4f1e30a59c1c44cb750ddfa422c700bafa5757dcceb0d1f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): pkg/cloud/services/iamauth/configmap.go:47-67 | pkg/cloud/services/iamauth/configmap.go:69-89 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/configmap.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"852dafc9974286ab9dbaa4ba1a82c6e61741bf6da5969b6401bef01811712786"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): cmd/clusterawsadm/cmd/bootstrap/iam/root.go:26-47 | cmd/clusterawsadm/cmd/controller/controller.go:29-50 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/root.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0c027fcd99e16ed1958727d372f8777ffd664279cbd3297873b99698bee15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): controllers/awsmachine_tags.go:42-67 | pkg/cloud/services/ec2/launchtemplate.go:347-374 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_tags.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7d6ef53c5400ae169ae39c0554a64cd4a03e645090c85700c1632d1bef064d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cloud/scope/machinepool.go:280-293 | pkg/cloud/scope/managednodegroup.go:217-230 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6e04a277d7420bb1217d2990b0030349b338166a553c555d3a6a086c4840ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): exp/controlleridentitycreator/awscontrolleridentity_controller.go:132-147 | exp/controllers/awsfargatepool_controller.go:53-64 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controlleridentitycreator/awscontrolleridentity_controller.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37aba5b09fb7ca3febe4ff07efb62aeed9f6490879cc156e698dde56e7e2865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): api/v1beta1/network_types.go:439-479 | api/v1beta2/network_types.go:997-1054 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbca1df77b1f8cf02442179d1cd0774c1bd59390f1a2df6bd065689de14d8fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): iam/api/v1beta1/types.go:112-124 | iam/api/v1beta1/types.go:133-145 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"iam/api/v1beta1/types.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b511d7de9731a4deddbddae5d3a9027b1d8fd7896ff5aa7bf9f8c14a093ff239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): controlplane/eks/api/v1beta1/conditions_consts.go:21-60 | controlplane/eks/api/v1beta2/conditions_consts.go:21-67 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"controlplane/eks/api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c958b2dcc361b823495e00a580587f793f2c37e53498e94c85e80129180cd981"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): exp/controllers/awsmachinepool_controller.go:708-722 | exp/controllers/awsmanagedmachinepool_controller.go:311-328 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"2700bf8bedddd4b29fbb0798cf298e680c1ae82c0eaaa2249d552e8a107fe99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): hack/tools/ami/delete_amis.py:11-40 | hack/tools/ami/list_amis.py:11-35 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/ami/delete_amis.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ea41e6a9e4ca5ba45939a27d27310d40157a064e068ebf6a5acea429efd391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/cloud/services/eks/fargate.go:305-315 | pkg/cloud/services/eks/nodegroup.go:128-138 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"512d988d593fabf44cc99a6a742929023346b7c94c9a010de5adadb65b60b63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): api/v1beta1/awsclustertemplate_conversion.go:27-43 | exp/api/v1beta1/conversion.go:205-222 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsclustertemplate_conversion.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3550f6b78861dba781732b5f834f7ec6922eaa51b5c37d3a57164b3affa02cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:1598-1611 | pkg/cloud/services/elb/loadbalancer.go:1613-1626 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1598}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3e0bd6605a8105f039b23e98c2f7e9ad49a8c6e1ed9aedd27fea5ac21913bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/cloud/services/secretsmanager/secret.go:90-105 | pkg/cloud/services/secretsmanager/secret.go:108-120 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d4f189365a136da398f286ef20a061c8e613ee9a44db1bf53efa87a4854866"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): api/v1beta1/tags.go:251-269 | api/v1beta2/tags.go:255-275 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0452b6aa513802d3f431967ccb5d9b267729121d0a96d7805e5272305c268b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/eks/addons/procedures.go:49-61 | pkg/eks/addons/procedures.go:229-240 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/addons/procedures.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"55529c65d93c1ad7546b370851fff571db26b239d920552a8926bde0fcfbb8d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_controller.go:60-75 | cmd/clusterawsadm/cloudformation/bootstrap/control_plane.go:25-40 | cmd/clusterawsadm/cloudformation/bootstrap/node.go:25-39 | cmd/clusterawsadm/cloudformation/bootstrap/user.go:34-48 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_controller.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"94445cbbffa49ef29a4cc053c82b50b7009e59680462ac50a159dde15411d5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:503-520 | controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:526-543 \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":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d6fca040df99395361e0d45d619830646b041e5cf78f7a897d912c25cc969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): pkg/cloud/services/eks/iam/iam.go:362-383 | pkg/cloud/services/eks/iam/iam.go:386-404 | pkg/cloud/services/eks/iam/iam.go:407-425 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1110a92f61cef71ab2cd945bc919a1b38c43c85d693b365d20a4aee8ab6fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/cloud/services/iamauth/configmap.go:177-190 | pkg/cloud/services/iamauth/configmap.go:192-205 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/configmap.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5edb68b8c76151249f83b138a9c7dfd197fb26cef3aa5c4c316b7a25559532"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): pkg/rosa/externalauthproviders.go:36-44 | pkg/rosa/externalauthproviders.go:47-57 | pkg/rosa/externalauthproviders.go:60-73 | pkg/rosa/externalauthproviders.go:76-87 | pkg/rosa/externalauthproviders.go:104-112 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/externalauthproviders.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fe2843fa573c80e32777cd7aeeb55ba2280f3b5467155a48cbcb8ebce1d278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): api/v1beta1/network_types.go:359-369 | api/v1beta2/network_types.go:893-903 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b0ebd19f776587e15251e1031e0c33d2344badb09c2a223d2154e553b3495e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): controllers/awsmachine_annotations.go:59-73 | pkg/cloud/services/ec2/launchtemplate.go:377-391 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_annotations.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c2de20538f7d96da6b1ed65051c63cbc002a51f9772eb8d9e665d01cc2d2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/cloud/converters/eks.go:185-201 | pkg/cloud/converters/eks.go:204-218 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/eks.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"449c50bd6f96e48049d9267d73e2de0949aa7e70caeb349a37a286bdb55e43e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): pkg/cloud/scope/fargate.go:171-188 | pkg/cloud/scope/managednodegroup.go:234-251 | pkg/cloud/scope/managednodegroup.go:255-272 | pkg/cloud/scope/rosamachinepool.go:192-209 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/fargate.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70cc8792bceeac1a3e9067eb5c5018aaf45f06bf012092f8ec77a0069ff675c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/cloud/services/eks/iam/iam.go:107-118 | pkg/cloud/services/eks/iam/iam.go:120-131 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"819313cfb32a7ce437d1a9d191bfbc416a46bc6bb26547153d806df23c143dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): api/v1beta1/tags.go:141-200 | api/v1beta2/tags.go:134-204 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"api/v1beta1/tags.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"69077b7f830fa8b63caaff863d94a70b11551410ba429d6456935c77d13e6cbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go:97-106 | cmd/clusterawsadm/api/bootstrap/v1beta1/defaults.go:112-121 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5770aedad6a8b8552e220d18696dcd1d77597749691c4a4bd1ee4fd4657b20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/cloud/services/elb/loadbalancer.go:1959-1969 | pkg/cloud/services/gc/loadbalancer.go:268-278 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f06702a2f0b2cffb4239c1ffcf69dfe8dce4b5173c9e0ff7ee2fa6080183ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/cloud/services/autoscaling/autoscalinggroup.go:482-491 | pkg/cloud/services/autoscaling/autoscalinggroup.go:494-503 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfd13c7ede39001d9e494d1fb5857786ab84d0a6101702123898c755761e77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): cmd/clusterawsadm/cloudformation/bootstrap/managed_nodegroup.go:26-38 | cmd/clusterawsadm/cloudformation/bootstrap/fargate.go:26-37 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/managed_nodegroup.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fc95a50d4326cd222c4756686b88e1d54d05517640b1dd9674b4bbba0b952f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): cmd/clusterawsadm/cmd/ami/ami.go:29-50 | cmd/clusterawsadm/cmd/bootstrap/bootstrap.go:30-50 | cmd/clusterawsadm/cmd/gc/gc.go:25-40 | cmd/clusterawsadm/cmd/resource/resource.go:28-45 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/ami.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5931c9f3208a922d0b19c4d2304bfadd6ae424c8ff87e0841ae67aac6a9de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): webhooks/awsmachinetemplate_webhook.go:107-118 | webhooks/awsmachine_webhook.go:478-487 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachinetemplate_webhook.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605fa03a344c624c30ffc081342e71650f81cde108632645b546133fa37e608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): api/v1beta1/network_types.go:319-326 | api/v1beta2/network_types.go:831-841 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7162bd773781d5350c0c0b9151493c8aca6a533189992405e33281ceabfb7034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): exp/controllers/rosaocmroleconfig_controller.go:51-61 | exp/controllers/rosaroleconfig_controller.go:61-74 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8143f18346aa416833c80237ab354dda247a7eb04f40fedfc5cc210647f66c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cmd/clusterawsadm/api/ami/v1beta1/scheme/scheme.go:32-39 | cmd/clusterawsadm/api/bootstrap/v1alpha1/scheme/scheme.go:32-39 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/ami/v1beta1/scheme/scheme.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9383c48c420f2998224ae35381b84bb8e178fc40ad9355b93cdd50bb5af812d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): controlplane/rosa/webhooks/rosacontrolplane_webhook.go:172-179 | exp/webhooks/rosamachinepool_webhook.go:133-143 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb76387216d052624ee220244bbc160af09dbf40a22b52a2469f40f38cc889db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): cmd/clusterawsadm/printers/printers.go:97-104 | hack/tools/release-tools/printer/printer.go:114-121 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/printers/printers.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"351ef7a4067f0cbf5ec4d125fc2c0172c04ee5c85fb46ba0003d486599f92289"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): api/v1beta1/awsmachine_conversion.go:78-87 | bootstrap/eks/api/v1beta1/conversion.go:72-80 | exp/api/v1beta1/conversion.go:91-99 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsmachine_conversion.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"675367d1b638d33d4126aca83648afd90e23dbe2c3f68c5d4a29499b6d8692a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): bootstrap/eks/api/v1beta1/conversion.go:139-147 | exp/api/v1beta1/conversion.go:172-180 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/conversion.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"692004b2b108e179ab642682a40e544ef10613dde407ff69ace047ef5f49f0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): bootstrap/eks/api/v1beta1/groupversion_info.go:27-38 | controlplane/eks/api/v1beta1/groupversion_info.go:27-38 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a340fe93f0bff893d67b6d24a52e0549ca16cd9c6c3bff6671cab2784102366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cmd/clusterawsadm/api/ami/v1beta1/register.go:26-38 | cmd/clusterawsadm/api/bootstrap/v1beta1/register.go:26-38 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/ami/v1beta1/register.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f9acd2ce9a75ddf0a3aff4407d8660c8d2e1c44af93bcc14db8e3db857b60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): api/v1beta1/network_types.go:287-294 | api/v1beta2/network_types.go:779-786 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0da15fe22d22965d0db4b4cd7b07c7991ecc20eb37f18cf500536fb66019df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): controllers/awsmachine_annotations.go:42-54 | pkg/annotations/annotations.go:25-32 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_annotations.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4d6904e0019a4a41541d5836294f442f54fa7009c8b5fb19e3706a594c5134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/cloud/scope/managedcontrolplane.go:58-70 | pkg/cloud/scope/managednodegroup.go:48-63 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managedcontrolplane.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05aeb3b255f7602566af1e1be44aa23187a87db8b3eff01f05e4517d90ea7c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): api/v1beta1/network_types.go:297-303 | api/v1beta2/network_types.go:805-811 | controlplane/rosa/controllers/rosacontrolplane_controller.go:698-704 | pkg/cloud/converters/eks.go:67-74 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 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":"api/v1beta1/network_types.go"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a04f031dc64d2a70249c3b6fa0c75cca1dac060335667ef34d2c80844bf75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): pkg/cloud/services/eks/addons.go:220-226 | pkg/cloud/services/eks/cluster.go:947-953 | pkg/cloud/services/eks/nodegroup.go:655-660 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/addons.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcbc7a3361f58c985bbc712ffb8af8289a1e25fa5be75a79eabcf73066e5cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pkg/cloud/services/secretsmanager/cloudinit.go:26-33 | pkg/cloud/services/ssm/cloudinit.go:27-33 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/cloudinit.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a53de74b6c48d00397bcd3273b006d4d233a604b635fa1110bbec7bfaccc18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): controllers/rosacluster_controller.go:53-61 | exp/controllers/rosamachinepool_controller.go:48-53 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"controllers/rosacluster_controller.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b61020aa12e6efe4f4145bb1f0563669a968a176fe46d163cf306fff36df1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): api/v1beta1/network_types.go:242-276 | api/v1beta2/network_types.go:622-704 \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":"api/v1beta1/network_types.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8addd9b54626bc6b1c885d73da5c7cacc62de76cfcf7e4cb12d64a3d4d704da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (156\u2013159 lines \u00D7 2): api/v1beta1/awsidentity_types.go:24-179 | api/v1beta2/awsidentity_types.go:24-182 \u2014 \u0060api/v1beta1/awsidentity_types.go\u0060 and \u0060api/v1beta2/awsidentity_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 169 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsidentity_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdede869df70056a330e0e813a60ec4a57593bab64bb75cead64a77ab62ef019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): api/v1beta1/types.go:77-172 | api/v1beta2/types.go:127-222 \u2014 \u0060api/v1beta1/types.go\u0060 and \u0060api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 177 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/types.go:77\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":"api/v1beta1/types.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae98a3eed10d84b0fb338a65a74541c5fb585c7b2eecf0f000cc47947e1565f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (81 lines \u00D7 2): api/v1beta1/types.go:213-293 | api/v1beta2/types.go:535-615 \u2014 \u0060api/v1beta1/types.go\u0060 and \u0060api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 177 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/types.go:213\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":"api/v1beta1/types.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc3433173a07045d565ea345332e9933c7737c5b2e594969463292c7788a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): exp/api/v1beta1/awsmanagedmachinepool_types.go:157-234 | exp/api/v1beta2/awsmanagedmachinepool_types.go:224-301 \u2014 \u0060exp/api/v1beta1/awsmanagedmachinepool_types.go\u0060 and \u0060exp/api/v1beta2/awsmanagedmachinepool_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 78 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/api/v1beta1/awsmanagedmachinepool_types.go:157\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":"exp/api/v1beta1/awsmanagedmachinepool_types.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8da67b177113eebf7d25ed7810bbf7c138c07bbe03356034b4001e8a185ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (77 lines \u00D7 2): exp/api/v1beta1/awsfargateprofile_types.go:61-137 | exp/api/v1beta2/awsfargateprofile_types.go:87-163 \u2014 \u0060exp/api/v1beta1/awsfargateprofile_types.go\u0060 and \u0060exp/api/v1beta2/awsfargateprofile_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 77 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/api/v1beta1/awsfargateprofile_types.go:61\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsfargateprofile_types.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b400c71971a9618ff389a0bb157c2d6f26058ba401fbb370b49f302760c9fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (71\u201374 lines \u00D7 2): controlplane/eks/api/v1beta1/types.go:87-160 | controlplane/eks/api/v1beta2/types.go:145-215 \u2014 \u0060controlplane/eks/api/v1beta1/types.go\u0060 and \u0060controlplane/eks/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 150 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/eks/api/v1beta1/types.go:87\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, \u0060controlplane/eks/api/v1beta2/types.go:219\u0060 calls \u0060AddonResolution\u0060 and \u0060controlplane/eks/api/v1beta1/types.go:161\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":"controlplane/eks/api/v1beta1/types.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54be3c232f5109b69ca307e35aca3fb2e23b37c97ada170ee2ef4687860eb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:88-160 | cmd/clusterawsadm/api/bootstrap/v1beta1/types.go:96-168 \u2014 \u0060cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go\u0060 and \u0060cmd/clusterawsadm/api/bootstrap/v1beta1/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 129 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a278c261a4c34457dd6482d3ad2e84fdbd337a557ed75316012dbfedc9ba6637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): api/v1beta1/awscluster_types.go:72-139 | api/v1beta2/awscluster_types.go:84-151 \u2014 \u0060api/v1beta1/awscluster_types.go\u0060 and \u0060api/v1beta2/awscluster_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/awscluster_types.go:72\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awscluster_types.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b81bf5e4cc9d398dacf7224f85cb9848ca5a9cc0a43fdf82b1e30992212fcd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): controllers/awsmachine_tags.go:90-152 | pkg/cloud/services/ec2/launchtemplate.go:426-488 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_tags.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"36887003cd27ac5d559588ddfbcf4095a4c8658c75dda5e553e1603419d91519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go:216-278 | controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go:351-413 \u2014 \u0060controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go\u0060 and \u0060controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 63 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go:216\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":"controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90c7d8081224a09f2383c120da039b69765dfb0efcb38f2b246ef8a346c9c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60\u201361 lines \u00D7 2): api/v1beta1/network_types.go:372-431 | api/v1beta2/network_types.go:929-989 \u2014 \u0060api/v1beta1/network_types.go\u0060 and \u0060api/v1beta2/network_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 132 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d5913857bcfff3eba5df229078bec0bc2adc73a047e93df76122d867041b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): controlplane/eks/api/v1beta1/types.go:161-217 | controlplane/eks/api/v1beta2/types.go:220-276 \u2014 \u0060controlplane/eks/api/v1beta1/types.go\u0060 and \u0060controlplane/eks/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 150 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/eks/api/v1beta1/types.go: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controlplane/eks/api/v1beta2/types.go:211\u0060 calls \u0060AddonResolution\u0060 and \u0060controlplane/eks/api/v1beta1/types.go:153\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":"controlplane/eks/api/v1beta1/types.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4f2359eb47ac61e26ae913f9073c1cc9534f3a0ac08a1a01ceff29a21357d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:29-84 | cmd/clusterawsadm/api/bootstrap/v1beta1/types.go:29-84 \u2014 \u0060cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go\u0060 and \u0060cmd/clusterawsadm/api/bootstrap/v1beta1/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 129 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbddd70ece6257ca80e55730fe2dff203ba1138c094dfb2a459ac4327719aecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): api/v1beta1/conditions_consts.go:21-72 | api/v1beta2/conditions_consts.go:21-72 \u2014 \u0060api/v1beta1/conditions_consts.go\u0060 and \u0060api/v1beta2/conditions_consts.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 96 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/conditions_consts.go:21\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":"api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74f4a3ab1161e3d3f7ec01815342587e9810e25a4db6101d9f1f5885d55c0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): api/v1beta1/network_types.go:513-564 | api/v1beta2/network_types.go:1088-1139 \u2014 \u0060api/v1beta1/network_types.go\u0060 and \u0060api/v1beta2/network_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 132 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/network_types.go:513\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":"api/v1beta1/network_types.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b67b922e9613201557311585c0d5e8c5f334cc53b5201db4e6d03e798f79b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): exp/api/v1beta1/conditions_consts.go:57-104 | exp/api/v1beta2/conditions_consts.go:75-122 \u2014 \u0060exp/api/v1beta1/conditions_consts.go\u0060 and \u0060exp/api/v1beta2/conditions_consts.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 48 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/api/v1beta1/conditions_consts.go:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/conditions_consts.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea59747b436dd0f0be0553f171c9cf81b89e23de6f11d577b6b44f3bfa4bb4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): api/v1beta1/tags.go:89-133 | api/v1beta2/tags.go:82-126 \u2014 \u0060api/v1beta1/tags.go\u0060 and \u0060api/v1beta2/tags.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/tags.go:89\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e08e1d5f48aa2cae49ca639e96294efacfaea0d138338a84879cff1cd5c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): api/v1beta1/conditions_consts.go:131-174 | api/v1beta2/conditions_consts.go:154-197 \u2014 \u0060api/v1beta1/conditions_consts.go\u0060 and \u0060api/v1beta2/conditions_consts.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 96 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060api/v1beta1/conditions_consts.go:131\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":"api/v1beta1/conditions_consts.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9541499f615a21181971c5c6a31a75546f292f57679a7d547fac93a82dbf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go:54-93 | cmd/clusterawsadm/api/bootstrap/v1beta1/defaults.go:65-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eb49609499eb7f19b0a6aec66ee68857849b836da1615c4ee98f1680c88b15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): controlplane/eks/api/v1beta1/conditions_consts.go:21-60 | controlplane/eks/api/v1beta2/conditions_consts.go:21-60 \u2014 \u0060controlplane/eks/api/v1beta1/conditions_consts.go\u0060 and \u0060controlplane/eks/api/v1beta2/conditions_consts.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 40 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/conditions_consts.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b038b8346c5c6e5bb88306c44297c900a43f140dd710b0b01c67c9d711755d72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): exp/api/v1beta1/types.go:154-193 | exp/api/v1beta2/types.go:206-245 \u2014 \u0060exp/api/v1beta1/types.go\u0060 and \u0060exp/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 125 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/api/v1beta1/types.go:154\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":"exp/api/v1beta1/types.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7500d1f4f8507dbe6f0f924760c5e5eda61c6f437bebb6701c97ebe0a60bb357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:455-487 | pkg/cloud/services/elb/loadbalancer.go:1262-1294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:455\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5925e393de975489c2887fcf7893f101b279bcb3ae0f313d824c94331c9245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): controlplane/eks/api/v1beta1/validate.go:39-67 | controlplane/eks/api/v1beta2/validate.go:39-67 \u2014 \u0060controlplane/eks/api/v1beta1/validate.go\u0060 and \u0060controlplane/eks/api/v1beta2/validate.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/validate.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57fbb16f259f76ae10148d59fd9b2a33b2e3e7cbbd3cf3006c7ccf1cbf30bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): controlplane/eks/api/v1beta1/validate.go:71-99 | controlplane/eks/api/v1beta2/validate.go:71-99 \u2014 \u0060controlplane/eks/api/v1beta1/validate.go\u0060 and \u0060controlplane/eks/api/v1beta2/validate.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/validate.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf63194752cae077cda35dfd3bc1b1ade1349557253a27d5bdcc52a31de6b862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): cmd/clusterawsadm/cmd/eks/addons/list_available.go:56-81 | cmd/clusterawsadm/cmd/eks/addons/list_installed.go:56-81 \u2014 before extracting anything, compare \u0060cmd/clusterawsadm/cmd/eks/addons/list_available.go\u0060 and \u0060cmd/clusterawsadm/cmd/eks/addons/list_installed.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f7c0aa3afa3dce02e982acce83cc7a1f02a62e1488946e3ac9a66d4c28e174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): exp/controllers/awsmanagedmachinepool_controller.go:344-368 | exp/controllers/rosamachinepool_controller.go:685-709 \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 \u0060exp/controllers/awsmanagedmachinepool_controller.go:344\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c885bd8990c59965e69ed595a5602c52b2215e734fd5aaf36bf24ac55ece2a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): pkg/cloud/services/iamauth/crd.go:109-133 | pkg/cloud/services/iamauth/crd.go:137-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/iamauth/crd.go:109\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/crd.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"956872ba3cffc181b68d99687c74dde9c784ad3b13c24373f7a0115aa39fccb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): cmd/clusterawsadm/cmd/ami/common/copy.go:77-99 | cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go:96-119 \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 \u0060cmd/clusterawsadm/cmd/ami/common/copy.go:77\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go:120\u0060 calls \u0060addKmsKeyIDFlag\u0060 and \u0060cmd/clusterawsadm/cmd/ami/common/copy.go: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":"cmd/clusterawsadm/cmd/ami/common/copy.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af5a8ca95cdd101058c0a60daac51341ea6b0fb1ea66dfddeca2e8a58a3e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): pkg/cloud/services/eks/config.go:118-141 | pkg/cloud/services/eks/config.go:175-197 \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":"pkg/cloud/services/eks/config.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9180703eaa1e7eae74cac6b86f82c541e7e6ae2d793f4477d815abb6061b661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): exp/controllers/awsmanagedmachinepool_controller.go:100-121 | exp/controllers/rosamachinepool_controller.go:122-143 \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 \u0060exp/controllers/awsmanagedmachinepool_controller.go:100\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":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc6e03ce5cb726a2783af772bd0a1644256579cdbf7c698facd021f7232780c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201322 lines \u00D7 2): webhooks/awsmachine_webhook.go:490-506 | webhooks/awsmachine_webhook.go:540-561 \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 \u0060webhooks/awsmachine_webhook.go:490\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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24926fa647b22189a46b963218529092e9e6c345472fe2124022ad0eff8de3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:266-286 | bootstrap/eks/controllers/nodeadmconfig_controller.go:369-389 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:266\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56bc0b4340a415d9e20884ab553f5e6eb5198b8da35ce875b9d52c110b20fc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): pkg/cloud/services/ec2/instances.go:777-797 | pkg/cloud/services/ec2/launchtemplate.go:734-754 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/ec2/instances.go:777\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2722dce75867507e12a68c601b6d27320befd8ee1393ec318e7554f37869943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): exp/webhooks/awsmachinepool_webhook.go:98-117 | webhooks/awsmachinetemplate_webhook.go:86-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/webhooks/awsmachinepool_webhook.go:98\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0d8a00f23ab5e322e9aff1527371d00d1104ceabd6745fd00a79dee793dc6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): pkg/cloud/services/s3/s3.go:210-240 | pkg/cloud/services/s3/s3.go:261-291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/s3/s3.go:210\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/s3/s3.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26a99c167eebe2a8a6607ddf839bfdcf98d672acd85dcec75df4eebf4a50cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): bootstrap/eks/internal/userdata/node.go:111-129 | bootstrap/eks/internal/userdata/nodeadm.go:209-227 \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":"bootstrap/eks/internal/userdata/node.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f7b4ccc791f5268f1bd53df6db975ed6b0a4f1caa52201a76649449ec2fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): cmd/clusterawsadm/cmd/ami/common/copy.go:52-70 | cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go:69-87 \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 \u0060cmd/clusterawsadm/cmd/ami/common/copy.go:52\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":"cmd/clusterawsadm/cmd/ami/common/copy.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"de12114717e8e737aee9ce7d7907f791f801fab204f9f8afabe215806dce6903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): controllers/awsmachinetemplate_controller.go:512-530 | controllers/awsmachinetemplate_controller.go:537-555 \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 \u0060controllers/awsmachinetemplate_controller.go:512\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"93726acac1fe6c0c3af1fe5febd4fa7fc9f034c5c6b064c91f575d33889ca341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): controlplane/eks/api/v1beta1/types.go:50-68 | controlplane/eks/api/v1beta2/types.go:51-69 \u2014 \u0060controlplane/eks/api/v1beta1/types.go\u0060 and \u0060controlplane/eks/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 150 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/types.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"63963e6c60b1ed2bac80e02924db481d132ffb1805fbf1acdd5c5a19caa1bc74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pkg/cloud/services/eks/addons.go:106-124 | pkg/cloud/services/eks/addons.go:149-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/addons.go:106\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/addons.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"57345d50fb2828b9ade400a38c504cc9e14ee9773b8c43d68e714b85c1828a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): api/v1beta1/bastion.go:28-45 | api/v1beta2/bastion.go:28-45 \u2014 \u0060api/v1beta1/bastion.go\u0060 and \u0060api/v1beta2/bastion.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 18 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/bastion.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd601ffa7e6577ecbac50e2c812b4c8990cac18a63a9beeae861a6d2ed4e6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): exp/controllers/awsfargatepool_controller.go:184-200 | exp/controllers/awsmanagedmachinepool_controller.go:332-348 \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":"exp/controllers/awsfargatepool_controller.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39d8a076a6ee72fb52a3ccc822cfb7aec2d86b7055ca7dafe214f9599407274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): cmd/clusterawsadm/cloudformation/service/service.go:78-93 | cmd/clusterawsadm/cloudformation/service/service.go:112-127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/clusterawsadm/cloudformation/service/service.go:78\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":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc2246ce3a38544a16ebb0365a4a960aa73e49ae796a49e0db7e004db7f1332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): pkg/cloud/services/network/vpc.go:603-618 | pkg/cloud/services/network/vpc.go:651-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/vpc.go:603\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"088f2fd2949d6dd116f3bead69b9bf1f1e84d87fbf29cdbb037a2ac2cc722511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): pkg/cloud/services/eks/cluster.go:626-640 | pkg/cloud/services/eks/cluster.go:812-826 | pkg/cloud/services/eks/cluster.go:901-915 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/cluster.go:626\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b99c15d18a797d51d10cb0b446ad3702a47ab5a933026b5c73221f4d8f61b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:379-393 | bootstrap/eks/controllers/nodeadmconfig_controller.go:446-460 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:379\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7032bd7141e0c9874c35ac17d4438688b85147daf69eadfb5e08c2f28e8fe8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): exp/api/v1beta1/conversion.go:67-81 | exp/api/v1beta1/conversion.go:136-150 \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":"exp/api/v1beta1/conversion.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae523ca972d0a80b3b84659ad2693366b55c751fa5a0cd7d724580373cff6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/cloud/services/secretsmanager/secret.go:57-71 | pkg/cloud/services/ssm/secret.go:58-72 \u2014 \u0060pkg/cloud/services/secretsmanager/secret.go\u0060 and \u0060pkg/cloud/services/ssm/secret.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"02680b08162c29e8faa49c74e5af11b42b85458f2f02e58959fa68bbc94c2965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:110-123 | bootstrap/eks/controllers/nodeadmconfig_controller.go:107-120 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:110\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44d4382634785139145669bdab8d844bb5b2ae8ff494f6708eb740ab3d02619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controllers/awsmanagedcluster_controller.go:170-183 | controllers/rosacluster_controller.go:205-218 \u2014 before extracting anything, compare \u0060controllers/awsmanagedcluster_controller.go\u0060 and \u0060controllers/rosacluster_controller.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controllers/awsmanagedcluster_controller.go:170\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":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b371bd6229f151f3445c574c14d213adbc4700c53b383dab4b2b0386d1bf7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controlplane/rosa/webhooks/rosacontrolplane_webhook.go:55-68 | controlplane/rosa/webhooks/rosacontrolplane_webhook.go:125-138 \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":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef48fa18d3f5e64ee3e7f902b66319879e1910054dc5136da8582e58ba336ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/cloud/services/iamauth/crd.go:36-49 | pkg/cloud/services/iamauth/crd.go:72-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/iamauth/crd.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/crd.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"094fedf54a13ce8817d2059afbfceb9e6c3f62523e5ae602cc905a0839b96898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:416-428 | bootstrap/eks/controllers/nodeadmconfig_controller.go:339-351 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:416\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9e5f02b421638728cf00fe1f784337429333123033e0341a8ad0e4c23dce3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controlplane/eks/api/v1beta1/conversion.go:37-49 | controlplane/eks/api/v1beta1/conversion.go:136-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/eks/api/v1beta1/conversion.go:37\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":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a905bd6e2559796bbfcaabf66d61a70c844830729414813534b22159e45c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controlplane/rosa/controllers/rosacontrolplane_controller.go:277-289 | exp/controllers/rosamachinepool_controller.go:236-248 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/rosa/controllers/rosacontrolplane_controller.go:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6842f5255045f39acf5faa8ee23e2fb397345ad46e08531660060b957db8be99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/cloud/services/network/secondarycidr.go:33-45 | pkg/cloud/services/network/secondarycidr.go:87-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/secondarycidr.go:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/secondarycidr.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbe05bf7496664752d833797021661b240a52ceb0eaeefa3a904e45476385ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): webhooks/awsmachine_webhook.go:510-520 | webhooks/awsmachine_webhook.go:568-580 \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 \u0060webhooks/awsmachine_webhook.go:510\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060webhooks/awsmachine_webhook.go:507\u0060 calls \u0060Forbidden\u0060, \u0060NewPath\u0060 and \u0060webhooks/awsmachine_webhook.go:565\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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8addd924e9dcd4578def366f43be25c8a8b6e023cadd992703abebd91f82fe1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): pkg/cloud/converters/tags.go:120-131 | pkg/cloud/converters/tags.go:139-150 | pkg/cloud/converters/tags.go:158-169 | pkg/cloud/converters/tags.go:188-199 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/converters/tags.go:120\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/tags.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12ce586041a92d097fe6f2daa0bf190f99301328f0e52ff20496202b62b0f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/cloud/services/ec2/instances.go:919-930 | pkg/cloud/services/ec2/instances.go: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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea7bf2e92580eeeaf1f7b9421cd6e703c0dbfd735c0e995a0d286cc22674fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/cloud/services/eks/iam/iam.go:441-452 | pkg/cloud/services/eks/iam/iam.go:468-479 \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":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30351b99a5cf4d27fa9cbd855c73c8d5fba5383bdba0990c9375289196b013e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:1099-1110 | pkg/cloud/services/elb/loadbalancer.go:1124-1135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:1099\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"3291e07285399e773c5244eb2a519a2b72d7425bf71b7e4dd6627b974eaed468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:155-165 | bootstrap/eks/controllers/nodeadmconfig_controller.go:152-160 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:155\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"055ad663b2ce3b20e699880bcb1187abb81ebb6878845975c40df572d06e6b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:300-310 | bootstrap/eks/controllers/nodeadmconfig_controller.go:290-300 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6f15afbff09239a036f5a8f3f6456838c32b40d1304c41ffc81b8b2e5c85fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/clusterawsadm/cmd/gc/disable.go:74-84 | cmd/clusterawsadm/cmd/gc/enable.go:75-85 \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 \u0060cmd/clusterawsadm/cmd/gc/disable.go:74\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/disable.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d2e13c4f290b0ecabe735611c1a35824a86e5e50216bd5e13af20226595596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:231-241 | controlplane/rosa/controllers/rosacontrolplane_controller.go:205-215 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff974eb303cb873373a5e27135416e3dd3eed508dbfe4fd8d57c4a4d86ad72c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): exp/webhooks/awsmanagedmachinepool_webhook.go:169-179 | exp/webhooks/awsmanagedmachinepool_webhook.go:214-224 \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 \u0060exp/webhooks/awsmanagedmachinepool_webhook.go:169\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, \u0060exp/webhooks/awsmanagedmachinepool_webhook.go:181\u0060 calls \u0060Validate\u0060 and \u0060exp/webhooks/awsmanagedmachinepool_webhook.go:226\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":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ed9287fb2ee87b2473aec631b3a7b938088b8b08a36565ede43d300ac2e47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/scope/clients.go:157-167 | pkg/cloud/scope/clients.go:178-188 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/clients.go:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/clients.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fc94f5cd9618b13a07be3cf81889140a25b6aa95965938bef61e9d4decf847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/services/ec2/launchtemplate.go:561-571 | pkg/cloud/services/ec2/launchtemplate.go:1185-1195 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73af807750017404211590c985ab2b65c6f1b2e82798aaf64baecbe446daaec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:777-786 | pkg/cloud/services/elb/loadbalancer.go:883-893 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:777\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"61636183f2cc2488038b9392502bc6769856b284007df89b758fabe455aa5eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/services/network/vpc.go:100-110 | pkg/cloud/services/network/vpc.go:158-168 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/vpc.go:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"96931f5e28f47db368660e6e7958c63e11e6c68a4edbf6881b5f541df0a7a198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/services/secretsmanager/secret.go:77-87 | pkg/cloud/services/ssm/secret.go:85-95 \u2014 \u0060pkg/cloud/services/secretsmanager/secret.go\u0060 and \u0060pkg/cloud/services/ssm/secret.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/secretsmanager/secret.go:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"808a281e3fdeface9e9bea2222f2d859c155a58d7d3d47556d45ce4d1638e4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): cmd/clusterawsadm/cmd/gc/configure.go:58-67 | cmd/clusterawsadm/cmd/gc/disable.go:57-66 | cmd/clusterawsadm/cmd/gc/enable.go:58-67 \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 \u0060cmd/clusterawsadm/cmd/gc/configure.go:58\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":"cmd/clusterawsadm/cmd/gc/configure.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaa57ac87d0a5ad9438c6a6def56910dcc320415fe48c393876e9ff3bf41c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:405-414 | bootstrap/eks/controllers/nodeadmconfig_controller.go:328-337 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:405\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"076f3ce421a32ed6d345c1286bc7e3ae43b47b05d92917dfcec896a982ed03c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:102-111 | cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:149-158 \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":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"560ad09d4ef1f5f2c770309a4f7fce53720e2c4627cb3f69be2a794505c74283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controllers/awsmanagedcluster_controller.go:97-106 | controllers/rosacluster_controller.go:117-126 \u2014 before extracting anything, compare \u0060controllers/awsmanagedcluster_controller.go\u0060 and \u0060controllers/rosacluster_controller.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda8d05a99be17e44246e95d3f05e89959eb98088c90dcd59934f7be0d966e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): exp/controllers/rosaocmroleconfig_controller.go:137-146 | exp/controllers/rosaroleconfig_controller.go:149-157 \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 \u0060exp/controllers/rosaocmroleconfig_controller.go:137\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f143ea5f4bc9cceeb3e2501fa37077ac9b486c6d65d1cdd5437d46c47642b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cloud/scope/managedcontrolplane.go:75-84 | pkg/cloud/scope/rosacontrolplane.go:51-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managedcontrolplane.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada375998a9374beaa90fd5be8b22dcab5b77d9c0647da91c4684aeaf4c6497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cloud/services/ec2/launchtemplate.go:146-155 | pkg/cloud/services/ec2/launchtemplate.go:166-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/ec2/launchtemplate.go:146\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"101d132a879ee5ac42144762f4e86ff15020c7d35425f0a9fd6cb405097c7bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cloud/services/ec2/launchtemplate.go:1204-1213 | pkg/cloud/services/ec2/launchtemplate.go:1218-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 \u0060pkg/cloud/services/ec2/launchtemplate.go:1204\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6b7987cd9b49c370020ebe6a810980f42756d65ee361b8518cf720bc3f9882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cloud/services/eks/roles.go:254-263 | pkg/cloud/services/eks/roles.go:366-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/roles.go:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddf6c314b2df0821aaea2bffc911ca595f019a22cf370b576cdb656cc175341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/cloud/services/network/egress_only_gateways.go:179-187 | pkg/cloud/services/network/gateways.go:176-184 | pkg/cloud/services/network/natgateways.go:248-256 | pkg/cloud/services/network/vpc.go:671-679 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/egress_only_gateways.go:179\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/egress_only_gateways.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e991450e83474ad1bbfce15a1d2aec6f2080975c12118a5d06695ee4904db2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:432-440 | bootstrap/eks/controllers/nodeadmconfig_controller.go:355-363 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc9431637af53e6b5415160e1d4cf3c3b255e69043d33bd81036a51a46c936c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:90-98 | cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:137-145 \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 \u0060cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:83\u0060 calls \u0060Examples\u0060 and \u0060cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:132\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":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e32c2db6efe1743afbc298ffa9ad7635d473a99c01b59c165865cc2b50f5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controlplane/eks/api/v1beta1/conversion.go:65-73 | controlplane/eks/api/v1beta1/conversion.go:164-172 \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 \u0060controlplane/eks/api/v1beta1/conversion.go:65\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":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7cb93a51f473dde7971ce2ca5f2133b5d99b33daf0f9073096f9ce9e3a3ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/cloud/services/network/vpc.go:334-342 | pkg/cloud/services/network/vpc.go:361-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/vpc.go:334\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac099b0eaf4d2366e2e0dd060e2179fefcbbd4b8c13e1400439caa9760168c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): webhooks/awsclustercontrolleridentity_webhook.go:68-76 | webhooks/awsclusterroleidentity_webhook.go:65-73 | webhooks/awsclusterroleidentity_webhook.go:99-107 | webhooks/awsclusterstaticidentity_webhook.go:60-68 | webhooks/awsclusterstaticidentity_webhook.go:93-101 \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 \u0060webhooks/awsclustercontrolleridentity_webhook.go:68\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c32abfa455a4b909bdd2d363582fd7c45a41316802fabe5983eb9bf826b7b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): exp/controllers/rosamachinepool_controller.go:67-74 | exp/controllers/rosanetwork_controller.go:329-336 | exp/controllers/rosaocmroleconfig_controller.go:69-76 | exp/controllers/rosaroleconfig_controller.go:82-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/controllers/rosamachinepool_controller.go:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2e511a1faa975a6613e9150fc081de4a5f0612e4e2ac184192b042aad60832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): api/v1beta1/awscluster_conversion.go:92-108 | api/v1beta1/awscluster_conversion.go:115-131 \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 \u0060api/v1beta1/awscluster_conversion.go:92\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":"api/v1beta1/awscluster_conversion.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d034678da3465e3fab2ca455187736c1d55fb68f2ccddadec8af89077d49842e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): controllers/awscluster_controller.go:172-180 | controllers/awsmanagedcluster_controller.go:72-79 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controllers/awscluster_controller.go:169\u0060 calls \u0060Default\u0060 and \u0060controllers/awsmanagedcluster_controller.go:69\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":"controllers/awscluster_controller.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ec8d052c12966a269a9f1cc8e2a5c308bc39b5869d06bc3e80b63cefe19936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): controllers/awsmanagedcluster_controller.go:128-135 | controllers/rosacluster_controller.go:163-170 \u2014 before extracting anything, compare \u0060controllers/awsmanagedcluster_controller.go\u0060 and \u0060controllers/rosacluster_controller.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controllers/awsmanagedcluster_controller.go:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controllers/awsmanagedcluster_controller.go:127\u0060 calls \u0060WithEventFilter\u0060, \u0060ResourceIsNotExternallyManaged\u0060, \u0060GetScheme\u0060 and \u0060controllers/rosacluster_controller.go:162\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":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149374b4f58b787fccbcefb5b16ada922cefd99e92258ea3347568cf8794e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): controlplane/rosa/controllers/rosacontrolplane_controller.go:123-130 | exp/controllers/rosanetwork_controller.go:329-336 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/rosa/controllers/rosacontrolplane_controller.go:123\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":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6849e61cb356272fbc11454acd6d9a40752e39c9f87f0519cfb5d58b4556c413"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): exp/controllers/awsfargatepool_controller.go:90-97 | exp/controllers/awsmanagedmachinepool_controller.go:129-136 \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 \u0060exp/controllers/awsfargatepool_controller.go:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060exp/controllers/awsmanagedmachinepool_controller.go:129\u0060 is reached only past a guard at line 125 that tests \u0060r.Client\u0060 and leaves the function early, and \u0060exp/controllers/awsfargatepool_controller.go:90\u0060 reads \u0060r.Client\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsfargatepool_controller.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fe33eefdeb76608d2e79860cee3802bdfd33212b9dae4365815bb7a0385a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): exp/controllers/awsmanagedmachinepool_controller.go:185-192 | exp/controllers/rosamachinepool_controller.go:217-224 \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 \u0060exp/controllers/awsmanagedmachinepool_controller.go:185\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03956c7467bd845bc041aae1cb1327e217f4d7b4a0b7c94e6fe0aeb1086ef9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/services/iamauth/reconcile.go:120-127 | pkg/cloud/services/iamauth/reconcile.go:154-161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/iamauth/reconcile.go:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/reconcile.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96540f28aec99cdfd87bff247d71b4d497c253a03f9fa7179fe2b4653228a17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/services/securitygroup/securitygroups.go:1004-1011 | pkg/cloud/services/securitygroup/securitygroups.go:1026-1033 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/securitygroup/securitygroups.go:1004\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319fb2af0a525624bb61de1cd0a566c4d1588442c90ac262e8b2eecd3e3d686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): webhooks/awsclustercontrolleridentity_webhook.go:63-70 | webhooks/awsclustercontrolleridentity_webhook.go:100-107 \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 \u0060webhooks/awsclustercontrolleridentity_webhook.go:63\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":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04f198f2d84f5059bc4d086a472911073d8d79e911125ca78fb4a972abaf28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): cmd/clusterawsadm/cmd/gc/configure.go:74-80 | cmd/clusterawsadm/cmd/gc/disable.go:73-79 | cmd/clusterawsadm/cmd/gc/enable.go:74-80 \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 \u0060cmd/clusterawsadm/cmd/gc/configure.go:74\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060cmd/clusterawsadm/cmd/gc/configure.go:81\u0060 calls \u0060Flags\u0060, \u0060StringSliceVar\u0060 and \u0060cmd/clusterawsadm/cmd/gc/disable.go:81\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":"cmd/clusterawsadm/cmd/gc/configure.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dff4bc4e49ef5341169913acbabef68a6d94eaafb4fe4c5b16df3708252f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/cloud/services/iamauth/reconcile.go:137-143 | pkg/cloud/services/iamauth/reconcile.go:183-189 | pkg/cloud/services/iamauth/reconcile.go:199-205 \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":"pkg/cloud/services/iamauth/reconcile.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c6dd2e69a38f0b7b40b8b8eb39828b967de4b4cd8c01e7eb5d107e2f58ffc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:78-84 | bootstrap/eks/controllers/nodeadmconfig_controller.go:75-81 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"966711c27dd21517a84fdd6e184566604c1e788b285eb8de3dc81ac3a310e7b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/scope/machinepool.go:153-159 | pkg/cloud/scope/managednodegroup.go:357-363 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/machinepool.go:153\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7268f86bd027c3dffdbb0db4a77ba8638fce23f25d35a04a59e08ffdcf53292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/scope/managednodegroup.go:88-94 | pkg/cloud/scope/rosacontrolplane.go:68-74 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/managednodegroup.go:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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: \u0060pkg/cloud/scope/rosacontrolplane.go:68\u0060 is reached only past a guard at line 51 that tests \u0060params.Cluster\u0060 and leaves the function early, and \u0060pkg/cloud/scope/managednodegroup.go:88\u0060 reads \u0060params.Cluster\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managednodegroup.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0688222bd5e9dc22d0ed3c4d6201dbd1178e029b49f716b60674e19ee2a896c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:440-446 | pkg/cloud/services/elb/loadbalancer.go:1247-1253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f224ad1a6ff93ddd560153cefbb4362f22da0f8ea8a6fc7e7f1a4b76df18e62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:744-751 | pkg/cloud/services/elb/loadbalancer.go:855-861 \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":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"3099bfd390604ccd5c04d512622b2dfe753f0a2bc568f53cb42f5df3369920f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/instancestate/rule.go:145-153 | pkg/cloud/services/instancestate/rule.go:202-208 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/instancestate/rule.go:145\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"625c2705a857d22dd8e59298eb64fda9f43aa7931db4e99a112d24757de9462a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:101-108 | bootstrap/eks/controllers/nodeadmconfig_controller.go:98-105 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:101\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1a2f0385c6ff6ea524680e6b651f0ef2815a8a66286d5f491fa5d66dea8af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controllers/awsmachinetemplate_controller.go:418-424 | controllers/awsmachinetemplate_controller.go:433-439 \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":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"deffb7e41594bdbbe3a6e842b2d36c87766670b86b80ea7bf75b0deb490f2984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/scope/machinepool.go:142-149 | pkg/cloud/scope/managednodegroup.go:346-353 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/machinepool.go:142\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c92cb176acd80b7b0e4b734fe7676897e746f2616bf9201a2dc4b43faf315b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/rosa/ocmrole/ocmrole.go:204-210 | pkg/rosa/ocmrole/ocmrole.go:229-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 \u0060pkg/rosa/ocmrole/ocmrole.go:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"188bb82283d6475eee835656594de0fabe2dad70a6e66c65bc0cbebc4e5d4e6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): pkg/cloud/services/network/subnets.go:632-636 | pkg/cloud/services/network/subnets.go:653-657 | pkg/cloud/services/network/subnets.go:677-681 | pkg/cloud/services/network/subnets.go:693-697 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/subnets.go:632\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7bd5d81b586017132ff49087c4a8d50cc9ae5077be42a7f5b50ad2e355bd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): pkg/cloud/services/awsnode/cni.go:49-53 | pkg/cloud/services/iamauth/reconcile.go:39-43 | pkg/cloud/services/kubeproxy/reconcile.go:41-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852e24669cd8a85fc5b11876b885121089bef3813fd438362f8629c15de79f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:199-204 | bootstrap/eks/controllers/nodeadmconfig_controller.go:208-213 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:199\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35973babf23e39dbd4da7b760d9f49b1915b510c7a49d20dba0ab2dad308c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): controllers/awscluster_controller.go:182-186 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:241-245 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awscluster_controller.go"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bb55ab011787237ccfabdfdcd4e8398bbcf29e773ff0034a7cf6e0b485996f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/cloud/services/ec2/instances.go:836-840 | pkg/cloud/services/ec2/instances.go:1193-1198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/ec2/instances.go:836\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05b428884f9d8d89814efccb5554b3d102f5bd7998aee1202f7b9df0fba7bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:771-775 | pkg/cloud/services/elb/loadbalancer.go:877-881 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:771\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a57e507f382e0dee1de928acff688a294c10c1a838fa90f88b9f9857228e50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:1637-1641 | pkg/cloud/services/elb/loadbalancer.go:1677-1681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:1637\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1637}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8271253f0f91849e9b92d60508782ad073b4317420731fffdc42484e1ecb9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): api/v1beta1/awsclustertemplate_types.go:26-63 | api/v1beta2/awsclustertemplate_types.go:26-64 \u2014 \u0060api/v1beta1/awsclustertemplate_types.go\u0060 and \u0060api/v1beta2/awsclustertemplate_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 39 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsclustertemplate_types.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e806958a5b52dba59382ff8e60170ca4057d0570afa746edc7891afc7c8449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): bootstrap/eks/api/v1beta1/eksconfigtemplate_types.go:24-57 | bootstrap/eks/api/v1beta2/eksconfigtemplate_types.go:24-56 \u2014 \u0060bootstrap/eks/api/v1beta1/eksconfigtemplate_types.go\u0060 and \u0060bootstrap/eks/api/v1beta2/eksconfigtemplate_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/eksconfigtemplate_types.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e1fb9f4df64f8bea6515e00aee717cbd4dd2a8677b64b43afb9971461cfb90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cmd/clusterawsadm/cmd/controller/credentials/common.go:23-39 | cmd/clusterawsadm/cmd/controller/rollout/common.go:24-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/common.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbe0720b20b7f6c9fce2782e4359d7f2fad945b4784a8f55aee2953539a23ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/v1beta1/awsidentity_types.go:181-190 | api/v1beta2/awsidentity_types.go:184-193 \u2014 \u0060api/v1beta1/awsidentity_types.go\u0060 and \u0060api/v1beta2/awsidentity_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 169 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsidentity_types.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c1181eb1458a85d861772ff817bda37bf793c1520e016afc470f10a9cbae5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): api/v1beta1/groupversion_info.go:27-38 | exp/api/v1beta1/groupversion_info.go:27-38 \u2014 before extracting anything, compare \u0060api/v1beta1/groupversion_info.go\u0060 and \u0060exp/api/v1beta1/groupversion_info.go\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92dc6d992cf026e4d8c5b7f8b07fb71fa6796cfb7c84250383177f49ba46df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): api/v1beta1/network_types.go:490-508 | api/v1beta2/network_types.go:1065-1083 \u2014 \u0060api/v1beta1/network_types.go\u0060 and \u0060api/v1beta2/network_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 132 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9511c5c0423326eb4ddc8ed5157cd06ae9670540d98f84ba047dc459c0f020b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): api/v1beta1/tags.go:58-69 | api/v1beta2/tags.go:51-62 \u2014 \u0060api/v1beta1/tags.go\u0060 and \u0060api/v1beta2/tags.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e69cf4dd6f286b941d9cb703456ed9c23f9d2fd55bdd41568b47c534417cae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): api/v1beta1/tags.go:238-242 | api/v1beta2/tags.go:242-246 \u2014 \u0060api/v1beta1/tags.go\u0060 and \u0060api/v1beta2/tags.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 62 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0c93e738362baad1dd5d249c79d6e4a521a7474b209cd566e3b471060a763a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): api/v1beta2/groupversion_info.go:27-36 | exp/api/v1beta2/groupversion_info.go:27-36 \u2014 before extracting anything, compare \u0060api/v1beta2/groupversion_info.go\u0060 and \u0060exp/api/v1beta2/groupversion_info.go\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36a96cc2c97ae100556b678f8fe408f55f05ecf5d70c3a2890b13ce0c46f685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bootstrap/eks/internal/userdata/utils.go:36-40 | pkg/cloud/services/userdata/utils.go:40-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Check import visibility before settling on that home: \u0060bootstrap/eks/internal/userdata/utils.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/utils.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda879470f1a056200f0e59ed837415db429adae0c4af0a2125a93fb9556be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controlplane/eks/api/v1beta1/validate.go:27-35 | controlplane/eks/api/v1beta2/validate.go:27-35 \u2014 \u0060controlplane/eks/api/v1beta1/validate.go\u0060 and \u0060controlplane/eks/api/v1beta2/validate.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 67 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/validate.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"09483a851b83fd5718f92d4b20872458ebea707b438119788d1536a73fd2f5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controlplane/eks/api/v1beta2/groupversion_info.go:27-36 | controlplane/rosa/api/v1beta2/groupversion_info.go:27-36 \u2014 before extracting anything, compare \u0060controlplane/eks/api/v1beta2/groupversion_info.go\u0060 and \u0060controlplane/rosa/api/v1beta2/groupversion_info.go\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/groupversion_info.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0cbbd63d97496a27b4affd93a9abc086d03b0fc7817f789d832edb67b4ccb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:77-83 | pkg/cloud/services/eks/cluster.go:772-778 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832940c99883aaecb12db4249f6e06c1577ea01f5f965e57dc14ba0fd587aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): exp/api/v1beta1/types.go:240-248 | exp/api/v1beta2/types.go:357-365 \u2014 \u0060exp/api/v1beta1/types.go\u0060 and \u0060exp/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 125 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/types.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d744449b591b3722c4fce72d6fd00f52e8bbbe69ba9d10d718468d463e1b18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): exp/instancestate/awsinstancestate_controller.go:232-238 | pkg/cloud/services/instancestate/queue.go:106-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/instancestate/awsinstancestate_controller.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7d2f9c9d97c9354d9c2ec04e80b362258eac0045454725c75be3c8a2a805be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): api/v1beta1/awscluster_conversion.go:222-235 | api/v1beta1/awsclustertemplate_conversion.go:46-59 | api/v1beta1/awsmachine_conversion.go:158-171 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awscluster_conversion.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"623a39c9be9055ae5b3613b22dc8468895272421c73a7800d96236cef7de555c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): api/v1beta2/awscluster_types.go:451-456 | api/v1beta2/awsmachine_types.go:559-564 | api/v1beta2/awsmachinetemplate_types.go:155-160 | api/v1beta2/awsmanagedcluster_types.go:113-118 | bootstrap/eks/api/v1beta2/eksconfig_types.go:167-172 | bootstrap/eks/api/v1beta2/nodeadmconfig_types.go:200-205 | controlplane/eks/api/v1beta2/awsmanagedcontrolplane_types.go:485-490 | controlplane/rosa/api/v1beta2/rosacontrolplane_types.go:1069-1074 | exp/api/v1beta2/awsmachinepool_types.go:342-347 | exp/api/v1beta2/awsmanagedmachinepool_types.go:363-368 | exp/api/v1beta2/rosacluster_types.go:109-114 | exp/api/v1beta2/rosamachinepool_types.go:343-348 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 12 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/awscluster_types.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74fdbf39e6177c8a8c919299dac5dfa6448fe318d7124914328281f615a28dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): bootstrap/eks/webhooks/eksconfig_webhook.go:34-39 | bootstrap/eks/webhooks/eksconfigtemplate_webhook.go:34-39 | controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:64-69 | controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:43-48 | exp/webhooks/awsfargateprofile_webhook.go:46-51 | exp/webhooks/awsmachinepool_webhook.go:43-48 | exp/webhooks/awsmanagedmachinepool_webhook.go:50-55 | exp/webhooks/rosamachinepool_webhook.go:24-29 | exp/webhooks/rosanetwork_webhook.go:21-26 | exp/webhooks/rosaroleconfig_webhook.go:22-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 10 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:37\u0060 calls \u0060WithName\u0060 and \u0060bootstrap/eks/webhooks/eksconfig_webhook.go:28\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfig_webhook.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b54913e65b5e7a7418eb28ce9f7cf69e54c445bbd5544d3448e5c4ef36efc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controllers/awscluster_controller.go:118-127 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:77-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awscluster_controller.go"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4fe3dae990641ac16b14ad69ffb8439f6a240624cd9da0f6fd01ed1b457ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): controlplane/rosa/controllers/rosacontrolplane_controller.go:1664-1674 | exp/controllers/rosanetwork_controller.go:313-323 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11c25163bc59ac3eb6b289b8ecd3876594899d74690720f7e483822c2186f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): hack/tools/release-tools/cmd/ami/detect_k8s_release.go:109-115 | hack/tools/release-tools/cmd/ami/find_missing_ami.go:202-208 \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":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaad23b4e359d64fbf23c3ad9eea89ebbe4aa39cc1cf761dc999290a061e9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/cloud/scope/cluster.go:139-144 | pkg/cloud/scope/managedcontrolplane.go:195-200 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/cloud/scope/cluster.go:147\u0060 calls \u0060SecurityGroupOverrides\u0060 and \u0060pkg/cloud/scope/managedcontrolplane.go:203\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"38137ccb2473ae736c274c3a1f8d044a4d0696b1927a904d8beac72b8515ea94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/cloud/scope/cluster.go:314-320 | pkg/cloud/scope/fargate.go:138-144 | pkg/cloud/scope/managedcontrolplane.go:305-311 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa76bbd18782fefc1734397f85d3e279a119535d86d3f767d8f0ea029c3c03f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/cloud/scope/cluster.go:421-426 | pkg/cloud/scope/managedcontrolplane.go:482-487 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f1ca9941fe4be945095bc582c8506b49bf015f44d247680035e212c903188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/cloud/scope/machine.go:198-203 | pkg/cloud/scope/machinepool.go:199-204 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f9abae17a86073ce67f7af06ae9a3f1d4bb102516ede42e52c6a5fd576ca5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/cloud/scope/machine.go:339-348 | pkg/cloud/scope/machinepool.go:163-172 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6ed24f2c991cb5fcb4eb7429103292b5958db43129d41909d7b4c8fd6e9076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/cloud/scope/machinepool.go:175-183 | pkg/cloud/scope/managednodegroup.go:275-283 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf594a7c6539719f975752396af96560b544d44b46d9290f4f2af00f7156c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/cloud/scope/rosacontrolplane.go:167-179 | pkg/cloud/scope/rosaroleconfig.go:147-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosacontrolplane.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0f195b0194803281dddb2e08e816249fef07e158998686aaf5a630bab296cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/scope/rosamachinepool.go:212-219 | pkg/cloud/scope/rosanetwork.go:129-136 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosamachinepool.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"682ec030304756945c27ec38d53a00fb0d016e594eb260041ed9f5c0cce2dde7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/services/ec2/instances.go:1469-1479 | pkg/cloud/services/ec2/launchtemplate.go:1305-1315 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9cbce66f3d484bb3f8f773e7567a84f4646f928415c70350e182e3a1b91247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/cloud/services/network/service.go:34-39 | pkg/cloud/services/secretsmanager/service.go:46-51 | pkg/cloud/services/ssm/service.go:48-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/service.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c77abaaed6b2ab21f211ee5405ae74964205e06df65821dd87438cf1ea793b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): exp/api/v1beta1/types.go:29-103 | exp/api/v1beta2/types.go:28-103 \u2014 \u0060exp/api/v1beta1/types.go\u0060 and \u0060exp/api/v1beta2/types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 125 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/api/v1beta1/types.go:29\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":"exp/api/v1beta1/types.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb848e2d5ad5ed0650db8f36e4d829e25ab2e5f36d38b3d0b5f3d230abfec7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): api/v1beta1/awsmachinetemplate_types.go:36-72 | api/v1beta2/awsmachinetemplate_types.go:97-134 \u2014 \u0060api/v1beta1/awsmachinetemplate_types.go\u0060 and \u0060api/v1beta2/awsmachinetemplate_types.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 38 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsmachinetemplate_types.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"54040ecc5b10a0c893fb99959984d16ae396c9cc14bb95cdff1595fc321ab907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/cloud/services/eks/cluster.go:978-991 | pkg/cloud/services/eks/cluster.go:992-1005 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/cluster.go:978\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e152ded4c2c1f687b5f67475a432230f599c80ba347c641c85b2d0ee1e09c396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:525-538 | controlplane/rosa/controllers/rosacontrolplane_controller.go:1686-1699 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:525\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":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a606d7727fc511f8af0aff24628173d2d02470cd781f343f1a5fe338fd4eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): exp/controllers/rosaocmroleconfig_controller.go:409-421 | exp/controllers/rosaroleconfig_controller.go:571-583 \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":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d824c778b247787c21cd7e0d76ac116f0d8e59351514cae8b31eb80026d31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/clusterawsadm/cmd/eks/addons/list_available.go:122-134 | cmd/clusterawsadm/cmd/eks/addons/list_installed.go:126-138 \u2014 before extracting anything, compare \u0060cmd/clusterawsadm/cmd/eks/addons/list_available.go\u0060 and \u0060cmd/clusterawsadm/cmd/eks/addons/list_installed.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b23e4df88ff6c6fc64b6257bb7c100e3e293c667a36621abf82d69c036832d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/rosa/ocmrole/ocmrole.go:192-202 | pkg/rosa/ocmrole/ocmrole.go:216-227 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/rosa/ocmrole/ocmrole.go:192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e1b6d8884ddb8b0673270f932911492af46cdc10cf86e6fb23606040c12beb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/cloud/scope/fargate.go:57-67 | pkg/cloud/scope/managedcontrolplane.go:79-89 | pkg/cloud/scope/managednodegroup.go:75-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/fargate.go:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060pkg/cloud/scope/managedcontrolplane.go:79\u0060 is reached only past a guard at line 75 that tests \u0060params.Cluster\u0060 and leaves the function early, and \u0060pkg/cloud/scope/fargate.go:57\u0060 reads \u0060params.Cluster\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/fargate.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e4410102a3bf99048f142a2161de86cfc4e2ff55238d51ba0080a83ac3b3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/cloud/services/eks/nodegroup.go:56-66 | pkg/cloud/services/eks/nodegroup.go:263-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/nodegroup.go:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3397c1ce03824314aea2ec16ce9c8ebfe3dafd1155504a645556f07374dc7b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): exp/controllers/rosaocmroleconfig_controller.go:396-405 | exp/controllers/rosaroleconfig_controller.go:558-567 \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":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef4beda8a7231239e228880a25a7fdfac60e3d8da9cd7c44f888d8dc9636420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controllers/awscluster_controller.go:459-468 | controllers/awsmachine_controller.go:1236-1245 \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 \u0060controllers/awscluster_controller.go:459\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":"controllers/awscluster_controller.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23f344baa85b2a9b80d43fff68bd58e4ded7f007b1901c01fbfa1db274fdee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/cloud/services/secretsmanager/secret.go:124-132 | pkg/cloud/services/ssm/secret.go:127-135 \u2014 \u0060pkg/cloud/services/secretsmanager/secret.go\u0060 and \u0060pkg/cloud/services/ssm/secret.go\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 35 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98adfe78e6e6cede481243a947d3dd0d2921f550fc124d895aadd7c6edf72f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/rosa/ocmrole/ocmrole.go:243-251 | pkg/rosa/ocmrole/ocmrole.go:277-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/rosa/ocmrole/ocmrole.go:243\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df399027ff28e827576ee4f1724c1047e4f4883b03b4d98bb53189895058cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controllers/rosacluster_controller.go:163-170 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:176-182 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controllers/rosacluster_controller.go:163\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":"controllers/rosacluster_controller.go"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2346260501dd056f5d6b9c2fa1e3e4e25fd791e226ae6edb45bfb89913c70d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): pkg/cloud/services/eks/cluster.go:595-600 | pkg/cloud/services/eks/cluster.go:636-643 | pkg/cloud/services/eks/cluster.go:667-672 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/cluster.go:595\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a487e3ef9abf8d586a5d1023cf4914e14985a82d83d11237857e20326c000cd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/scope/fargate.go:68-75 | pkg/cloud/scope/managednodegroup.go:87-94 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/scope/fargate.go:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/fargate.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3f2ed8bde880b13276651a4a8d264aa3ea70696ca1391af601c6149f11462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/cloud/services/eks/fargate.go:308-315 | pkg/cloud/services/eks/nodegroup.go:131-138 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/eks/fargate.go:308\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f603c9208e18439938b158b8c084e5aa19b47236149eb476e82f7689da14b0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): controllers/awsmanagedcluster_controller.go:128-135 | controllers/rosacluster_controller.go:163-170 | controlplane/eks/controllers/awsmanagedcontrolplane_controller.go:176-182 | controlplane/rosa/controllers/rosacontrolplane_controller.go:154-161 \u2014 before extracting anything, compare \u0060controllers/awsmanagedcluster_controller.go\u0060 and \u0060controllers/rosacluster_controller.go\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controllers/awsmanagedcluster_controller.go:128\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060controllers/awsmanagedcluster_controller.go:127\u0060 calls \u0060WithEventFilter\u0060, \u0060ResourceIsNotExternallyManaged\u0060, \u0060GetScheme\u0060 and \u0060controllers/rosacluster_controller.go:162\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":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4abbb42613fea70b8ea4d09b96208123d3c404e2715e6f67eadc81728b1e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/elb/loadbalancer.go:573-579 | pkg/cloud/services/elb/loadbalancer.go:1557-1563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/elb/loadbalancer.go:573\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"da80c807892ba160e8437915925d9d760c06ffacfe506634f627fae9832c556a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): exp/controllers/rosaocmroleconfig_controller.go:114-120 | exp/controllers/rosaroleconfig_controller.go:127-133 \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":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e65725f84caa4cc86f73cede20aab426f97bd57c8e33bf43cdbb4ebd8b3b9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): webhooks/awsmachine_webhook.go:145-150 | webhooks/awsmachine_webhook.go:151-157 \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 \u0060webhooks/awsmachine_webhook.go:145\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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"927866ca4122ad6e602923a46d1a19b65a4e4a4cb04397c4419771e0187acd68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bootstrap/eks/controllers/eksconfig_controller.go:88-94 | bootstrap/eks/controllers/nodeadmconfig_controller.go:85-91 \u2014 before extracting anything, compare \u0060bootstrap/eks/controllers/eksconfig_controller.go\u0060 and \u0060bootstrap/eks/controllers/nodeadmconfig_controller.go\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 132 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bootstrap/eks/controllers/eksconfig_controller.go:88\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":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f8b38bb7a264b4be07067132f96bdf5ee766dcf1056832b0b32f52dc647b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/gc/loadbalancer.go:216-222 | pkg/cloud/services/gc/loadbalancer.go:245-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/gc/loadbalancer.go:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/loadbalancer.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596452d4d4b3f43db27783b30cced07efd9bf7c7e4bf76a321ca3068f37129a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controllers/rosacluster_controller.go:97-103 | exp/controllers/awsmanagedmachinepool_controller.go:121-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controllers/rosacluster_controller.go:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/rosacluster_controller.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3941376125ff832f6535c6963a2384cdc6b631b8a7484ccddbb51745b3a343e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/awsnode/cni.go:244-250 | pkg/cloud/services/awsnode/cni.go:252-258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/awsnode/cni.go:244\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cc115a9cf9cafd6ccdacf88e0c98503fdcef973faf86a5fd9ae626b9a77bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/cloud/services/ec2/instances.go:432-438 | pkg/cloud/services/ec2/instances.go:442-448 \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":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53f28ca02eb410eea3e9c22102a36e61a027a6cc5f9a84237a2fbf83d1b2d0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/clusterawsadm/cloudformation/service/service.go:141-146 | cmd/clusterawsadm/cloudformation/service/service.go:163-168 \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 \u0060cmd/clusterawsadm/cloudformation/service/service.go:141\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7906d1ad3ec7c3e7fccc66c2af997648f955cddf2443f60dd20ad4c3010c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): exp/webhooks/awsmachinepool_webhook.go:98-103 | webhooks/awsmachine_webhook.go:428-433 | webhooks/awsmachinetemplate_webhook.go:86-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060exp/webhooks/awsmachinepool_webhook.go:98\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":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb529085fa443aef0f602c05ff545c0c55f0cb5baa2cd2cd8be2b4b9a07c6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/cloud/services/network/vpc.go:349-354 | pkg/cloud/services/network/vpc.go:376-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/cloud/services/network/vpc.go:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2b68ee185a3039788d300683669f9c9becf0241383141e98c5e21a25953943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): main.go:338-343 | main.go:443-448 \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 \u0060main.go:338\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2a397166a35e37cb6daa5f14e5e3efd331b61e84a69cabcbc6ddb71d9fcb9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): main.go:338-343 | main.go:397-401 | main.go:443-448 \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 \u0060main.go:338\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060main.go:337\u0060 calls \u0060GetEventRecorderFor\u0060 and \u0060main.go:396\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":"main.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"298710290c16949d5a98c0e01baf6b976a618b680519c36fac339afd198f3818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/clusterawsadm/cmd/eks/addons/list_available.go:44-48 | cmd/clusterawsadm/cmd/eks/addons/list_installed.go:44-48 \u2014 before extracting anything, compare \u0060cmd/clusterawsadm/cmd/eks/addons/list_available.go\u0060 and \u0060cmd/clusterawsadm/cmd/eks/addons/list_installed.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/clusterawsadm/cmd/eks/addons/list_available.go:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5a6e152f6a25d1e6921726f320efcaab29283153ac65f879b78c90ab713136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): main.go:277-281 | main.go:287-291 | main.go:526-530 \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 \u0060main.go:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060main.go:276\u0060 calls \u0060GetEventRecorderFor\u0060 and \u0060main.go:525\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":"main.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5e5566980c043356f6ea27f36e2aa4ca97aeb6d3649e880030b188b0ae2350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): main.go:323-327 | main.go:518-522 \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 \u0060main.go:323\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 before the matched lines, \u0060main.go:322\u0060 calls \u0060GetEventRecorderFor\u0060 and \u0060main.go:517\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":"main.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac8d1ec5efb7c3b6f092d3b8badd4d3ea712e8d134826c3aa7d923ab6189ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): main.go:277-281 | main.go:287-291 | main.go:323-327 | main.go:338-342 | main.go:397-401 | main.go:443-447 | main.go:518-522 | main.go:526-530 | main.go:536-540 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060main.go:277\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060main.go:276\u0060 calls \u0060GetEventRecorderFor\u0060 and \u0060main.go:396\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":"main.go"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"809515080d62663b515c095333cc628625c8b34834f945f2e30162ac53039b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): webhooks/awsmachine_webhook.go:100-104 | webhooks/awsmachine_webhook.go:106-110 \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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6461122a4c705b77d4f08d1a4b18f0d2c0fcbc99f616280fc0d669e4344c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): controllers/awsmachine_controller.go:1165-1169 | controllers/awsmachine_controller.go:1190-1194 \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 \u0060controllers/awsmachine_controller.go:1165\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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42067627c9c70ca7df2ad9dec359e1b9b966f0bc6353e421cc632b112c8d141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:103-108 | controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:149-154 | controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:69-74 | controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:111-116 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b2ed7b309d2d8c0f3bc14c2b9bf0774d9d6fe1cc02e668be7aee83268c3ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): exp/webhooks/awsmachinepool_webhook.go:208-212 | exp/webhooks/awsmachinepool_webhook.go:277-281 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060exp/webhooks/awsmachinepool_webhook.go:206\u0060 calls \u0060validateRootVolume\u0060, \u0060validateNonRootVolumes\u0060 and \u0060exp/webhooks/awsmachinepool_webhook.go:276\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":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbad8e4759e0454aa66b18f535939282fb552aee6aa1a4ab2940c80dbd4fe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): webhooks/awsmachine_webhook.go:77-82 | webhooks/awsmachinetemplate_webhook.go:241-246 \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":"webhooks/awsmachine_webhook.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeeff8d56aaa663d22035927b3a769048dade391633a62c82ccd5c265655ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): hack/tools/ami/delete_amis.py:44-63 | hack/tools/ami/list_amis.py:39-58 \u2014 before extracting anything, compare \u0060hack/tools/ami/delete_amis.py\u0060 and \u0060hack/tools/ami/list_amis.py\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/ami/delete_amis.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e28ddb17645e4db98ce54812fabf6f1cbc39259f0d445b5d098016558de496"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): hack/tools/ami/delete_amis.py:110-121 | hack/tools/ami/list_amis.py:70-81 \u2014 before extracting anything, compare \u0060hack/tools/ami/delete_amis.py\u0060 and \u0060hack/tools/ami/list_amis.py\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/ami/delete_amis.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b6f08c24c3c9015fd9c4014442ea76c349561de00bbf247610b64352ef3d17"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EKSConfigReconciler (LCOM4 5): EKSConfigReconciler\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc0f64f6a718694285eda2b23cd01963bbe86d307f898f13f0f7dd26951c0f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NodeadmConfigReconciler (LCOM4 5): NodeadmConfigReconciler\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3bdc08328de78a007168b502099a74a1ba64e05e424e0076137c9d5925457c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AWSMachineTemplateReconciler (LCOM4 5): AWSMachineTemplateReconciler\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7882553655cd2431442107561f4c4d518c263d3393591bf64dd35bff9a07136"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/awscluster_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awscluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02101a57af788e444da11c3fe4f144d9608cb08fe99627340183c7442a0c6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/awsclustertemplate_conversion.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsclustertemplate_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9950ec6bdd73c5590c681fa78af5d63dd7b52a60515f8c5ebbf6593b523ae60b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/awsmachine_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsmachine_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee635fd1dcb38a7329a447e1b822b08418f880022e35a87bc175e9c120a11a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/bastion.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/bastion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe1bd23c9963446077b65a1f39b66f61ac6859bb72104fd0489b21f1cd4974e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/network_types.go: 28.7% line coverage (33/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91da5988d4e9969148a222707f253baa1bc8b2279989deb15009ca49e2db747"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta1/s3bucket.go: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/s3bucket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a20ab8125609f82fd6c701d7045f6682ab20bb616730756792db51664aaf0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/awscluster_defaults.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/awscluster_defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9554f9e880419313de9222c6a7141c494856d4d73250a0c960e1541622e49646"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/awsmanagedcluster_types.go: 14.3% line coverage (2/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/awsmanagedcluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2318923a385cafe3dc202d9048c6bbce63d047d7e37ac7444ef9a61656156000"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/bastion.go: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/bastion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd3fc89d69e121e443788d416d007393c656f7a724042551430ca48bd942629"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/conversion.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9560d5d04b241faaa08d427496ad2086cf60893d3ed19841015bee712ad94d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/defaults.go: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3da58a5c7184fb5916ddf7de679813088bf417ca45adaf7eeaa0f02b454ea9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/s3bucket.go: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/s3bucket.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226b8b588ffe567abfc47a085365dcbeb86f5d3555201fe819f98ca036c7edf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: api/v1beta2/types.go: 11.8% line coverage (2/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30fb38a4e652a753f737e044592fc21faf61b34308b7680539dcde5b7e41142"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/api/v1beta1/eksconfig_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/eksconfig_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce79b6b425e9c5d5ce51fe16deccaa24ddc0f816dff6d8808b91309dde13b5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/api/v1beta2/conversion.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta2/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afa0b6a8d497c890fece6c75a9265703df8c182f065617d6d6a0e68155a2d3c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/controllers/eksconfig_controller.go: 0.0% line coverage (0/282)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c01401fdf7931a5688db5a70cc0304c5e0a23b8e74ae82f1af457d361834d9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/controllers/file_resolver.go: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/file_resolver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"045d01b429bcd922529c6e5f42842a8b936a03235424111b5f497d7cc0ba2c0b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/controllers/nodeadmconfig_controller.go: 0.0% line coverage (0/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a08fbb5e103603cd0e1d03f14f62b3d822694f71200e8670d5e34fec62bc220"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/internal/userdata/node.go: 47.8% line coverage (22/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec1df974f2fe5c4e0ef5af85dc3da65a644286561b242533b4c34bf2ae05bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/internal/userdata/utils.go: 40.0% line coverage (10/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dbbbd39f558916100d62ae5e455cfee80b70c094aa427a17215377a2cda402"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/webhooks/eksconfig_webhook.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfig_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9006d314304cfdabd495aede38119d32227ddaa195237c59257c97049b4f0d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: bootstrap/eks/webhooks/eksconfigtemplate_webhook.go: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfigtemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96735f7e625fc779ddfdedef42df4a8215c781068e8967d5f7f141f77256764"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/ami/copy.go: 0.0% line coverage (0/147)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ae2006a3d7034720bcf7b2ea732a58b59c54ef4721afe47bf7c217fb180d00"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/ami/helper.go: 5.2% line coverage (9/173)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12badcea3d21ddc1bee8a2acc4463ed3dfcfdb6a70b39c47a1b7e41e046cd32f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/ami/list.go: 0.0% line coverage (0/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c97ae6ea53f5bd17e042aaaffa15b956cde76845daeab2763a4e7507cfd030"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/ami/v1beta1/register.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/ami/v1beta1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6fd833eab83534455751d1e7c69ba4a69182701d86ae053a8f9e6cdeaf49d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/ami/v1beta1/scheme/scheme.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/ami/v1beta1/scheme/scheme.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d540c15c4d87259ea7ca2ad4446cf24f4b0a7c30e470063c78a29a168201494b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1alpha1/conversion.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1772fceae69f6dbae0a82e6217e814c1d3e5356a99186368e43f667e3c36b948"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579ef0c86c74bc4a873ae44050a8cbff6a4ae419e8244bee5cd87db28a87cdb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1alpha1/register.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a26ba6a50abf7f5f26f79a8d5e40795b53da70581d55521cdaf7ed99bcc14"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1alpha1/scheme/scheme.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/scheme/scheme.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014fcd99d6207c376993ad0c24a13a04a4bfbbf8d51150315f34be56f743a9d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc04350626ac6e469c1daadc5f50f6e738c718156b433dc050aaddc701bbce4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1beta1/register.go: 25.0% line coverage (2/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1beta1/register.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd97820bc4bb84baedf4949ec9d667d4c10410701cc09d7eb47bc567791428c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/api/bootstrap/v1beta1/scheme/scheme.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1beta1/scheme/scheme.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975adab5ca562aaf0cd1465fe51ddaedf579a33c6b321ee216bcf6ae6a3eca98"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cloudformation/bootstrap/csi.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/csi.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e6c111ee48fbe4f9677f67a1a8655be9bd7078d68261d0628e52bdc8b8cbfa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cloudformation/bootstrap/iam.go: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"583705571fde4a3fb96701d4b50f053b8d2ca7b6f57f683511d904b259544990"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cloudformation/bootstrap/managed_control_plane.go: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/managed_control_plane.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbf63d9b832d4ee7f22c76641418a819277c0bb845f98e32ec3b27ba05e0ffa"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cloudformation/service/service.go: 0.0% line coverage (0/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1e882c81e168d65cf8d0ee2151d0425e68304e88bcebaeef77393489aeeb12"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/ami/ami.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b31cb4def2049074bec1b115400b055e267a5829cd8a4cfa50d258bf114c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/ami/common/common.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fc15d708292f8b936ed0c2a65b31a64eaf67dd9be8545ef2d649a5e1f2de97"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/ami/common/copy.go: 0.0% line coverage (0/62)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f213a252698d0f85b7df33e1d9bf16c5100ee8ac0615cbafb328f444d81ec75d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go: 0.0% line coverage (0/81)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a622d74f72b8af6626bd2112e939d3b98fd84d03b397495709c20857beb2cf9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/ami/list/list.go: 19.3% line coverage (11/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/list/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ac4c2f70e8708d6008fb88ffa4b82d25e46d84354b1f26fb173f131d20746b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/bootstrap.go: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/bootstrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ab2524f549080cdd215be589cbd924b9b394fbcecde44cb395bc3b84455dc6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/credentials/credentials.go: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/credentials/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2d26581380d2d464f69c98b6453d7ba45968f03eb2aadfd84ba756289ba366"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go: 0.0% line coverage (0/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adceb44b60105cf28b295e9f133d0a9e189b0f98acfe0417b503fe2c29d6ec94"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/iam/config.go: 0.0% line coverage (0/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27ba827d9f8046a6535fda7abb95e9884af9c4830204797cd30369f1178c132"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/iam/iam_doc.go: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/iam_doc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ca189961addf93b94cdd2ae4ae7e5fdf16942eca8b64c70872a50a7dc41ed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/bootstrap/iam/root.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82d38f657ccb47ad8fa41400dcf557455d981b2fa404d5a88a40c233e04c816"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/controller.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29cf7298058e35a5d6b02ef68c539974d1908c138daa6b658492d74130c49d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/credentials/common.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd879f467018db0c6a546598710eed3f1a6a72cf5a530373140ecce5d4e79d3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/credentials/print.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/print.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0929f3f3972908472fa516875dd79973b9fd90b4c959399d27bd6ec43c5ecb57"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/credentials/update_credentials.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/update_credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab2d89c8a1aa706a5c32d8aecfaa93c8ba240891959aeeaf89b242a126afc1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/credentials/use_pod_identity.go: 0.0% line coverage (0/105)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/use_pod_identity.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd4f0052bd8541471b2719662022c0a3b2c9a1dc7ac920bb4b5f3997d33e8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/credentials/zero_credentials.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/credentials/zero_credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d81e7b95a40ce0509c3e4e550e752c347d81f8cd6388ac3e7dd53a6e77ad1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/rollout/common.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/rollout/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c17aa4e1eebaff1efaeabe00f64781038313b6bed0c38389ada2a296ff7d727"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/controller/rollout/rollout.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/controller/rollout/rollout.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf3c6b1f3e8e12bb05805de2aed9185878fb226e796e308329115aa8869973"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/eks/addons/addons.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/addons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2130a2390d818eb45ebf4f28650b428a3d5a057fee4d1e895e5c13595c3d6d3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/eks/addons/list_available.go: 0.0% line coverage (0/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_available.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2642ae19198739e7977f60a66d4314a9f9b2203393461e6e8d4da265ddb8b66"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/eks/addons/list_installed.go: 0.0% line coverage (0/88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/list_installed.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb6489736895acd694196668a9227436f38bf0f3494679897c59695b794dea0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/eks/addons/types.go: 0.0% line coverage (0/82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/addons/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72eecdfd4b717cff5c29abb23368f5f15656abebcaa787ba81ebf9a43236a28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/eks/eks.go: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/eks/eks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7400ce3b999d6e087b4da83ec0612f1fd24e45ffc29ae81f97be0477ce033757"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/flags/common.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/flags/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"680b8a4b5a906c209948a78e62647e71a116957445f5864c6059a5541609f8bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/gc/configure.go: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/configure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"532aba8405ba8f0caecac5af3660d23aed59756645765f0f1eaf84721e72766c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/gc/disable.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/disable.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed3dbf636cf32e6435423c05eb6acf3f9b1d50547a423c7cb4913267e9fa99d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/gc/enable.go: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/enable.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf22f343931e7d866a553b7148610ba50f9899dee847ed162cf4c714b91b91c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/gc/gc.go: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/gc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae0a5caceed68c14f114594553c90ec66cffece484b50f9d495a282c2a9827"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/resource/list/list.go: 0.0% line coverage (0/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/resource/list/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcd6cc1fcccef8e63dce34bd2a0841d59e41ac0354bc957d564f9ac702db3c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/resource/resource.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/resource/resource.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a29e3cb8402900db65cf48a1495a86499a93b4813a1b83ebd01ec1a6bad5d71"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/root.go: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ba5a77a0e557f236ea36103c13450a55b5b0d9cece2ab25b520d9cb548ae60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/util/util.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/util/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a77dc34d4aa99517a5a3e701f48b7475f539faaefc6d22911ed41cb45b8060"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/cmd/version/version.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/version/version.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1db56c944cd06837f278a3e9d7e5645b22fc6522fdb583c84cc55c404a54dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/configreader/configreader.go: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/configreader/configreader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"269f6c331ad9021b810086545709b0fc147cae2ffb6cf39f5a9ab85625abf80e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/controller/credentials/update_credentials.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/credentials/update_credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e10c04c255104687046a833864394fccf4f36e6c96f3a2c1746acbe0f389cb8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/controller/credentials/zero_credentials.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/credentials/zero_credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79df589a03ecfd6656ed6c3f35c820f6ed2e09633a83608ebef7795cd30ad44"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/controller/helper.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1390f8e2fdf5b0afab3aae4e60dde8335fb2090873b10a92555300a7faded5f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/controller/rollout/rollout.go: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/rollout/rollout.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8debad6b529c074dcbf60156745fe44421450c1889f4161509e0180455c82b36"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/converters/cloudformation.go: 45.5% line coverage (5/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/converters/cloudformation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"527ea250cb63c4767bb09f7d85478a3674db9f63fea83562371e392e71974e9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/credentials/credentials.go: 0.0% line coverage (0/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/credentials/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"569ffa8033bff3f1640f1ebdafdeeedb172be10eab945e7a74bb861e51a45e77"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/main.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eddfb76f27e6033fed8419c6fce5ba3d9fbb4cda29f4c37bdb61c573b50779"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/resource/list.go: 0.0% line coverage (0/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/resource/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ea782a1d7a9d4cb9e512ce428b4c11edc9fe1c599780bdcdf056e26a2c322"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cmd/clusterawsadm/resource/type.go: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/resource/type.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171df0dc69fbde0b60023a437e075291051e2e22fbaae48ee73509d8e7f67c54"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awscluster_controller.go: 0.0% line coverage (0/322)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awscluster_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18b298cf594ca21e0a75858a2f7c4d439edbf24d5fc1a98eb22d209d38712ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmachine_annotations.go: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_annotations.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1318435e5c564205effc4db35271faa8172c2af76ef9684c595a3529d9453a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmachine_controller.go: 0.0% line coverage (0/892)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1680e1ce5125a60fa0e0ddf0da5ace245b30ac314db39dfe32b58f3120afef8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmachine_security_groups.go: 0.0% line coverage (0/54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_security_groups.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5c3c163b82390f88702f354ee64bc7f5d77aa2497e212d0b3ee3e0177e77c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmachine_tags.go: 0.0% line coverage (0/52)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64be3231f94607a8ed8b6642f4b809b40d1992789a38e26827d20d98424e5d1a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmachinetemplate_controller.go: 0.0% line coverage (0/324)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f5ccf38b483fa09dbe9c16254979b70200f108ac8993822b80b59224b8e7d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/awsmanagedcluster_controller.go: 0.0% line coverage (0/111)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmanagedcluster_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcfabc5734c2e52fdb311630050185188111739e6a819e7354b3af2c1eee82d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/disabled_controllers.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/disabled_controllers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e82f3048281b0b16d9ad855b8fed311125dfb9fe90a65873f1134ef641745f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controllers/rosacluster_controller.go: 0.0% line coverage (0/228)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/rosacluster_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07a185dc0ce87a7fbeac9c8a89eabdf35408cfff3d9ff4450ac44baa2fb4c82"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22a9fa866fff24269bfc8684620445104e4efb57557bbf24bc678dd458cf62b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/api/v1beta1/types.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96aeff830d89e9d83347ce0be1238b1bb523a1e2f44894c81bb3cd881855f24c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/api/v1beta1/validate.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d31067cf5df35dab5a3c07f5d8a82f79b09447aa106a9ef01059c4d4328b4bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/api/v1beta2/conversion.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2d6ff50920865927a418403e08b85b9c9523ee50e36eb9983e1000958c295"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/api/v1beta2/validate.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"995255781523ecca9ce1df67d686e042febd6fb0f8499ed297cf7e20a2d6f608"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/controllers/awsmanagedcontrolplane_controller.go: 0.0% line coverage (0/327)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afcd0d34f5d67e72980b0fe54de83aace6a1ffc5f5708e64977973f564fa961"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go: 0.0% line coverage (0/463)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a49b5198a38c8578e8e1a14b33d34dec4e1433004e385e3c4963026d733fc28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go: 0.0% line coverage (0/140)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9bf8ae9c7c0c70411f20523313a6bb70cbf0f53509736e1e465e90cc11d07b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/rosa/api/v1beta2/defaults.go: 0.0% line coverage (0/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/api/v1beta2/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e865553def6f7e75d6992354bee06bda1f032810e0e05043a7b035393f5fce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/rosa/api/v1beta2/rosacontrolplane_types.go: 14.3% line coverage (2/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/api/v1beta2/rosacontrolplane_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133f15a72114a53f121702fc0d89681de5cee7a819bd5e161b0f6f9c4121d35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/rosa/controllers/rosacontrolplane_controller.go: 0.0% line coverage (0/1204)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03040a5e44de726155e290c55dfa3584d8e73f53bfe7250b1e1226be6b07ad6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: controlplane/rosa/webhooks/rosacontrolplane_webhook.go: 14.5% line coverage (33/228)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c9a2ec9aa88a16133d7138e438c98d9366abe77355b5d153b4ca3daaf34ba9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/book/cmd/amilist/main.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/cmd/amilist/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d2e85cbafcc33a7443940ac5205bc5465c05de24fa5f7f09b82759e4119015"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: docs/book/cmd/clusterawsadmdocs/main.go: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/cmd/clusterawsadmdocs/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59f127c8aaddf484f58ffd265e525b9f80ac7493f337ac088cd018748ddc54c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta1/awsfargateprofile_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsfargateprofile_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"774521add40c71bfe71d21335231a578c5cf98ca131eb4734447d4a37a942479"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta1/awsmachinepool_types.go: 20.0% line coverage (2/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe994e3f61f8745e09d33983f8a4dd46c703e716cc49ca66b299ed6c2a6d58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta1/awsmanagedmachinepool_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsmanagedmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d232137f00ed1823aa809c420b34a5b9bcad89a6026b855b947d381890f11938"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta1/types.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6157f3cd257dc850cf416a51cab4092ba816e292cd56c7f0c6450f8ed5be5c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/awsfargateprofile_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/awsfargateprofile_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78b2c988b6d6c9d893039484bc315f95e55bd7bf1f6e22456a681e4079c594c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/awsmachinepool_types.go: 22.9% line coverage (8/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/awsmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ecf3dae7a65de1541dbb7e5fef3fe84e123cb9c0106b42c380f16ad52e61d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/conversion.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"817438f9ae563b30b0652f446e2b704a0efd3a0038c7d9cc7d17c0b58705d8c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/rosacluster_types.go: 14.3% line coverage (2/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosacluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1896239387b4978266bca44b5eaffbab0f27ad347445384e27d1e82484b48e10"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/rosamachinepool_defaults.go: 27.3% line coverage (3/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosamachinepool_defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d38922a31c655d1b518a1948ad6c81dc8792815bac26feca740c0e6c6c7bee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/rosamachinepool_types.go: 25.0% line coverage (4/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosamachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3542f8a8506e298e707f11c83265dddfd40fc7b82f4819d9aaa38670797eeb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/rosaocmroleconfig_types.go: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosaocmroleconfig_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1437ff49db822181d6866c17bfc6b97850297482651bbee06cd1a99d02ee2919"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/rosaroleconfig_types.go: 25.0% line coverage (2/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosaroleconfig_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ff260665ac14ddf30079513466cbbddd45603b9e2fc2b62d8cf957b770d6f4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/api/v1beta2/types.go: 11.8% line coverage (2/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a0f23edb255e36c003adc79ec99d9890e46b4402057ed007275c66baf0c78a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controlleridentitycreator/awscontrolleridentity_controller.go: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controlleridentitycreator/awscontrolleridentity_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676cf0fe493b6a252309471aed2b2d5e29fb1c604c705417028194cdec889d2c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/awsfargatepool_controller.go: 0.0% line coverage (0/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsfargatepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2cc6ffeeddf495432516e7c8e34b3a4ef8d8558492f06fd39f74475f2549e2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/awsmachinepool_controller.go: 0.0% line coverage (0/531)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aed36ba533183c1c65a743b1472b1f856aac912cdfd11750d5dee515702666"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/awsmachinepool_machines.go: 0.0% line coverage (0/146)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_machines.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44583365d4c18937ec1e372280227f3623a3daa4b58b69d51add13159de1f4d9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/awsmanagedmachinepool_controller.go: 0.0% line coverage (0/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13804b4f2e69784d94287846ac73e84b70ab29231fad98cc0e36d422794a1fa2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/helpers.go: 0.0% line coverage (0/18)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca39b7510319a56b3d734a318fa8ffa5d0d212970f5cd71e056f1eedc3e13418"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/rosamachinepool_controller.go: 0.0% line coverage (0/480)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4ed102516e6a609c34d779e3d1adcb19609654fcb4565fc089311ac770c795"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/rosanetwork_controller.go: 0.0% line coverage (0/212)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosanetwork_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336a08c64258705e787d02a18b91d400f2d1bd4b79aa161fb9647d8b9717ae6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/rosaocmroleconfig_controller.go: 0.0% line coverage (0/279)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaocmroleconfig_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3948349169dffc4e510b6484d32db69de582c72bc387eea9d0f25bd3e9d088"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/controllers/rosaroleconfig_controller.go: 0.0% line coverage (0/371)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosaroleconfig_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25407ea0773cb2725872981b1af45fa0173ca9b080ea96a73125724836c7fbb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/instancestate/awsinstancestate_controller.go: 0.0% line coverage (0/128)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/instancestate/awsinstancestate_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d5a399de476a0d00f420fc3e4500851ac9c8eb2df896d02743c6c333a04c84"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/webhooks/rosanetwork_webhook.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosanetwork_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00f235aee28096068b5b665c3a6b1b483b48039d3bf84f9df24883c842fc502"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: exp/webhooks/rosaroleconfig_webhook.go: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosaroleconfig_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"146f5940d444177821a8490921f8f25ae659e415f6e8e813e775e5e958dc7b79"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: iam/api/v1beta1/types.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"iam/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38c4043b001e250c712d343f35f835fda4598bc4f8ba85a8e294d794027e1c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: main.go: 0.0% line coverage (0/537)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554851c30d387e22875d4438325173e6b8abdfe3fc5965b588b7a6a1a33b4cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/converters/eks.go: 15.8% line coverage (25/158)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/eks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6358ff9ca1012fe4612295564c2ef7cee18a725708bb3b32736cab27fc23bae"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/endpoints/endpoints.go: 28.0% line coverage (49/175)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/endpoints/endpoints.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bca8811d3cf2dd07bb86cbd78a21bad43861cfeebcf9bddb6ed938bad41c90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/logs/logs.go: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/logs/logs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0ed8769b84ef1fc7ea34347213a4b2ee11ea562df3f4d70486d315bb8b4778"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/fargate.go: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/fargate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9188a33893e3b1578584e93d97504a8220f26ef69fba946fba04ec180ced2e7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/getters.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/getters.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e526a69b70621729bbb2c880e8f30650750ef1d3635fdbf2875f98172fd079"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/global.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/global.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"807d38784ee342e2d55fb9c938ad8efcd971b8c6257bff995185670011cde0a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/machine.go: 41.4% line coverage (79/191)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea97e0df17d64d576d895166c337b7b0f5c4d106498d421d0966cd4af46474"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/machinepool.go: 28.9% line coverage (55/190)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94824601f80b85af2cfbb49ee9f4341318dafe23513618d83cdd41f42c59fa6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/managednodegroup.go: 0.0% line coverage (0/203)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managednodegroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df8a06dc7894548bf9b114be1c268a34ea8154df96f2cf6fdbda9a31c98cac3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/providerid.go: 5.7% line coverage (2/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/providerid.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93afdeedb7287520d1d503686611975871a17a1e9721050a52644d76d1deb9c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/rosacontrolplane.go: 13.5% line coverage (12/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosacontrolplane.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de048fb24e6ff1935daa2bf4fda4a907acded7eec4a4edcfd3139601a4dd32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/rosamachinepool.go: 0.0% line coverage (0/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosamachinepool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d60a15f5a295f268d3a6b9961a193a354512775d59529c445b0adb6165b5e3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/rosaocmroleconfig.go: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosaocmroleconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8d47ff6cb3e9bc2d0dd65fd2bd5b9ab974e4bcc299bcee31a4ddce64aa0afb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/scope/rosaroleconfig.go: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosaroleconfig.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1158cbd6c1a69c39218a57166af0e7c1398fa0316eef78aa09c38f474a078195"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/autoscaling/lifecyclehook.go: 6.6% line coverage (9/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/lifecyclehook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50d7a956aa16dda8e06d044a0acc733252fa1488cedcf3e205f5f84102a5e0d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/awsnode/cni.go: 41.8% line coverage (74/177)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aec0c47190d0b6bbac6138301875269229726c51ff78e28348542f6c14703b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/ec2/eip.go: 0.0% line coverage (0/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/eip.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"657959e328dbad73ac2ecd9441040ec45c8b7eb13237662439f442dbd239fc90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/ec2/launchtemplate.go: 49.8% line coverage (418/839)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b9705aad16628c85ec56d564623d7b0a14d29596c1695b3658db486f8ef0d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/addons.go: 0.0% line coverage (0/151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/addons.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"154e07e4883d055b97629eb130f0e634fb1c8771985c173f4d1832c41921b64c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/cluster.go: 45.4% line coverage (321/707)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db489989c1e486ca454ce8acf2c04b0cebc74b5ed2f4357cb84e6aa2e90927df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/eks.go: 0.0% line coverage (0/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/eks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17188e4cda170ab979c8b408cb65ade746ff76ccb23c13646f88b23037788b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/fargate.go: 0.0% line coverage (0/211)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f08913a02209568308f3eae4f2f61c3c3ddf15597bf89c5d3f19bce6df5bb0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/iam/iam.go: 13.2% line coverage (43/325)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26cb555e0e81a451c3a5a5787c973284ce83079fa6355dec7ea52557fe3160b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/identity_provider.go: 0.0% line coverage (0/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/identity_provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4a5245e6569017115c227f361b61c7cc725b643d66c64a889f578a84323d13"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/nodegroup.go: 0.0% line coverage (0/478)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d0077392d6347d05d2cb1d64a3010f3b7d4098bc10f81cde3eb0d33999342"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/roles.go: 2.9% line coverage (8/275)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd518885090f159d785483790c6e050717ef42739046d08ebe8ea2c5e93935d5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/securitygroup.go: 0.0% line coverage (0/42)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/securitygroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78bb9e2b1865a70240732f2d7b1d9ccffc25e44bfcd1610649d037af2cc01be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/service.go: 46.5% line coverage (20/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"700a065d167b9af411f50b9e8e4d3d09aa7af5b101468dba623ef212e730271f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/eks/tags.go: 7.3% line coverage (9/124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8dbc19fd0fa02069bb941f017a6ac6aaf3425c34ede768cdd2dd1bcc5b2982"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/elb/eip.go: 11.1% line coverage (3/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/eip.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45941c76547b15879b4086cc7c48447ef54897ee2cb65c5278ececa6236664"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/elb/errors.go: 37.1% line coverage (13/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc94e212e4dd58e40d44121c47ba42761402f86588012efe2dd35b3025e9028"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/elb/service.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5422b7088e89257879169151e9a80010188c6b54c18ead65637b35433a60784c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/gc/compose.go: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/compose.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc84fbfe50d0b118a9c34f4287c3d9ecf6eb5d006aaa2a70da4180103ad0dbb3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/gc/loadbalancer.go: 32.2% line coverage (49/152)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/gc/loadbalancer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bda328db1d6ed4e8007a55ae583bad93329079fdade9bb762c1aed052b1003"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/configmap.go: 0.0% line coverage (0/118)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/configmap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4444b9067cb04120f07c381bc2bd662dc38dd9d5c104bee1e60a3c100f989"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/crd.go: 0.0% line coverage (0/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/crd.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686de697892a9016cab46c55b75119b4b57ce86e2d790f4fd8eda0239f35b512"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/iamauth.go: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/iamauth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69953d3d1ec119352497cca44c2609db012968b4d7870be0cc12410958c08c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/mock_iamauth/iamauth_mock.go: 30.3% line coverage (61/201)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/mock_iamauth/iamauth_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9813920687df9152cb5f40b7dbc932b86451b9e972af3f6f5efbcd337fa58"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/reconcile.go: 0.0% line coverage (0/142)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9828629a0db6f67b58a6753f92653ee49966c38b2c8f64f50609eeaa476bbc3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/iamauth/service.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f002ee7e3877daa23c26c649ec8375a5301f3c3f44f295c792b16de7a418ca09"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/instancestate/ec2events.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/ec2events.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bbebcbd863fe642d1c06b176112848d178f9a7da43ae9712b1fc0e85f7f0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/kubeproxy/reconcile.go: 0.0% line coverage (0/31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/kubeproxy/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c27cf8e959da5368e95c137eb7c4150be9c7f2cafeef9c2003e03f204387c8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/kubeproxy/service.go: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/kubeproxy/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26763f12f6b07c116f3d1fb339aa9338ff6002a927caf704ba6e7413c361b713"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/autoscaling_interface_mock.go: 0.0% line coverage (0/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/autoscaling_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dede9a109b9cc1b1596765862119ae9025272adcb0a4cabf71273230f4b901"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/aws_node_interface_mock.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/aws_node_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e7b38e2b00db20f33380ede855c4276818757264f5e50f0e8f3e26b9a8a543"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/ec2_interface_mock.go: 0.0% line coverage (0/258)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/ec2_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb6a038377ab354e9855fcfb9129f2e6780b524e09a8c0bc436011555a2d5d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/elb_interface_mock.go: 0.0% line coverage (0/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/elb_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8cbe9a7b5208f03138503c48409454272e8839041f404a98efbd199c27563d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/iam_authenticator_interface_mock.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/iam_authenticator_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"605886470dc65ba585cf6dcbafe1f21a6e0b5da889f7af5f522e28bcd4fc4acb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/kube_proxy_interface_mock.go: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/kube_proxy_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bdbec3f887e45bc9e0182f5f7980c5a186e5e9dd89f21b41990006e7a62bd9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/network_interface_mock.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/network_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0bf8e39f1fa3a224192d0de8dbcb1d84670b08a7fe4595ea561d306cde377a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/objectstore_machine_interface_mock.go: 0.0% line coverage (0/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/objectstore_machine_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1435992a25392fce44707b08583de09d18496796941592cfee40bc9b058c17c8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/reconcile_interface_mock.go: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/reconcile_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b0f69837168f336251e38f9c661671127beb2ff125d8159315f6b76a0bab0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/secretsmanager_machine_interface_mock.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/secretsmanager_machine_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"230682c0fe7b07b63b0450169281b3dbc6a98ed70ed6472c573c7092768ed0bb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/mock_services/security_group_interface_mock.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/security_group_interface_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2607fe2ccb50c4f6e9b24f8cafc772082d4d790c0c9c94fdfe1bcbbf52d7158d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/network/carriergateways.go: 36.5% line coverage (31/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/carriergateways.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4562f7018289091f673c9dfc3324a7bdf96b3106fbbc232996cc226304141609"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/network/network.go: 0.0% line coverage (0/163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/network.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4df13286e78d9b185249f25d37d04884bc0bb14720781313c1392b4e54ea757"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/secretsmanager/mock_secretsmanageriface/secretsmanagerapi_mock.go: 0.0% line coverage (0/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/mock_secretsmanageriface/secretsmanagerapi_mock.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c79701fdd061ff8036c0d1a9f89082067cbc72a7428cf6974e604e00b650a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/sts/sts.go: 40.0% line coverage (4/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/sts/sts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"088f869e2677430e3324cd644a8f71daf8b154d9488655783c9cc3bb6d1bb723"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/cloud/services/userdata/utils.go: 41.2% line coverage (7/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/userdata/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffbe420c81b113f24aba4dc80811945c5385bb6fed2cf8e29f6f80b3c32797b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/eks/identityprovider/types.go: 42.9% line coverage (12/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/identityprovider/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2ab1f7b5224443b19298bec4428df045e77da99067c69117dc3811841b827b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/internal/rate/rate.go: 40.2% line coverage (72/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/internal/rate/rate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c025f739e66602183c20f5be438f94ee928953a1ce971b758764b4d86be815ca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/internal/tristate/tristate.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/internal/tristate/tristate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc55447d50581f35900ea6bc1f6bbf1f5866947f2b5fae7b6486c2a7b72a40"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/otel/tracing/traces.go: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/otel/tracing/traces.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39f94a9b5320a036b25a664d5b2a41faa7d568f7e87fe3dcb733d245c2b35c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/externalauthproviders.go: 0.0% line coverage (0/80)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/externalauthproviders.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061e275967471232bd5dd822f5a0aa05edfffbbde907a17b366d15b9fced7ac1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/helpers.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac6d8d08db7882cb805ebcf725745cd056df42a99e23215fdcc621975d45338"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/idps.go: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/idps.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3d299c818d846474b23ce16829201a187a7eea2367a5a74a0a0504079cec4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/oauth.go: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/oauth.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6529307036168a84ef6c60fe38fe3d0327d9417c7d8e8489a423df4b0156cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/ocmclient.go: 0.0% line coverage (0/76)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmclient.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3cf6fa192d7ad832486af0c18c78a8d138aa156313e4832872c43cecb944c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/ocmrole/ocmrole.go: 48.8% line coverage (126/258)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmrole/ocmrole.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10544b1a3da12e6429e44c54d66486ba8c495f325e3df5d821af870da66ca739"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/rosa/versions.go: 30.2% line coverage (26/86)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/versions.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bca9d51f31a1c2129c89ca81c9aac6e02437d1898056c9e08aa743de9faf4e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: pkg/utils/utils.go: 40.9% line coverage (9/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/utils/utils.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c14387c06da2b298575f82ae04d630afe2b4ae4fe5bd0a030b61a6a2ddef3a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: util/cache/cache.go: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/cache/cache.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8104faaa0e2c46b20b0ce4db35af2e4d20748ac4a6d8b9303a47fdd27c3da9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: util/conditions/helper.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/conditions/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f038e4d24e2ac45e2ce18b6e458be6a2962f1152d3b64bbe2be3e9101d7ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awscluster_webhook.go: 0.0% line coverage (0/347)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2a7f5eb2eaba104cae2a09213f161f205cde7e408af242a44bffdae7d239af"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsclustercontrolleridentity_webhook.go: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bf72ddb1bc40c4f607b3ae2cd659aee59163c9501ab915faf67898b345f001"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsclusterroleidentity_webhook.go: 0.0% line coverage (0/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05b6f756c152ded0959d6d798c826fcc8d02ee36c3857b73f8842b5ce683da9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsclusterstaticidentity_webhook.go: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7196b7744e6525e61ecec0632c8d25ae82d66a07048c5ae37842d3c466fd2a5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsclustertemplate_webhook.go: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ff78e6f2ca9b4be24bbadd9ae0aece8f8829e83f8a70baa5e91dd3056d8c90"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsmachine_webhook.go: 0.0% line coverage (0/339)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"204323d8092c4237c0971ded34c1885069f7364bec35c918ed893bdc241c05d1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/awsmachinetemplate_webhook.go: 0.0% line coverage (0/172)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachinetemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79337cdef363500f1b0f1391f2e190525d5dd2d917336b8147b5dc451859f35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/helpers.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/helpers.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfaca2c05cf414b78180456be72eecd84e0836570f2c5671af2c34152350480"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: webhooks/sshkeyname.go: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/sshkeyname.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f1b69f87167d56038fcc809edf2c1655eea920e7d6f64cb1fb36f0d8682e3f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/cmd/ami/ami.go: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd03d02e294c4d34f262d256429704300ab896c0f1ab1a6ebb5418a5385d4e77"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/cmd/ami/detect_k8s_release.go: 0.0% line coverage (0/99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1cd3cf857c5238039dadc86d87d7e2131f2bd02ce513128c485864747ecfe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/cmd/ami/find_missing_ami.go: 18.0% line coverage (27/150)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/find_missing_ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"742697432b115d84cc4366baf2a7d55d64755cf6622a3a5594a9508b50ad7077"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/cmd/root.go: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d9d503ca587a2deafec4d5493483a2512f0a641cd7be621bac3561c8d474c4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/internal/ami/find_missing_ami.go: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/find_missing_ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"774cf01a729a44f082624114a203ad059381625d5d31b7f09288a8f7140b61d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go: 0.0% line coverage (0/112)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d443cff4aa4846b73c9a3eb37ac0b89e671b5624bb9069c7b2035309431b3df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/main.go: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26f6a7bb564cb611a923184b81cddc00d7970562106ac49d46af3c02873d81d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: hack/tools/release-tools/printer/printer.go: 0.0% line coverage (0/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/printer/printer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8664e4d704fe242568b84bf7b22c4a5049769420db3edb6bc6cb8e228b2770da"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated module: github.com/aws/aws-sdk-go-v2/feature/s3/manager: \u0060github.com/aws/aws-sdk-go-v2/feature/s3/manager\u0060 is required at v1.23.10 in go.mod, and its author has DEPRECATED the module: \u0022superceded by feature/s3/transfermanager. See https://github.com/aws/aws-sdk-go-v2/discussions/3306\u0022 A deprecation is declared by the author in the module\u0027s own go.mod and applies to the whole module, not to one release, so moving to a newer version of it does not clear this. Follow the replacement the notice names."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9118f2920f682e737112d3d6592a3b633a26f84e413c3c54ee6db4583e076253"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/google/goexpect: Direct dependency \u0060github.com/google/goexpect\u0060 is required at \u0060v0.0.0-20210430020637-ab937bf7fd6f\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2021-04-30, 5.5 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/google/goexpect\u0060 and has not moved this requirement in 5.5 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/google/goexpect\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d26b97710f9d53b207f51ce092f74001f15c25e6767d26697e047fb3cfbc2b0a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/cloud/services/ec2/instances.go: pkg/cloud/services/ec2/instances.go changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Service.CreateInstance at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- pkg/cloud/services/ec2/instances.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd014759aa92b00ceb21f668745262c5fe58442e1450fe12f9e7edd2a950ab3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: exp/controllers/rosamachinepool_controller.go: exp/controllers/rosamachinepool_controller.go changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in controllers.nodePoolBuilder at line 523. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- exp/controllers/rosamachinepool_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0019c16b56bd32b8f4ceba7bc409389f9f101abd8fba60d74462a085644e81e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controlplane/rosa/controllers/rosacontrolplane_controller.go: controlplane/rosa/controllers/rosacontrolplane_controller.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ROSAControlPlaneReconciler.reconcileNormal at line 273. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- controlplane/rosa/controllers/rosacontrolplane_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3c26a626958e929c8433e85f21c4f00921bb48b70743374c27413a3f237a2c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controllers/awsmachinetemplate_controller.go: controllers/awsmachinetemplate_controller.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AWSMachineTemplateReconciler.getNodeInfo at line 283. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- controllers/awsmachinetemplate_controller.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachinetemplate_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7f0ae832ca69eee8b41cf092d5277ee54621341f3d437ea096301df99247ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/cloud/services/ec2/launchtemplate.go: pkg/cloud/services/ec2/launchtemplate.go changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Service.DiscoverLaunchTemplateAMI at line 1075. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- pkg/cloud/services/ec2/launchtemplate.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd21f15098135820d5b9c61551569781e597df882fb9f743bad355bebfae950"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/cloud/identity/identity.go: pkg/cloud/identity/identity.go changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is identity.GetAssumeRoleCredentialsCache at line 68), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: digest the provider gob payload instead of appending to it\u201D; \u201Cfix: include region in role principal hash\u201D; \u201Cfix: include source provider in role principal hash\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 14:14:21 \u002B00:00\u0027 --until=\u00272026-11-16 14:14:21 \u002B00:00\u0027 --full-history --no-merges -- pkg/cloud/identity/identity.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/identity/identity.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfdd23e2ccd39096c4441582ba4d61d9f1c267ca5df2bb6aebd83d8683f0021"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: exp/api/v1beta2/v1beta2_condition_consts.go, api/v1beta2/v1beta2_condition_consts.go, bootstrap/eks/api/v1beta2/v1beta2_condition_consts.go, controlplane/eks/api/v1beta2/v1beta2_condition_consts.go, controlplane/rosa/api/v1beta2/v1beta2_condition_consts.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"22f058ac789f2a5065ad08c421c07bce1a4de3121fd7e9dc72d8ae4c74697dab"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (10 single-owned of 262 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 262 of the 460 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: pkg/cloud/identity/identity.go, pkg/cloud/services/gc/cleanup.go, cmd/clusterawsadm/cmd/ami/list/list.go, pkg/cloud/services/network/enis.go, bootstrap/eks/controllers/nodeadmconfig_controller.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // // TODO: @sedefsavas: Requires env var logic to be removed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/unmanaged/unmanaged_functional_test.go"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf1f35626b102b86873cbd3b5dc8081d997a556ad1868bdb3c36a44e02afaf4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO @randomvariable: Await more resources \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/unmanaged/unmanaged_functional_test.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c3b1a1b73f1ab8fa17365aa9dd6d4aec2661e122afd5462addc76dc78ed6cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase) - change in the future when upgrades to machinepools work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/eks_upgrade_to_nodeadm_test.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db2b71d88fefdbe8df9a7ee822fc50dfa8eb51cc6494681a661a007087062cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase) - change in the future when upgrades to machinepools work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/upgrade_test.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fd04739a6aec7f46476c39d3fc65754d29dcb425958898d0ae18faf25a04e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase): should this be a separate spec? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/machine_pool.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f44a308bcca7ab2b1c2a22f37a7d9a82a6b26df19a24869f4fcb61d83feddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should cluster be returned from the ManagedClusterSpec as a convenience \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/upgrade_test.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2741f4bbe38c3515fbf48efc7e7053f2f6197b15370ce852141bf2ef106e201e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase) - uncomment when we use machine pools again \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/upgrade_test.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"409bf57ebc4867278960e299d2ed121958f044a3e9a795649dfccec9bfb28920"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase): add test for the node group upgrade \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/managed/upgrade_test.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba483dd09a02c83319884496d27e1b09845b6107d48021b93ab9f7190d9a55e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO @randomvariable: Replace with CAPI e2e framework ClusterUpgradeConformanceSpec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/suites/conformance/conformance_test.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab27a1e22fbaa31352cdc811f8aa9bb5d0127b83b012a382102ace3fa6308a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why is there a break here? Don\u0027t we want to clean up everything? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/shared/aws.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e08d5a2b58bee4d4a1c2985c097f27657ea2ae46a6f90dab9d74d482936460e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once test infra accounts are fixed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/shared/aws.go"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"be30eb7adfec0e94b434bb2819b608526f695c1645159e2ef031b538314dc652"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is commented out as it assumes kubeadm and errors if its not there \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/shared/common.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7773477033b7f5dfdd7a66bf2f6ffaedf144915257a157eb3a91ef02a95ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is the reason why we can\u0027t use this at present for the EKS tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/shared/temp.go"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e85c0208675fe324215fc4aa942771b8018329a87ac4ffadfcc60d2b2f6af8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once the ENV variable fallback is gone, we can no longer ignore non-existent secret here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/client.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"996e3e69b9f09310f6471dee4af4a05be2ec524201415dbc92af5eed7a0a5afe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the ENV variables are to be removed with the next code release \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/client.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7d25851022eed22bb11d0f0eae7b2e9a342ac43fd9b13a65c04d43682efca"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack to always display the correct terms and conditions message \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/helpers.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e3f0c5ebf9fe9a23c90f263b189ec8f623383764cf4a13444fd927692a74bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once ROSA dependency is bumped to include this function (added in commit e14522438). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/awshelpers/helpers.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c6372d729a6e672f61b198ca976af0abc246cb03d6a4bbc0e99b962d558206"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove once ROSA dependency is bumped to include this function (added in commit e14522438). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/awshelpers/helpers.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9827b61d72872305ebbb73def4c9c3c265be58feb10c36456db8c28ab13ca4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vincepri): validate / update security group if necessary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/securitygroup/securitygroups.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf4d9c293b774e0154da3ea39d537672767b683f4f188f11fd25c9a0556b010"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Switch to aws-sdk-go-v2 which has NewListObjectsV2Paginator (as part of https://github.com/kubernetes-sigs/cluster-api-provider-aws/issues/2225)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/s3/s3.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"738f5bdef810c5e725e6bfe91178fdebf082c4b286c9a4c667358b18b9ad1df0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will fail if bucket is shared with other cluster. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/s3/s3.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d18bbcbf6f84634a6a21da01798e6488921e998d646e0c1e5579f1ce9d68e00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vincepri): check that everything is in order, e.g. routes match the subnet type. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/routetables.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"567c4ae18b881531092a33d94fc28fe64e0201867189a3e56cfa4bbd8ce473f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this might need to be the last instead of the first.. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/subnets.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4b45243835bb5593574c6e100b53474eb9ed02a2d69070080283c41baa46dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: we may need to do a better match \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/configmap_test.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f15959f46b9fcb0e92c257204e5ddb92999d0368c62f8fbb6ac9a19975652e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: we may need to do a better match \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/iamauth/configmap_test.go"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"29661520fb42c9ef3ca90b06f4ad9ec807b3ef4a0bc0ffb623bffc593cff177b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when security groups on NLBs is supported in all regions. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fd095cde1ce3160b7e88da0fcfecbd27c7dcc40c5760a30189881b75487ad2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vincepri): check if anything has changed and reconcile as necessary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2d05a177591759499dd01f9b513329ec295def3a59721a81fb4c4447922636"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(Skarlso): Add options to set up SSL. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/loadbalancer.go"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f52eab86b2ff041fcd85e2f30a08fc3e32e1f69c9c38dfa684ae8bf66b99ed4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FailureReason \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"827b49fbf000f72e7dbbf68781a968847946d596ef8d859305f34b831607f397"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FailureReason \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f282df54dfe3ad1caeec4ef17b42e8545b9add2c730c1aa6db36e7cb6a3f36d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FailureReason \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"f722cdb484c967bb86026f04ecb5d8daed4ee26bb7086c2103a0d4cd4ac07ffc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO FailureReason \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1af94d4605b2bc57021e80c44b1ab2508a79c2e6e530703016257950c2edea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change EncryptionConfig so that provider and resources are required  if encruptionConfig is specified \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3670e7c6391490f6b9d71196399e94ac3b4dc28910021bc1d7fc710b1b6971"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do we need to just add the private subnets? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c2dc3c92520209356b36942f01af663b5f3805a52d4d42796ad004f5c28f5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the error that can be retried \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c533bd2d6cc51ad48e504ddf23708b9b1f4ec7e58853f63678e74817b7220c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Can remove when CAPA supports provisioning of OIDC web identity federation with service account token volume projection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceba8e800d4a9a2a2bf6c5ae75403d3553ccc7b0073e26bc6705f3da32f0e6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Can remove when CAPA supports provisioning of OIDC web identity federation with service account token volume projection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"220bb7ba6f08432c5c6ec33f8f7f6030bb50a14e38949fb01f074b14daa83d55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: check tags and trust relationship to see if they need updating \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/roles.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec332e9202cad4e1284012852bf0f29968970bbf3f4a99a790df65b984d54f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vincepri): check for possible changes between the default spec and the instance. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/bastion.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a101b1223fe886b1a043a9660cae74e35758a16a6969e7d6a9aa91fe91c810c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: properly handle multiple bastions found rather than just returning \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/bastion.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8214eb43974aa2edaa06860946e78e385bbc0fcf41c66205ee35c83af67ca09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently just returns the first matched instance, need to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd45c5f283bb139c7a9945f8870b8282cc7b31206b58f8d06889eed300a23bbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(vincepri): Define a tag that would allow to pick a preferred subnet in an AZ when working \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e13232621e3c127adcaec421821578cfedf54170c284c572a69443877305d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle this comparison more safely, perhaps by querying IAM for the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9ac2955b03173a1d72cc8ee7686cba53591d81ca5ed5b7640743272e7d24cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1eaf9bdb521aa244f8cbd87272e3f6a03a287e779652445ce4fe37f771b2d27"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4820ce9d75e9ba194e5163c41eca7d37f783b083befe86e66bd1a74d4740970e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5db3174e8c47d1c8ed1262b6883611168505fd3637b8b48caf99045b716058"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"42777aabd4c32be450b3461884cfdb88fb2406f81389fbfc38c1cda24d0a23ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":3898}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae6878751188c41dec15b69cd06e7c9da31cb028968c1e3d4fd82f42d8bc4e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"590eea0fe0e61a6b947ebf73ce9a75442280a23956fdae965f929b06493b7ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":4220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f749f7415dd14ea1c5f5511a2f21fdd131a88ccab93068721723c89143eee7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":4454}}}],"partialFingerprints":{"codehealthFindingId/v1":"267d3489872c9ba2b8d1e09b3ad4cd267d5c1124a53535654c9ab04909a27e26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":4650}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe63bfc5f086494a8f3207d5a3c3e58a9844178aca77d495c3e7c4812b4a06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":4972}}}],"partialFingerprints":{"codehealthFindingId/v1":"183585859360f687064f8e57cf42fe7da9c43fb72c7d5479801020c29fb52806"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1312d72931dfa74068413b673e0e18f63de429cb0c28c4c2609d0c1556b0f44e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6553c5b2f658480511114d55733689028ad19ea62945f27b9fd16ead84ed3dee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5373}}}],"partialFingerprints":{"codehealthFindingId/v1":"91401216beaadde7ecf9ec7ebf87b97788d5933354b8054d623629e07c54d345"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5504}}}],"partialFingerprints":{"codehealthFindingId/v1":"37523ea43a8162b55ac90ceedf015ae00d7c7ab810adca97be413dca7657ef29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6be92ea3770fba1ccc6df7207075fa557403a51e962682ab35934421b8681c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9265f62132084d32427aeef7b7c3fbc2bddc95b366a997421adaea578e811"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":5924}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5ebe9336e37a50a7bee2775463b87691d3fd083c7d5572419b1320f2a86264"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":6128}}}],"partialFingerprints":{"codehealthFindingId/v1":"09378a74974e145b357c1ac2732e00ce42e988d0e3b641a761b0925933004d81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":6248}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e636c9e7bc82f59be29040b8f1889ee6ce79522cb7a96c85ac405a6e3bed39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Restore these parameters, but with the tags as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances_test.go"},"region":{"startLine":6372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c532808b3714fc8760c73bd096d90cbcb0cebc6363aa567986f6d9bfcf020d64"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(dlipovetsky): This will include the core security groups as well, making the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdbbe04e9d33d8ab7a2891c6d2f759680b57d257b84a2aa549a90f6a8d36e61"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(dlipovetsky): This check should account for changed userdata, but does not yet do so. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/launchtemplate.go"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac3c85b0a9522e71c1918a3fb2440a9592470a24baa901d514f43057fe9759"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rudoi): this is just terrible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd5e2f880bd44d9429636f049411953a302531066150307637a1765f19efc21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: determine what additional values go here and what else should be in the struct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4721856e91bb5cdacfdafc0a7372af2f0b612713d795376c1ef6ba1245566dd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: define dynamically - borrow logic from ec2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bc4dbacd9b074feaff9f36c8e1df8c1982ea9bd8a78eeda0a92dde1f6af71b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: readyReplicas can be used as status.replicas but this will delay machinepool to become ready. next reconcile updates this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"091f1c0ee867b92873305ad46269a8a37b0049eb9dd15d4eff59bfcf18f5e49c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enable when AdditionalTags day2 changes is supported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/utils/rosa_helper.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6510efcf6dc68e4521b5d8474f1e10225179cd9ad8b104c06711aca95075287"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors during process message. We currently deletes the message regardless. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/instancestate/awsinstancestate_controller.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"519431dd7bb99b030d7d7d6eb5d66c5301433f16e776f78735ec124206df3c9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If we are in a failed state, delete the secret regardless of instance state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0cc0364de268d8108451e4a03ec5eeaa08d95d604d954ccfabd2a4b00c3071"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(dlipovetsky,sedefsavas): If the controller terminates, or the StartASGInstanceRefresh returns an error, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"79496772b00f5c296b36c6b6dd85aa5537c3a554a90835a7fa48d415286aa2ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Requeueing interval can be removed or prolonged once reconciliation of ASG EC2 instances \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller.go"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"156b1143dcec632745565cd4907464fd826cf3f28b141073cbc370585fe5f12a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Since GetASGByName and CreateASG are both in the same interface, we can\u0027t inspect the actual \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmachinepool_controller_test.go"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa19673f9da960637bc6b27a9edf4945625b5e21b8d67f18e78f27a01335c58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to expose in status, as likely the credentials are invalid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"006d30603e02cafa5ecc24f7b8aa38ebd360ebc056da8530ce0185827364ad8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to expose in status, as likely the credentials are invalid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be0418c75f348fadd8c6b1a18ff70633f5d9bb32145a9fe53099c49a9322ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to expose in status, as likely the credentials are invalid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5dad4617824726a24efa8aa0720697ced78d8b322cd164400fe125d51f1fc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to expose in status, as likely the credentials are invalid \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74fbd8bc534b8766a4b970cf2968e4981965bf8897762ef445f9f819c7a3164"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more input validations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/rosamachinepool_controller.go"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39f662cde4567219f49570cc1f4448fbbd813c0e1ff841384c0e5f4ed9a89f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more input validations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3859a46aaa39bc3ebc11c9088fe6c8ebb0e17d0f9227235226ce2cace36eb0ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO @randomvariable: Currently dev account, change to heptio OSS / CNCF Publishing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/triage-party/triage-party-deployment.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea195e758ffe2a8175be3cf3daf84e7617693c225d156d410e838f00358fe17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add ipv6 validation things in these validations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1342050eed366fb7ddca25311877f3109b19a3e734f593aca3015c2be1c81ab9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase): we can remove the if check here in the future when we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/controllers/awsmanagedcontrolplane_controller.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82e33d4fb44b52c75557cb88a4d1c6eea292667d26cc1d4e8389ee74d720371"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this after v1alpha4 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awscluster_controller.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec5748c3aa037825e0aeae59a1409d2d032cda503fc50d5ecafbe910d71339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with LogToOutput when https://github.com/kubernetes/klog/pull/99 merges"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller_unit_test.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2a8ac518d7e0b8fae1c4e22cb3c575bac87b93cade28c9c3a6fffda439c0a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This seems to have no effect on the test result. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller_unit_test.go"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cbc25949fe29ef61ba2ea497840dd65a0867fdd2f52cd46e01ec86e3609f81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This seems to have no effect on the test result. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller_unit_test.go"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a3b2589140c2f6b78c7d0434d25694f9168b286840f5dd9e027f634df6dcc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: EKS and ROSA are excluded from this list for the time being because they are behind feature gates. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/disabled_controllers.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb14a9ec51da9e5e2bfe88b2193b1dae09dc5ecf50576c9608989a61190a8d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This test should fail and require updating when EKS and ROSA controllers graduate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/disabled_controllers_unit_test.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"15613b260a0b83d8b250601b8cca6172aec584721aecf846ace34388cd5fb60b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This field could be a pointer, but it seems it breaks setting default values? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1beta1/types.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"650f9167f2499997fdd0a48c404691e7a491dec702cd44dc3b35474e33014aea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (richardcase): remove the above comment when IPV6 / dual stack is implemented. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/node.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f732dec4e643400acd685c324554dec51e0aa858386d91b610fbf91002d19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mtulio): add future support of user-defined Elastic IP to allow users to assign BYO Public IP from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/network_types.go"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d0484d164499beb07c7bdf9f28ef34ecbe472cdfd1ae2125640fa57bfb1f3b"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ClassicElbAttributes\u0060 spells \u0060Elb\u0060 where 49 names in the project spell it \u0060ELB\u0060: 49 of 50 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060ELB\u0060 (49 of 50; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060ELB\u0060). Peers: NetworkStatus.APIServerELB (api/v1beta1/network_types.go:31); sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta1.ClassicELBScheme (api/v1beta1/network_types.go:35); v1beta1.ClassicELBSchemeInternetFacing (api/v1beta1/network_types.go:40); v1beta1.ClassicELBSchemeInternal (api/v1beta1/network_types.go:44); v1beta1.ClassicELBSchemeIncorrectInternetFacing (api/v1beta1/network_types.go:47). Rename to \u0060ClassicELBAttributes\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/network_types.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc6d850ebf67b893d381a990d4b1cfd00f7063985e4d1043cf9912a9b0077cf"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DualStackDnsSuffix\u0060 spells \u0060Dns\u0060 where 23 names in the project spell it \u0060DNS\u0060: 23 of 25 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060DNS\u0060 (23 of 25; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060DNS\u0060). Peers: v1beta1.WaitForDNSNameReason (api/v1beta1/conditions_consts.go:119); v1beta1.WaitForDNSNameResolveReason (api/v1beta1/conditions_consts.go:121); sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2.AWSLoadBalancerDNSResolutionCheck (api/v1beta2/awscluster_types.go:188); v1beta2.AWSLoadBalancerDNSResolutionCheckNone (api/v1beta2/awscluster_types.go:192); v1beta2.AWSLoadBalancerDNSResolutionCheckEnabled (api/v1beta2/awscluster_types.go:196). Rename to \u0060DualStackDNSSuffix\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/endpoints/partition.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef1721fc76776af57a9908b1f86f3ed27abd6bb1558cb5bf487d01fcd94313"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060DualStackDnsSuffix\u0060 spells \u0060Dns\u0060 where 23 names in the project spell it \u0060DNS\u0060: 23 of 25 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060DNS\u0060 (23 of 25; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060DNS\u0060). Peers: v1beta1.WaitForDNSNameReason (api/v1beta1/conditions_consts.go:119); v1beta1.WaitForDNSNameResolveReason (api/v1beta1/conditions_consts.go:121); sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2.AWSLoadBalancerDNSResolutionCheck (api/v1beta2/awscluster_types.go:188); v1beta2.AWSLoadBalancerDNSResolutionCheckNone (api/v1beta2/awscluster_types.go:192); v1beta2.AWSLoadBalancerDNSResolutionCheckEnabled (api/v1beta2/awscluster_types.go:196). Rename to \u0060DualStackDNSSuffix\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/endpoints/partition.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8ed0a13d26aea0f3d829386be04333fd4d6ce3a3f5fa9eaaffa994c1e079eb"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060makeEksEncryptionConfigs\u0060 spells \u0060Eks\u0060 where 63 names in the project spell it \u0060EKS\u0060: 63 of 65 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060EKS\u0060 (63 of 65; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060EKS\u0060). Peers: v1beta1.SecurityGroupEKSNodeAdditional (api/v1beta1/network_types.go:405); v1beta2.SecurityGroupEKSNodeAdditional (api/v1beta2/network_types.go:963); EKSConfigReconciler.ClusterToEKSConfigs (bootstrap/eks/controllers/eksconfig_controller.go:371); EKSConfig.EnableUserEKSConsolePolicy (cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:102); EKSConfig.EnableUserEKSConsolePolicy (cmd/clusterawsadm/api/bootstrap/v1beta1/types.go:110). Rename to \u0060makeEKSEncryptionConfigs\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cdf48ed4f5827c2411fb5d018668804d0149739b90e4e54dd442235cb8c42a"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060makeEksLogging\u0060 spells \u0060Eks\u0060 where 63 names in the project spell it \u0060EKS\u0060: 63 of 65 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060EKS\u0060 (63 of 65; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060EKS\u0060). Peers: v1beta1.SecurityGroupEKSNodeAdditional (api/v1beta1/network_types.go:405); v1beta2.SecurityGroupEKSNodeAdditional (api/v1beta2/network_types.go:963); EKSConfigReconciler.ClusterToEKSConfigs (bootstrap/eks/controllers/eksconfig_controller.go:371); EKSConfig.EnableUserEKSConsolePolicy (cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go:102); EKSConfig.EnableUserEKSConsolePolicy (cmd/clusterawsadm/api/bootstrap/v1beta1/types.go:110). Rename to \u0060makeEKSLogging\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/cluster.go"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d2ab12a8b1138a24ac95ed14a3d4bb9afcbadf0828e88f4c8eb361b62f34a5"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetQueueUrl\u0060 spells \u0060Url\u0060 where 14 names in the project spell it \u0060URL\u0060: 14 of 15 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060URL\u0060 (14 of 15; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060URL\u0060). Peers: S3Bucket.PresignedURLDuration (api/v1beta2/awscluster_types.go:388); ami.latestStableReleaseURL (cmd/clusterawsadm/ami/helper.go:38); OIDCIdentityProviderConfig.IssuerURL (controlplane/eks/api/v1beta1/types.go:257); OIDCIdentityProviderConfig.IssuerURL (controlplane/eks/api/v1beta2/types.go:372); RosaControlPlaneStatus.ConsoleURL (controlplane/rosa/api/v1beta2/rosacontrolplane_types.go:994). Rename to \u0060GetQueueURL\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/service.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c1e1c5fa991c6163ffdbcc5e5accd5db1280466a9b804a6c625b589d17eebe"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060LaunchTemplateNeedsUpdateReasonIamInstanceProfile\u0060 spells \u0060Iam\u0060 where 59 names in the project spell it \u0060IAM\u0060: 59 of 60 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060IAM\u0060 (59 of 60; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060IAM\u0060). Peers: S3Bucket.ControlPlaneIAMInstanceProfile (api/v1beta1/awscluster_types.go:214); S3Bucket.NodesIAMInstanceProfiles (api/v1beta1/awscluster_types.go:218); sigs.k8s.io/cluster-api-provider-aws/v2/api/v1beta2.AdditionalIAMRole (api/v1beta2/awscluster_types.go:343); S3Bucket.ControlPlaneIAMInstanceProfile (api/v1beta2/awscluster_types.go:364); S3Bucket.NodesIAMInstanceProfiles (api/v1beta2/awscluster_types.go:369). Rename to \u0060LaunchTemplateNeedsUpdateReasonIAMInstanceProfile\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/interfaces.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b820330fd24c573eff7afbafaf1a8f5dd262208ad5a21ac87cf09ca6bd8469d4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060htpasswdIDPId\u0060 spells \u0060Id\u0060 where 290 names in the project spell it \u0060ID\u0060: 290 of 292 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060ID\u0060 (290 of 292; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060ID\u0060). Peers: AWSClusterRoleIdentitySpec.ExternalID (api/v1beta1/awsidentity_types.go:145); AWSMachineSpec.ProviderID (api/v1beta1/awsmachine_types.go:48); AWSMachineSpec.InstanceID (api/v1beta1/awsmachine_types.go:51); IPv6.PoolID (api/v1beta1/network_types.go:176); IPv6.EgressOnlyInternetGatewayID (api/v1beta1/network_types.go:180). Rename to \u0060htpasswdIDPID\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmclient.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8a0e68a5e4684438366a6f9ef8d3214c03c470e830e1e10efb431aabf62bd1"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ConvertToRosaOcmClient\u0060 spells \u0060Ocm\u0060 where 19 names in the project spell it \u0060OCM\u0060: 19 of 20 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060OCM\u0060 (19 of 20; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060OCM\u0060). Peers: ROSAClusterReconciler.NewOCMClient (controllers/rosacluster_controller.go:60); ROSAControlPlaneReconciler.NewOCMClient (controlplane/rosa/controllers/rosacontrolplane_controller.go:108); ROSAControlPlaneReconciler.updateOCMCluster (controlplane/rosa/controllers/rosacontrolplane_controller.go:847); ROSAControlPlaneReconciler.updateOCMClusterSpec (controlplane/rosa/controllers/rosacontrolplane_controller.go:867); controllers.buildOCMClusterSpec (controlplane/rosa/controllers/rosacontrolplane_controller.go:1357). Rename to \u0060ConvertToRosaOCMClient\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmclient.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bef4fc6e2708b5c35f4bfc0a0656a2b9aa7652d07e25fc0193adb075e0e9de4"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060AwsSdkVersion\u0060 spells \u0060Sdk\u0060 where 27 names in the project spell it \u0060SDK\u0060: 27 of 28 names in project sigs.k8s.io/cluster-api-provider-aws/v2 spell the token \u0060SDK\u0060 (27 of 28; unit: names in project sigs.k8s.io/cluster-api-provider-aws/v2 containing \u0060SDK\u0060). Peers: converters.AddonSDKToAddonState (pkg/cloud/converters/eks.go:42); converters.TaintToSDK (pkg/cloud/converters/eks.go:77); converters.TaintsToSDK (pkg/cloud/converters/eks.go:90); converters.TaintsFromSDK (pkg/cloud/converters/eks.go:105); converters.TaintEffectToSDK (pkg/cloud/converters/eks.go:123). Rename to \u0060AwsSDKVersion\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"version/version.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d048f8f1ce2e00e2541a02fe1bb5ddfb17de3d0f007df14294a5e299c8231662"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060Subnets.ToMap\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060Subnets\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: Subnets.IDs (api/v1beta2/network_types.go:789); Subnets.IDsWithEdge (api/v1beta2/network_types.go:805); Subnets.GetUniqueZones (api/v1beta2/network_types.go:893). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/network_types.go"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"852d92179b9334024ad89394adb59b7bf2456da5e3f87a3ea1f27ef6b3000671"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060EKSConfig.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060EKSConfig\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: EKSConfig.ValidateCreate (bootstrap/eks/webhooks/eksconfig_webhook.go:48); EKSConfig.ValidateUpdate (bootstrap/eks/webhooks/eksconfig_webhook.go:53); EKSConfig.ValidateDelete (bootstrap/eks/webhooks/eksconfig_webhook.go:58); EKSConfig.Default (bootstrap/eks/webhooks/eksconfig_webhook.go:63). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfig_webhook.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"96838c104bd9d08bb58dfd29fd9ef8b76a96cf1211f7695d329d4878a4d7ff47"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060EKSConfigTemplate.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060EKSConfigTemplate\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: EKSConfigTemplate.ValidateCreate (bootstrap/eks/webhooks/eksconfigtemplate_webhook.go:48); EKSConfigTemplate.ValidateUpdate (bootstrap/eks/webhooks/eksconfigtemplate_webhook.go:53); EKSConfigTemplate.ValidateDelete (bootstrap/eks/webhooks/eksconfigtemplate_webhook.go:58); EKSConfigTemplate.Default (bootstrap/eks/webhooks/eksconfigtemplate_webhook.go:63). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfigtemplate_webhook.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ac83b96dcc2dee21dc1cd9eef30f07cda50e5ee50ab2d43070d320329055a8"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSManagedControlPlane.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSManagedControlPlane\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSManagedControlPlane.ValidateCreate (controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:86); AWSManagedControlPlane.ValidateUpdate (controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:128); AWSManagedControlPlane.ValidateDelete (controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:209); AWSManagedControlPlane.Default (controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go:694). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe220cca06f84b8c4f3873cf893efc9f849cdcd23c8876291c65748ed3f74d54"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSManagedControlPlaneTemplate.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSManagedControlPlaneTemplate\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSManagedControlPlaneTemplate.ValidateCreate (controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:57); AWSManagedControlPlaneTemplate.ValidateUpdate (controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:91); AWSManagedControlPlaneTemplate.ValidateDelete (controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:169); AWSManagedControlPlaneTemplate.Default (controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go:181). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e0baf688da65f42f2c1471b356934e49240f10e7a7aa8f35ce00723700fa63"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ROSAControlPlane.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060ROSAControlPlane\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: ROSAControlPlane.ValidateCreate (controlplane/rosa/webhooks/rosacontrolplane_webhook.go:54); ROSAControlPlane.ValidateUpdate (controlplane/rosa/webhooks/rosacontrolplane_webhook.go:119); ROSAControlPlane.ValidateDelete (controlplane/rosa/webhooks/rosacontrolplane_webhook.go:168); ROSAControlPlane.Default (controlplane/rosa/webhooks/rosacontrolplane_webhook.go:357). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"298bed4ca4f18115e0d274a21f6c2613eef5587db1b011219fba91687d3423f8"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSFargateProfile.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSFargateProfile\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSFargateProfile.Default (exp/webhooks/awsfargateprofile_webhook.go:62); AWSFargateProfile.ValidateUpdate (exp/webhooks/awsfargateprofile_webhook.go:86); AWSFargateProfile.ValidateCreate (exp/webhooks/awsfargateprofile_webhook.go:155); AWSFargateProfile.ValidateDelete (exp/webhooks/awsfargateprofile_webhook.go:174). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsfargateprofile_webhook.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1610f8c88822d5a9d3114ecbf46dc1d28938dff995864215aeb50accd8ebcf"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSMachinePool.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSMachinePool\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSMachinePool.ValidateCreate (exp/webhooks/awsmachinepool_webhook.go:195); AWSMachinePool.ValidateUpdate (exp/webhooks/awsmachinepool_webhook.go:268); AWSMachinePool.ValidateDelete (exp/webhooks/awsmachinepool_webhook.go:296); AWSMachinePool.Default (exp/webhooks/awsmachinepool_webhook.go:301). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f9acd5348299477a41aa7f597e21effd2a5ebbaa83cc7c774093feed93f260"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSManagedMachinePool.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSManagedMachinePool\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSManagedMachinePool.ValidateCreate (exp/webhooks/awsmanagedmachinepool_webhook.go:152); AWSManagedMachinePool.ValidateUpdate (exp/webhooks/awsmanagedmachinepool_webhook.go:195); AWSManagedMachinePool.ValidateDelete (exp/webhooks/awsmanagedmachinepool_webhook.go:238); AWSManagedMachinePool.Default (exp/webhooks/awsmanagedmachinepool_webhook.go:288). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8e1cb004e9aea947e4e823db49adc9fae748c1f8aef7b2e6f877296d7fc0f6"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ROSAMachinePool.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060ROSAMachinePool\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: ROSAMachinePool.ValidateCreate (exp/webhooks/rosamachinepool_webhook.go:38); ROSAMachinePool.ValidateUpdate (exp/webhooks/rosamachinepool_webhook.go:70); ROSAMachinePool.ValidateDelete (exp/webhooks/rosamachinepool_webhook.go:129); ROSAMachinePool.Default (exp/webhooks/rosamachinepool_webhook.go:184). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosamachinepool_webhook.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1f572fe344a9534cf91c7ed6838e064db153821d8e7535e8160a8df07fe99a"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ROSANetwork.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060ROSANetwork\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: ROSANetwork.ValidateCreate (exp/webhooks/rosanetwork_webhook.go:35); ROSANetwork.ValidateUpdate (exp/webhooks/rosanetwork_webhook.go:62); ROSANetwork.ValidateDelete (exp/webhooks/rosanetwork_webhook.go:67); ROSANetwork.Default (exp/webhooks/rosanetwork_webhook.go:72). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosanetwork_webhook.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"771514bfb4302690989654bfb2b003cd78debeae825a30f3001bfe07f4b60313"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060ROSARoleConfig.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060ROSARoleConfig\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: ROSARoleConfig.ValidateCreate (exp/webhooks/rosaroleconfig_webhook.go:36); ROSARoleConfig.ValidateUpdate (exp/webhooks/rosaroleconfig_webhook.go:68); ROSARoleConfig.ValidateDelete (exp/webhooks/rosaroleconfig_webhook.go:73); ROSARoleConfig.Default (exp/webhooks/rosaroleconfig_webhook.go:78). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosaroleconfig_webhook.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"42470552b506a9f78fa514a1dba111cf7d33cc809e42b161a89aca5bd7f665ee"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060NetworkScope.SecurityGroups\u0060 returns a map (\u0060map[K]V\u0060) where its 3 siblings return a slice (\u0060[]T\u0060): 3 of 4 collection-returning members of \u0060NetworkScope\u0060 return a slice (\u0060[]T\u0060) (3 of 4). Siblings: NetworkScope.SecondaryCidrBlocks (pkg/cloud/scope/network.go:44); NetworkScope.AllSecondaryCidrBlocks (pkg/cloud/scope/network.go:47); NetworkScope.GetNatGatewaysIPs (pkg/cloud/scope/network.go:61). Return a slice (\u0060[]T\u0060). [rule A4]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/network.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c92545d5b8058b33a68890a450452fe85f83b979435fb3606ee23facdc5055"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSCluster.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSCluster\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSCluster.ValidateCreate (webhooks/awscluster_webhook.go:62); AWSCluster.ValidateDelete (webhooks/awscluster_webhook.go:89); AWSCluster.ValidateUpdate (webhooks/awscluster_webhook.go:94); AWSCluster.Default (webhooks/awscluster_webhook.go:269). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd6c3694f13d369a1f15f09d52b5bafba4f93a22bf7d423799e4371b61b305"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSClusterControllerIdentity.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSClusterControllerIdentity\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSClusterControllerIdentity.ValidateCreate (webhooks/awsclustercontrolleridentity_webhook.go:55); AWSClusterControllerIdentity.ValidateDelete (webhooks/awsclustercontrolleridentity_webhook.go:79); AWSClusterControllerIdentity.ValidateUpdate (webhooks/awsclustercontrolleridentity_webhook.go:84); AWSClusterControllerIdentity.Default (webhooks/awsclustercontrolleridentity_webhook.go:116). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"097f9b5f18c29f4380b3eb5fde016b0fa0ba2268e6c796dbef72a8cc53242959"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSClusterRoleIdentity.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSClusterRoleIdentity\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSClusterRoleIdentity.ValidateCreate (webhooks/awsclusterroleidentity_webhook.go:53); AWSClusterRoleIdentity.ValidateDelete (webhooks/awsclusterroleidentity_webhook.go:76); AWSClusterRoleIdentity.ValidateUpdate (webhooks/awsclusterroleidentity_webhook.go:81); AWSClusterRoleIdentity.Default (webhooks/awsclusterroleidentity_webhook.go:110). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"59babb9ee4bd9f106166ea613f0ac800f51a11cece90044e3c795cbc449cd8a3"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSClusterStaticIdentity.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSClusterStaticIdentity\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSClusterStaticIdentity.ValidateCreate (webhooks/awsclusterstaticidentity_webhook.go:53); AWSClusterStaticIdentity.ValidateDelete (webhooks/awsclusterstaticidentity_webhook.go:71); AWSClusterStaticIdentity.ValidateUpdate (webhooks/awsclusterstaticidentity_webhook.go:76); AWSClusterStaticIdentity.Default (webhooks/awsclusterstaticidentity_webhook.go:104). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae68aa184e42daf8268536b48b4eb65e916e35c4492848a854a847e5335224a"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSClusterTemplate.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSClusterTemplate\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSClusterTemplate.Default (webhooks/awsclustertemplate_webhook.go:51); AWSClusterTemplate.ValidateCreate (webhooks/awsclustertemplate_webhook.go:62); AWSClusterTemplate.ValidateUpdate (webhooks/awsclustertemplate_webhook.go:77); AWSClusterTemplate.ValidateDelete (webhooks/awsclustertemplate_webhook.go:92). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563865e9b7ddaf802f84075567e97fc8bc643cdaa89177b125b1e538f425c4d"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSMachine.SetupWebhookWithManager\u0060 takes no context.Context; its 4 sibling operations take one: 4 of 5 fallible operations of \u0060AWSMachine\u0060 take a \u0060ctx context.Context\u0060 (4 of 5). Siblings: AWSMachine.ValidateCreate (webhooks/awsmachine_webhook.go:69); AWSMachine.ValidateUpdate (webhooks/awsmachine_webhook.go:93); AWSMachine.ValidateDelete (webhooks/awsmachine_webhook.go:450); AWSMachine.Default (webhooks/awsmachine_webhook.go:456). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d965b50b594d3d459a5a130a5893d4e23638171e90d1bbe79226ab115e5b8c1d"}},{"ruleId":"D22","level":"warning","message":{"text":"\u0060AWSMachineTemplate.SetupWebhookWithManager\u0060 takes no context.Context; its 3 sibling operations take one: 3 of 4 fallible operations of \u0060AWSMachineTemplate\u0060 take a \u0060ctx context.Context\u0060 (3 of 4). Siblings: AWSMachineTemplate.ValidateCreate (webhooks/awsmachinetemplate_webhook.go:220); AWSMachineTemplate.ValidateUpdate (webhooks/awsmachinetemplate_webhook.go:254); AWSMachineTemplate.ValidateDelete (webhooks/awsmachinetemplate_webhook.go:287). Take \u0060ctx context.Context\u0060 as the first parameter, like its siblings, and pass it on. [rule A1]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachinetemplate_webhook.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccdef8c60c5e162cdbc8c7ccd745c964c96fc3a6f9ce3cb9942db4cce93fa36"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (69370 LoC, 829 module-visible types across 124 directories) overshoots its size bounds. 1 of 5 build unit(s) (Go, Python) overshoot their size bounds, lowering Project Cohesion to 6.0/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go.mod"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39784e8a78933b908507d20b4610b78a7f819ed418525c8adae26ae57410589"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b8ac3f0e389a2d4f563a6529850d37a3a4ba747e9013ee4273fc9439aa7a9c99"},"properties":{"commitSha":"6552b101d8818474937df95298ac731beb9b40e3"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"be3a5bae43dbd4695477bd42a8696652ae380264814b1b06f1c36f25b45d81b6"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1fe67a2b1499f8aff9de47698a5658d382014253521f7d90b5ce64afd11f70ff"},"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":"8552cd650c02d23d13c4e50e4b01c999c41e14a0a747a2ee93c37fe8e5513609"},"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":"fc01a0712fb380320ec998e550884f478d1246d81d861f2eaf4d6337fdbf000f"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"3c5c92e83a61ddb2367e2fd3cfeea39da41ca55e86e3ef4e18ca0f85b0516abf"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"ebfbf1fbd4c3580b99fe973b935c2fec09af43b1cc0d36363e0a155ab553a71c"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"8f76374603d4fa5dbe7cf61795e288db307a74c5d043d04ac69363a4a8aab7ba"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"0df0de993c3ae0e3311ac05560ba0e23311bb3ae6dde47d60351a92389f3ed2e"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"f4e07cecf55ae9e966cd82d2a4cf4bc62860c2033cba1c19084bdb6dff00d7fc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"07092eb41f4821bba1a5cc3e316ea9c74d6af987193efefcf44014c31d508c19"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"937633c90d591798d8c38739d699b9edd4fbade1130ba48d651ab1350bec0436"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76bb738fa39d5816081168a3df3703b4975728db3b8b75cf573c4e08a94aa4a5"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9924e687a6a8d0efd57d16e1cb9de405b1a788860c7210cd1d104390dd581626"},"taxa":[{"id":"CWE-338","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6010c8cb1cee7f7c00cb29f58137c3007aa237de14ac71901a9510e3ea0e98e2"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e5cdb032caf105cd1e2c72e06c4b64128059bfe9f9d95154c071b09e186f48c"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f63a4cdac4b259679ad3ba5400c943ef4b9a7a38def53f14e3da9f777ff71bfd"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d958bacd2ab0e81ee4712813ec5b5acbc861acc41840b8d57daad12c3c6a3a50"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"205c9d532fd18d29b42960f56855daa3abc86babd3f84c5f6e0ca7024713b598"},"properties":{"dependency":{"package":"urllib3","version":"1.26.20","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-141","PYSEC-2026-1994","PYSEC-2026-1996","PYSEC-2026-1998","PYSEC-2026-1999","PYSEC-2026-4175","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.6.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"7c8f967553ff55ed16177f771d3bc31fb67e517c02a5ae9f286a09f35d6f91cf"},"properties":{"dependency":{"package":"urllib3","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4175","PYSEC-2026-4176","PYSEC-2026-4177"],"severity":"high","fixedVersion":"2.8.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"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":"cfbdb803c68abe453e9d42f42eda0dd49ab8a21d0ba06ccffb10de1e42f73b97"},"properties":{"dependency":{"package":"github.com/docker/docker","version":"28.5.2\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","GO-2026-4883","GO-2026-4887","GO-2026-5617","GO-2026-5668","GO-2026-5746"],"severity":"high","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2cd4437b7be35d57a4cdd45425982677203e5498a05982ba428a10fd3ba9aee"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"cmd/clusterawsadm/ami/helper.go","line":73,"symbol":"http.Get"}}}},{"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":"250163a39e31b83c1fd38fbd0fcd7f95133473d3a2814572969296f03009a8f4"},"properties":{"dependency":{"package":"github.com/coreos/ignition","version":"0.35.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2022-0451"],"severity":"medium","fixedVersion":"2.14.0","relation":"direct","declaredRange":"0.35.0","reachability":{"kind":"production","file":"controllers/awsmachine_controller.go","line":27}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.57.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"direct","declaredRange":"0.57.0","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d03f2a180b6c44b09157108557612e48c9e72436d9219e099dc51e18f53d4553"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.60.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e1f124563eade100812240ef50cedffab1d0cc4645c129ead6641c1c2ef5b7f"},"properties":{"dependency":{"package":"github.com/google/cel-go","version":"0.29.0","advisory":"GO-2026-6094","aliases":["[GHSA redacted]"],"severity":"medium","fixedVersion":"0.30.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7ec7853619c055f78393829d380806cfc155be3c1c5f6b20bc2d7213326a680c"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.46.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"direct","declaredRange":"1.46.0","reachability":{"kind":"production","file":"pkg/otel/tracing/traces.go","line":26}}}},{"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":"a3396c530855b8991fbdd225049e250fdefbef7b68726b3f5966f1a0ac9a30cd"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go","line":21}}}},{"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":"2673a97eee164230f9eaaaba5659945dd3b5e93ffc59055a0976ab13f7da42fd"},"properties":{"dependency":{"package":"github.com/aws/aws-sdk-go","version":"1.55.8","advisory":"GO-2022-0635","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","GO-2022-0646"],"severity":"medium","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fe5c3cfd32ecfd691c8f47caf333568ece4b32dc5e33c00c19768c1f6b48546"},"properties":{"dependency":{"package":"github.com/blakesmith/ar","version":"0.0.0-20190502131153-809d4375e1fb","advisory":"GO-2026-6905","severity":"medium","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48e151f109195d850e07e4a805693f43baaea338f6874774ea858cdbdbf0a63e"},"properties":{"dependency":{"package":"github.com/chrismellard/docker-credential-acr-env","version":"0.0.0-20230304212654-82a0ddb27589","advisory":"GO-2026-6225","severity":"medium","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04a5d762702c0ca6fbf5546b8c2f750c12c90169c902f61bbeced9d477cd0363"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.19.0","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.20.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c68a427ad2bcfc32c9abec2b20ea98019e2e93978889e9a523cac185fef450e"},"properties":{"dependency":{"package":"github.com/sigstore/cosign/v2","version":"2.6.3","advisory":"GO-2026-4529","aliases":["BIT-cosign-2026-24122","[CVE redacted]","[GHSA redacted]"],"severity":"medium","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6041166b11e876dcaffe59651669716ff8a8dbb45883f99255881cb40e95fe4c"},"properties":{"dependency":{"package":"github.com/slack-go/slack","version":"0.13.0","advisory":"[GHSA redacted]","aliases":["GO-2026-5410"],"severity":"medium","fixedVersion":"0.23.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f099633e490ef6ec623780da36b5b8b0acffcbb0b4fd8dd881bc2582da0d2c46"},"properties":{"dependency":{"package":"github.com/ulikunitz/xz","version":"0.5.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","GO-2025-3922"],"severity":"medium","fixedVersion":"0.5.15","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b3c19156af1decdcc5f38e0caaed473ef2e5cd0baed24eacdccf4a616600e91"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/sdk","version":"1.46.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef6ce28527b477e941041e7e48aea6a7cddf7c223314ec9864a643755bb8e8ad"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.46.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"026855fc180e7eee724c42ae1ef0ab66283b046c1dde6b2a4d05d53c478260a2"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.57.0","advisory":"GO-2026-5932","severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fdd757f6236cf48160c0d4a944aafafd6f29302a08264e9b2e56ec736599bab"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"severity":"medium","fixedVersion":"0.60.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30cd742f5c801b415afedd7afffe7b704c6ccf9b77789da9604baa40e61ecfa8"},"properties":{"dependency":{"package":"stdlib","version":"1.26.0","advisory":"GO-2026-4599","aliases":["BIT-golang-2026-111943","BIT-golang-2026-25679","BIT-golang-2026-27137","BIT-golang-2026-27138","BIT-golang-2026-27139","BIT-golang-2026-27142","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","GO-2026-4600","GO-2026-4601","GO-2026-4602","GO-2026-4603","GO-2026-4864","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.1","relation":"direct","declaredRange":"1.26.0","reachability":{"kind":"production","file":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go","line":21}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec287fba436ffdb9ddd3aeff39950c0e1af3126bfc821f8bf1b77bacb780faec"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dea75259c2c24c3b6de72baff41117e5212aab46936017306b2aa1dee58a8a0a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b5dfba01446ef01c792a1f97c8a6fcae909617ab61a90a2bed85dc787557656"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95c567951f431c2012de73f7776dc5e807a97118df00525c875364bd4e8c12e6"}},{"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":"ae2dfb06bfe0dcadfc949c881aa237cb2a4aac5b1cc69adf101d9e003549ef46"}},{"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":"d9813788e82361245c6539c7a1122a03260297dc8d7be569e2cef7988d471f35"}},{"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":"e0d319681bcd91b06e1d269eb225fbf2276cec4ce539f43107ceed740d0a2e00"}},{"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":"f736d2c93dd6c6ef634ac557aa1c2638eaec53b3a772d53b9a1d4ac01dce7f50"}},{"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":"6c7976b4a5b05273d06177f26e7f00eaac63b7e84a57f51762457959c9e0eb92"}},{"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":"5f64fb185d94ed6cb2eb57c20d680ab129e61a6bcb2f85c8eb4e88cd41bea1a1"}},{"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":"2078472ef09abe0121b2cdde8d1a02d15db451bcaa1f6c8043255f323b858f9f"}},{"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":"d29639bf87db38cc6a168674b25effa95eafc1f2fc9b7d8ba2c22b9e3a425cf4"}},{"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":"dfb2301d2aa47a5b3cbf8f2c125b8ba257156224a3c0ac7408778db1fa518c34"}},{"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":"89273ce1a8f781ac920897b33896eccbd2c168a6473d26d01f3f80e8cd96561d"}},{"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":"345d717d2a3661d0dd0200757d348d409d3610538f343ecd02b543cce4111992"}},{"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":"b4c782e78bdbed707dce309c643f9bf816f39c8a46e2c69fb73522e245ad233d"}},{"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":"e0ef01082f13688131d63be9cdbb30530e0d33b1107a5b8661c9a6b66ff4aad8"}},{"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":"93784aee5a4aabff36c97da787424c84912d6f96529feb479f437e28638afbfe"}},{"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":"8e4ce6d2a54147f4819db3205994a8e500fc5a74a680f6ac7ab3d513824b7986"}},{"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":"ed3544fd75dd1a91c694ee40aad6ae341992470c010e8edca5b714e278580a13"}},{"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":"8b02180abe5f3e1e9553d79a91e8f3fe8e9d7bea04e0c11310729e01b539b73b"}},{"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":"0c56676b0e5b2aa2dfe04f586f6a209528390bd8c989f89d6c90f81ee06625c8"},"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":"6bd4c8f98cbdbbff1253a7d3c350901294fbc58ae94fff6c68246cfde1586001"}},{"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":"995a8d0d62b36ad2f2d9d7437af7cb809967c9b95b4763d9ea6f78d354b8528c"}},{"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":"f9b8ba035521a988b03eaf6c34402b22b4892d6d9cf08489f719e17ab3d11442"}},{"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":"13a0459d0ba7c3c51fb54d98e2b845d5064362a15021db709ce98aec0a5a36e5"}},{"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":"645e489230fcf83e5e175ceda98e2190b2b2e556d683dda1d39ee20e220e645f"}},{"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":"a1fc3defc4383eac51a329d7b9697871472a7ca480998b2bcec517608ae49ee2"}},{"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":"b3f9627649c3a515d8575a7d080c26e0287340922334dca3606a91ae5a4cf362"}},{"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":"7dfd77ca33231c4391c0a6946c893abe2d778b6af65166981156d4ae51d7c263"}},{"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":"e7520ba3b5d1813d01dfc00a848976b42a8c9187a76b6500fb3ebd18f2835993"}},{"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":"e528741c4225acd39dd9a88aa5124a6e36b9a71883fd4e4db2723d431b2dccaf"}},{"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":"241eee04676b5d7f1d7d0bbffd554c6343dd4cdc4e9cb8a3891b66481a435d45"}},{"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":"e170a8e0052d28d2cb5be901f26b258bfc32d8fd8a879f12c7f306aec8e06a45"}},{"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":"b9abdf53a1ffeb511c41fe941578f2f1deb3d794148e5765aa8c2732e2058230"}},{"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":"c84bd63991f76419d0467a5270e64f0f73138f7e8ed7b036bb68bc657be595e4"}},{"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":"e01aa2e714ea4067f98f0e9bdf2bd0af35b89b2f78b8047b4d699f5dbd89d428"}},{"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":"6f0a16e2082316b6403566b87d0b9bd83cf8391b0f67212c7fae1a4020089b98"}},{"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":"1df2dfef1cbe8f08f4f82f49f1cc91f0cdac1de2ec25bc5cf8db1417a0082d0e"}},{"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":"6aef03adc6682ddd49fadfa0f5213b10e6d5575a589f637cde30671752b41a98"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93c48d0f2b620570adaaef647bd1fd08812816f2679208aab40177b8f494a04b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9a0c0ba6d4fd711cef8a1d2a926bf236be4dc76da33b5c3d203e6dfe5f05c99"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de95261b859ef6413141a3f2fc6439dc8aa150e3c7ac4d10714d02edf490a469"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22b44c52acf3ca64c5dac4a3222146ba5dfad2b92d68d57deffb4bf5a5891773"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 145 of 266 significant files have no living knowledge, while the repository is still being changed at a low rate (141 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 145 separate risks. Counted over 266 of the 460 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/nodegroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c525f75a7e7f11cdeca3fb016e83d22b4cff769c731dadc9b8f366b85e6e33b8"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/vpc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb0e09f03b3dd0dd366a7156347d65468ef6da0fb47112c8fd96910fd88b925"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/autoscalinggroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3dbd4fce73e5c20be58e2e3861ca45d6b5b8b9b8e7bd744433924d3092800a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4a7eb6ba9ad09e15e4975b4e22eb460967d0ec713bf05a1f508bf831a8b302"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd4dccafa50cb5c8349a893442b0e0a584ee58a4df558494f62a2b29d0a3054"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/awsmanagedmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eae2980e6bbb89fec0d9dfaf9b5903ea5a5c425ee22d378ae09b62091deb09"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd53447fad81a45d148ebedb677cb21898f089b5e7ca9112937db72740f96317"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e639df9fc83e4ee54d09ea9d313869e9824ae22ed23915876ee58bc07542c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/cluster.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d7379e6a0a68be4cd01b7014ab05d3a9e16f1b20ab067138b4162d73de8462"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/endpoints/endpoints.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"894b184079187e615a0fd37eccb0fccf39b153245356785bad941fd34095ba01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/iam/iam.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d349aa1af0e2eb11abb31883d17729a5075c6d1a34ecd45ec9af3ca326385c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/managednodegroup.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea9334b729b3117eb423037d055679902fe52ed7bc706cec04104d1df6278df"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsmanagedmachinepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"443e29281cc6b8bf3942cae074acc59e9c23a95ba3e069baf774e5f651939fb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/awsmanagedcontrolplane_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1d56221bbe3c25c6c5f23f4d12193bb0b43e34436348c808692d60624ab32f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/awsmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73b6274e5393278d657e6edc4f6ffff5de56dfdbe4e6be1b9fdd0f37cedd4c0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bee5c9e8f75bf5bed977a7b0e2768e2646e16c62329bf672f7f3309e820e3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abb567f953eeb8c7b705732c638117e90dd17273b49b49d92bc5c273395894c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machinepool.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd01d6d9127df79793976c228abbc61f1551da74687d20e301c9569efc3d6a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsmachine_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d3b6cbe528a994be4c0b64ddee8d11f47d2abb7ddc9022207936d8ea252e57"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/internal/rate/rate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353bd367ba95be77e9346c7ce2f7fe8dc01f322e56a3d4805d3cff2987c45cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awscluster_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36369644321bc671b9fa213cb2e8869f29033955b49a28f57711ce42193e9d03"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f1283ae37f1a2c469970127edf55d26182933e2189e6fe4390cac9e99511b6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/fargate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8511e649f6d81dd7ba1f49af86c4f76ecf2a899912e163c844dc87414045d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a033a82c033dc6e27a15624d182e8306687bccc94e618968241f34befa3c67ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5bac13f6d6920274a37c5f233a34b0e0aae03d15e9a8a26a2923618e61d262"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/common/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7747aab400d41bf99d45f566963ab956d718e5e31e0fd8197400d1856d47d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsmanagedmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"508f7f7d0a94540311e2cd04d8cf6bfeb36e9b747a519e97aec9eb3502df5756"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd65b84305b6bb284726ad117f6fb6766ed9151d4a238d34708ff7082d50d7b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11795243dc3614c8d93c52e4c67f9c2f0dc0cb4fd3b770a2387bb63aa1a2623f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/template.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c5729a78c6514254df5d34ba18d36e9ef3272df2205b5e9b5432356e5395d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/awsnode/cni.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf95a72802af8012c55eaaa8edb8f862b38dcb503b867ac769e0f1427f58e3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/conditions_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad7908d03c9abf1669a74b248845c702b3f487aaf09bbff37a49e1a5feb19fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67549ece5ce1f9f28bd756e57c3cf53846b801c0440522bcd2ddd43d570ba21"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f982d44c149dce373debfc8c5d1428c643668944dcb751e462f1a838cffe9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/service/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a231a4c02c763581b77ace6d83b161be6f52dfef2167928632ec8f24d79b678b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/lifecyclehook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92545333fd6635046d7dfe3021b9801936782ef270b513919c63487f54931ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/eips.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca331db0505fa48a77c70af0c8d809c88d28d45ae5880aec96a9e320b5dfcc3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1alpha1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40047405a85563a3ab654b3294ec84dccd82b001c189e245eabee84df47d9c88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeef8d6a4de5852f9581482e8ba26970d9118240ad68d251c99af57402a3cad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsmachinepool_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"535cbfb17627be4894d1211d01f0dfd12654221a054ce33cdd856e59d65fa855"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/dedicatedhosts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a714c9e62a1f1102d351c211a1f44f1c729e4bf12860d26ca0d1f2a185bcd809"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/conditions_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d549226d751aef2e7a7df86cd7cbda2c8f11b443b8998b5fd82071381acfea9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f56039cd08cc3aef742ff347985a9f27161e53b92eb05d413fdc0dc1c3ab5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531bc7f2b069a30e8cbd28547697969a41426fde90ff31880897def09d291ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e57dd4f5b6b8af0210990430afbfd0b67b458de6049528f96271d08b67ee1ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bb58b860d79888c393f9e97e9b4ce8cf6922b309595fd139328caf5f5936aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/pod_identities.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3255bf17eab013ae7d67c50c8a81f0ae15a19ffa8c00aa368deed59ab5e7a3cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/instancestate/awsinstancestate_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3aa255fdbc91e738ece68f2e8d3dcbf4acae000db079f572be45403dc57db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controllers/awsfargatepool_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9438e757fca15f767a30396ba56eec23a506cc6bd64617c22aa66142c47b1887"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/awsfargateprofile_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7639abf0ea0256025f0f0cd8c07406f21cc131edd0a50a366655f7f5bc1bde30"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/awserrors/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706541271d562f9d95cf45d5bd10846d233531ee7bfd2ec70078b344d1d0bf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/egress_only_gateways.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d6fa5a8c1001aabe08227b6dbe4542af51befa416ad1dd494802f166494918"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/gateways.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3d2fec7a332126951c1cd7959b9c957f1f0a885d83abbd1306366bb560fa94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/awsidentity_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3c5391d6719eacce23da7617f8108c1bc742a759b9816609c93b0686bcc49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsidentity_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7606dca8d7b8ca5f5beeccfe3d186a505c44b6b0f4067ad549e654cab16c72e1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/boilerplate/boilerplate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"654a44ab3aab90202fd91fc4796f6700f158dd8f1134e4a62d8da9fff9e58b4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta2/eksconfig_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c4eb6f6f7ff4f31cc67c950184615bc7cf14398dee5304315acccc0753b3d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta2/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794edd8beb0edacae2ff918994c37c6383b20673e1eefadb439a82af2ba0ebaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ae2281b5b7571926ae59387fc5ef47d148b5b04bae6ffbe98cc0cf63e10a69"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/fargate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b1cfe6c53856b6245c7f723bda09306a168844ac8d238995fe888bbc4c20c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/bastion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce538cfc46bbe65e16052dcc325818e327e0642359383e53542eeb13e95be85"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af8b15970adb8d1b318095206176e04e0c05bfb1c286d70a736a0f99b39e019"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/find_missing_ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c754d93326e0ab425fdf60a0b6e2c2fb803046e285c72d8713e3c8cc40a388c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/internal/userdata/nodeadm.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fb49351dbe0fb183992537e681ba6eaee2ca7b92a98d487c05f36d3e60d0f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/awsfargateprofile_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29e62b43fda5386516e898269bbfd3130d4011e8114a07034820aeb4542f50e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8446e7be5b75c9e91e536e41ca6ac22cf92f327bc83edb5b3aec80571459925e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16e8a9f6aa61d00dd15d54d9ea15704403c81d79377ec2e5abaaef90939544"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/oidc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a15ee5c11d7858306ecc35e5305dd7874281d83388590d0b19174993dc9765"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret_fetch_script.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98e86a89876cfd5dd40fadb17d0fc9d5295c121e3ccc6c5361818fbcdba7d64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsfargateprofile_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0445a014992b412b5c90cc9d72620f21b29c16244bb60605819d39c7b1ced5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/identityprovider/procedures.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20cccd7b4d0cc46dd3c40245e165cefa87c5437e4fd8cb042e18c91f9745103"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta2/rosanetwork_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4f2d65a18735841c27311e2365c6a83ff3a2fa772deae08030e1a8183b575f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/conditions_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef510ace076e864a1b5a2f7c963d9dfa44b1ad286b044dac149678c4f0b2715"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/controlleridentitycreator/awscontrolleridentity_controller.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71539b2ac31824102e516afac5be4d58527c59e3b2d9c0a6b47defedbef71788"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1267d669dd5199463e160fa44e23983c93f6972e92d95cace7919bda843da601"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/carriergateways.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a6421e6e9bf2d78bff6b74382a953a1c3a478ec971adc58825a10b3621f955"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/filter/ec2.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942a8ea0b029919551ebc0421649ac0f0a2026abde521c52aec87a51f94e01e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/credentials/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b3054dd021239a470afb5a477e6fc218280d94c8d6815833e81b471af2dc1e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25310254ff62d25829d4be6e96ebfdc4dfc5265fc63f3904ce2485419e6e18b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/mock_services/doc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d13d83f8aba87bccab9185f5ec6ab3633447c33e7d4cc0a5e9cb720605da4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c67d89f63e5be45978e012ac8ba5c9d6644f8197fecdde498bd45945bab17a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ssm/secret_fetch_script.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8f8119f97ecaed0233313ef79efeb6c70a6df2e3ff5a553e023c3b80790dac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"iam/api/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c922ebd632aee4b885ec2110b10d742606566d30a24a7f0cc21f706a220af7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/converters/tags.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"963b411b5e3e4153cd4bcb42708424640a038630716a67d0117b30756b9dcf10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/eksconfig_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ab873bfa0921b38d544951e029cc46fd4da58a4a5f5ed38a1e6cbb992212da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsidentity_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc98d36be0b596bfae3b434bcefe8d18a48baea426f3dbe5928a7e7d96905e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/identity_provider.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"568222ef51c8212b9975b46cd9f6fe09f6909b3c15dd850213a62dd43023c5a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125488a12ec0a6e94158cdf507fbdf8e48d5e99a9262a7ba390ba9d9b49f941"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/configreader/configreader.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04ea8c02599d847535b8326615cdacaf26ff88b473916b0150cfcf4621a31e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/secretsmanager/secret.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d6e25b99963427875387040885774d31b079cdabb3d52db45f39505cc5f4af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b53be87e5baa206920689be3391d09141b0c307a3c77601a19f580a1e6a9cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/rosanetwork.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b10050eef282f064cec6d667455746000ac4036886e2198c3081c9d33e187"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ssm/secret.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2f1cdc675670a094c0f53820b087c6680be037b557cbb337896d66757797f9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/encryptedcopy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8807eb50f2c4fc8f2e7e20b380587d23a01d4ccda9668977c33788a0def75b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/paused/paused.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ce4494bf408c815ec6642a963a6620e9f04765ca663a579c84839c109f47e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/autoscaling/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03589c340c5e1f0bb15c04acc3fa6c00de50dc4ce362a7a48a8a5b4714fafe9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/logger/logger.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b65d581697b44ce736c800d07d2677ea1221ce552624ad66b3b693daf9bf0a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/throttle/throttle.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fb97b10f0fbde0e9ca9b6b6e16759b7dc25ae17607633f661d7e174f64f1ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/eip.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24713ff4f13048dfafb12cc0984814d70bd39ca97fe0f86ae59703c6073ea8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff92370166dc2abec20f9461e039439de7d4a53e8036f7a596da54e52582d76"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_security_groups.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a9aa956a243b1909a062479ba170afce2b33fe6af5e81f414d2b835850dae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/bootstrap/v1beta1/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60aa5031ecd866d208242f44686eaddcc90a205f9c0f99921c5097979f05c3f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cloud_provider_integration_control_plane.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"727608bb0fcedf92fc278d538764fe39d8a8e8a6bb269d20d4c85e622954802c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c55cae09601e9e9583d448ecddff84de58914b78d128cd18a0e8937e44a0d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/queue.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29adbc4166cb460da2ef74d7fcc2fb53bd3acb82f2d83ad20547c6c854f4673"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/conditions_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b2ef6923eaa422bcfe19a67a19daf01a2d3a2145e32c5ab7697bd4f8206064"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/printer/printer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e9a9ecb47258af0f502e1e6dc4cde2beb3ff8cbbbb99b4d3de5e7e267c811e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/identityprovider/plan.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9941a6f2731febf0bbf2ead4e46b208a00dfad960de03ad7d4be4cb9c776db54"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/credentials/credentials.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4a580e864add96a698787173418159a94cb86c61fb9961ffed83249c30e85d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/find_missing_ami.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcd1a8300ee1828b49420d2b508cd7eef43f342ec76d57f4bbedcb49cf237b8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/iam_doc.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3530eac2008617a2f6977bc9659157e371a9495da6b5ea552c3e456f2464127"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/service.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5390731b51f1c92702c6b401d14eda2085ef274ab8b873f75b00660e7651bd53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dafed665a992491fb1d8671b99c7ebf01ecb6f848c821d81d71834fd9dd97e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2af60112093818eab737610364815c23948c93d90045ddb9b5c07efc7cdedcb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/copy.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"801631533b9f3888dad8c5b847058267440e4821afce0a9d30f5d99a3e4b7d4e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/resource/list/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d52a0d17535cd279993daac6758ca10792c23b6a31eb53fb5cb01c6360dee1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/conditions_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54215da3734db6434eb1a6e7205b38494aefbeee7911cdd98f954b13409705a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/rollout/rollout.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78df2dd68a4c1af2a1f342befb5c6af315b029f2f9c1ed64454533103d729449"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/eks/eks.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd763f039654dcb62fe91336b0780870511369c78cee3fcc3b79952d815a42"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/wait/wait.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed8172b9e5184e4a8c3c4fd6c9c59c3e3fcd3a2056b289007b7211c4cf4ebd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/gc/configure.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a039477bcfdfae84aceda78b1983ed415d94e92c84769dcccecf27c9e9b4d901"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cloudformation/bootstrap/cluster_api_node.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cabe00caafb8a967e7b93e262efe4a17d818024a25543a2a280075828f9743"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfigtemplate_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f458e1e53164eee6996657418b54dab89f20579398e964f03e0334f932253e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/api/ami/v1beta1/types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"783781d39956a7ea7dc679282cedb2b7845469abacbfcf39d404e21b885cd66f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/bootstrap/iam/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"908cc3e29173adf00b5d7a46b7269065f83aaae597401912b76ee731c04a94a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab30594ab48c8f19ab2ca454019fd2f39444946812da3d59947ec80658a4e68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/webhooks/eksconfig_webhook.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8802bfcdfb00c0418cd59c847b43f95c2ee279c6b1dbb23b59f5f63ec9db03a3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/validation.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"661d26b81ba69016b8acdc3b7d6e8e082a64ab2f4ffc5ae9283f0612f449c817"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/sts/sts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba08633095c0ce0609506d4b27e4b750874c550dc3abff0471221a289dfe31be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsmachinetemplate_types.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"619ad858d4de9b27473bf8f0e9a1240e2862188949c19781081a3c6b9f0eff9f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/flags/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c125d9ceea5ee29c64f283da6849bf9812f54440497472b2f7f258d3ea69421"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/resource/list.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d433016e1fddc8b50cf4c9014d91e5e910f5b3460b344ebc40ad55dbea9363"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/controller/helper.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8581724ec2ded2ef3977936101922400a6035fc898ec5f54ce4c97165eb37a67"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/sg.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3384d484ccf7d1baf4986e3b8a7e54561e8bdd5e21cd87b3f56895bfec677dcd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta2/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0de797a8fb3f8c6032dabfb23e21487f310403773658692c2e5f6253477b9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/api/v1beta1/validate.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98cbb15314481c63ad75d045acded02228bf5006f4a8b31d84159b61c0a0b7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/kubeproxy/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"618e2417a9ecb9c06a4726a8c9445d84afc7988c22b66a529b1a933055b71aae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/awsclustertemplate_conversion.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"144653d13411b6bbfa4d832a86649cf8ec6dc5cb3bfc894cbdd846123e860b4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"util/system/util.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6162d713bc13ad45f293febb6cdd29b1a9ad1bc9929f1b0ffe2388b6d1205ec8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_annotations.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be5433fee71c2473b1e7e53c964ebf17291131f0008ea664c2bc88cef6c359b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/internal/mime/mime.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eabdf02bccf7f15cd4623135d2a90ff9d340fe36a892cf839ad8cc0db6cf36e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta2/condition_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3609538e6dfffaf9011eea6d959553b7cf8372e3cf8c19091dbc4563fe5e760c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/common/common.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b886d9e649151944d6bac5661a627a1945bc0480ceade6c4825e08215d0173d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/api/v1beta1/condition_consts.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c0766f03bff8b9702d6b533f4838465190bc5c57c38db02e3e108cd6a9f813"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/record/recorder.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8d25ee64cd3144e98089092a8136072d6f7c01879f96c2db404d0be7278343"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: defaults.go \u2194 loadbalancer.go: \u0060api/v1beta2/defaults.go\u0060 and \u0060pkg/cloud/services/elb/loadbalancer.go\u0060 change together 50% of the time (5 of the 10 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 5 shared commits counted here, the most recent 3 are \u0060c72f25d8\u0060 Support a secondary control plane load balancer; \u0060681762da\u0060 Update docs/book/src/topics/network-load-balancer-with-awscluster.md; \u0060652e97ac\u0060 Add ability to use NLBs as control plane load-balancers \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta2/defaults.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad40c92ffe10cf81542b06d178e45d9ba139c9385c8f3935528424f839aa11a"}},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"9d7cf13dbb26c899e891309a3b13f78ef657d1988ff6b935a19e367bdf6a2de7"}},{"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":"d5f8bd4dcb8765c4bb235b6145ca80b2d557eca8d60f52a67649d81d170434f8"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"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":"config/default/manager_credentials_patch.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"35afc47730cfdb1f433f63d67f8d24835d8bb2be0811f4ec19aef286df957f98"}},{"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":"config/default/manager_image_patch.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"46910fb478b8f69c5493c1e22e59dd816e281ece9e83d692e85b74ba71e2c5ad"}},{"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":"config/default/manager_probes.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1590ccd8296682e16316663ad19826053351b2885a02b42657a7051c8455ab0"}},{"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":"config/default/manager_pull_policy.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"69782ce5e1bd682f6de1f312d98d863a8bccd26af9a887a198bbdc8f9786f9f1"}},{"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":"config/default/manager_webhook_patch.yaml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6e2df337f7454c35869524142a732e42537d8e86e28a88e012994c198e485c"}},{"ruleId":"D42","level":"note","message":{"text":"No runtime threat detection: No runtime threat-detection engine (Tetragon TracingPolicy / Falco) is committed. These observe process, file and network activity in-kernel and can alert or kill on malicious behaviour a static scan cannot catch."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aade9827a37dfc7ee064f80a997f47b5d11e31bc09704e26b9252bef00aa0c58"}},{"ruleId":"D42","level":"note","message":{"text":"No admission-control policy: No policy-enforcement gate (Kyverno / OPA Gatekeeper / PodSecurity admission) is committed. Admission control keeps workloads that violate your security baseline from ever reaching the cluster."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"57f2e92ed1519af6e21f44cce82a94119700b7d516006ea2955d969d5328b76b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.page\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/theme/css/general.css"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"266f732204764655d40b092215af4207439c57ccc12e126acfd05565be7b4165"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060details.collapse-code summary:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/theme/css/general.css"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8fd292644093c5fb8e90f9d9f78f1059f8d49503b99e007a2609f2f72a149b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.js .page-wrapper\u0060 moves (\u0060transition: margin-left 0.3s ease, transform 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/theme/css/general.css"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e660bf31f9c5e153d234ef9c890e2409e0b087dd175e13f26c4cde9385af7f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ClusterScoper (16 methods): \u0060ClusterScoper\u0060 declares 16 methods: \u0060Name\u0060, \u0060Namespace\u0060, \u0060InfraClusterName\u0060, \u0060Region\u0060, \u0060KubernetesClusterName\u0060, \u0060InfraCluster\u0060, \u0060ClusterObj\u0060, \u0060UnstructuredControlPlane\u0060, \u0060IdentityRef\u0060, \u0060ListOptionsLabelSelector\u0060, \u0060APIServerPort\u0060, \u0060AdditionalTags\u0060, \u0060SetFailureDomain\u0060, \u0060PatchObject\u0060, \u0060Close\u0060, \u0060MaxWaitDuration\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/interfaces.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1fc0566ad2d08e041672c10423a56ae2e410b25d2b2df02cb41bf43eb3361"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EC2API (71 methods): \u0060EC2API\u0060 declares 71 methods: \u0060AllocateAddress\u0060, \u0060AllocateHosts\u0060, \u0060AssociateAddress\u0060, \u0060AssociateRouteTable\u0060, \u0060AssociateVpcCidrBlock\u0060, \u0060AttachInternetGateway\u0060, \u0060AuthorizeSecurityGroupIngress\u0060, \u0060CreateCarrierGateway\u0060, \u0060CreateEgressOnlyInternetGateway\u0060, \u0060CreateInternetGateway\u0060, \u0060CreateLaunchTemplate\u0060, \u0060CreateLaunchTemplateVersion\u0060, \u0060CreateNatGateway\u0060, \u0060CreateRouteTable\u0060, \u0060CreateRoute\u0060, \u0060CreateSecurityGroup\u0060, \u0060CreateSubnet\u0060, \u0060CreateTags\u0060, \u0060CreateVpc\u0060, \u0060CreateVpcEndpoint\u0060, \u0060DeleteCarrierGateway\u0060, \u0060DeleteEgressOnlyInternetGateway\u0060, \u0060DeleteInternetGateway\u0060, \u0060DeleteLaunchTemplate\u0060, \u0060DeleteLaunchTemplateVersions\u0060, \u0060DeleteNatGateway\u0060, \u0060DeleteNetworkInterface\u0060, \u0060DeleteRouteTable\u0060, \u0060DeleteSecurityGroup\u0060, \u0060DeleteSubnet\u0060, \u0060DeleteTags\u0060, \u0060DeleteVpc\u0060, \u0060DeleteVpcEndpoints\u0060, \u0060DescribeAddresses\u0060, \u0060DescribeAvailabilityZones\u0060, \u0060DescribeCarrierGateways\u0060, \u0060DescribeDhcpOptions\u0060, \u0060DescribeEgressOnlyInternetGateways\u0060, \u0060DescribeHosts\u0060, \u0060DescribeImages\u0060, and 31 more. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/common/common.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1e379cd623237c053b69a9d14c2f69bae2952f846a815869c7f24a8b57d187"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EKSAPI (48 methods): \u0060EKSAPI\u0060 declares 48 methods: \u0060CreateCluster\u0060, \u0060DeleteCluster\u0060, \u0060DescribeCluster\u0060, \u0060UpdateClusterConfig\u0060, \u0060UpdateClusterVersion\u0060, \u0060DescribeUpdate\u0060, \u0060AssociateEncryptionConfig\u0060, \u0060ListClusters\u0060, \u0060CreateNodegroup\u0060, \u0060DeleteNodegroup\u0060, \u0060DescribeNodegroup\u0060, \u0060UpdateNodegroupConfig\u0060, \u0060UpdateNodegroupVersion\u0060, \u0060DescribeAddon\u0060, \u0060CreateAddon\u0060, \u0060UpdateAddon\u0060, \u0060ListAddons\u0060, \u0060DescribeAddonConfiguration\u0060, \u0060DescribeAddonVersions\u0060, \u0060DeleteAddon\u0060, \u0060ListIdentityProviderConfigs\u0060, \u0060DescribeIdentityProviderConfig\u0060, \u0060AssociateIdentityProviderConfig\u0060, \u0060CreateFargateProfile\u0060, \u0060DeleteFargateProfile\u0060, \u0060DescribeFargateProfile\u0060, \u0060TagResource\u0060, \u0060UntagResource\u0060, \u0060DisassociateIdentityProviderConfig\u0060, \u0060ListAccessEntries\u0060, \u0060DescribeAccessEntry\u0060, \u0060CreateAccessEntry\u0060, \u0060UpdateAccessEntry\u0060, \u0060DeleteAccessEntry\u0060, \u0060ListAssociatedAccessPolicies\u0060, \u0060AssociateAccessPolicy\u0060, \u0060DisassociateAccessPolicy\u0060, \u0060ListPodIdentityAssociations\u0060, \u0060DescribePodIdentityAssociation\u0060, \u0060CreatePodIdentityAssociation\u0060, and 8 more. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/service.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed5ae91916b515846082740bc1b7aa16ca41e19ec280a133ce14ed2d24a2241"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ELBV2API (23 methods): \u0060ELBV2API\u0060 declares 23 methods: \u0060AddTags\u0060, \u0060CreateListener\u0060, \u0060CreateLoadBalancer\u0060, \u0060CreateTargetGroup\u0060, \u0060DeleteListener\u0060, \u0060DeleteLoadBalancer\u0060, \u0060DeleteTargetGroup\u0060, \u0060DeregisterTargets\u0060, \u0060DescribeListeners\u0060, \u0060DescribeLoadBalancerAttributes\u0060, \u0060DescribeLoadBalancers\u0060, \u0060DescribeTags\u0060, \u0060DescribeTargetGroups\u0060, \u0060DescribeTargetHealth\u0060, \u0060ModifyListener\u0060, \u0060ModifyLoadBalancerAttributes\u0060, \u0060ModifyTargetGroupAttributes\u0060, \u0060RegisterTargets\u0060, \u0060RemoveTags\u0060, \u0060SetSecurityGroups\u0060, \u0060SetSubnets\u0060, \u0060DescribeLoadBalancersPages\u0060, \u0060WaitUntilLoadBalancerAvailable\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/elb/service.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48f48185a6667daae01a27624c013c555e77a76ab234c6d2323ea0e1dbe702d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ASGInterface (16 methods): \u0060ASGInterface\u0060 declares 16 methods: \u0060ASGIfExists\u0060, \u0060GetASGByName\u0060, \u0060CreateASG\u0060, \u0060UpdateASG\u0060, \u0060CancelASGInstanceRefresh\u0060, \u0060StartASGInstanceRefresh\u0060, \u0060CanStartASGInstanceRefresh\u0060, \u0060UpdateResourceTags\u0060, \u0060DeleteASGAndWait\u0060, \u0060SuspendProcesses\u0060, \u0060ResumeProcesses\u0060, \u0060SubnetIDs\u0060, \u0060DescribeLifecycleHooks\u0060, \u0060CreateLifecycleHook\u0060, \u0060UpdateLifecycleHook\u0060, \u0060DeleteLifecycleHook\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/interfaces.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"de41ee9a0e21c3dd8d1686dd2815edf60f40a77ccbbc96d4da4af3d8bbf50b46"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: EC2Interface (29 methods): \u0060EC2Interface\u0060 declares 29 methods: \u0060InstanceIfExists\u0060, \u0060TerminateInstance\u0060, \u0060CreateInstance\u0060, \u0060GetRunningInstanceByTags\u0060, \u0060GetAdditionalSecurityGroupsIDs\u0060, \u0060GetCoreSecurityGroups\u0060, \u0060GetInstanceSecurityGroups\u0060, \u0060UpdateInstanceSecurityGroups\u0060, \u0060UpdateResourceTags\u0060, \u0060ModifyInstanceMetadataOptions\u0060, \u0060ModifySourceDestCheck\u0060, \u0060TerminateInstanceAndWait\u0060, \u0060DetachSecurityGroupsFromNetworkInterface\u0060, \u0060DiscoverLaunchTemplateAMI\u0060, \u0060GetLaunchTemplate\u0060, \u0060GetLaunchTemplateID\u0060, \u0060GetLaunchTemplateLatestVersion\u0060, \u0060CreateLaunchTemplate\u0060, \u0060CreateLaunchTemplateVersion\u0060, \u0060PruneLaunchTemplateVersions\u0060, \u0060DeleteLaunchTemplate\u0060, \u0060LaunchTemplateNeedsUpdate\u0060, \u0060DeleteBastion\u0060, \u0060ReconcileBastion\u0060, \u0060ReconcileElasticIPFromPublicPool\u0060, \u0060ReleaseElasticIP\u0060, \u0060AllocateDedicatedHost\u0060, \u0060ReleaseDedicatedHost\u0060, \u0060DescribeDedicatedHost\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/interfaces.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a1262dd9107bdb3dfbfd6ba5a72b83d628156fa614ee213597e30b841588d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OCMClient (32 methods): \u0060OCMClient\u0060 declares 32 methods: \u0060AckVersionGate\u0060, \u0060AddHTPasswdUser\u0060, \u0060CreateNodePool\u0060, \u0060CreateIdentityProvider\u0060, \u0060CreateCluster\u0060, \u0060CreateUser\u0060, \u0060DeleteCluster\u0060, \u0060DeleteNodePool\u0060, \u0060DeleteUser\u0060, \u0060GetAvailableChannels\u0060, \u0060GetCluster\u0060, \u0060GetControlPlaneUpgradePolicies\u0060, \u0060GetHTPasswdUserList\u0060, \u0060GetHypershiftNodePoolUpgrade\u0060, \u0060GetIdentityProviders\u0060, \u0060GetMissingGateAgreementsHypershift\u0060, \u0060GetNodePool\u0060, \u0060GetNodePools\u0060, \u0060GetPolicies\u0060, \u0060GetUser\u0060, \u0060ScheduleHypershiftControlPlaneUpgrade\u0060, \u0060ScheduleNodePoolUpgrade\u0060, \u0060UpdateNodePool\u0060, \u0060UpdateCluster\u0060, \u0060ValidateHypershiftVersion\u0060, \u0060SetLogForwarder\u0060, \u0060UpdateLogForwarder\u0060, \u0060DeleteLogForwarder\u0060, \u0060GetLogForwarders\u0060, \u0060UpdateClusterDeletionProtection\u0060, \u0060GetIngresses\u0060, \u0060UpdateIngress\u0060. Counted over the exported method specs the interface itself declares, once per name; an embedded interface is a role it composes, judged on its own declaration, and is not counted here. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/rosa/ocmclient.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5421c3910ad3df2fc9d702f2479a321479d47384d1e5eae884deb5db7ce087"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060docs/triage-party\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch uv: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060uv\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed202f0b8c65987b68a54d94365b30bc5060f82aa41cda10a8502aa9b58ed3c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"941cdebec319698e281180b3a87b2e221d637c7985653040d12932e906699e60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb35ce3b3fc04c632f8a18d4fc01c4adb3f80f96f882f9b88349b042d173d6b4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.Get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f31673f26cb74d0a5ace5921a1662e76d0755deb83b6089da729f4b5591ec26"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"hack/boskos.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd91d3688493a59e1e8a4ff262b881fd7eeed28831cc9054c90e6928084db4d3"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060requests.post(\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":"hack/boskos.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bbec6c6fe9a834f8fcfe6c240258a5296a5bc49c6f074cde91c0f5db22f941"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.DefaultClient\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/eks/service.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb58b55aea398186a78b8bfcc09ad0a4d243c1e7e97d206bf5d0a8936f76f035"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://code.jquery.com/jquery-3.5.1.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository. 2 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/book/theme/head.hbs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7b77f73b1aae112cd8c31bdd33d2c76a9d7d26a50709cbb0ea7d74e4ab8db1"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060netlify.toml\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"netlify.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1fc99a2627121a3303b80ac48a36f267e6e7f5c3a740175ff6cfdd1826ad7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!feature.Gates.Enabled(feature.BootstrapFormatIgnition) \u0026\u0026 w.ignitionEnabled(r)\u0060 appears character-identically in 2 files \u2014 exp/webhooks/awsmachinepool_webhook.go, webhooks/awsmachinetemplate_webhook.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46ddcf5cce15613e24cc65960f8ff2964da6379078defab3a6c0b6a2e8bb908"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.DisableIngressRules \u0026\u0026 len(b.AllowedCIDRBlocks) \u003E 0\u0060 appears character-identically in 2 files \u2014 api/v1beta1/bastion.go, api/v1beta2/bastion.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/bastion.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d68e189d9d726f210bfd92e7ce99ada3c7ca5ef4c5d6072b08ed1641dfdd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.Name != \u0022\u0022 \u0026\u0026 !Tags(b.Tags).HasOwned(clusterName)\u0060 appears character-identically in 2 files \u2014 api/v1beta1/network_types.go, api/v1beta2/network_types.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f51751d58950ee838e550019b4cb935694d937729c8c3f05d0c0be5763312"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cluster.Spec.ControlPlaneRef.IsDefined() \u0026\u0026 cluster.Spec.ControlPlaneRef.Kind == AWSManagedControlPlaneRefKind\u0060 appears character-identically in 2 files \u2014 controllers/awsmachine_controller.go, controllers/awsmachinetemplate_controller.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/awsmachine_controller.go"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3ad21cd2da1add83b33da6ce698c8f0654582590130e34f8edc2745b893fdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.Status.DataSecretName != nil \u0026\u0026 configOwner.GetKind() == kindMachine\u0060 appears character-identically in 2 files \u2014 bootstrap/eks/controllers/eksconfig_controller.go, bootstrap/eks/controllers/nodeadmconfig_controller.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e520fc0e32f1d3d32b49ba1e293d4569ea94716135e52dc7f80b418252b211"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !apierrors.IsNotFound(err)\u0060 appears character-identically in 6 files \u2014 bootstrap/eks/controllers/nodeadmconfig_controller.go, controllers/awsmachine_controller.go, controlplane/rosa/controllers/rosacontrolplane_controller.go, pkg/cloud/services/eks/oidc.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d577eb9c66d1c3441618de4c7c79b6af19ae22ef5f9d8109f8c9a49033682e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.Description != o.Description || i.Protocol != o.Protocol\u0060 appears character-identically in 2 files \u2014 api/v1beta1/network_types.go, api/v1beta2/network_types.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a23236897092793a2f0810ba9ca022abe48f8098197176cf67658110946a56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.FromPort == o.FromPort \u0026\u0026 i.ToPort == o.ToPort\u0060 appears character-identically in 2 files \u2014 api/v1beta1/network_types.go, api/v1beta2/network_types.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"04032ce453857d97c96890547b9b28ed61875c9d826d56e7d26458df3e132017"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.MarketType != \u0022\u0022 \u0026\u0026 i.MarketType == infrav1.MarketTypeCapacityBlock \u0026\u0026 i.SpotMarketOptions != nil\u0060 appears character-identically in 2 files \u2014 pkg/cloud/services/ec2/instances.go, pkg/cloud/services/ec2/launchtemplate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3835143999d9ccaf3f86cac779320ad75231503ef6472063f22abb379d565bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i.SpotMarketOptions != nil \u0026\u0026 i.MarketType == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/cloud/services/ec2/instances.go, pkg/cloud/services/ec2/launchtemplate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"491020a04543bcfe36a92db18fd6001d698fdedd1a7029c3e195ae415056bd8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infrav1.VolumeTypesProvisioned.Has(string(volume.Type)) \u0026\u0026 volume.IOPS == 0\u0060 appears character-identically in 3 files \u2014 exp/webhooks/awsmachinepool_webhook.go, webhooks/awsmachine_webhook.go, webhooks/awsmachinetemplate_webhook.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f103efe46f74e2022546a07f3f6b2938f932960ed71084c5805ac170347d7467"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(additionalSecurityGroup.Filters) \u003E 0 \u0026\u0026 additionalSecurityGroup.ID != nil\u0060 appears character-identically in 2 files \u2014 webhooks/awsmachine_webhook.go, webhooks/awsmachinetemplate_webhook.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b01da6582a273d42ddca5500e4d0c6eba818d27d1f96c7f15d385ea20e3d7e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060normalized == printer.TypeTable || normalized == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 hack/tools/release-tools/cmd/ami/detect_k8s_release.go, hack/tools/release-tools/cmd/ami/find_missing_ami.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/cmd/ami/detect_k8s_release.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e04638a518b41eaf757690c1a783530e001ab4c5a2f981ea102b3ef74e545a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ok \u0026\u0026 ResourceLifecycle(value) == ResourceLifecycleOwned\u0060 appears character-identically in 2 files \u2014 api/v1beta1/tags.go, api/v1beta2/tags.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/tags.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a862e983e598c60553516d85a660bfe33473eb293588e6bbd8be1283427fdac7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.scope.VPC().IsUnmanaged(s.scope.Name()) || s.scope.VPC().ID == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/cloud/services/network/secondarycidr.go, pkg/cloud/services/network/vpc.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/network/secondarycidr.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"299817430a103f5d0e4268efb1263bb748e2fe7fcef0d426b6068fa7867b99bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scope.IsEKSManaged() \u0026\u0026 imageLookupFormat == \u0022\u0022 \u0026\u0026 imageLookupOrg == \u0022\u0022 \u0026\u0026 imageLookupBaseOS == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 pkg/cloud/services/ec2/instances.go, pkg/cloud/services/ec2/launchtemplate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5969e17aed386cc63939de7a5c91c04016b4bc87d00b218f195cf58add676c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t.Effect == other.Effect \u0026\u0026 t.Key == other.Key \u0026\u0026 t.Value == other.Value\u0060 appears character-identically in 2 files \u2014 exp/api/v1beta1/types.go, exp/api/v1beta2/types.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/api/v1beta1/types.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a7f24ddba378bc126adcb8b006cc08cde40d0da8e3179dbac56b8e7a972c30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.ID != \u0022\u0022 \u0026\u0026 !v.Tags.HasOwned(clusterName)\u0060 appears character-identically in 2 files \u2014 api/v1beta1/network_types.go, api/v1beta2/network_types.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/v1beta1/network_types.go"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b8a9cc78402143e16f18349a2fad271d71f495a9d97232dbc7b8706a9e2985"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.IamInstanceProfile != nil \u0026\u0026 v.IamInstanceProfile.Arn != nil\u0060 appears character-identically in 2 files \u2014 pkg/cloud/services/ec2/instances.go, pkg/cloud/services/ec2/launchtemplate.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/instances.go"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae20a2a52128382c123ddc913f05954072d8228cd6ed7cb518cd0dac7a7a120"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060w.ignitionEnabled(r) \u0026\u0026 r.Spec.Ignition.StorageType == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 exp/webhooks/awsmachinepool_webhook.go, webhooks/awsmachine_webhook.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd221440303eb12c8667e62d3ed70e84f1c2e00f299a6da6e42b6e54283a591"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060w.ignitionEnabled(r) \u0026\u0026 r.Spec.Ignition.Version == \u0022\u0022 \u0026\u0026 r.Spec.Ignition.StorageType != infrav1.IgnitionStorageTypeOptionUnencryptedUserData\u0060 appears character-identically in 2 files \u2014 exp/webhooks/awsmachinepool_webhook.go, webhooks/awsmachine_webhook.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c42aafa4ee46578ac23481cea3a5f0e709b59e84009e4b5586d51ed9055b0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag[\u0022Key\u0022] == \u0022kubernetes_version\u0022 and version_contains in tag[\u0022Value\u0022]\u0060 appears character-identically in 2 files \u2014 hack/tools/ami/delete_amis.py, hack/tools/ami/list_amis.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":"hack/tools/ami/delete_amis.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4dfcde877a6bb46b8e110c85b123dd91ed0d6c10f8e059f348a3a6beda1261"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 2/4 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: LatestPatchRelease: \u0060LatestPatchRelease\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"febf7b1689aa727822c0efe5e93d13674f26e68ffaf1a1ff1f1c64b12892b025"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: latestStableRelease: \u0060latestStableRelease\u0060 calls \u0060http.Get(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/ami/helper.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d7d5b6053ab519723ada2348f11b02d81470d8cdce5733d8ba60b25bbddd9"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSCluster)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSCluster\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab76adc317299b57076c6b90fa994baf02c9a4d981cdd046dc85b30e089845b"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSCluster)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSCluster\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85cf8c19f614958fc5034383d3271717469f66f62cc47869636b47afaf7bc97"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSCluster)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSCluster\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awscluster_webhook.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb7c5b6657f4a54dec6240d3754e89b85c0cd523b4f7c0fe48d324d3586b704"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterControllerIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterControllerIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94c8e0a7e5209c84bbfbffa28b5e97a0a4cb27fdaaa4a0e4ca68aa7e126ba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSClusterControllerIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterControllerIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eae0e470252ee9a4b80b6c1822d3c539d727560f4ce38ffc9ba88a9ec42334"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterControllerIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterControllerIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustercontrolleridentity_webhook.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab1cdd6fb5d617f34cdb3e90287d388f0407c229e7b4bfeb3ac0617a48041e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterRoleIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterRoleIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50e066b97c6cb8c784b32544505d954cae0c1703ca2eb724e19f8fc3f2b8e03"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSClusterRoleIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterRoleIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c945d9b7d0e5d7e6bd754a640ccb041226b312d28ab6c655bfb44e7b157cd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterRoleIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterRoleIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterroleidentity_webhook.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa3c2c39023c954bd1b37a64417f4aa1b2aba17ffdbe38a116e8a2cba5363e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterStaticIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterStaticIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d19a44da798e8aee79e9c18d90d5f6575f028600b74d26d658ff6724b172fb"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSClusterStaticIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterStaticIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b3aa1cf0395c4d97f709db1f5fb841feea59b7e283b1299cd1f8fe178f24e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterStaticIdentity)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterStaticIdentity\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclusterstaticidentity_webhook.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffafaf40e6ce91f0115ccb2590d822912f376d11a64cd2a0f78043a704ff1784"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd726fe7c2bd973f8e679c62d0109325c28d2ef6e6f8e3fbc40cf4a46d61b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSClusterTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"157e94363655f1b0c68b55527dd7f7ddf32fd6a00862d54abbe9cb28d193e197"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSClusterTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSClusterTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsclustertemplate_webhook.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1db3ce84564f027508372e9fe6555b1778878d056a926ceb7a2b4d0ba43594"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSMachine)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSMachine\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b327d26228046f02163ed762ac54458f6e0bdf2a00a4b0079e6a4a1615d25"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*infrav1.AWSMachine)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSMachine\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d17ebc7db1a2fb6be947cc4969c351dda9d4c741601d19e20573d7d05978f"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*infrav1.AWSMachine)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*infrav1.AWSMachine\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"webhooks/awsmachine_webhook.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"28be198054d1134afcc372195c26ad30ed19c05fff9dbeb460b5d6b03baa41be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/throttle/throttle.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16d4524e15e0eb525f6f6c42a56dfffe25da36b589febef683dbc9a791a7e80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2fcfafd9c452c6927e9cb4e22ca6015597abccf9737067363f69f0cf290e0e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"172eb6f360fe0cd74d5745b7a2cfc24aa6bf79f76b0b40a6432479d8a46c0a26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/instancestate/rule.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7ddb85d9ed01f923bd99584c5328a064bed4bc79b9a8971c864c5899c2737e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060firstTime, _ := time.Parse(createDateTimestampFormat, aws.ToString(i[k].CreationDate))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060firstTime\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060firstTime\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060firstTime\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/ami.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"663aeb23ff6606556c956ed774d7f5f14e66a1350d51acb7c487a2591618a7f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060secondTime, _ := time.Parse(createDateTimestampFormat, aws.ToString(i[j].CreationDate))\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060secondTime\u0060 as if the call succeeded. When \u0060time.Parse\u0060 fails, \u0060secondTime\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060secondTime\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/ami.go"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6209f29e1f4e74b8fb7b2aa7a4c806f89e15b6a3b0f1b75fffb91f1654b7e14"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060userData, _ := userdata.NewBastion(\u0026userdata.BastionInput{})\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060userData\u0060 as if the call succeeded. When \u0060userdata.NewBastion\u0060 fails, \u0060userData\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060userData\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/services/ec2/bastion.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"589e3dec10a56a14419cd14b47ff1d10b7abc349c41f4b5d2a409db816c3bde9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/cloud/scope/machine.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"901ca2f630d437c0dba27aa9e4a6047d0e1bc6d59eefa999142d601375428f7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060a, _ := parseSemver(minors[i])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060a\u0060 as if the call succeeded. When \u0060parseSemver\u0060 fails, \u0060a\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060a\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d2fb76349a0cb3bf641f087d67ce56a2c2fd44c29002d5d98253c7cd54095"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := parseSemver(minors[j])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060parseSemver\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbd645318e404f9e7f98dc58591bebf51fba23e2f69dad2ecf26e003948c57a"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060a, _ := parseSemver(patches[i])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060a\u0060 as if the call succeeded. When \u0060parseSemver\u0060 fails, \u0060a\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060a\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36d751ed65f47b9d61c738db09469ae81963ac0fe95d7486788c296d4e9d38e"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060b, _ := parseSemver(patches[j])\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060b\u0060 as if the call succeeded. When \u0060parseSemver\u0060 fails, \u0060b\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060b\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hack/tools/release-tools/internal/ami/k8sreleases/detect_k8s_release.go"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"933a6c2f23e684f963d686548b7f25abc42e9ee5604e0a8e21495c6acef0db21"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSFargateProfile)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSFargateProfile\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsfargateprofile_webhook.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6693d436f5be413a64d5d10bf2eac3ab10d56949bd8d3b239ff254a2ab15fbe9"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*expinfrav1.AWSFargateProfile)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSFargateProfile\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsfargateprofile_webhook.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0ccb796645973b26934e89f67fc69ab2b99a3551e50f62b891fdf52f95a488"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSFargateProfile)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSFargateProfile\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsfargateprofile_webhook.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a78b54e65d06afa811ace377e80b8e860031b3c07adbc8e4718aaae51f1b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c87c54871a7e0440741e4ab6651aee99488beafcbd98fca114632afce13747"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*expinfrav1.AWSMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef54e711928e0c8a2a6460014d6a20eade7a93f7f5935bd92b95dda47a819f"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmachinepool_webhook.go"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ac63752523371084686e1eb563dde81e55c9fb801ceeca24477dc008b9e56"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSManagedMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSManagedMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eabac24607586a77516b843cd70093c246fce9ae045cc1a6b49f4eaf2172bed"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*expinfrav1.AWSManagedMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSManagedMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994db14dff555b9823c6b58b8a7b7d9cd6efaaf912c25819bc15d11c869cde8"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.AWSManagedMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.AWSManagedMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/awsmanagedmachinepool_webhook.go"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7263de749edde426c0b70717cd551d55d5f266921ffe6e3c606d8abeaeb3b235"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.ROSAMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.ROSAMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosamachinepool_webhook.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"df312811278f97ae1063157d2902c9644bdcdda390284776089b2e7bd33a9dd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*expinfrav1.ROSAMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.ROSAMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosamachinepool_webhook.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9d1cfa476330a96b50e0918c4f0ec2b37b5b51017375ed3ce1a009c49d32af"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*expinfrav1.ROSAMachinePool)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*expinfrav1.ROSAMachinePool\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosamachinepool_webhook.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fce0a9eb3a978386d7690dc8396e4af6d5e7e24d6f0fab6b333b2b1d1fe3370"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060rosaNet, ok := obj.(*expinfrav1.ROSANetwork)\u0060 failed on this branch, so \u0060rosaNet\u0060 is the zero value of \u0060*expinfrav1.ROSANetwork\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosanetwork_webhook.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"65198dbfeb466221ce690210cb296554578f8a43779f5c46c6a600cf9279ad39"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060roleConfig, ok := obj.(*expinfrav1.ROSARoleConfig)\u0060 failed on this branch, so \u0060roleConfig\u0060 is the zero value of \u0060*expinfrav1.ROSARoleConfig\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"exp/webhooks/rosaroleconfig_webhook.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38a255983363f3f420ee296afba1323467eb06468da24a9addd6e245a187ec3"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*rosacontrolplanev1.ROSAControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*rosacontrolplanev1.ROSAControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"290d10081c15def0f87f42160cdaf2f1c2002aaf6cbb517afa48e3a164dbbca5"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*rosacontrolplanev1.ROSAControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*rosacontrolplanev1.ROSAControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3f5ea6283874435e44bec4ecb188024261a4b042836ec139c42c6a8531543f"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*rosacontrolplanev1.ROSAControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*rosacontrolplanev1.ROSAControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/webhooks/rosacontrolplane_webhook.go"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e567eeeab6342c43383759fda56af68408eb34278c60a902ec6cf5abb3d03b08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/rosa/controllers/rosacontrolplane_controller.go"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3bc4f913d2c787e9726010c2bdf581a24377ad254a806e83e6076ebdf5f779"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*ekscontrolplanev1.AWSManagedControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8671d14d7ab0a0cada3cc44769b3bb440a5122b9fea6ffa325618dba0145b6b4"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*ekscontrolplanev1.AWSManagedControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd04bd83f3de935cd384e2f5cbdd0db439be7bd61c36e89dbd81e4b2cb26a216"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, validRange1, _ := net.ParseCIDR(\u0022100.64.0.0/10\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060validRange1\u0060 as if the call succeeded. When \u0060net.ParseCIDR\u0060 fails, \u0060validRange1\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060validRange1\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf90291a903a83c40b4e9a51b7e754d4e729ca6dcb596c6475c29070d25142d"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060_, validRange2, _ := net.ParseCIDR(\u0022198.19.0.0/16\u0022)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060validRange2\u0060 as if the call succeeded. When \u0060net.ParseCIDR\u0060 fails, \u0060validRange2\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060validRange2\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc3a71821aef2a389f61812d0a235a858f75a8fe4b46ab205aa3309510eba49"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*ekscontrolplanev1.AWSManagedControlPlane)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlane\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplane_webhook.go"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b5e5dd1718c9ecd4c06cb6e11e2fed18f95664e4baf404d6ad9d5c20480b3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*ekscontrolplanev1.AWSManagedControlPlaneTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlaneTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"687817c22da9aaef268e6dd5b51dc1a225b18b86c50a46ff0fe28fd8e1b7ee83"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := newObj.(*ekscontrolplanev1.AWSManagedControlPlaneTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlaneTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060newObj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb5de9c7c5dcfbe31d8ef3b51cd301a61075d5aa377bf8426152daa5b39325"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*ekscontrolplanev1.AWSManagedControlPlaneTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlaneTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c58ce23b48c370335c220ef3cec46063128895bafa451af74cbc5bb7b495a8"}},{"ruleId":"X3","level":"warning","message":{"text":"Lost error (reports the zero value of a failed type assertion): \u0060r, ok := obj.(*ekscontrolplanev1.AWSManagedControlPlaneTemplate)\u0060 failed on this branch, so \u0060r\u0060 is the zero value of \u0060*ekscontrolplanev1.AWSManagedControlPlaneTemplate\u0060 here, and that is what is reported: the value that did not fit is lost. Report \u0060obj\u0060 itself (and \u0060%T\u0060 of it) instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/eks/webhooks/awsmanagedcontrolplanetemplate_webhook.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"574e7e7883db0fe6c8b3fa77ed959812bb21fc0fdaca7e08d1f85d7d34a716b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Discarded error (assigned to \u0060_\u0060, then its result used): \u0060region, _ := flags.GetRegion(cmd)\u0060 writes the call\u0027s error to \u0060_\u0060 and then uses \u0060region\u0060 as if the call succeeded. When \u0060flags.GetRegion\u0060 fails, \u0060region\u0060 is its zero value (nil for a pointer, a map or an interface), so the program panics later or goes on with a default it never chose, and nothing records why. Check the error before using \u0060region\u0060 (return it, wrapped with what was being done), or, if the failure genuinely cannot matter, say why in a comment on the line."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/clusterawsadm/cmd/ami/list/list.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3675ae523b2761c0db0424abc5384743759c2dc79b1f794c91c811b695336e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.Client.List(context.Background(), machineList, selectors...); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/eksconfig_controller.go"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f7871bdd4c0a1c74683c5a8a8323943fb3710b9c6b29c254d74342cf5b20f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := r.Client.List(context.Background(), machineList, selectors...); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bootstrap/eks/controllers/nodeadmconfig_controller.go"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ac5259262622d2b8b9db50d314865c2e21383fd2bb40fd6258a450c7faa5d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 233 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb12217bdab58d922629713f3c0d47317df2d8248a8b7cc018cd855110bf38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 136 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/logger/logger.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda6ac9d20fac1ccc10b61efeaf415b2d5c17c86032b9d51d25db371f59422f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 138 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/logger/logger.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"58879311720700413203502b368554bb49b8665bd1c5938f2c0fb546364eba22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 346 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/rosacluster_controller.go"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"799100166204f151fa51f7626e861ddbfa1178ee5782f1c35ddc0d626f1149a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060Info\u0060 at line 351 is handed a message assembled at the call \u2014 \u0060fmt.Sprintf\u0060 with values, or a string concatenated with a value \u2014 so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass a constant message and the values as attributes instead: \u0060slog.Info(\u0022order moved\u0022, \u0022order_id\u0022, orderID, \u0022status\u0022, status)\u0060 with log/slog, \u0060logger.Info(\u0022order moved\u0022, zap.String(\u0022order_id\u0022, orderID))\u0060 with zap, \u0060log.WithFields(log.Fields{\u0022order_id\u0022: orderID}).Info(\u0022order moved\u0022)\u0060 with logrus, or \u0060log.Info().Str(\u0022order_id\u0022, orderID).Msg(\u0022order moved\u0022)\u0060 with zerolog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controllers/rosacluster_controller.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b261c4ad600a4145fa99051a893bec473c58fcabcba74168babe591ad80573c4"}}],"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-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-338","guid":"e89b7604-c3f7-8b53-bc8c-4d4718c28617","name":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)","shortDescription":{"text":"Use of Cryptographically Weak Pseudo-Random Number Generator(PRNG)"},"helpUri":"https://cwe.mitre.org/data/definitions/338.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"Deserialization of Untrusted Data","shortDescription":{"text":"Deserialization of Untrusted Data"},"helpUri":"https://cwe.mitre.org/data/definitions/502.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-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":93,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}