Closed drvcodenta closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 57.88%. Comparing base (
cca4d24
) to head (dcf043e
). Report is 148 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
sure
Created the issue: https://github.com/fleetdm/fleet/issues/30282
fixes: https://github.com/fleetdm/fleet/issues/29617
Checklist for submitter
SELECT *
is avoided, SQL injection is prevented (using placeholders for values in statements)I implemented support for exporting the url field in fleetctl generate-gitops when it's available in the software installer metadata. During testing, I found that although some Fleet-maintained apps (like Brave and Cloudflare WARP) show URLs in the UI, those URLs are not persisted to the database—hence they don’t appear in the generated YAML unless added manually. I confirmed the url field is supported in the database and properly handled in the insertion logic. The version field does get populated when the software is installed on a host. This patch completes the GitOps export part, but the root issue may lie in the ingestion flow of the url.