github-actions[bot] commented on issue #14766: URL: https://github.com/apache/cloudstack/issues/14766#issuecomment-7193636613
> [!WARNING] > threat detection engine error > The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding. > > <!-- gh-aw-threat-engine-error --> > > <details> > <summary>What happened</summary> > > The threat detection engine failed to produce results. > > Review the [workflow run logs](https://github.com/apache/cloudstack/actions/runs/45829478222) for details. > > </details> ## 🎯 Triage report Two lines that were changed by the 4.22 to main merge (82bfa9fb3f) do not match either parent. `ApiResponseHelper.getDataStoreRole` now calls `Boolean.getBoolean(value)`, which reads a JVM system property and so is always false, and `VolumeApiServiceImpl.uploadVolume` reads `UseHttpsToUpload.value()` instead of the zone-aware `valueIn(zoneId)`, so the zone setting is ignored for volume uploads. The reporter gives the fix for both lines. ### 📊 Assessment | Dimension | Value | Reasoning | | --- | --- | --- | | **Type** | type:bug | Two lines on main behave differently from 4.22 and from their intended code | | **Component** | component:api | `ApiResponseHelper` and the volume upload parameters API | | **Severity** | Severity:Major | Snapshots report the wrong data store role, and volume upload URLs can use the wrong protocol | | **Labels** | type:bug, component:api, Severity:Major | | | **Coding agent** | Suitable | Specific one-line fixes are given: `Boolean.parseBoolean(value)` and `UseHttpsToUpload.valueIn(zoneId)` | ### 🔗 Similar issues - #14759 (related) — the same merge (82bfa9fb3f) left a duplicated block in `changeDiskOfferingForVolumeInternal` on main <details> <summary>💡 Notes and suggestions</summary> - Reproduction: set `use.https.to.upload` to false at zone level and compare `getUploadParamsForVolume` with `getUploadParamsForTemplate`. - A review of other lines changed by the same merge may find more of the same kind. </details> > Generated by [Daily Issue Triage](https://github.com/apache/cloudstack/actions/runs/45829478222) · copilot · haiku55 · \~7 AIC · ⊞ 3.8K · [◷](https://github.com/search?q=repo%3Aapache%2Fcloudstack+%22gh-aw-workflow-call-id%3A+apache%2Fcloudstack%2Fdaily-issue-triage%22&type=issues) <details> <summary><sub>Add this agentic workflow to your repo</sub></summary> To install this agentic workflow, run ``` gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e ``` </details> <!-- gh-aw-workflow-call-id: apache/cloudstack/daily-issue-triage --> <!-- gh-aw-agentic-workflow: Daily Issue Triage, engine: copilot, model: claude-haiku-5.5, id: 45829478222, workflow_id: daily-issue-triage, run: https://github.com/apache/cloudstack/actions/runs/45829478222 --> <!-- gh-aw-execution: {"version":1,"repo_id":"9759448","repository":"apache/cloudstack","aw_workflow_id":"daily-issue-triage","run_id":"45829478222","run_attempt":"1","run_url":"https://github.com/apache/cloudstack/actions/runs/45829478222","publishing_job":{"key":"safe_outputs","check_run_id":"139947741749"}} --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
