Skip to content

Tags: fleetdm/fleet

Tags

v4.84.3

Toggle v4.84.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.3 (#44885)

fleet-v4.84.3

Toggle fleet-v4.84.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.3 (#44885)

v4.84.2

Toggle v4.84.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.2 (#44589)

v4.84.1

Toggle v4.84.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.1 (#44567)

fleet-v4.84.2

Toggle fleet-v4.84.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.2 (#44589)

fleet-v4.84.1

Toggle fleet-v4.84.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.1 (#44567)

orbit-v1.55.0

Toggle orbit-v1.55.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Vulnerabilities exposure dataset (#44124)

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

# Details

Adds methods to collect data for the `cve` dataset. As with all sets
this is collected at hourly granularity, but unlike the `uptime` set,
the `cve` set uses the "snapshot" strategy so that we record at most one
change (the most recent) per hour.

For this first iteration, we are _recording_ data for all CVEs (i.e.,
which hosts were exposed to which CVEs at a given time), but we are only
_reporting_ a subset of CVEs for the dashboard chart. See [this
comment](#44124 (comment))
for more info.

# 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] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [X] QA'd all new/changed functionality manually
- [X] Spot-checked the CVEs chosen by the `trackedCVESoftwareMatchers`
and didn't find any outside of the expected
- [X] With [front-end PR](#44261),
generated chart:
<img width="706" height="421" alt="image"
src="https://github.com/user-attachments/assets/539d9877-6573-4406-a159-1d2a711a045f"
/>



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

* **New Features**
* Host vulnerability (CVE) chart added to the dashboard; CVE chart data
collection is now active.
  * Critical CVE tracking surfaces high-severity vulnerabilities.

* **Improvements**
* CVE chart refreshes every 3 hours (was daily) for more timely
insights.
* Snapshot collection reconciles and closes prior data during empty runs
to keep charts accurate.
* CVE queries may produce zero datapoints when no tracked CVEs exist,
without affecting other metrics.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

v4.84.0

Toggle v4.84.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.0 (#43092)

fleet-v4.84.0

Toggle fleet-v4.84.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.84.0 (#43092)

v4.83.2

Toggle v4.83.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adding changes for Fleet v4.83.2 (#43494)