Skip to content

Allow setting default vuln chart filters via GitOps - #47634

Merged
lukeheath merged 6 commits into
mainfrom
sgress454/47327-add-vuln-filters-to-gitops
Jun 24, 2026
Merged

Allow setting default vuln chart filters via GitOps#47634
lukeheath merged 6 commits into
mainfrom
sgress454/47327-add-vuln-filters-to-gitops

Conversation

@sgress454

@sgress454 sgress454 commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Related issue: For #44746

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

Testing

  • Added/updated automated tests
  • QA'd all new/changed functionality manually

Preconditions

  • Fleet built from sgress454/47327-add-vuln-filters-to-gitops, server running.
  • Premium license applied (most cases). One free-tier instance available for the gating case.
  • At least one fleet/team exists (e.g. Workstations) for per-fleet cases.
  • fleetctl configured against the instance; a GitOps repo/dir you can fleetctl gitops -f from.
  • Dashboard reachable in the browser; you can switch between "All fleets" and a specific fleet.

Field reference (YAML keys)
software_filters (os/browsers/office/adobe), cvss_min/cvss_max (0–10),
epss_min/epss_max (0–100), has_known_exploit (bool), exclude_vulnerabilities (CVE IDs).


1. Org-level happy path

YAML (org_settings.features):

org_settings:
  features:
    vulnerability_exposure_historical_reporting:
      software_filters: [os, browsers]
      has_known_exploit: true
      epss_min: 10
      epss_max: 90
      exclude_vulnerabilities: [CVE-2025-50897]
  • fleetctl gitops -f global.yml succeeds, no errors.
  • GET /api/latest/fleet/config → features.vulnerability_exposure_historical_reporting
    echoes exactly these values (EPSS as 10/90, not 0.1/0.9).
  • Dashboard with All fleets selected → open the Vulnerability exposure chart's
    filter modal. Software categories = OS + Browsers, "known exploit" on, EPSS slider
    shows 10–90, excluded CVE list contains CVE-2025-50897.
  1. Per-fleet level + org-vs-fleet resolution

YAML (settings.features on a team file, different values from org):

team Workstations

  settings:
    features:
      vulnerability_exposure_historical_reporting:
        software_filters: [office, adobe]
        epss_min: 50
  • fleetctl gitops -f workstations.yml succeeds.
  • Teams-list / team config response includes the per-fleet values.
  • Dashboard: with Workstations selected, chart filters = Office + Adobe, EPSS min 50,
    and fields not set on the fleet (e.g. has_known_exploit) fall back to the
    built-in chart default — not the org value (per-fleet scope is independent).
  • Switch the dashboard fleet selector back to All fleets → filters re-seed to the
    org-level values from §1 (no stale fleet values linger).
  1. Sparse / PATCH semantics (omitted key → built-in default)
  • Apply a config that sets only epss_min: 25 and omits everything else.
  • GET /config → only epss_min present; other keys absent/null.
  • Chart: EPSS min = 25; all other controls show the built-in defaults.
  1. Declarative-replace (drop a key → default returns)
  • Start from §1 (key populated). Remove has_known_exploit from the YAML and re-run GitOps.
  • GET /config → has_known_exploit is now absent/null.
  • Chart: known-exploit control reverts to its built-in default; other §1 fields unchanged.
  • Remove the entire vulnerability_exposure_historical_reporting block and re-run →
    whole struct nulled; chart opens with all built-in defaults.
  1. Validation errors (apply must fail, no partial write)

Run each as its own GitOps apply; confirm a clear 422/invalid-argument error citing the
field, and that nothing was persisted (re-check GET /config).

  • Invalid category: software_filters: [windows] → error naming software_filters,
    lists valid values os, browsers, office, adobe.
  • CVSS out of range: cvss_min: -1 or cvss_max: 11 → error, bounds 0–10.
  • CVSS min > max: cvss_min: 8, cvss_max: 2 → error.
  • EPSS out of range: epss_min: -5 or epss_max: 150 → error, bounds 0–100.
  • EPSS min > max: epss_min: 90, epss_max: 10 → error.
  • Bad CVE format: exclude_vulnerabilities: [NOTACVE, CVE-bad] → error naming
    exclude_vulnerabilities; valid IDs like CVE-2025-50897 accepted (case-insensitive).
  • Apply software_filters: [] (explicit empty list) → error
  • Same validation fires for the per-fleet (settings.features) path, not just org.
  1. Premium gating
  • On the free-tier instance, run a GitOps apply that includes any
    vulnerability_exposure_historical_reporting key.
  • Apply is rejected with a missing-license error; nothing persisted.
  • Free-tier apply that omits the block succeeds (no false gate).
  • Same key on premium → succeeds (regression guard for §1).
  1. CVSS is persist-only this round (Filtering for vulnerability exposure pt. 2: Filter by severity (CVSS score) #47326 not yet shipped)
  • Apply cvss_min: 9, cvss_max: 10 (valid).
  • GET /config → values stored and returned.
  • Dashboard: there is no severity/CVSS control yet; chart results are unaffected by
    these values. (Confirms accepted+stored but not consumed.)
  1. Frontend behavior: edits are ephemeral
  • With defaults seeded (§1), change filters in the UI (e.g. toggle a category).
  • Reload the dashboard → filters revert to the persisted GitOps defaults (edit discarded).
  • Switch fleet and back → filters re-seed from defaults (edit discarded).
  1. EPSS unit handling on the wire
  • With epss_min: 10, epss_max: 90 seeded, open the chart and inspect the
    Vulnerability-exposure data request → EPSS params are sent as 0.1/0.9 (0–1),
    while the YAML/UI/GET /config all stay 10/90.
  1. Round-trip (if fleetctl generate-gitops covers features)
  • After §1, run fleetctl generate-gitops → emitted YAML reproduces the
    vulnerability_exposure_historical_reporting block; re-applying it is a no-op (idempotent).

Regression sanity

  • historical_data collection toggles still work and are independent of these display defaults.
  • Configs with no vuln-exposure block apply unchanged (no new required fields).

Summary by CodeRabbit

Release Notes

New Features

  • Vulnerability Exposure chart filter defaults now configurable via GitOps, supporting software categories, CVSS/EPSS bounds, known-exploit filtering, and CVE exclusions
  • Improved chart header filter indicators displaying metric-specific status (e.g., "Software filtered," "Hosts filtered")

Tests

  • Added comprehensive validation tests for filter configurations

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.55556% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.33%. Comparing base (0301aea) to head (7cc74b4).
⚠️ Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
ee/server/service/teams.go 25.00% 7 Missing and 2 partials ⚠️
server/fleet/app.go 91.83% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #47634      +/-   ##
==========================================
+ Coverage   67.31%   67.33%   +0.01%     
==========================================
  Files        3655     3655              
  Lines      231251   231339      +88     
  Branches    12075    12091      +16     
==========================================
+ Hits       155667   155761      +94     
+ Misses      61620    61614       -6     
  Partials    13964    13964              
Flag Coverage Δ
backend 68.95% <80.88%> (+0.01%) ⬆️
frontend 58.37% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sgress454 sgress454 changed the title Sgress454/47327 add vuln filters to gitops Allow setting default vuln chart filters via GitOps Jun 15, 2026
@sgress454

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 45b8b14c-2e50-4260-9588-b6956464a086

📥 Commits

Reviewing files that changed from the base of the PR and between f56c5c2 and 7cc74b4.

⛔ Files ignored due to path filters (1)
  • docs/Configuration/yaml-files.md is excluded by !**/*.md
📒 Files selected for processing (1)
  • changes/44746-set-vuln-filters-in-gitops

Walkthrough

This PR adds GitOps support for configuring default filter state on the vulnerability exposure dashboard chart. On the backend, a new VulnExposureFilterSettings struct is added to fleet.Features with deep-copy and validation logic (software category allowlist, CVSS/EPSS bound checks, CVE regex). ModifyAppConfig is extended to premium-gate and validate this field; createTeamFromSpec and editTeamFromSpec call a new validateVulnExposureFilters helper. On the frontend, new constants and the IVulnExposureFilterDefaults interface are introduced; IConfigFeatures gains the corresponding optional field; ChartCard adds buildInitialChartFilters to merge persisted defaults into chart state, re-seeds on team or defaults change, and constructs CVE-specific query parameters from the merged state.

Possibly related issues

  • Filtering for vulnerability exposure pt. 1 #44746: This PR directly implements GitOps configuration support for vulnerability exposure chart filter defaults, as explicitly referenced in the changelog entry changes/44746-set-vuln-filters-in-gitops.

Possibly related PRs

  • fleetdm/fleet#47674: Directly overlaps with this PR's CVE software category constants, ChartCard filter state initialization, and CVE query-param wiring in the same files (ChartCard.tsx, ChartFilterModal, charts.ts).
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 60.71% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main feature: enabling default vulnerability chart filters to be configured through GitOps.
Description check ✅ Passed The description comprehensively documents the testing approach with detailed test scenarios, preconditions, and validation coverage, though it does not include an explicit discussion of input validation or SQL injection prevention.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sgress454/47327-add-vuln-filters-to-gitops

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/ChartFilterModal.tsx (1)

206-222: ⚠️ Potential issue | 🟡 Minor

Pass filterDefaults to ChartFilterModal so "Clear all" respects GitOps-managed baseline.

The handleClear function resets to hardcoded app defaults (ALL_CVE_SOFTWARE_CATEGORY_VALUES with all categories, EPSS unset, etc.), not the GitOps-managed filterDefaults passed to ChartCard. This creates a UX inconsistency:

  • Initial load: respects GitOps defaults via buildInitialChartFilters(filterDefaults) (e.g., only "os" category if configured)
  • User clicks "Clear all": resets to hardcoded app defaults (all categories)
  • Team switch: re-seeds from GitOps defaults

To align behavior, pass filterDefaults as a prop to ChartFilterModal and call buildInitialChartFilters(filterDefaults) in handleClear instead of hardcoding reset values.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/ChartFilterModal.tsx`
around lines 206 - 222, The handleClear function in ChartFilterModal uses
hardcoded app defaults instead of respecting the GitOps-managed filterDefaults.
Add filterDefaults as a prop to ChartFilterModal, then update the handleClear
function to call buildInitialChartFilters(filterDefaults) and apply those
results to all state variables instead of manually setting hardcoded values like
ALL_CVE_SOFTWARE_CATEGORY_VALUES. This ensures the "Clear all" behavior aligns
with the initial load behavior and respects any GitOps configuration.
🧹 Nitpick comments (1)
tools/charts-backfill/main.go (1)

123-125: 💤 Low value

Update stale comment reference.

The comment still references TrackedCriticalCVEs, but the code now uses CollectibleCVEs (line 145). Update the comment to match.

📝 Suggested fix
 	// sqlx wraps the raw connection so we can hand it to the chart bootstrap
-	// helpers (TrackedCriticalCVEs) without opening a second pool.
+	// helpers (CollectibleCVEs) without opening a second pool.
 	db := sqlx.NewDb(rawDB, "mysql")
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tools/charts-backfill/main.go` around lines 123 - 125, The comment above the
sqlx.NewDb assignment references TrackedCriticalCVEs as the helper function
being used, but the code now uses CollectibleCVEs. Update the comment to
reference CollectibleCVEs instead of the stale TrackedCriticalCVEs reference to
accurately reflect which chart bootstrap helper is being utilized.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tsx`:
- Around line 223-232: The description text in the ChartCard component currently
states "All critical vulnerabilities" but the PR changes the CVE collection to
include all-severity vulnerabilities rather than critical-only. Update the text
string that precedes the br tags and CustomLink component to reflect the broader
scope, such as "All tracked vulnerabilities" or "Vulnerabilities across all
severities," to accurately represent the all-severity collection model now being
used.

In `@server/chart/internal/service/service_test.go`:
- Around line 326-407: The "client severity bounds are overridden to critical"
subtest (lines 358-378) verifies that the filter passed to resolveCVEEntitiesFn
has the hard-coded critical severity values (9.0/10.0), but it does not verify
what values are echoed back in the response. Capture the response returned by
svc.GetChartData in that subtest and add assertions to verify that
response.Filters.SeverityMin and response.Filters.SeverityMax are 9.0 and 10.0
respectively (the critical hard-coded values), not the client-supplied 1.0 and
5.0 values. This will ensure the API contract correctly reflects what data was
actually returned.

In `@server/chart/internal/service/service.go`:
- Around line 146-163: The issue is that when the metric is CVE, the code
hard-codes CVSSMin to 9.0 and CVSSMax to 10.0 in the cveFilter to enforce
critical-only severity filtering, but the response's Filters field is still
populated with the client-supplied opts.SeverityMin and opts.SeverityMax,
creating a mismatch where the response claims different filters were applied
than what actually happened. To fix this, locate where the response Filters are
being set with severity bounds and update it to echo back the hard-coded
critical-only values (9.0 for min and 10.0 for max) instead of the
client-supplied values, ensuring the response accurately reflects the filters
that were actually applied to the chart data.
- Around line 150-158: Add input validation in
server/chart/internal/service/handler.go before constructing RequestOpts to
validate client-supplied EPSS and CVSS bounds. Validate that EPSS values are
within 0.0-1.0, CVSS values are within 0.0-10.0, and that minimum values do not
exceed maximum values for both bounds. Follow the validation pattern used by
validateBounds in server/fleet/app.go and return an appropriate error response
if any bounds are invalid. This will prevent invalid values from reaching the
service layer where they are used in cveFilter construction and SQL queries, as
shown in the cveFilter struct initialization in service.go.

In `@server/fleet/app.go`:
- Around line 1404-1413: The new pointer field
VulnerabilityExposureHistoricalReporting added to the AppConfig struct requires
a corresponding deep-copy implementation in the AppConfig.Copy() method.
Currently this field is being shallow-copied, which allows multiple cloned
AppConfig values to share the same underlying VulnExposureFilterSettings object,
causing mutations in one copy to affect all other copies. Update
AppConfig.Copy() to check if VulnerabilityExposureHistoricalReporting is not
nil, and if so, create a new copy of the pointed-to object rather than just
copying the pointer reference.

---

Outside diff comments:
In
`@frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/ChartFilterModal.tsx`:
- Around line 206-222: The handleClear function in ChartFilterModal uses
hardcoded app defaults instead of respecting the GitOps-managed filterDefaults.
Add filterDefaults as a prop to ChartFilterModal, then update the handleClear
function to call buildInitialChartFilters(filterDefaults) and apply those
results to all state variables instead of manually setting hardcoded values like
ALL_CVE_SOFTWARE_CATEGORY_VALUES. This ensures the "Clear all" behavior aligns
with the initial load behavior and respects any GitOps configuration.

---

Nitpick comments:
In `@tools/charts-backfill/main.go`:
- Around line 123-125: The comment above the sqlx.NewDb assignment references
TrackedCriticalCVEs as the helper function being used, but the code now uses
CollectibleCVEs. Update the comment to reference CollectibleCVEs instead of the
stale TrackedCriticalCVEs reference to accurately reflect which chart bootstrap
helper is being utilized.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 837e766a-919e-4740-b17e-d390907e2794

📥 Commits

Reviewing files that changed from the base of the PR and between 2f62b91 and f56c5c2.

📒 Files selected for processing (33)
  • changes/44746-collect-and-filter-more-cves
  • ee/server/service/teams.go
  • frontend/interfaces/charts.ts
  • frontend/interfaces/config.ts
  • frontend/pages/DashboardPage/DashboardPage.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tests.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/ChartFilterModal.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/SoftwareFilters.tests.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/SoftwareFilters.tsx
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/_styles.scss
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/helpers.tests.ts
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/helpers.ts
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/SoftwareFilters/index.ts
  • frontend/pages/DashboardPage/cards/ChartCard/ChartFilterModal/index.ts
  • frontend/pages/DashboardPage/cards/ChartCard/_styles.scss
  • frontend/services/entities/charts.ts
  • server/chart/api/chart.go
  • server/chart/api/http/types.go
  • server/chart/bootstrap/bootstrap.go
  • server/chart/datasets.go
  • server/chart/internal/mysql/charts.go
  • server/chart/internal/mysql/cve_filter_test.go
  • server/chart/internal/service/handler.go
  • server/chart/internal/service/service.go
  • server/chart/internal/service/service_test.go
  • server/chart/internal/testutils/testutils.go
  • server/chart/internal/types/chart.go
  • server/fleet/app.go
  • server/fleet/vuln_exposure_filters_test.go
  • server/service/appconfig.go
  • server/service/appconfig_test.go
  • tools/charts-backfill/main.go

Comment thread frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tsx
Comment thread server/chart/internal/service/service_test.go
Comment thread server/chart/internal/service/service.go
Comment thread server/chart/internal/service/service.go
Comment thread server/fleet/app.go
@sgress454
sgress454 changed the base branch from main to sgress454/44746-cve-filtering-frontend June 16, 2026 15:34
@sgress454

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@sgress454
sgress454 force-pushed the sgress454/44746-cve-filtering-frontend branch from bf8065a to f388d9d Compare June 17, 2026 16:21
@sgress454
sgress454 force-pushed the sgress454/47327-add-vuln-filters-to-gitops branch from 3c26a02 to 953355b Compare June 17, 2026 16:25
@sgress454
sgress454 force-pushed the sgress454/47327-add-vuln-filters-to-gitops branch from f3561cd to faa48b0 Compare June 18, 2026 02:32
@sgress454
sgress454 marked this pull request as ready for review June 18, 2026 02:41
@sgress454
sgress454 requested review from a team and rachaelshaw as code owners June 18, 2026 02:41

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@sgress454

Copy link
Copy Markdown
Contributor Author

@getvictor there's a little bit of backend here because it adds app/teams config, but nothing very meaty. The bulk of it is front-end, assigning to @lukeheath for now.

rachaelshaw
rachaelshaw previously approved these changes Jun 18, 2026
lukeheath
lukeheath previously approved these changes Jun 19, 2026
sgress454 added a commit that referenced this pull request Jun 19, 2026
#47470)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #44746 

# Details

* Adds the ability to filter historical CVE data by software type, EPSS,
CVSS, CVE ID (exclude only) and "has known exploit"
* Hard-codes the CVSS filter to 9.0+ for now, since that's the only data
that's been collected thus far
* Un-gates the collection code so that it will collect CVE data for
_all_ severities (but still in the restricted set of software)

Related PRs [update the
front-end](#47674) to allow sending
these filters, and [update
GitOps](#47634) to allow changing
the default filters.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements), JS
inline code is prevented especially for url redirects, and untrusted
data interpolated into shell scripts/commands is validated against shell
metacharacters.

## Testing

- [X] Added/updated automated tests
- [X] QA'd all new/changed functionality manually

### Manual test plan — CVE chart filtering (backend smoke test)

#### Setup
- Premium dev server running with a few hosts carrying vulnerable
software (so `cve_meta` / `software_cve` /
  `operating_system_vulnerabilities` are populated)
- Chart data present — collector ran once, or seeded: `go run
./tools/charts-backfill --dataset cve
  --use-tracked-cves --days 7`
  - API token exported and helper set:
    ```bash
    BASE=https://localhost:8080/api/v1/fleet/charts
peak() { curl -sk -H "Authorization: Bearer $TOKEN" "$BASE/$1" | jq
'[.data[].value] | max'; }

####  Checks (compare against the no-filter baseline)

- [x] Baseline returns data — GET /charts/cve?days=7 returns a data
series; .filters is empty/default
- [x] Severity force-pinned to critical — cve?days=7 and
cve?days=7&severity_min=0&severity_max=10 give identical
  peaks (no low-severity leak; client severity ignored)
- [x] Category narrowing — software_categories=browsers ≤ baseline;
software_categories=os,browsers,office,adobe ==
  baseline
- [x] OS category includes kernel — software_categories=os returns
OS-vuln + Linux-kernel CVE counts
  - [x] Known-exploit narrowing — known_exploit=true ≤ baseline
- [x] EPSS narrowing — epss_min=0.9 ≤ baseline; epss_min=0&epss_max=1 ==
baseline (EPSS is 0.0–1.0 on the API)
- [x] Exclude is subtractive + tolerant — excluding a visible CVE
lowers/keeps counts; exclude_cves=CVE-0000-00000
  == baseline (no-op)
- [x] Filters echo back — filtered requests return applied values under
.filters
- [x] Uptime untouched — GET /charts/uptime?days=7 returns its normal
series
- [x] Free-tier safety (optional) — on non-Premium, /charts/cve returns
an empty series, no error
  - [x] > 0 rows from:
  SELECT COUNT(DISTINCT scd.entity_id) AS below_critical
  FROM host_scd_data scd JOIN cve_meta cm ON cm.cve = scd.entity_id
  WHERE scd.dataset='cve' AND cm.cvss_score < 9.0;
  - (confirms lower-severity CVEs are stored)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary of changes

* **New Features**
* Added advanced CVE chart request filters: software categories,
known-exploit flag, EPSS min/max, severity min/max, and excluded CVEs.
* Expanded CVE chart coverage to use the full “collectible” CVE set,
with filtering applied when serving chart data.

* **Tests**
* Added coverage for collecting collectible CVEs and resolving chart
entities based on filter combinations and exclusions.

* **Chores**
  * Updated CVE chart backfill to use collectible CVE discovery.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@sgress454
sgress454 force-pushed the sgress454/44746-cve-filtering-frontend branch from a938394 to d60bcd6 Compare June 19, 2026 16:06
Base automatically changed from sgress454/44746-cve-filtering-frontend to main June 19, 2026 19:17
@sgress454
sgress454 dismissed stale reviews from lukeheath and rachaelshaw June 19, 2026 19:17

The base branch was changed.

AppConfig.Copy hand-copies Features sub-fields rather than delegating to
Features.Copy, so the new VulnerabilityExposureHistoricalReporting pointer
was left aliased between clones. Copy it explicitly (nil-safe).
A present software_filters list must now include at least one category.
On the chart read path an empty selection collapses to nil = all
categories, so an empty list can never produce the empty chart it
implies — it silently shows everything. This mirrors the frontend rule
(Apply blocked until at least one category is selected) added on the
#44746 branch.
Copilot AI review requested due to automatic review settings June 19, 2026 19:26
@sgress454
sgress454 force-pushed the sgress454/47327-add-vuln-filters-to-gitops branch from faa48b0 to 7cc74b4 Compare June 19, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

Pull request overview

This PR adds support for configuring default “Vulnerability exposure” chart filter settings via GitOps, including backend persistence/validation + premium gating and frontend seeding of the chart filter UI from those persisted defaults.

Changes:

  • Backend: Introduces VulnExposureFilterSettings on Features with deep-copy + validation, and enforces premium gating/validation when applying GitOps org config and team specs.
  • Frontend: Plumbs features.vulnerability_exposure_historical_reporting into ChartCard and seeds/resets chart filter state from persisted defaults on scope/config changes.
  • Tests: Adds unit tests for validation/copy and frontend seeding behavior.

Reviewed changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
tools/cloner-check/generated_files/teamconfig.txt Updates cloner-check output for new team config fields.
tools/cloner-check/generated_files/features.txt Updates cloner-check output for new feature field.
tools/cloner-check/generated_files/appconfig.txt Updates cloner-check output for new app config field.
server/fleet/app.go Adds persisted vuln exposure filter defaults struct, copy, and validation.
server/fleet/vuln_exposure_filters_test.go Adds unit tests for validation and deep copy.
server/service/appconfig.go Premium-gates + validates vuln exposure filter defaults on app config modify/apply.
server/service/appconfig_test.go Adds service-level tests for premium gating + validation rejection.
ee/server/service/teams.go Validates team-scoped vuln exposure defaults during team spec apply.
frontend/interfaces/charts.ts Adds IVulnExposureFilterDefaults interface for persisted defaults.
frontend/interfaces/config.ts Exposes the persisted defaults on IConfigFeatures.
frontend/pages/DashboardPage/DashboardPage.tsx Passes persisted defaults into ChartCard.
frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tsx Seeds/resets chart filter state from persisted defaults.
frontend/pages/DashboardPage/cards/ChartCard/ChartCard.tests.tsx Adds tests for seeding behavior.
Files excluded by content exclusion policy (2)
  • changes/44746-set-vuln-filters-in-gitops
  • docs/Configuration/yaml-files.md

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/fleet/app.go
Comment thread server/fleet/vuln_exposure_filters_test.go
Comment thread server/fleet/vuln_exposure_filters_test.go
Comment thread server/fleet/vuln_exposure_filters_test.go
Comment thread server/fleet/vuln_exposure_filters_test.go
Comment on lines +63 to +83
// Seed the chart's initial filter state from the persisted, GitOps-managed
// defaults. Sparse/per-field: an undefined field falls back to the built-in
// DEFAULT_CHART_FILTERS value, while a present field (including an explicit
// empty software_filters list, meaning "no categories") is respected. EPSS
// bounds are numbers (0–100) in the config and strings in the filter state.
// cvss_min/cvss_max are intentionally NOT wired — there is no severity control
// yet (#47326).
export const buildInitialChartFilters = (
defaults?: IVulnExposureFilterDefaults
): IChartFilterState => {
if (!defaults) return DEFAULT_CHART_FILTERS;
return {
...DEFAULT_CHART_FILTERS,
softwareFilters:
defaults.software_filters !== undefined
? [...defaults.software_filters]
: DEFAULT_CHART_FILTERS.softwareFilters,
knownExploit:
defaults.has_known_exploit !== undefined
? defaults.has_known_exploit
: DEFAULT_CHART_FILTERS.knownExploit,
Comment on lines +234 to +240
it("honors an explicit empty software_filters list as 'none'", () => {
const filters = buildInitialChartFilters({ software_filters: [] });
expect(filters.softwareFilters).toEqual([]);
});

it("seeds the exclude-CVE list", () => {
const filters = buildInitialChartFilters({
Comment on lines +582 to +591
if veFilters := newAppConfig.Features.VulnerabilityExposureHistoricalReporting; veFilters != nil {
if !lic.IsPremium() {
invalid.Append("org_settings.features.vulnerability_exposure_historical_reporting", ErrMissingLicense.Error())
} else {
veFilters.Validate("org_settings.features", invalid)
}
if invalid.HasErrors() {
return nil, ctxerr.Wrap(ctx, invalid)
}
}
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

CI Feedback 🧐

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test-go (fleetctl, mysql:8.0.44) / test

Failed stage: Run Go Tests [❌]

Failed test name: TestIntegrationsVulnerabilityDataStream

Failure summary:

The GitHub Action failed because a Go integration test failed:
- Test
TestIntegrationsVulnerabilityDataStream in
cmd/fleetctl/integrationtest/vuln/vulnerability_data_stream_test.go:44 returned an error while
downloading OSV artifacts.
- The underlying cause was an external network/service failure: getting
latest release: github http status error: 504 (Gateway Timeout).
- As a result, the Go test run
ended with DONE 915 tests, 1 failure, and make test-go failed (Makefile:406, via .run-go-tests at
Makefile:291) with a non-zero exit code.

Relevant error logs:
1:  Runner name: 'ubuntu-8core-1000929008'
2:  Runner group name: 'default larger runners'
...

978:  �[36;1mattempt=1�[0m
979:  �[36;1m�[0m
980:  �[36;1mwhile [ $attempt -le $max_attempts ]; do�[0m
981:  �[36;1m  echo "Attempt $attempt of $max_attempts"�[0m
982:  �[36;1m�[0m
983:  �[36;1m  # Try to connect to MySQL�[0m
984:  �[36;1m  if wait_for_mysql "mysql_test"; then�[0m
985:  �[36;1m    # If MySQL is ready, try to connect to MySQL replica�[0m
986:  �[36;1m    if wait_for_mysql "mysql_replica_test"; then�[0m
987:  �[36;1m      # Both are ready, we're done�[0m
988:  �[36;1m      echo "All MySQL connections successful"�[0m
989:  �[36;1m      exit 0�[0m
990:  �[36;1m    fi�[0m
991:  �[36;1m  fi�[0m
992:  �[36;1m�[0m
993:  �[36;1m  # If we get here, at least one connection failed�[0m
994:  �[36;1m  echo "Failed to connect to MySQL on attempt $attempt"�[0m
995:  �[36;1m�[0m
996:  �[36;1m  if [ $attempt -lt $max_attempts ]; then�[0m
997:  �[36;1m    echo "Restarting containers and trying again..."�[0m
998:  �[36;1m    restart_containers�[0m
999:  �[36;1m  else�[0m
1000:  �[36;1m    echo "Maximum attempts reached. Failing the job."�[0m
1001:  �[36;1m    exit 1�[0m
...

1290:  go: downloading github.com/AbGuthrie/goquery/v2 v2.0.1
1291:  go: downloading github.com/davecgh/go-spew v1.1.1
1292:  go: downloading github.com/tj/assert v0.0.3
1293:  go: downloading github.com/c-bata/go-prompt v0.2.3
1294:  go: downloading github.com/hashicorp/golang-lru v0.5.4
1295:  go: downloading github.com/pmezard/go-difflib v1.0.0
1296:  go: downloading github.com/stretchr/objx v0.5.2
1297:  go: downloading github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942
1298:  github.com/fleetdm/fleet/v4/cmd/fleetctl:
1299:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/testing_utils:
1300:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest:
1301:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/goquerycmd:
1302:  github.com/fleetdm/fleet/v4/cmd/fleetctl/fleetctl/fleetctltest:
1303:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/preview:
1304:  �[32m✓�[0m Integrations preview (47.79s)
1305:  �[32m✓�[0m Preview fails on invalid license key (0.00s)
1306:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/package:
...

1417:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days not a number (0.40s)
1418:  �[32m✓�[0m Apply specs deprecated keys app config windows updates.grace period days out of range (0.42s)
1419:  �[32m✓�[0m Apply specs deprecated keys config with FIM values for agent options (#869 9) (0.59s)
1420:  �[32m✓�[0m Apply specs deprecated keys config with blank required org name (0.36s)
1421:  �[32m✓�[0m Apply specs deprecated keys config with blank required server url (0.35s)
1422:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options command-line flags (0.59s)
1423:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type in dry-run (0.54s)
1424:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options data type with force (0.41s)
1425:  �[32m✓�[0m Apply specs deprecated keys config with invalid agent options in dry-run (0.44s)
1426:  �[32m✓�[0m Apply specs deprecated keys config with invalid key type (0.56s)
1427:  �[32m✓�[0m Apply specs deprecated keys config with invalid value for agent options command-line flags (0.41s)
1428:  �[32m✓�[0m Apply specs deprecated keys config with unknown key (0.44s)
1429:  �[32m✓�[0m Apply specs deprecated keys config with valid agent options command-line flags (0.37s)
1430:  �[32m✓�[0m Apply specs deprecated keys dry-run set with unsupported spec (0.44s)
1431:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, appconfig warning for legacy (0.46s)
1432:  �[32m✓�[0m Apply specs deprecated keys dry-run set with various specs, no errors (0.45s)
1433:  �[32m✓�[0m Apply specs deprecated keys empty config (0.50s)
...

1436:  �[32m✓�[0m Apply specs deprecated keys invalid agent options dry-run (0.33s)
1437:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type (0.35s)
1438:  �[32m✓�[0m Apply specs deprecated keys invalid agent options field type in overrides (0.50s)
1439:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for existing team (0.50s)
1440:  �[32m✓�[0m Apply specs deprecated keys invalid agent options for new team (0.39s)
1441:  �[32m✓�[0m Apply specs deprecated keys invalid agent options force (0.66s)
1442:  �[32m✓�[0m Apply specs deprecated keys invalid known key's value type for team cannot be forced (0.35s)
1443:  �[32m✓�[0m Apply specs deprecated keys invalid team agent options command-line flag (0.45s)
1444:  �[32m✓�[0m Apply specs deprecated keys invalid top-level key for team (0.64s)
1445:  �[32m✓�[0m Apply specs deprecated keys macos updates deadline set but minimum version empty (0.54s)
1446:  �[32m✓�[0m Apply specs deprecated keys macos updates minimum version set but deadline empty (0.47s)
1447:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with incomplete date (0.50s)
1448:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with invalid date (0.37s)
1449:  �[32m✓�[0m Apply specs deprecated keys macos updates.deadline with timestamp (0.49s)
1450:  �[32m✓�[0m Apply specs deprecated keys macos updates.minimum version with build version (0.41s)
1451:  �[32m✓�[0m Apply specs deprecated keys missing required failing policies destination url (0.35s)
1452:  �[32m✓�[0m Apply specs deprecated keys missing required host status days count (0.44s)
...

1460:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption true (0.44s)
1461:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption with invalid value type (0.59s)
1462:  �[32m✓�[0m Apply specs deprecated keys team config macos settings.enable disk encryption without a value (0.62s)
1463:  �[32m✓�[0m Apply specs deprecated keys unknown key for team can be forced (0.47s)
1464:  �[32m✓�[0m Apply specs deprecated keys valid team agent options command-line flag (0.43s)
1465:  �[32m✓�[0m Apply specs deprecated keys windows updates unset valid (0.42s)
1466:  �[32m✓�[0m Apply specs deprecated keys windows updates valid (0.42s)
1467:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days but grace period empty (0.43s)
1468:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days not a number (0.46s)
1469:  �[32m✓�[0m Apply specs deprecated keys windows updates.deadline days out of range (0.46s)
1470:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days but deadline empty (0.49s)
1471:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days not a number (0.59s)
1472:  �[32m✓�[0m Apply specs deprecated keys windows updates.grace period days out of range (0.52s)
1473:  �[32m✓�[0m Apply specs dry-run set with unsupported spec (0.41s)
1474:  �[32m✓�[0m Apply specs dry-run set with various specs, appconfig warning for legacy (0.36s)
1475:  �[32m✓�[0m Apply specs dry-run set with various specs, no errors (0.55s)
1476:  �[32m✓�[0m Apply specs empty config (0.41s)
...

1479:  �[32m✓�[0m Apply specs invalid agent options dry-run (0.40s)
1480:  �[32m✓�[0m Apply specs invalid agent options field type (0.40s)
1481:  �[32m✓�[0m Apply specs invalid agent options field type in overrides (0.42s)
1482:  �[32m✓�[0m Apply specs invalid agent options for existing team (0.54s)
1483:  �[32m✓�[0m Apply specs invalid agent options for new team (0.42s)
1484:  �[32m✓�[0m Apply specs invalid agent options force (0.49s)
1485:  �[32m✓�[0m Apply specs invalid known key's value type for team cannot be forced (0.46s)
1486:  �[32m✓�[0m Apply specs invalid team agent options command-line flag (0.47s)
1487:  �[32m✓�[0m Apply specs invalid top-level key for team (0.46s)
1488:  �[32m✓�[0m Apply specs macos updates deadline set but minimum version empty (0.41s)
1489:  �[32m✓�[0m Apply specs macos updates minimum version set but deadline empty (0.42s)
1490:  �[32m✓�[0m Apply specs macos updates.deadline with incomplete date (0.47s)
1491:  �[32m✓�[0m Apply specs macos updates.deadline with invalid date (0.43s)
1492:  �[32m✓�[0m Apply specs macos updates.deadline with timestamp (0.46s)
1493:  �[32m✓�[0m Apply specs macos updates.minimum version with build version (0.39s)
1494:  �[32m✓�[0m Apply specs missing required failing policies destination url (0.42s)
1495:  �[32m✓�[0m Apply specs missing required host status days count (0.41s)
...

1514:  �[32m✓�[0m Apply specs windows updates.grace period days not a number (0.46s)
1515:  �[32m✓�[0m Apply specs windows updates.grace period days out of range (0.39s)
1516:  �[32m✓�[0m Apply team specs (0.64s)
1517:  �[32m✓�[0m Apply user roles (0.44s)
1518:  �[32m✓�[0m Apply user roles deprecated (0.68s)
1519:  �[32m✓�[0m Apply windows updates (0.42s)
1520:  �[32m✓�[0m Apply windows updates field omitted (0.00s)
1521:  �[32m✓�[0m Apply windows updates with null values (0.00s)
1522:  �[32m✓�[0m Apply windows updates with values (0.00s)
1523:  �[32m✓�[0m Can apply intervals in nanoseconds (0.42s)
1524:  �[32m✓�[0m Can apply intervals using durations (0.44s)
1525:  �[32m✓�[0m Clean status code err (0.00s)
1526:  �[32m✓�[0m Clean status code err bare wrapped status code err (0.00s)
1527:  �[32m✓�[0m Clean status code err nil (0.00s)
1528:  �[32m✓�[0m Clean status code err outer-wrapped status code err (0.00s)
1529:  �[32m✓�[0m Clean status code err plain error untouched (0.00s)
1530:  �[32m✓�[0m Compute label changes (0.00s)
...

1586:  �[32m✓�[0m Filename functions (0.00s)
1587:  �[32m✓�[0m Filename functions outfile name builds a file name using the name provided + current time (0.00s)
1588:  �[32m✓�[0m Filename functions outfile name with ext builds a file name using the name and extension provided + current time (0.00s)
1589:  �[32m✓�[0m FleetctlUpgradePacks empty packs (0.41s)
1590:  �[32m✓�[0m FleetctlUpgradePacks no pack (0.42s)
1591:  �[32m✓�[0m FleetctlUpgradePacks non empty (0.57s)
1592:  �[32m✓�[0m FleetctlUpgradePacks not admin (0.40s)
1593:  �[32m✓�[0m Format XML (0.00s)
1594:  �[32m✓�[0m Format XML XML with attributes (0.00s)
1595:  �[32m✓�[0m Format XML basic XML (0.00s)
1596:  �[32m✓�[0m Format XML empty XML (0.00s)
1597:  �[32m✓�[0m Format XML invalid XML (0.00s)
1598:  �[32m✓�[0m Format XML nested XML (0.00s)
1599:  �[32m✓�[0m Generate MDM apple (0.78s)
1600:  �[32m✓�[0m Generate MDM apple BM (0.36s)
1601:  �[32m✓�[0m Generate MDM apple CSR API call fails (0.36s)
1602:  �[32m✓�[0m Generate MDM apple successful run (0.42s)
1603:  �[32m✓�[0m Generate MDMVPP tokens (0.00s)
1604:  �[32m✓�[0m Generate MDMVPP tokens get VPP tokens error (0.00s)
1605:  �[32m✓�[0m Generate MDMVPP tokens multiple tokens with different teams (0.00s)
...

1622:  �[32m✓�[0m Generate org settings masked google calendar api key (0.00s)
1623:  �[32m✓�[0m Generate policies (0.00s)
1624:  �[32m✓�[0m Generate policies patch policy orphaned from fleet maintained app (0.00s)
1625:  �[32m✓�[0m Generate queries (0.00s)
1626:  �[32m✓�[0m Generate software (0.00s)
1627:  �[32m✓�[0m Generate software auto update schedule (0.00s)
1628:  �[32m✓�[0m Generate software script packages (0.00s)
1629:  �[32m✓�[0m Generate team settings (0.00s)
1630:  �[32m✓�[0m Generate team settings insecure (0.00s)
1631:  �[32m✓�[0m Generated org settings no SSO (0.00s)
1632:  �[32m✓�[0m Generated org settings okta conditional access not included (0.00s)
1633:  �[32m✓�[0m Get MDM command results (0.44s)
1634:  �[32m✓�[0m Get MDM command results command flag required (0.00s)
1635:  �[32m✓�[0m Get MDM command results command not found (0.01s)
1636:  �[32m✓�[0m Get MDM command results command results empty (0.01s)
1637:  �[32m✓�[0m Get MDM command results command results error (0.01s)
1638:  �[32m✓�[0m Get MDM command results darwin command results (0.00s)
1639:  �[32m✓�[0m Get MDM command results host specific results (0.00s)
1640:  �[32m✓�[0m Get MDM command results windows command results (0.00s)
1641:  �[32m✓�[0m Get MDM commands (0.42s)
1642:  �[32m✓�[0m Get apple BM (1.47s)
1643:  �[32m✓�[0m Get apple BM free license (0.39s)
1644:  �[32m✓�[0m Get apple BM premium license, multiple tokens (0.32s)
1645:  �[32m✓�[0m Get apple BM premium license, no token (0.37s)
1646:  �[32m✓�[0m Get apple BM premium license, single token (0.38s)
1647:  �[32m✓�[0m Get apple MDM (0.39s)
1648:  �[32m✓�[0m Get carve (0.36s)
1649:  �[32m✓�[0m Get carve with error (0.53s)
1650:  �[32m✓�[0m Get carves (0.37s)
...

1664:  �[32m✓�[0m Get hosts MDM get hosts - -mdm - -mdm-pending - (0.00s)
1665:  �[32m✓�[0m Get hosts MDM get hosts - -mdm-pending - -yaml - expected list hosts yaml.yml (0.01s)
1666:  �[32m✓�[0m Get hosts get hosts - -json - -remove-deprecated-keys (0.00s)
1667:  �[32m✓�[0m Get hosts get hosts - -json - expected list hosts json.json (0.00s)
1668:  �[32m✓�[0m Get hosts get hosts - -json test host - expected host detail response json.json (0.00s)
1669:  �[32m✓�[0m Get hosts get hosts - -yaml - expected list hosts yaml.yml (0.00s)
1670:  �[32m✓�[0m Get hosts get hosts - -yaml test host - expected host detail response yaml.yml (0.00s)
1671:  �[32m✓�[0m Get label (0.46s)
1672:  �[32m✓�[0m Get label usage include and exclude allowed (0.00s)
1673:  �[32m✓�[0m Get label usage include and exclude allowed macos (0.00s)
1674:  �[32m✓�[0m Get label usage include and exclude allowed macos# 01 (0.00s)
1675:  �[32m✓�[0m Get label usage include and exclude allowed macos# 02 (0.00s)
1676:  �[32m✓�[0m Get label usage include and exclude allowed windows (0.00s)
1677:  �[32m✓�[0m Get label usage include and exclude allowed windows# 01 (0.00s)
1678:  �[32m✓�[0m Get label usage include and exclude allowed windows# 02 (0.00s)
1679:  �[32m✓�[0m Get label usage include exclude overlap error (0.00s)
1680:  �[32m✓�[0m Get label usage include exclude overlap error macos (0.00s)
1681:  �[32m✓�[0m Get label usage include exclude overlap error macos# 01 (0.00s)
1682:  �[32m✓�[0m Get label usage include exclude overlap error macos# 02 (0.00s)
1683:  �[32m✓�[0m Get label usage include exclude overlap error windows (0.00s)
1684:  �[32m✓�[0m Get label usage include exclude overlap error windows# 01 (0.00s)
1685:  �[32m✓�[0m Get label usage include exclude overlap error windows# 02 (0.00s)
1686:  �[32m✓�[0m Get label usage multiple label keys error (0.00s)
1687:  �[32m✓�[0m Get label usage multiple label keys error macos (0.00s)
1688:  �[32m✓�[0m Get label usage multiple label keys error windows (0.00s)
1689:  �[32m✓�[0m Get label usage policy scopes (0.00s)
...

1705:  �[32m✓�[0m Get queries as observer team observer (0.01s)
1706:  �[32m✓�[0m Get query (0.39s)
1707:  �[32m✓�[0m Get query labels include all (0.44s)
1708:  �[32m✓�[0m Get reports labels include all (0.37s)
1709:  �[32m✓�[0m Get software titles (0.44s)
1710:  �[32m✓�[0m Get software versions (0.39s)
1711:  �[32m✓�[0m Get teams (0.80s)
1712:  �[32m✓�[0m Get teams YAML and apply (0.43s)
1713:  �[32m✓�[0m Get teams by name (0.46s)
1714:  �[32m✓�[0m Get teams expired license (0.43s)
1715:  �[32m✓�[0m Get teams not expired license (0.37s)
1716:  �[32m✓�[0m Get teams software from source of truth (0.47s)
1717:  �[32m✓�[0m Get user roles (0.49s)
1718:  �[32m✓�[0m Git ops ABM (6.27s)
1719:  �[32m✓�[0m Git ops ABM backwards compat (0.60s)
1720:  �[32m✓�[0m Git ops ABM both keys errors (0.51s)
1721:  �[32m✓�[0m Git ops ABM deprecated config with two tokens in the db fails (0.50s)
1722:  �[32m✓�[0m Git ops ABM new key all valid (0.72s)
1723:  �[32m✓�[0m Git ops ABM new key multiple elements (0.72s)
1724:  �[32m✓�[0m Git ops ABM no team is supported (0.65s)
1725:  �[32m✓�[0m Git ops ABM non existent org name fails (0.79s)
1726:  �[32m✓�[0m Git ops ABM not provided teams defaults to no team (0.59s)
1727:  �[32m✓�[0m Git ops ABM renamed new key all valid (0.60s)
1728:  �[32m✓�[0m Git ops ABM using an undefined team errors (0.59s)
1729:  �[32m✓�[0m Git ops EULA setting (4.56s)
...

1732:  �[32m✓�[0m Git ops EULA setting not a PDF file (0.65s)
1733:  �[32m✓�[0m Git ops EULA setting relative path to working dir to pdf file (no existing EULA uploaded) (0.52s)
1734:  �[32m✓�[0m Git ops EULA setting relative path to yaml file to pdf file (no existing EULA uploaded) (0.54s)
1735:  �[32m✓�[0m Git ops EULA setting uploading the same EULA again (0.52s)
1736:  �[32m✓�[0m Git ops EULA setting valid new pdf file (different EULA already uploaded) (0.66s)
1737:  �[32m✓�[0m Git ops EULA setting valid pdf file (no existing EULA uploaded) (0.52s)
1738:  �[32m✓�[0m Git ops MDM auth settings (0.48s)
1739:  �[32m✓�[0m Git ops SMTP settings (0.39s)
1740:  �[32m✓�[0m Git ops SSO server URL (0.47s)
1741:  �[32m✓�[0m Git ops SSO settings (0.51s)
1742:  �[32m✓�[0m Git ops android certificates add (0.71s)
1743:  �[32m✓�[0m Git ops android certificates change (0.50s)
1744:  �[32m✓�[0m Git ops android certificates delete all (0.56s)
1745:  �[32m✓�[0m Git ops android certificates delete one (0.45s)
1746:  �[32m✓�[0m Git ops app store app auto update (0.50s)
1747:  �[32m✓�[0m Git ops app store app auto update invalid auto-update window triggers error and does not call update software title auto update config (0.02s)
1748:  �[32m✓�[0m Git ops app store app auto update no auto update settings and no existing schedule does not call update software title auto update config (0.02s)
1749:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is applied for i OS VPP apps (0.02s)
1750:  �[32m✓�[0m Git ops app store app auto update update software title auto update config is not called when no VPP apps provided (0.02s)
1751:  �[32m✓�[0m Git ops apple OS updates (0.51s)
1752:  �[32m✓�[0m Git ops apple OS updates ios updates (0.01s)
1753:  �[32m✓�[0m Git ops apple OS updates ios updates os updated when existing OS update declaration (0.01s)
1754:  �[32m✓�[0m Git ops apple OS updates ipados updates (0.01s)
1755:  �[32m✓�[0m Git ops apple OS updates ipados updates os updated when existing OS update declaration (0.01s)
1756:  �[32m✓�[0m Git ops apple OS updates macos updates (0.01s)
1757:  �[32m✓�[0m Git ops apple OS updates macos updates os updated when existing OS update declaration (0.01s)
1758:  �[32m✓�[0m Git ops basic global and no team (0.60s)
1759:  �[32m✓�[0m Git ops basic global and no team basic global and no-team.yml (0.07s)
1760:  �[32m✓�[0m Git ops basic global and no team both global and no-team.yml define controls -- should fail (0.01s)
1761:  �[32m✓�[0m Git ops basic global and no team controls only defined in no-team.yml (0.05s)
1762:  �[32m✓�[0m Git ops basic global and no team global DOES NOT define controls -- should fail (0.01s)
1763:  �[32m✓�[0m Git ops basic global and no team global and no-team.yml DO NOT define controls -- should fail (0.01s)
1764:  �[32m✓�[0m Git ops basic global and no team global defines software -- should fail (0.01s)
1765:  �[32m✓�[0m Git ops basic global and no team no-team provided without global -- should fail (0.01s)
1766:  �[32m✓�[0m Git ops basic global and no team no-team.yml defines policy with calendar events enabled -- should fail (0.01s)
1767:  �[32m✓�[0m Git ops basic global and no team unassigned provided without global -- should fail (0.02s)
1768:  �[32m✓�[0m Git ops basic global and team (0.75s)
...

1774:  �[32m✓�[0m Git ops custom settings global macos windows custom settings valid.yml (0.47s)
1775:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix 2 .yml (0.59s)
1776:  �[32m✓�[0m Git ops custom settings global windows custom settings invalid label mix.yml (0.50s)
1777:  �[32m✓�[0m Git ops custom settings global windows custom settings unknown label.yml (0.52s)
1778:  �[32m✓�[0m Git ops custom settings team macos custom settings valid deprecated.yml (0.58s)
1779:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix 2 .yml (0.55s)
1780:  �[32m✓�[0m Git ops custom settings team macos windows custom settings invalid labels mix.yml (0.37s)
1781:  �[32m✓�[0m Git ops custom settings team macos windows custom settings unknown label.yml (0.53s)
1782:  �[32m✓�[0m Git ops custom settings team macos windows custom settings valid.yml (0.52s)
1783:  �[32m✓�[0m Git ops dry run rejects invalid label platform (0.46s)
1784:  �[32m✓�[0m Git ops exception enforcement (0.45s)
1785:  �[32m✓�[0m Git ops exception enforcement free tier (0.44s)
1786:  �[32m✓�[0m Git ops exceptions preserve omitted keys (0.37s)
1787:  �[32m✓�[0m Git ops features (0.60s)
1788:  �[32m✓�[0m Git ops filename validation (0.00s)
1789:  �[32m✓�[0m Git ops fleet failing policies webhook policy IDs (0.56s)
1790:  �[32m✓�[0m Git ops fleet webhooks and tickets enabled (0.50s)
...

1942:  �[32m✓�[0m New basic file structure has expected files (0.00s)
1943:  �[32m✓�[0m New basic file structure replaces and escapes org name template var (0.00s)
1944:  �[32m✓�[0m New basic file structure strips .template. from output filenames (0.00s)
1945:  �[32m✓�[0m New dir flag (0.01s)
1946:  �[32m✓�[0m New existing dir with force (0.01s)
1947:  �[32m✓�[0m New existing dir without force (0.00s)
1948:  �[32m✓�[0m New org name YAML quoting (0.01s)
1949:  �[32m✓�[0m New org name validation (0.01s)
1950:  �[32m✓�[0m New org name validation at max length (0.01s)
1951:  �[32m✓�[0m New org name validation control characters stripped (0.01s)
1952:  �[32m✓�[0m New org name validation only control characters (0.00s)
1953:  �[32m✓�[0m New org name validation only whitespace (0.00s)
1954:  �[32m✓�[0m New org name validation too long (0.00s)
1955:  �[32m✓�[0m New output messages (0.01s)
1956:  �[32m✓�[0m New template stripping (0.01s)
1957:  �[32m✓�[0m Print auth error (0.38s)
1958:  �[32m✓�[0m Print auth error SSO disabled shows default login message (0.00s)
1959:  �[32m✓�[0m Print auth error SSO enabled shows SSO instructions (0.00s)
1960:  �[32m✓�[0m Render template (0.00s)
...

1980:  �[32m✓�[0m Run api command get scripts full path missing (0.00s)
1981:  �[32m✓�[0m Run api command get scripts team (0.00s)
1982:  �[32m✓�[0m Run api command get scripts team no cache (0.00s)
1983:  �[32m✓�[0m Run api command get typo (0.00s)
1984:  �[32m✓�[0m Run api command upload script (0.00s)
1985:  �[32m✓�[0m Run script command (0.57s)
1986:  �[32m✓�[0m Run script command disabled scripts globally (0.00s)
1987:  �[32m✓�[0m Run script command host not found (0.00s)
1988:  �[32m✓�[0m Run script command invalid file type (0.00s)
1989:  �[32m✓�[0m Run script command invalid hashbang (0.00s)
1990:  �[32m✓�[0m Run script command invalid utf 8 (0.00s)
1991:  �[32m✓�[0m Run script command missing one of script-path and script-nqme (0.00s)
1992:  �[32m✓�[0m Run script command output truncated (0.01s)
1993:  �[32m✓�[0m Run script command posix shell hashbang (0.01s)
1994:  �[32m✓�[0m Run script command script empty (0.00s)
1995:  �[32m✓�[0m Run script command script failed (0.01s)
1996:  �[32m✓�[0m Run script command script killed (0.01s)
...

2051:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p but the team's in-run file disables EU A: accepted (0.00s)
2052:  �[32m✓�[0m Validate git ops group EUA global-only run degrades id p while a stored team keeps EUA on: rejected (#4337 1) (0.00s)
2053:  �[32m✓�[0m Validate git ops group EUA no EUA enabled anywhere is accepted (0.00s)
2054:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds complete id P: accepted (0.00s)
2055:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file adds id p missing entity id: rejected (0.00s)
2056:  �[32m✓�[0m Validate git ops group EUA team enables EU A, global file omits id P, stored has id P: rejected (overwrite clears) (0.00s)
2057:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has id P, no global file: accepted (0.00s)
2058:  �[32m✓�[0m Validate git ops group EUA team enables EU A, stored has no id P, no global file: rejected (0.00s)
2059:  github.com/fleetdm/fleet/v4/cmd/fleetctl/integrationtest/gitops:
2060:  �[32m✓�[0m Git ops VPP (5.01s)
2061:  �[32m✓�[0m Git ops VPP all fleets is supported (0.53s)
2062:  �[32m✓�[0m Git ops VPP all teams is supported (0.60s)
2063:  �[32m✓�[0m Git ops VPP new key all valid (0.71s)
2064:  �[32m✓�[0m Git ops VPP new key multiple elements (0.60s)
2065:  �[32m✓�[0m Git ops VPP no team is supported (0.61s)
2066:  �[32m✓�[0m Git ops VPP non existent location fails (0.62s)
2067:  �[32m✓�[0m Git ops VPP not provided teams defaults to no team (0.79s)
2068:  �[32m✓�[0m Git ops VPP using an undefined team errors (0.54s)
2069:  �[32m✓�[0m Git ops existing team VPP apps with missing team (0.54s)
...

2162:  �[32m✓�[0m Git ops team software installers team software installer with display name.yml (1.48s)
2163:  �[32m✓�[0m Integrations enterprise gitops (319.24s)
2164:  �[32m✓�[0m Integrations enterprise gitops test CA integrations (3.99s)
2165:  �[32m✓�[0m Integrations enterprise gitops test FMA labels include all (7.03s)
2166:  �[32m✓�[0m Integrations enterprise gitops test IPA software installers (10.55s)
2167:  �[32m✓�[0m Integrations enterprise gitops test JSON configuration profile escaping (1.28s)
2168:  �[32m✓�[0m Integrations enterprise gitops test add manual labels (1.60s)
2169:  �[32m✓�[0m Integrations enterprise gitops test configuration profile escaping (1.36s)
2170:  �[32m✓�[0m Integrations enterprise gitops test delete CA with certificate templates (5.92s)
2171:  �[32m✓�[0m Integrations enterprise gitops test delete mac OS setup (5.07s)
2172:  �[32m✓�[0m Integrations enterprise gitops test deleting no team YAML (2.66s)
2173:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience (123.84s)
2174:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience all VPP with setup experience (1.30s)
2175:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team VPP (1.14s)
2176:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience no team installers (60.54s)
2177:  �[32m✓�[0m Integrations enterprise gitops test disallow software setup experience packages fail (60.68s)
2178:  �[32m✓�[0m Integrations enterprise gitops test dry run mac OS setup script with manual agent install conflict (0.43s)
...

2208:  �[32m✓�[0m Integrations enterprise gitops test omitted top level keys global (2.47s)
2209:  �[32m✓�[0m Integrations enterprise gitops test remove custom settings from default YAML (2.58s)
2210:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps (3.80s)
2211:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps all teams (2.40s)
2212:  �[32m✓�[0m Integrations enterprise gitops test special case teams VPP apps no team (1.24s)
2213:  �[32m✓�[0m Integrations enterprise gitops test unset configuration profile labels (4.92s)
2214:  �[32m✓�[0m Integrations enterprise gitops test unset software installer labels (12.40s)
2215:  �[32m✓�[0m Integrations enterprise starter library (5.01s)
2216:  �[32m✓�[0m Integrations enterprise starter library test apply starter library premium (3.55s)
2217:  �[32m✓�[0m Integrations gitops (2.28s)
2218:  �[32m✓�[0m Integrations gitops test fleet gitops (0.41s)
2219:  �[32m✓�[0m Integrations gitops test fleet gitops DDM fleet vars requires premium (0.11s)
2220:  �[32m✓�[0m Integrations gitops test fleet gitops with fleet secrets (0.23s)
2221:  �[32m✓�[0m Integrations starter library (1.65s)
2222:  �[32m✓�[0m Integrations starter library test apply starter library free (0.19s)
2223:  === �[31mFailed�[0m
2224:  === �[31mFAIL�[0m: cmd/fleetctl/integrationtest/vuln TestIntegrationsVulnerabilityDataStream (105.04s)
2225:  nettest.go:33: network test start: TestIntegrationsVulnerabilityDataStream
2226:  vulnerability_data_stream_test.go:44: 
2227:  Error Trace:	/home/runner/work/fleet/fleet/cmd/fleetctl/integrationtest/vuln/vulnerability_data_stream_test.go:44
2228:  Error:      	Received unexpected error:
2229:  Error downloading OSV artifacts: getting latest release: github http status error: 504
2230:  Test:       	TestIntegrationsVulnerabilityDataStream
2231:  nettest.go:36: network test done: TestIntegrationsVulnerabilityDataStream
2232:  DONE 915 tests, 1 failure in 649.146s
2233:  make[1]: *** [Makefile:291: .run-go-tests] Error 1
2234:  make[1]: Leaving directory '/home/runner/work/fleet/fleet'
2235:  make: *** [Makefile:406: test-go] Error 2
2236:  ##[error]Process completed with exit code 2.
2237:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2238:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2239:  with:
2240:  name: fleetctl-mysql8.0.44-coverage
2241:  path: ./coverage.txt
2242:  if-no-files-found: error
2243:  compression-level: 6
...

2246:  RACE_ENABLED: false
2247:  GO_TEST_TIMEOUT: 20m
2248:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2249:  RUN_TESTS_ARG: 
2250:  CI_TEST_PKG: fleetctl
2251:  NEED_DOCKER: 1
2252:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2253:  GOTOOLCHAIN: local
2254:  ##[endgroup]
2255:  (node:45908) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2256:  (Use `node --trace-deprecation ...` to show where the warning was created)
2257:  With the provided path, there will be 1 file uploaded
2258:  Artifact name is valid!
2259:  Root directory input is valid!
2260:  Beginning upload of artifact content to blob storage
2261:  (node:45908) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2262:  Uploaded bytes 2290304
2263:  Finished uploading artifact content to blob storage!
2264:  SHA256 hash of uploaded artifact zip is 73756c6fd6d6c168e10dde17143a363a7a7b9acbcf7b39b632aaac6878213772
2265:  Finalizing artifact upload
2266:  Artifact fleetctl-mysql8.0.44-coverage.zip successfully finalized. Artifact ID 7757272438
2267:  Artifact fleetctl-mysql8.0.44-coverage has been successfully uploaded! Final size is 2290304 bytes. Artifact ID is 7757272438
2268:  Artifact download URL: https://github.com/fleetdm/fleet/actions/runs/27844628517/artifacts/7757272438
2269:  ##[group]Run c1grep() { grep "$@" || test $? = 1; }
2270:  �[36;1mc1grep() { grep "$@" || test $? = 1; }�[0m
2271:  �[36;1mc1grep -oP 'FAIL: .*$' /tmp/gotest.log > /tmp/summary.txt�[0m
2272:  �[36;1mc1grep 'test timed out after' /tmp/gotest.log >> /tmp/summary.txt�[0m
2273:  �[36;1mc1grep 'fatal error:' /tmp/gotest.log >> /tmp/summary.txt�[0m
2274:  �[36;1mc1grep -A 10 'panic: runtime error: ' /tmp/gotest.log >> /tmp/summary.txt�[0m
2275:  �[36;1mc1grep ' FAIL\t' /tmp/gotest.log >> /tmp/summary.txt�[0m
2276:  �[36;1mGO_FAIL_SUMMARY=$(head -n 5 /tmp/summary.txt | sed ':a;N;$!ba;s/\n/\\n/g')�[0m
2277:  �[36;1mecho "GO_FAIL_SUMMARY=$GO_FAIL_SUMMARY"�[0m
2278:  �[36;1mif [[ -z "$GO_FAIL_SUMMARY" ]]; then�[0m
2279:  �[36;1m  GO_FAIL_SUMMARY="unknown, please check the build URL"�[0m
2280:  �[36;1mfi�[0m
2281:  �[36;1mGO_FAIL_SUMMARY=$GO_FAIL_SUMMARY envsubst < .github/workflows/config/slack_payload_template.json > ./payload.json�[0m
2282:  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2283:  env:
2284:  RACE_ENABLED: false
2285:  GO_TEST_TIMEOUT: 20m
2286:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2287:  RUN_TESTS_ARG: 
2288:  CI_TEST_PKG: fleetctl
2289:  NEED_DOCKER: 1
2290:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2291:  GOTOOLCHAIN: local
2292:  ##[endgroup]
2293:  GO_FAIL_SUMMARY=
2294:  Node 20 is being deprecated. This workflow is running with Node 24 by default. If you need to temporarily use Node 20, you can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2295:  ##[group]Run actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
2296:  with:
2297:  name: fleetctl-mysql8.0.44-test-log
2298:  path: /tmp/gotest.log
2299:  if-no-files-found: error
2300:  compression-level: 6
...

2303:  RACE_ENABLED: false
2304:  GO_TEST_TIMEOUT: 20m
2305:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2306:  RUN_TESTS_ARG: 
2307:  CI_TEST_PKG: fleetctl
2308:  NEED_DOCKER: 1
2309:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2310:  GOTOOLCHAIN: local
2311:  ##[endgroup]
2312:  (node:45930) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2313:  (Use `node --trace-deprecation ...` to show where the warning was created)
2314:  With the provided path, there will be 1 file uploaded
2315:  Artifact name is valid!
2316:  Root directory input is valid!
2317:  Beginning upload of artifact content to blob storage
2318:  (node:45930) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2319:  Uploaded bytes 10710
...

2335:  RACE_ENABLED: false
2336:  GO_TEST_TIMEOUT: 20m
2337:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2338:  RUN_TESTS_ARG: 
2339:  CI_TEST_PKG: fleetctl
2340:  NEED_DOCKER: 1
2341:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2342:  GOTOOLCHAIN: local
2343:  ##[endgroup]
2344:  (node:45942) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2345:  (Use `node --trace-deprecation ...` to show where the warning was created)
2346:  With the provided path, there will be 1 file uploaded
2347:  Artifact name is valid!
2348:  Root directory input is valid!
2349:  Beginning upload of artifact content to blob storage
2350:  (node:45942) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2351:  Uploaded bytes 138
...

2367:  RACE_ENABLED: false
2368:  GO_TEST_TIMEOUT: 20m
2369:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2370:  RUN_TESTS_ARG: 
2371:  CI_TEST_PKG: fleetctl
2372:  NEED_DOCKER: 1
2373:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2374:  GOTOOLCHAIN: local
2375:  ##[endgroup]
2376:  (node:45977) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2377:  (Use `node --trace-deprecation ...` to show where the warning was created)
2378:  With the provided path, there will be 1 file uploaded
2379:  Artifact name is valid!
2380:  Root directory input is valid!
2381:  Beginning upload of artifact content to blob storage
2382:  (node:45977) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2383:  Uploaded bytes 103819
...

2416:  RACE_ENABLED: false
2417:  GO_TEST_TIMEOUT: 20m
2418:  DOCKER_COMMAND: docker compose -f docker-compose.yml -f docker-compose-redis-cluster.yml up -d mysql_test mysql_replica_test redis redis-cluster-1 redis-cluster-2 redis-cluster-3 redis-cluster-4 redis-cluster-5 redis-cluster-6 redis-cluster-setup s3 saml_idp mailhog mailpit smtp4dev_test
2419:  RUN_TESTS_ARG: 
2420:  CI_TEST_PKG: fleetctl
2421:  NEED_DOCKER: 1
2422:  ARTIFACT_PREFIX: fleetctl-mysql8.0.44
2423:  GOTOOLCHAIN: local
2424:  ##[endgroup]
2425:  (node:45990) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
2426:  (Use `node --trace-deprecation ...` to show where the warning was created)
2427:  With the provided path, there will be 1 file uploaded
2428:  Artifact name is valid!
2429:  Root directory input is valid!
2430:  Beginning upload of artifact content to blob storage
2431:  (node:45990) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
2432:  Uploaded bytes 133

@lukeheath
lukeheath merged commit 82f7405 into main Jun 24, 2026
60 of 65 checks passed
@lukeheath
lukeheath deleted the sgress454/47327-add-vuln-filters-to-gitops branch June 24, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants