{"$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":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"parse (cyclomatic 64): parse has cyclomatic complexity 64 (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/runner/hashfiles/index.js"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c355e1efa5f5e8b7aa2331d4c8c23cdab1849e8b0a5ab4b6569bc81cb8c955f"}},{"ruleId":"D1","level":"warning","message":{"text":"cmd.newRunCommand (cyclomatic 63): cmd.newRunCommand has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to one function literal inside it that branches (line 392). 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":"cmd/root.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7637793af17cbddd5b267dd8be26e2ce3dd3c95e86d674e1d1196a2fa17386"}},{"ruleId":"D1","level":"warning","message":{"text":"workflowpattern.PatternToRegex (cyclomatic 31): workflowpattern.PatternToRegex has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 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":"pkg/workflowpattern/workflow_pattern.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"85626c4be2aff387f676f5c1ee471d040aad06fbf5f43735dfcb73048cdbe6e8"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.execAsDocker (cyclomatic 26): runner.execAsDocker 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/runner/action.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"2107d6338ed0403654e4a4039f351eb3fbee8ac777c2e5819b4c4e777bbc54c2"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 26): (anonymous) has cyclomatic complexity 26 (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/runner/hashfiles/index.js"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e1464295c944e8182f9483e1ab52885b0c473404588b6fd907861b3ba70b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"expand (cyclomatic 26): expand has cyclomatic complexity 26 (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/runner/hashfiles/index.js"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c470df7e9f4dee425e0570d9394897b22a9212ab851628f206f25bc8e31eda5"}},{"ruleId":"D1","level":"warning","message":{"text":"matchOne (cyclomatic 26): matchOne has cyclomatic complexity 26 (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/runner/hashfiles/index.js"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e6dd44d551497f39b7e22985e879f5638615395b883548467c4d8fd571a5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"FileCollector.CollectFiles (cyclomatic 25): FileCollector.CollectFiles has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/filecollector/file_collector.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc98a215a80016776bb79d47cfbfe0c37d92dfc0f44e3cc69bcd08cbd599bfa2"}},{"ruleId":"D1","level":"warning","message":{"text":"git.NewGitCloneExecutor (cyclomatic 24): git.NewGitCloneExecutor has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 301). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/common/git/git.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa7a56a3303082c61a07f11dd68bc8e6a49c0e280385d49f2bb430021db6c7"}},{"ruleId":"D1","level":"warning","message":{"text":"_getAgent (cyclomatic 24): _getAgent has cyclomatic complexity 24 (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/runner/hashfiles/index.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7898cbd1756e8bb57ffc5ae1691542466aa909040ec186426a935a2c837590"}},{"ruleId":"D1","level":"warning","message":{"text":"v1 (cyclomatic 23): v1 has cyclomatic complexity 23 (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/runner/hashfiles/index.js"},"region":{"startLine":4649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ede1093834402d38fea90d203ec893e55b9c4a29ef0dc497a4503daf3e849f"}},{"ruleId":"D1","level":"warning","message":{"text":"interperterImpl.evaluateFuncCall (cyclomatic 21): interperterImpl.evaluateFuncCall has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/exprparser/interpreter.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"0436f4150302f9c222ae1ef46612b8cc962d9127a98d8f5560fec0e7c1178883"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.gcCache (cyclomatic 20): Handler.gcCache 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/artifactcache/handler.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e593b9e5e721e8a41f84d91382f435713f8f547a29dbe3ce1b959a988fd7638"}},{"ruleId":"D1","level":"warning","message":{"text":"Job.GetMatrixes (cyclomatic 20): Job.GetMatrixes has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/model/workflow.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b607c0584b1550ccf85e1043879ba0782d9cf97977bfad0467d3cb603378852"}},{"ruleId":"D1","level":"warning","message":{"text":"model.NewWorkflowPlanner (cyclomatic 19): model.NewWorkflowPlanner has cyclomatic complexity 19 (threshold 15). 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, 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/model/planner.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ce50a5d4cc8ff7571dbd487e1bf4fc45f8d2b06bd492072ed7b43eee5598d"}},{"ruleId":"D1","level":"warning","message":{"text":"RunContext.startJobContainer (cyclomatic 19): RunContext.startJobContainer has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 256). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a1455d0055d8afd37f914205d059ead9a734ffb98fc227f40b693057d9c5d2"}},{"ruleId":"D1","level":"warning","message":{"text":"stepActionRemote.prepareActionExecutor (cyclomatic 19): stepActionRemote.prepareActionExecutor has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 41). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/step_action_remote.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc1b33b1c05accebd153661ec9b73703229804a432947b4a4e47547e908048b"}},{"ruleId":"D1","level":"warning","message":{"text":"container.parseEnvFile (cyclomatic 18): container.parseEnvFile has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 16). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/parse_env_file.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb93cf0cc2162f1ad470c48c3436db43cf22f620eec3b56e6894260990a802ad"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.getEvaluatorInputs (cyclomatic 18): runner.getEvaluatorInputs 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/runner/expression.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5141b32100c9e742cc16bcfa86d48791f7ee9a23827ef452d8e03c178b897d"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.rewriteSubExpression (cyclomatic 17): runner.rewriteSubExpression 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/runner/expression.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d606dbfe1f755ec3895c8b8aa31be2bd85a654da7a34bf4c966325eb3d117d2"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.newJobExecutor (cyclomatic 17): runner.newJobExecutor has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 104, 42, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/job_executor.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd890a378d87c39b3e95bc3a27e0d49f88529868861a8429e646d65c1485d16c"}},{"ruleId":"D1","level":"warning","message":{"text":"Node.UnmarshalYAML (cyclomatic 17): Node.UnmarshalYAML 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/schema/schema.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ab1d133a28ad99dce27b07202c00793da138e5f14e7f3b1505c527c54e77d8"}},{"ruleId":"D1","level":"warning","message":{"text":"globGenerator_1 (cyclomatic 17): globGenerator_1 has cyclomatic complexity 17 (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/runner/hashfiles/index.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2326e9098a9bcacde550985085f7bce2a2472d6de8a4b9783c0e993559b82a80"}},{"ruleId":"D1","level":"warning","message":{"text":"getLiteral (cyclomatic 17): getLiteral has cyclomatic complexity 17 (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/runner/hashfiles/index.js"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae9b2b3b975c31d364466379973bfa07fb1e803bde21f614cc7ab8d577284e2"}},{"ruleId":"D1","level":"warning","message":{"text":"RunContext.getGithubContext (cyclomatic 16): RunContext.getGithubContext has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d1434243208ce7aabe9fb20b59a732da48555471382cabac400c50fd06a99d"}},{"ruleId":"D2","level":"warning","message":{"text":"parse (cognitive 83): parse has cognitive complexity 83 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60544d6857726be69bc9e7d0a448a6f500ee8cc2c016cd6a6d277279df9de62"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.newRunCommand (cognitive 79): cmd.newRunCommand has cognitive complexity 79 (threshold 15). Drivers by points: if/else 64, boolean chains 10, loops 5 (nesting depth added 15). Most of this is not in the body itself: 0 of the 79 points are its own statements and the rest belongs to one function literal inside it that branches (line 392). 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":"cmd/root.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b52d75f8047d1a06da51dce9f18f7e8f697fcf4c20007325ee2c42ece37fde"}},{"ruleId":"D2","level":"warning","message":{"text":"Job.GetMatrixes (cognitive 71): Job.GetMatrixes has cognitive complexity 71 (threshold 15). Drivers by points: loops 38, if/else 28, match/switch 4, jumps 1 (nesting depth added 49). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/model/workflow.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97db6a9b97b24d96eaa3ce615d8940a97f6b3385ac830961cb634b97a386fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"workflowpattern.PatternToRegex (cognitive 63): workflowpattern.PatternToRegex has cognitive complexity 63 (threshold 15). Drivers by points: if/else 41, boolean chains 10, loops 6, match/switch 6 (nesting depth added 34). Of this number, 61 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/workflowpattern/workflow_pattern.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ecfd379e734031e0ec1ceceb271986b37896f19f6794db665b34fa7544d59c"}},{"ruleId":"D2","level":"warning","message":{"text":"expand (cognitive 52): expand has cognitive complexity 52 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"215331a04d4ed37a03507aad83725d0b8f3be5d41fb3faa228434f6bdae77043"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.execAsDocker (cognitive 51): runner.execAsDocker has cognitive complexity 51 (threshold 15). Drivers by points: if/else 46, boolean chains 5 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/action.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c544c9ab476c9eab82c827213a0063dfdaabdb63733eaae5a19997608a5dd73e"}},{"ruleId":"D2","level":"warning","message":{"text":"matchOne (cognitive 51): matchOne has cognitive complexity 51 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c630e0971f18cd0164ebfa424c4588fcd8ce35226235c057ec85baaddb36bf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 47): (anonymous) has cognitive complexity 47 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee72320d4db07664a21f466c23384542bd39c22e9e793c977b253b9d1ade64dc"}},{"ruleId":"D2","level":"warning","message":{"text":"model.NewWorkflowPlanner (cognitive 45): model.NewWorkflowPlanner has cognitive complexity 45 (threshold 15). Drivers by points: if/else 40, loops 4, boolean chains 1 (nesting depth added 25). Of this number, 39 points are the body\u0027s own statements and 6 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/model/planner.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1ba65f8e1971369f223f03f4666717c8fa76af8d4e4e95fe635fbd11aa5df8"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.gcCache (cognitive 43): Handler.gcCache has cognitive complexity 43 (threshold 15). Drivers by points: if/else 32, loops 11 (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/artifactcache/handler.go"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"891557e39d1f4282a54e6874868e7b0580b2e83098db9da1e40022befd2231e7"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.getEvaluatorInputs (cognitive 43): runner.getEvaluatorInputs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 33, loops 7, boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910e2844dabe310c587d8f0c9b9140bfefc878ca299e89ad2d9c80449eb3616"}},{"ruleId":"D2","level":"warning","message":{"text":"runnerImpl.NewPlanExecutor (cognitive 42): runnerImpl.NewPlanExecutor has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33, loops 9 (nesting depth added 28). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/runner.go"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7579a9b3cadc98ff3fc291b02d7f5520425c309a49ddad304bc6d965f5f0015b"}},{"ruleId":"D2","level":"warning","message":{"text":"expressionEvaluator.evaluateMappingYamlNode (cognitive 38): expressionEvaluator.evaluateMappingYamlNode has cognitive complexity 38 (threshold 15). Drivers by points: if/else 36, boolean chains 1, loops 1 (nesting depth added 21). Of this number, 33 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"485764ec358560a07b3bcaa074e8f64248a26a1c0388c876ff36621b2edb8300"}},{"ruleId":"D2","level":"warning","message":{"text":"FileCollector.CollectFiles (cognitive 34): FileCollector.CollectFiles has cognitive complexity 34 (threshold 15). Drivers by points: if/else 26, boolean chains 4, match/switch 4 (nesting depth added 10). Most of this is not in the body itself: 0 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/filecollector/file_collector.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5172912291294d1ee7f62ccac7148b60954ef0fc2946e4e61613660e54839"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContext.startJobContainer (cognitive 34): RunContext.startJobContainer has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25, loops 9 (nesting depth added 15). Most of this is not in the body itself: 0 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 256). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01255bc3f6c5b553d69eda0175475790edd22baa11ee566545b3d7d4207573"}},{"ruleId":"D2","level":"warning","message":{"text":"common.GetOutboundIP (cognitive 32): common.GetOutboundIP has cognitive complexity 32 (threshold 15). Drivers by points: if/else 21, loops 6, match/switch 5 (nesting depth added 21). Of this number, 23 points are the body\u0027s own statements and 9 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/common/outbound_ip.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49f8dbb516063d39d0eca926e2d6680dd4730e5dd6ee97c2102ea773b56f800"}},{"ruleId":"D2","level":"warning","message":{"text":"stepActionRemote.prepareActionExecutor (cognitive 32): stepActionRemote.prepareActionExecutor has cognitive complexity 32 (threshold 15). Drivers by points: if/else 27, loops 3, boolean chains 2 (nesting depth added 13). Most of this is not in the body itself: 0 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 41). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/step_action_remote.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524a701e70e8de3b2c774bbf32ae41a4876f3a924a22639c4df1813259856d4"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.rewriteSubExpression (cognitive 31): runner.rewriteSubExpression has cognitive complexity 31 (threshold 15). Drivers by points: if/else 27, boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a899cb7b11054beee58b55f74551d6ac32a25c16fcef76aea26c2c76692ad96"}},{"ruleId":"D2","level":"warning","message":{"text":"container.parseEnvFile (cognitive 30): container.parseEnvFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22, boolean chains 4, loops 4 (nesting depth added 14). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 16). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/parse_env_file.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0256bf0211999f3f3a5c491ad43e033987602c8106504ef6625599d191d6c93"}},{"ruleId":"D2","level":"warning","message":{"text":"_getAgent (cognitive 30): _getAgent has cognitive complexity 30 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"5197142f5f096c7f276003a9d3cef66ce801af4f5c4c876f48c26f7fa61cc06c"}},{"ruleId":"D2","level":"warning","message":{"text":"getLiteral (cognitive 29): getLiteral has cognitive complexity 29 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c37f878cc75a2f37d711c336d59d9b0372ae272bceacb0f53242f6aa344aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"git.NewGitCloneExecutor (cognitive 28): git.NewGitCloneExecutor has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, boolean chains 5 (nesting depth added 5). Most of this is not in the body itself: 0 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 301). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/common/git/git.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01598309efa715372cdca3f0b290d9d70d37d34b446b96b76e04b645f7113fd"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.printList (cognitive 27): cmd.printList has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, loops 4 (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":"cmd/list.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0802eaabb61ab58484c05fc3152988b21c7fd4a7b8b24c00d86985186d1a05"}},{"ruleId":"D2","level":"warning","message":{"text":"interperterImpl.getPropertyValue (cognitive 27): interperterImpl.getPropertyValue has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17, loops 6, match/switch 4 (nesting depth added 16). 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/exprparser/interpreter.go"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a02599244e624d71d16972f9326bc0523ecf5f51b0867dd48167b16a2ea331c"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalRepositoryCache.GetTarArchive (cognitive 27): LocalRepositoryCache.GetTarArchive has cognitive complexity 27 (threshold 15). Drivers by points: if/else 27 (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/runner/local_repository_cache.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"978a0226542ec0e90c75b66ef6460d1fa5bcfd9649ae94209d075f652c91d6f0"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.checkMapping (cognitive 27): Node.checkMapping has cognitive complexity 27 (threshold 15). Drivers by points: if/else 26, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/schema/schema.go"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"475117af6e98e41e30e8c0d9cca4ed4ea0611aea848f20bafeba46e3b83149f7"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.readActionImpl (cognitive 26): runner.readActionImpl has cognitive complexity 26 (threshold 15). Drivers by points: if/else 26 (nesting depth added 16). Of this number, 24 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/runner/action.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f05fc7d9ee92f011df452b764c9593e070f7c4b1010d4af670b59d776802b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.checkSingleExpression (cognitive 25): Node.checkSingleExpression has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17, loops 4, boolean chains 2, match/switch 2 (nesting depth added 13). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 140). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/schema/schema.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ee17bfbe814bb2cbd33e83e781b88ea773b46035653d46637c9a419c6e46d"}},{"ruleId":"D2","level":"warning","message":{"text":"globGenerator_1 (cognitive 25): globGenerator_1 has cognitive complexity 25 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"734d72402e81acee1d7312bad414684c04f4ae3417de4e79c141303c2bb27107"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.getHashFilesFunction (cognitive 24): runner.getHashFilesFunction has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, loops 4 (nesting depth added 15). Most of this is not in the body itself: 0 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 171). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3e7ba0e1cba885499ec95c78db485e39f8f3aa538d1656e5b9c82e90a48243"}},{"ruleId":"D2","level":"warning","message":{"text":"interperterImpl.format (cognitive 23): interperterImpl.format has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 13, if/else 9, loops 1 (nesting depth added 14). 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/exprparser/functions.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dbc3496be07621e94eb1eea4622f2e7de97ddc66a2d6c63e38181c7dd0bd48"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.newJobExecutor (cognitive 23): runner.newJobExecutor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, loops 2, boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 104, 42, 85, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/job_executor.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee81d0a53e3857807e247bec3fa984e4be24ba4dc8780e0ad622267c91d2562"}},{"ruleId":"D2","level":"warning","message":{"text":"v1 (cognitive 23): v1 has cognitive complexity 23 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":4649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f5f2de0a3f82b471902ecdedb02f936e6cbd2e8d92be193ff4515a5c65cd7d"}},{"ruleId":"D2","level":"warning","message":{"text":"git.CloneIfRequired (cognitive 22): git.CloneIfRequired has cognitive complexity 22 (threshold 15). Drivers by points: if/else 20, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/common/git/git.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e265b361e103c9cc181747f2eb81be5c00777fc4224c2cb5d5c2c9f91d1d91"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContext.ApplyExtraPath (cognitive 22): RunContext.ApplyExtraPath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, loops 3 (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/runner/run_context.go"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec306030ea37ac1ae86542c61d5861f7ecda230332eea51af95a1e87a6bc3b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ensureAbsoluteRoot (cognitive 22): ensureAbsoluteRoot has cognitive complexity 22 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065b1e13f05b0349f504a04067dafdd58381e7ab2c364ae46bb578d2676b839"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContext.GetBindsAndMounts (cognitive 21): RunContext.GetBindsAndMounts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 3, 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/runner/run_context.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed44591f8dfd17096f98cc4a31591cb52e9b843e915dd4f7da8ab07be4e1e63"}},{"ruleId":"D2","level":"warning","message":{"text":"interperterImpl.hashFiles (cognitive 20): interperterImpl.hashFiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/exprparser/functions.go"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dac1cd47cc6fdc3c60a9a073a51dc34e9ed5cff3b3666e4f27116ce99ae4f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.bugReport (cognitive 19): cmd.bugReport has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 8, boolean chains 1 (nesting depth added 5). 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":"cmd/root.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c90644c2403fe171231bd8577f7836908e1eba219f9cba6908c88e429ad733"}},{"ruleId":"D2","level":"warning","message":{"text":"HostEnvironment.exec (cognitive 19): HostEnvironment.exec has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 3). 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: 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/container/host_environment.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffaaf04fe90cf28a314af09b9aea85841c4404a2d59fb0894e44f5c4a8b37bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.UnmarshalYAML (cognitive 19): Node.UnmarshalYAML has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/schema/schema.go"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddcd79da6346be0fb3a60d967709c9ea0cd6290f35b3ac2613921914ab4f21b"}},{"ruleId":"D2","level":"warning","message":{"text":"range (cognitive 19): range has cognitive complexity 19 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2f87e4f1fdd0e185ea19e1e44cf0398ed278aba4545b2bdddecbc6282070af"}},{"ruleId":"D2","level":"warning","message":{"text":"match (cognitive 19): match has cognitive complexity 19 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":3808}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24921dddeaafb8b6a02374260338d0f4b8b9503579a359c2bba919b1d3554bf"}},{"ruleId":"D2","level":"warning","message":{"text":"HostEnvironment.GetContainerArchive (cognitive 18): HostEnvironment.GetContainerArchive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (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/container/host_environment.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd5be396e20195663325758e8c4215dab3f305a12969fd49a4713f6c715c5e1"}},{"ruleId":"D2","level":"warning","message":{"text":"model.createStages (cognitive 18): model.createStages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 6 (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/model/planner.go"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fdcbcc3249f20a51bfab91303c3c4935196292c341719788716ac7065d049b"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.setupWorkflowInputs (cognitive 18): runner.setupWorkflowInputs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c82ee34a9a0dd0b4a41431c6bff9d9ef3e8949c51092c04f220027813b202e7"}},{"ruleId":"D2","level":"warning","message":{"text":"expressionEvaluator.evaluateSequenceYamlNode (cognitive 18): expressionEvaluator.evaluateSequenceYamlNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, 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/runner/expression.go"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3410651fc94d83897780c8ddee0f9753b06850333c9832e9be454eab9b9f275e"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.WorkflowDispatchConfig (cognitive 17): Workflow.WorkflowDispatchConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 2, boolean chains 1, match/switch 1 (nesting depth added 8). 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/model/workflow.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d6b6c7fe1fbdde3dd27e8cb03cc370b572beeb9d4d6a8f2ef3002db67be98"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContext.NewExpressionEvaluatorWithEnv (cognitive 17): RunContext.NewExpressionEvaluatorWithEnv has cognitive complexity 17 (threshold 15). Drivers by points: loops 9, if/else 6, boolean chains 2 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/expression.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cee677660644fb0dd33f646ef5edb0c4ec3e97699047ec7da4dbf3d6ed2c22b"}},{"ruleId":"D2","level":"warning","message":{"text":"stepRun.setupShell (cognitive 17): stepRun.setupShell has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 3 (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/runner/step_run.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e91a9621145364e4f40ed11266b01e1b242e5fb18bf6d861f8b6a6b18dce58b"}},{"ruleId":"D2","level":"warning","message":{"text":"toString (cognitive 17): toString has cognitive complexity 17 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3fd64185bc1c07a397ee48e8066d262a3e7f945f5cbe0b17d6f218b95855ad"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a5791caed6e5dd3da647e992c519f5ad3caa3c33ea27d349279efebb5c7b9d"}},{"ruleId":"D2","level":"warning","message":{"text":"fixupPattern (cognitive 17): fixupPattern has cognitive complexity 17 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d770a503fb5b5c774f86732f177328ad731ba1663d952578696038b950b96b1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c81cae22361ae2b241cca6f94b9b31cb0407085966c17aaf90d8b324e1bd75"}},{"ruleId":"D2","level":"warning","message":{"text":"container.logDockerResponse (cognitive 16): container.logDockerResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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/container/docker_logger.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5968e2f2e0f140a35d3e10048b4c8b6f2883c05d1a767193f7fb78de8ee679"}},{"ruleId":"D2","level":"warning","message":{"text":"container.NewDockerNetworkRemoveExecutor (cognitive 16): container.NewDockerNetworkRemoveExecutor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 8). Most of this is not in the body itself: 0 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 46). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/docker_network.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6342aa25f4c14e98c1ec752f0e0402b4fab808856aadd1d574c05d4977a9dc25"}},{"ruleId":"D2","level":"warning","message":{"text":"interperterImpl.evaluateFuncCall (cognitive 16): interperterImpl.evaluateFuncCall has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/exprparser/interpreter.go"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7de45fb39918929c8b15c424014fe6522d360e628d0c1c226dad70b016df9d"}},{"ruleId":"D2","level":"warning","message":{"text":"RunContext.getGithubContext (cognitive 16): RunContext.getGithubContext has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16 (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/runner/run_context.go"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7cc9d3934dd9c3e41d662405f54979ed9a75f84eae03a9b426313f59f2ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 16): constructor has cognitive complexity 16 (threshold 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/runner/hashfiles/index.js"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1ff5d15e6d4cfaf821383075833fab3efae507b9ea3b4145a100b6ed333ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hashfiles/index.js: FileTooLong \u2014 2890 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/hashfiles/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7127a5d94cdf462e32dfc34c17cf15b6d4ba981a78003fe882bdd84b76bdfe19"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RunContext: TooManyMethods \u2014 54 methods, declared across 4 files: runner/run_context.go (42), runner/command.go (5), runner/expression.go (5), runner/action_composite.go (2). 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/runner/run_context.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2c4eab1f2ee1ca68e8d84e1a721422ce54a2c7aa12550ce02a6138f9b7a303"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runner/run_context.go: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07c10c011691e7ff28c9bbfc3fe591865220cfeed956bd8355256e25e9f34fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: container/docker_run.go: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/docker_run.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35300bce4a8800059f5843ea342ce4530269e76e8e25a9f925f24af4f2c03ea6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: interperterImpl: TooManyMethods \u2014 35 methods, declared across 2 files: exprparser/interpreter.go (20), exprparser/functions.go (15). 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/exprparser/interpreter.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4883b88096aea50bca395c2fc37482be9886eda80f4efdf7a164ba5647c313ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/root.go: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"cmd/root.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"989c7a4a14d72bf4a64cb9915dce6972d132763cb7c8ef03de9ce7cc8cc731b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/runner/action.go:539-553 | pkg/runner/action.go:643-657 \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/runner/action.go:539\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/runner/action.go"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd9c63a4dc41a8af3a94afcdacd2692988878465f665af9ad55254bb9a6d2b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pkg/runner/logger.go:202-216 | pkg/runner/logger.go:226-240 \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/runner/logger.go:202\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/runner/logger.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d363b7e58291c7b9503d824aa48ec2526bf07eb82b084c16fb6729b1c3ba7e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/artifactcache/handler.go:251-263 | pkg/artifactcache/handler.go:292-304 \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/artifactcache/handler.go:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/artifactcache/handler.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da3c6bf3b16642fd83fd49adbf9c3147777094ba84a00f74de91b6e92752119"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/container/host_environment.go:145-157 | pkg/runner/local_repository_cache.go:73-85 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/container/host_environment.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":"pkg/container/host_environment.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"93831c75ec1321ed9a9d6ffc64ebe281870941b95cb61b82f79a4938c80fac21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/runner/action_composite.go:208-220 | pkg/runner/job_executor.go:207-219 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/runner/action_composite.go:208\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 register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/action_composite.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1821fd8f05acbb48ebedb9423fc9fa22a466176d2d4ef2d6ab3621c0729755a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/container/docker_network.go:13-25 | pkg/container/docker_network.go:46-59 \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/container/docker_network.go:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/docker_network.go"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dab7477e40d75c8684fd15efa9625c71140b21a533006c47bb2d958a79abd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/artifactcache/handler.go:469-480 | pkg/artifactcache/handler.go:486-497 \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/artifactcache/handler.go:469\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/artifactcache/handler.go"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19cd80edad407fe454799cc9ae5fe9b6dba7ab3f71c00b35dde0da010c7d191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/container/docker_run.go:768-780 | pkg/container/host_environment.go:102-113 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/container/docker_run.go:768\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/container/docker_run.go"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba6026b6031a97031fa1fe17ccba74019e9d0dc086cd306921c0c308346405b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/exprparser/interpreter.go:494-505 | pkg/exprparser/interpreter.go:513-524 \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/exprparser/interpreter.go:494\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/exprparser/interpreter.go"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f447da8365d5ac33d5080f90f23ee157f36180993706223cd4976e6fbbb84209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/runner/run_context.go:530-541 | pkg/container/parse_env_file.go:24-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/runner/run_context.go:530\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/runner/run_context.go"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"245c186b27b2c3e8cb430a96f716e64c4ea7c37ca5d437ff601b606ad01870c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pkg/container/docker_images.go:17-28 | pkg/container/docker_images.go:45-56 \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. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/container/docker_images.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2715320a3c288d9319b47b515991ed817640acdf94da9c1c05901c322b00c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/model/github_context.go:58-68 | pkg/runner/run_context.go:1014-1024 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/model/github_context.go:58\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/model/github_context.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91c5289183b2613639d295fcff0146a5d1483155f3ce3764440d024b1fe365b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/runner/expression.go:87-97 | pkg/runner/expression.go:149-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/runner/expression.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. 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/runner/expression.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fce6badfcfe334f19836e9884c7e769f9bdc5f3548a51d1b2a80df7ac117ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): pkg/runner/action.go:184-193 | pkg/runner/action.go:559-569 | pkg/runner/action.go:662-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. 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/runner/action.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c4100e6eda178e9f360d37a6f7e7106fec8b782accc543af64af4a4d935a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): pkg/runner/action.go:391-399 | pkg/runner/action_composite.go:206-215 | pkg/runner/job_executor.go:205-214 | pkg/runner/step_docker.go:97-105 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/action.go"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84755bcc3fd6e9f6cbf03d4210149795fbf867e7396c3732dda792867b60f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/runner/action_composite.go:165-173 | pkg/runner/action_composite.go:227-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/runner/action_composite.go:165\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/action_composite.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3284a50b79461a876f2aefc054c76f5a0f5b64f1deacd405c9d235800b7645b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/runner/run_context.go:131-140 | pkg/runner/run_context.go:1155-1163 \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/runner/run_context.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a606c3c02e5fdc0bc6ba7637d4e675ea457fa763b4130b3f50704a58848babb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/runner/run_context.go:189-197 | pkg/runner/run_context.go:259-267 \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/runner/run_context.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cc74cc6cc8251e35c7392653a4f633e45cb121dfe85f0a95bc78411d57042d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/runner/run_context.go:459-467 | pkg/runner/run_context.go:502-510 \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/runner/run_context.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/runner/run_context.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef886bafa379a9cb7832a49fa0d67c2f64b15060366a5e16425c141f3eb46269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/artifactcache/handler.go:482-488 | pkg/artifactcache/handler.go:499-505 \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/artifactcache/handler.go:482\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/artifactcache/handler.go"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1493b96f68d35b15583340dbbecc8a2d96a683450630435692e4a391eb21e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/runner/action.go:177-183 | pkg/runner/action.go:551-558 \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/runner/action.go:177\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/runner/action.go"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae278fe171d5a7ce9ca21b219eb5dfa4d7ef394228ca94b620e44419489202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/common/draw.go:65-70 | pkg/common/draw.go:76-81 \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/common/draw.go:65\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/common/draw.go"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"768d858fc17b5ef089aba4d1990bf332484a1a2345b610630240ddd870ccb257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/runner/action.go:351-356 | pkg/runner/step_docker.go:80-85 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/runner/action.go:351\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/runner/action.go"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa36f36e460657671e7561eaaed655ff0f87cb590df46fb9090a1a80e66c71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/runner/action.go:401-406 | pkg/runner/step_docker.go:107-112 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/runner/action.go:401\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/runner/action.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a2ab4f6e3178fbf8bdb8962e9697438321788b7d405eaa68d144a85b90b45c"}},{"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"}}]},{"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":"9eddfe5263afc36934e862417839f9f424dd303bcdad0ff11f9277448c81d63f"},"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"}}]},{"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":"f373a5c630f4de990bc8d2acbe9450ab251f031a0384904842c70cdd660379d2"},"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"}}]},{"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":"3dc03ce18f4f0e368d1f60340fd1100db2c384e2d962dcaf6480d3f4d150cb11"},"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"}}]},{"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":"70e0482182a7bd1c2e352106ec0a79ec1e70d36bcf6f4458d239e5d180c58b53"},"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"}}]},{"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":"79fd9b32dd07bafbd66b21ce976669a2709f83b17003ee37147732db9e8db9a9"},"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"}}]},{"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":"91a8d5e2fc8b61ca88a964f6e7b72a096c848a6384461520e4fb18cdd88cc942"},"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"}}]},{"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":"441439d217333165cf2669856987f411d97cd2823c436be6311b89acd7dd91ac"},"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"}}]},{"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":"886804395eb26803acc51caf6f2ee52b391e3fcf1bedb19d9fa66ba073dd903d"},"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"}}]},{"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":"3f350cd4b4f5f14f8632910092ba48517c8ddf7b20a303db5d54de33ccc9da58"},"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"}}]},{"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":"7297b81adf7a9a5b513f7e57bf61a06341eacaf6c9614c0b125522930f4204fc"},"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"}}]},{"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":"28a818ea323746b224cf5179f1ff1e3cf6e1a99d147ad3c9edbba854076e74f6"},"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"}}]},{"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":"eb506802ad1236efadf04b714abcf5d0800cc53f3d2daeb59a61f60a9f1eb20e"},"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"}}]},{"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":"9e04ec27a041080d81436db150381552b05bdb13f69ea309a0339b93f0184daa"},"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"}}]},{"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":"26367b792a6ba3bca912c677580a0eeb1a02fc64662b5423d53348f9b75578b8"},"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"}}]},{"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":"73daca70123ecf2b4b9578063723abc5901485ba7e1138f9cd46023a5c4254cc"},"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"}}]},{"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":"ba1fa3a2d2d43db702e23e6f30c1efd1f9896d6745fd1a0ba3b12b020e5bed94"},"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"}}]},{"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":"ef26db2b840032e5461c437a5a5a4e47d9eb25029ab9a3d009d4b74575b5bf87"},"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"}}]},{"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":"3036bc0a7e130fa5728a5ca6d439b5ce679b396293c89e7ae5b81b654f8b0e49"},"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"}}]},{"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":"b89dea1c24aab8094f098e42ef196d349c68559965d699b72f91984ec0ba783a"},"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"}}]},{"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":"753efbe94a6c1a923f20bf401bcb84916fb8c8eacb5106c7d0a5c9fff936ed84"},"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"}}]},{"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":"52074a871461e75be9d433631f4c80cb30cc3706531f5dd745d446efb4a086e4"},"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"}}]},{"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":"a2b721a346944bcced7819fe44428496d0e986e1faede9a20f0a2b67eb412f47"},"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"}}]},{"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":"022295a2e37e193da220982696087b4790a61a925446fe44777e4b03bd11f418"},"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"}}]},{"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":"c15e03ac1fa47e87e1db1facbff939b0109157aa1a15ea9510ba7aa38b6e07cb"},"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"}}]},{"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":"160f8e4f73e01d60a8b0f3a55ca62cade4ad4cf4c5bac6b888bcc7b6a7289d91"},"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"}}]},{"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":"0ed1cf8972f1cfab8084201daf0cc77d57799759913f4e2e83a4951ea6735fc7"},"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"}}]},{"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":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"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"}}]},{"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":"b4f4b736d443362ffd137d5d665a4d20a15fe921ef690f9ea9368e6f9afa9560"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"9d26e1adc617792aad15adb9f98e6637dbb61c3f50d52b4357f0d78e004693d4"}},{"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":"a9ea06d725c28524834fd66675c7e6c0ddebc983604d0ea7a9e43f14f6224528"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 17 of 40 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 largest first: pkg/exprparser/interpreter.go, pkg/schema/schema.go, pkg/runner/step_action_remote.go (and 14 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"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"}},{"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"}},{"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"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","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":"5e3545524e8875b4c7eba7c1011fc73f5980286a976278c5029e01d01e301600"}},{"ruleId":"D38","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":"295de942fbe1c61d416380278a1aade2b2d8a8162856b91a19f0cca9a18ee4a2"}},{"ruleId":"D38","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":"c3101d36131a52584dde37b042bdfe9fc6a1d1edad6398c91ef166385743b007"}},{"ruleId":"D38","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":"c8e6740321a9758be2667eea6842293616ba35402441f8df0a0ca2a8f6a5fa68"}},{"ruleId":"D38","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":"ba0695644397eab358c67149e6d936cb8b6b648c1f9c8b9bfa34a8138855768a"}},{"ruleId":"D38","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":"be217444638ac33aa1bd5044cfc99a2e92b284c1cc1654e8220d2ef2ef47944d"}},{"ruleId":"D38","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":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","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":"626e01eacf94c3b3382809ff8a91277880813d4497b12c2cdcf28b0d8c94458b"}}],"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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"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":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":44,"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."]}]}