Commit Graph
12519 Commits
Author SHA1 Message Date
Noah Talerman c7dfaf45f7 Update docs: Vulnerability Processing page (#19861)
- Fleet detects vulns (CVEs) for Linux kernels: #18053
2024-06-20 12:55:45 -05:00
RachelElysia e134e740ef [unreleased. bug] Fleet UI: Grey empty cell --- for host issues (#19900) 2024-06-20 13:40:57 -04:00
5555f7c651 Design for TCC access fleetd table (#19719)
Table design for:  #18222

Old PR: #18224

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-06-20 11:53:15 -05:00
Eric b2e9e0a055 Website: Update Github helper (#19892)
Closes: #19891

Changes:
- Updated the `get-is-pr-handbook-only-changes` helper to return false
if a PR contains no changed files.
2024-06-20 11:23:50 -05:00
jacobshandlingandJacob Shandling ebc6e2fc60 UI – Software pages, treat dropdown filters as search criteria for empty states (#19888)
## Follow-up to #19181  

<img width="1480" alt="Screenshot 2024-06-19 at 2 56 04 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/303703e8-8be4-4ef5-866f-48edadc16d9f">
<img width="1480" alt="Screenshot 2024-06-19 at 2 51 28 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/56cde02b-2fee-4313-b7af-c328da1a2934">


- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-20 09:20:10 -07:00
Victor Lyuboslavsky accf7b5ae7 windows_updates doc update (#19899)
#19057 
windows_updates doc update
2024-06-20 10:18:39 -05:00
Eric 5794810bc5 Update image in deploy Fleet on ubuntu guide. (#19903)
Closes: https://github.com/fleetdm/confidential/issues/7028

Changes:
- Updated the position of the Internews logo in the "Deploy Fleet on
Ubuntu with Elastic" guide to prevent text from getting squished on
mobile devices
2024-06-20 10:14:28 -05:00
Eric d2d12c888e Website: Update language in calendar section on homepage and landing pages (#19902)
Related to: https://github.com/fleetdm/confidential/issues/7000

Changes:
- Updated the calendar section ("Use AI to explain why your security
policies matter." » "Auto-explain why your security policies matter."
2024-06-20 09:52:58 -05:00
Victor Lyuboslavsky e3510cdcf6 Add exclude_software query param to hosts endpoint. (#19617)
API docs change for #19348
2024-06-20 08:06:46 -05:00
Brock Walters 60b376581c Update registry.yml (#19713)
minify long query. see if it does any better. Is it possible to add
explicit line breaks where I want them? thanks.
2024-06-19 18:20:00 -04:00
Eric 688d86afd3 Website: update automatic formatting of osquery schema table examples (#19881)
Closes: #19750

Changes:
- Updated osquery table schema pages to preserve whitespace and newlines
in multi-line examples.
2024-06-19 16:35:39 -05:00
Eric 00a2e6bac2 Website: Update relative link modification in build-static-content script (#19887)
Closes: #19878

Changes: 
- Updated the regex that replaced spaces in relative links with dashes
to also replace URL encoded space characters.
2024-06-19 16:24:44 -05:00
Luke Heath 9d2ec6c57e Move high priority issues to communications page of handbook (#19804) 2024-06-19 12:11:50 -07:00
Drew Baker c961df618e Adding fallback wallpaper to system maintenance script (#19858) 2024-06-19 12:04:22 -07:00
RachelElysia b66bca62c6 Fleet UI: Account for 0 as empty state instead of undefined (#19854)
## Issue
Unreleased fix for #18115 

## Description
- BE shows `0` count for empty state so FE needs to account for `0`
instead of `undefined`

## Screenshot of fix
<img width="1219" alt="Screenshot 2024-06-18 at 5 00 04 PM"
src="https://github.com/fleetdm/fleet/assets/71795832/cd6ec944-ce99-4f8e-a630-9bf037abd0b9">


# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Manual QA for all new/changed functionality
2024-06-19 10:10:32 -07:00
Mike ThomasandEric f04b6a8c85 Updates /better (#19824)
Started to update /better as per
https://github.com/fleetdm/confidential/issues/6895

@eashaw, can you please help with this? I implemented the changes from
the wireframes but got into a tangle, putting the finishing touches to
the CSS. There were some inconsistencies with margins for the page
template when I added the feature row and column features, so I brought
in the `@page-container-max-width` variables from the land pages but got
a bit stuck with what media query styles to bring with it. Thanks!

Also, as part of the linked issue but separate from this PR, can you
please tackle what's needed to pipe the Typeform info into Slack or SF?
Are we using a Zap for the current swag form?

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-19 08:49:57 +09:00
Sarah Gillespie 9f0404fbe1 Add fallback checks for MDM unenrollment during migration flow (#19860)
Follow up to address additional issues uncovered during QA of #19512
2024-06-18 20:05:44 -03:00
RachelElysiaandJacob Shandling 2641d50320 Fleet UI: Fix platform compatibility styling (#19850)
## Issue
Cerra #19710 

## Description
- Remove 12px padding to the left of platform compatibility
- Refactor to `flex-wrap` so on small widths, the chrome platform
doesn't overflow past the section

## Code cleanup
- Remove redundant `<span/>`
- Refactor 12px gaps and 4px gaps to use flex `gap` instead of `padding`
- Refactor redundant code in `<PlatformCompatibility/>`



# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-18 15:14:20 -07:00
Victor Lyuboslavsky a452e01bb2 Changed activities.created_at timestamp precision to microseconds (#19848)
#19845 
Changed `activities.created_at` timestamp precision to microseconds

# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] If database migrations are included, checked table schema to
confirm autoupdate
- [x] Manual QA for all new/changed functionality
2024-06-18 15:37:08 -05:00
RachelElysia 3498302175 [unreleased bug] Fleet UI: Fix live query/error filter count displaying (#19847) 2024-06-18 15:37:12 -04:00
RachelElysia 4b0ece24de Feature FE: 18115 crit vuln issues (#19830) 2024-06-18 15:26:45 -04:00
Victor Lyuboslavsky 82d1f8e3db disable_issues and host issues support for other API endpoints (#19802)
#18115 
`disable_issues` param, plus additional API support for critical
vulnerabilities count

* /api/latest/fleet/labels/:id/hosts now return
`critical_vulnerabilities_count` for premium users.
* /api/latest/fleet/labels/:id/hosts can be sorted by total_issues_count
by specifying `order_key=issues` query parameter.
* /api/latest/hosts/:id and /api/latest/hosts/identifier/:identifier now
return `critical_vulnerabilities_count` for premium users.
* For /api/latest/fleet/hosts, /api/latest/fleet/hosts/report, and
/api/latest/fleet/labels/:id/hosts endpoints, the
`disable_failing_policies` query parameter has been deprecated. Instead,
use `disable_issues` to disable the failing policies and critical
vulnerabilities counts.


# Checklist for submitter

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-18 14:13:38 -05:00
RachelElysia 7c79d96929 [unreleased 19775] Fleet UI: Update 1 more tooltip (#19842) 2024-06-18 14:32:03 -04:00
Luke Heath 2f654e572d Reformat postmortem docs to imperative (#19806) 2024-06-18 11:05:40 -07:00
dependabot[bot] c23e1103a9 Bump ws from 6.2.2 to 6.2.3 (#19815) 2024-06-18 10:52:21 -07:00
Jahziel Villasana-Espinoza 2a0de89797 fix: allow profiles larger than 65KB (#19829)
> Related issue: #19771 

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated tests
- [x] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Manual QA for all new/changed functionality
2024-06-18 13:02:00 -04:00
RachelElysia 3fb803c480 [unreleased bugs] Fleet UI: Fix missing counts (Update all tables to use renderCount) (#19834) 2024-06-18 12:33:52 -04:00
Victor Lyuboslavsky 8d5914b6fb Added debug info to TestUpdateStatsOnReplica (#19825)
To debug occasional CI failures.
2024-06-18 11:29:13 -05:00
Sarah Gillespie 27d25b7874 Add changes file for fleetctl custom end user email support on Linux (#19836) 2024-06-18 11:13:14 -05:00
Dante Catalfamo c9d8f852f1 Add missing changelogs from #19706 (#19832)
#19706
2024-06-18 11:49:22 -04:00
Dante Catalfamo 88ce609aae Remove incorrect comment in windows_extension (#19833)
Remove comment left in by accident from previous iteration.

Caught by @lucasmrod 🙂 
https://github.com/fleetdm/fleet/pull/19709#discussion_r1644550889
2024-06-18 11:47:48 -04:00
Sarah Gillespie 0cb2767f18 Add support for --end-user-email option when building fleetd packages for Linux (#19795) 2024-06-18 10:10:19 -05:00
Lucas Manuel Rodriguez cde6365732 Add missing orbit/changes files (#19831)
Missing orbit/changes file for #19709 and #19726.
2024-06-18 11:33:05 -03:00
RachelElysia 441c4a06ea Fleet UI: Hide no teams option from team level users (#19766) 2024-06-18 09:56:55 -04:00
RachelElysia 5cc4b5dd4a Fleet UI: Clarify Fleet uses 3.x CVSS score (#19803) 2024-06-18 09:56:24 -04:00
Eric 797b0ec3c5 Website: Update padding on landing pages (#19818)
Closes: https://github.com/fleetdm/confidential/issues/6999

Changes:
- reduced the padding between the page hero and the testimonials on
landing pages
 - Added a top margin to the testimonial videos on landing pages
2024-06-18 09:59:51 +09:00
Tim Lee 2d6458b3f8 Custom Ubuntu Kernel Vuln Scanning (#19588) 2024-06-17 15:44:01 -06:00
Roberto Dip c9f26b2e18 for mdm migration, also use data from host_mdm (#19812)
unreleased bug I introduced

# Checklist for submitter
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-17 18:39:15 -03:00
Eric 457197478c Website: Update /tables styles (#19810)
Closes: https://github.com/fleetdm/fleet/issues/19809

Changes:
- Updated styles for examples and links on `/tables` pages to prevent
content from overflowing outside of the page's container.
2024-06-17 16:26:26 -05:00
Luke Heath 0002b178ff Schedule nightly gitops run in dogfood (#19816) 2024-06-17 14:12:17 -07:00
Victor Lyuboslavsky d3b9bade74 Keep all fleetd-base and fleetd-chrome artifacts. (#19749)
#19182 and #19111

- Upload and keep all fleetd-base and fleetd-chrome artifacts
- Code sign fleetd-base.msi
- Verify checksums and try installing fleetd-base packages

These changes will apply the fleet-base workflow to
download-testing.fleetdm.com, and another PR will change to the
production endpoint (download.fleetdm.com) after QA.

## fleetd-base
Successful fleetd-base workflow run:
https://github.com/fleetdm/fleet/actions/runs/9522282299

New meta files will be in the `stable` directory:
- https://download-testing.fleetdm.com/stable/meta.json
- https://download-testing.fleetdm.com/stable/tuf-meta.json

The files in the root directory will no longer be updated for backward
compatibility.

## fleetd-chrome
Successful fleetd-chrome beta run:
https://github.com/fleetdm/fleet/actions/runs/9552391075/job/26328861033
2024-06-17 15:49:06 -05:00
Dante Catalfamo e9efbef41a MDM Azure enable scripts by default (#19706)
#17528
2024-06-17 16:37:15 -04:00
Dante Catalfamo cf39a24778 Mdm bridge docs warning (#19785)
Adds docs for changes made to table as part of #19709
2024-06-17 15:19:48 -05:00
Benjamin Edwards 2f38625190 ensure strict configuration outputs for terraform logging destination modules (#19807) 2024-06-17 16:02:33 -04:00
Martin Angers 4b2919e5da Attempt fix of failure to remove non-empty test directory (#19799) 2024-06-17 14:57:45 -04:00
Eric e2ab9a2fe8 Website: Update Vanta authorization URL when a redirect URL is specified (#19798)
Closes: https://github.com/fleetdm/confidential/issues/6069

Changes:
- Added a new route going to the create-vanta-authorization-request
action: `/api/v1/create-external-vanta-authorization-request`
- Added a new input to the create-vanta-authorization-request action:
`sharedSecret` - A secret that must match
`sails.config.custom.sharedSecretForExternalVantaRequests` when an
external request is made to the
`/api/v1/create-external-vanta-authorization-request` endpoint
- Updated the authorization URL returned by the
create-vanta-authorization-request endpoint
- Updated the redirect in the view-vanta-authorization endpoint (if a
redirect URL is provided) to not use res.redirect() (it causes 500
errors) when redirecting users.
2024-06-17 13:28:39 -05:00
Jacob ShandlingandJacob Shandling 15965a0bfd UI – Replace ReactTooltip with TooltipWrapper in 2 places (#19743)
Addresses #19300 


- [x] Changes file added for user-visible changes in `changes/`, 
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-17 10:47:24 -07:00
JD 676a6fba96 Fixed mysql password error (#19796)
Fix mysql password error
2024-06-17 10:25:55 -07:00
Victor Lyuboslavsky 2350ffdf49 Added host_issues (#19654)
* /api/latest/fleet/hosts now returns `critical_vulnerabilities_count`
for premium users. This data is held in the new `host_issues` table. The
failing policies total is updated in real-time, while the critical
vulnerabilities total is updated every hour after vulnerabilities job.
* /api/latest/fleet/hosts can be sorted by total_issues_count by
specifying `order_key=issues` query parameter.

#18115

Video commentary:
https://www.loom.com/share/ff4425e217db43d6b3ba4aa075374808

@getvictor TODO: Replacing `disable_failing_policies` with
`disable_issues` will be done in a separate PR.

# Checklist for submitter

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

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Manual QA for all new/changed functionality
2024-06-17 12:15:42 -05:00
Tim Lee b137bcbef2 Hotfix - Vuln matching race (#19786) 2024-06-17 11:02:47 -06:00