Commit Graph
15073 Commits
Author SHA1 Message Date
Allen Houchins 64cd45753a Add 1Password update profile to "💻 Workstations" team (#25291)
fleetdm/confidential#9041

Promoting change from "💻🐣 Workstations (canary)" to "💻 Workstations"
2025-01-09 17:02:44 -06:00
Rachael Shaw 4f68dca1a3 Docs: Update get host example response (#25313)
Couple changes in advance of API design for #23235 (since certificates
will be available for macOS/iOS/iPadOS):
+ Update "Get host" example response to be a macOS host
+ Update "Get host by device token" example response to be a macOS host
& move weightier items to the bottom for readability
2025-01-09 16:46:24 -06:00
Mike McNeil d6bcf6cb21 Update roadmap-preview-january-2025.md (#25284)
fyi @Drew-P-drawers @noahtalerman @onasismunro
2025-01-09 17:35:08 -05:00
Eric 4980052f0b Website: Update policy details page, add controls to policies in standard query library. (#25309)
Related to: #23285


Changes:
- Updated the policy details page to have a controls section that
displays the `configuration_profile` and `script` values of policies
- Added configuration profiles and scripts from
https://github.com/ddribeiro/fleet-remediation-controls to macOS
policies in the standard query library.
2025-01-09 16:28:22 -06:00
Rachael Shaw d1a564e387 Docs: Update get host example (#25310)
+ Update "Get host" example response to be a macOS host (in advance of
API design for #23235, since certificates will be available for
macOS/iOS/iPadOS)
+ Update formatting of "Get host by identifier" to move weightier items
to the bottom
2025-01-09 15:52:34 -06:00
Robert Parsimei Koikai 52fbb233ea Feature/clarify package generation process (#24324) 2025-01-09 15:26:13 -06:00
Sam Pfluger b45b6fa202 Add conversion rate re-computation to workiversary process (#25308) 2025-01-09 15:16:33 -06:00
Sam Pfluger 5839079252 Make Noah DRI of product design (#25304)
- Make Noah DRI of product-design page
- Remove duplicative ` // GitHub issue templates` call-out  


FYI: @lukeheath and @noahtalerman, a lot of the time you two have better
context on the changes than I do and I want to remove myself as any kind
of perceived blocker.
2025-01-09 14:37:13 -06:00
RachelElysia f15e45ea26 Fleet UI: Align update text baseline with neighboring text (#25298) 2025-01-09 15:01:09 -05:00
Jahziel Villasana-Espinoza 863a37a3e5 fix: update install script for FMAs to improve re-install process (#25238)
> For #24148

# 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://github.com/fleetdm/fleet/blob/main/docs/Contributing/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)
- [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] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
2025-01-09 14:22:21 -05:00
Noah Talerman 9cb59c2abd Reference docs: "Agent configuration" page cleanup (#25290)
This PR brings the "Agent configuration" format/organization closer to
the format we use for all other reference docs (YAML files, REST API,
and Fleet server configuration)

Changes:
- Update page headers so that the right-side navigation includes all the
top-level keys. Similar to the YAML files docs.
- Brings examples to the top of each section after a short description
(if necessary)
- Cut content
- Update "Learn more" links to more recent guides
2025-01-09 13:10:56 -06:00
Victor Lyuboslavsky dfa9a90775 Updating deprecated actions/download-artifact (#25296) 2025-01-09 12:58:59 -06:00
Victor Lyuboslavsky 68b7cf9141 Added signed URLs (#25197)
For #24869 

This subtask contains code to sign the CloudFront software installer and
bootstrap package URL using AWS SDK URL signer.
It works with the current bootstrap package delivery. For software
installers, fleetd will need to be modified to take advantage of this
URL in a future subtask (which will also include updated API contributor
docs).

My article on signed URLs, for context:
https://victoronsoftware.com/posts/cloudfront-signed-urls/

# Checklist for submitter

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-01-09 12:56:54 -06:00
jacobshandlingandJacob Shandling 689e78a598 UI - use new db user settings to persist user's host table column preferences (#25185)
## For #25032

<img width="1792" alt="Screenshot 2025-01-07 at 6 50 39 PM"
src="https://github.com/user-attachments/assets/17a63b3d-a983-433a-a3c4-6c66dbb08fce"
/>

- Add new `include_ui_settings` query param to `GET` `/me` calls
- Use new `settings` in response to set settings into UI context
- On hosts page, use that context, if present, to set which columns are
hidden. Fallback to a default set of hidden columns.
- When updating visible columns, persist preference via `PATCH` to
`/users/:id` with a new `settings` payload

- [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>
2025-01-09 10:53:43 -08:00
Katheryn Satterlee 11f8e074e9 Restore stewardship commitment in FAQ (#25285)
The entry outlining Fleet's commitment to open source stewardship was
accidentally removed from the FAQ. Restoring it to its rightful place.

# Checklist for submitter

Docs only change.
2025-01-09 12:43:55 -06:00
RachelElysia 12ca927d43 Fleet UI: Fix overflow of software title in 2 more modals (#25294) 2025-01-09 13:42:58 -05:00
Dante Catalfamo e6fb647d95 Run CI tests in parallel (#25271)
#21774

Improves run time by about 30%.

Things have been arranged in such a way that splitting modules out
further will be trivial in the future, such as breaking the different
integration test suited into their own units.


![image](https://github.com/user-attachments/assets/ead46e4c-6f14-406d-a29b-b25abc79c384)


![image](https://github.com/user-attachments/assets/3f7fd7f3-d7a8-4ff8-a184-646a72f1d015)
2025-01-09 13:38:24 -05:00
Sam Pfluger 33c3ca6de8 Remove auto issue from rituals (#25292) 2025-01-09 12:17:23 -06:00
dependabot[bot] 02008992a9 Bump github.com/go-git/go-git/v5 from 5.11.0 to 5.13.0 (#25280) 2025-01-09 12:09:49 -06:00
jacobshandlingandJacob Shandling d1335986dd UI – Include team-level queries in Select query modal, only call for queries when needed (#25286)
## For #25114

- When host is on a team, include both the team's and global queries in
list presented to the user
- Optimize by only calling queries API when needed

<img width="1464" alt="Screenshot 2025-01-08 at 6 47 06 PM"
src="https://github.com/user-attachments/assets/9ed6fb1b-7cc3-4e34-a38d-4c7baecedf4c"
/>

- [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>
2025-01-09 10:08:46 -08:00
Victor Lyuboslavsky b1891b8838 Update deprecated actions/upload-artifact to v4.5.0 (#25295) 2025-01-09 12:08:02 -06:00
jacobshandlingandJacob Shandling 55b500a3f3 API, datastore, migration for new "user settings", with `"hidden_hosts_table_columns" setting (#25184)
## For #25033 

- 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] Added/updated automated tests
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-01-09 10:04:47 -08:00
Eric 7ceb5bcac4 Website: add contributor information to policy details page. (#25275)
Closes: #24454


Changes:
- Updated the policy details page to include the policy's contributor
2025-01-09 10:25:46 -06:00
Scott Gress 9ad246876c Add YARA queries to osquery-perf (#25272)
# Overview

This PR adds support for remote YARA queries to osquery-perf, so that
remote YARA queries can be load-tested.

# Details

The existing `runLiveQuery()` is updated to branch off into different
query running functions based on the content of the query. If the query
contains `from yara` and `sigurl`, then the new `runLiveYaraQuery()`
function is run which makes a request to the Fleet "get yara rules" API
before returning an appropriate response. Otherwise, the new
`RunLiveMockQuery()` function is run which includes the previous logic
for sending a mock response.

# Testing

I don't see any automated testing for osquery-perf, but I manually
tested in the following way:

1. Started osquery-perf with `go run agent.go`
2. Ran a live query on the new host using
```
SELECT * FROM yara where sigurl="https://localhost:8080/api/osquery/yara/rule1.yar"
```
and verified that the result was as-expected:
<img width="1642" alt="image"
src="https://github.com/user-attachments/assets/a2c9cacf-e28d-409c-8e83-1c82809b89c0"
/>
I also used a log in Fleet to verify that the "get yara rules" API was
really being called.

3. Ran another live query on the host using:
```
SELECT * FROM system_info"
```
and verified that the result was as expected:
<img width="1665" alt="image"
src="https://github.com/user-attachments/assets/a8d35389-f193-4902-badf-200d760fdf46"
/>

I also tested that sending a `sigurl` with the wrong host returns a
`live yara query failed because sigurl host did not match server
address` error

# Checklist for submitter

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

- [X] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
2025-01-09 10:00:22 -06:00
Janis Watts ed56986918 Update release-qa.md (#25273)
On issue template, split tests into product groups, update dead link
2025-01-08 20:00:58 -06:00
Eric 60c4227b53 Website: add note about other agents to /better page (#25281)
Closes: #24641

Changes:
- Added a note about cybersecurity tools that might be installed on
users devices to the /better page
2025-01-08 18:17:34 -06:00
Mike Thomas 20694617cf Remove security marketing fluff from (#25279)
I updated the orchestration page with @allenhouchins to remove marketing
fluff for security users.

Closes https://github.com/fleetdm/fleet/issues/24640
2025-01-09 08:55:47 +09:00
Sarah Gillespie 69459efd1d Remove arrow icon from MDM solution table (#25211) 2025-01-08 17:41:26 -06:00
Eric 649f7b3052 Website: Move yaml depenency (#25277)
Changes:
- Moved `yaml` from devDepenencies to dependencies in the website's
package.json
2025-01-08 17:35:41 -06:00
Victor Lyuboslavsky 992144bd59 Downgraded expected/common "BootstrapPackage not found" server error to a debug message. (#25266)
For #25265
Downgraded expected/common "BootstrapPackage not found" server error to
a debug message. Occurs when UI/API checks if bootstrap package exists.

# Checklist for submitter
- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Manual QA for all new/changed functionality
2025-01-08 17:14:10 -06:00
Eric 679019e8c8 Website: add view changelog button to fleetsm.com/releases (#25269)
Closes: https://github.com/fleetdm/confidential/issues/8824

Changes:
- Added a "view changelog" button to fleetmd.com/releases that goes to
https://github.com/fleetdm/fleet/releases
2025-01-08 16:48:11 -06:00
Allen Houchins d9d96e2822 Update teams.md (#24957)
Minor changes to support fleetdm/confidential#9168 and
https://github.com/fleetdm/fleet/pull/24952
2025-01-08 17:17:36 -05:00
Harrison RavazzoloandHarrison John ec2a866029 Update proxy doc in reference architecture (#25230)
Small change from a slack convo -
https://fleetdm.slack.com/archives/C019WG4GH0A/p1736282697358929

Co-authored-by: Harrison John <harrisonjohn@mac.lan>
2025-01-08 16:13:46 -06:00
Scott Gress ba69f76481 Add cron failure monitoring SNS topic to IAM policy for Lambda (#25268)
for #25267

This was missed in the TF config for the cron-monitoring Lambda updates,
leading to a failure when trying to publish to the `#help-p2` topic.
2025-01-08 16:10:17 -06:00
Josh BrowerandSharon Katz a3b52d6c79 Add missing CIS checks (#24787)
PR for https://github.com/fleetdm/fleet/issues/24647

Adds:
- 2.6.3.3: Ensure Improve Assistive Voice Features Is Disabled
- 5.11: Ensure Logging Is Enabled for Sudo (Automated)

2.6.3.1, 2.6.3.2, 2.6.3.4 were previously added.

2.7.2. is a `Manual` check, which is not supported here.

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2025-01-08 17:06:43 -05:00
RachelElysia 800aa7ecbd Fleet UI: Fix software name from overflowing (#25262) 2025-01-08 16:35:48 -05:00
Sam Pfluger 4479484333 Add ADR position to website (#25259) 2025-01-08 14:14:46 -06:00
Noah TalermanandDrew Baker aac0ee734e Roadmap preview, January 2025 (#25249)
Quarterly roadmap blogpost ritual for Q1:
https://github.com/fleetdm/fleet/issues/23523

---------

Co-authored-by: Drew Baker <89049099+Drew-P-drawers@users.noreply.github.com>
2025-01-08 15:11:01 -05:00
Eric 0620d7e580 Website: Add admin query generator (#25205)
Changes:
- Added /admin/query-generator, a page that admins can use to generate
queries from natural language questions.
- Added `/admin/get-llm-generated-sql.js` an action that uses the same
method in the `test-llm-generated-sql` script to generate queries from a
natural language question.
2025-01-08 13:47:17 -06:00
Rebecca Cowart c0d63e9468 Update FAQ.md - Removals (#25223)
Removed questions scheduled to be removed
2025-01-08 11:56:27 -06:00
Katheryn Satterlee 6421a65326 Update Aurora RDS Versions (#25214)
Updated AWS Aurora versions to reflect MySQL requirements

# Checklist for submitter

Docs only change
2025-01-08 11:52:17 -06:00
Janis Watts 8d090355ea Update release-qa.md with new team labels (#25246)
Only changed #g-endpoint-ops to #g-orchestration and added #g-software
2025-01-08 10:37:26 -06:00
RachelElysia 3c634dfb14 Fleet UI: Add copy for policy tied to install software (#25242) 2025-01-08 11:05:38 -05:00
Dante Catalfamo f7ac65d715 Revert "Add SystemDrive env var to osqueryd if present in orbit" (#25239)
Reverts fleetdm/fleet#2520

Was asked to revert this PR so we can include it in the next release
instead
2025-01-08 10:28:28 -05:00
Ian Littman 51dcf80df7 Add bundle ID based CPE product matching for more JetBrains macOS products (#25234)
For #22723.

Bundle IDs pulled from installs of the software, with regexes being
starts-with matches to include EAPs in matches. Used the products list
from CVE-2024-37051 to match up NVD product names (which is why
Writerside isn't included here; it doesn't have any published vulns
yet).

This fixes vuln detection in e.g. GoLand EAPs when the app name is
something other than the product name, similar to what we've done with
IntelliJ and PyCharm (but omitting homebrew handling for now).

No changes file as this doesn't need to be cherry-picked, and it will go
out in the next NVD pull after merged to `main`.

# Checklist for submitter
- [x] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
2025-01-08 08:40:46 -06:00
Mike Solin e9562202b1 Change Philly meetup URL (#25232) 2025-01-08 00:53:09 -06:00
Noah Talerman db690a693c Words that follow step numbers in docs are lowercase (#25165) 2025-01-07 20:13:37 -06:00
Isabell Reedy a68e0d11be Update wording in history section of the handbook (#25229) 2025-01-07 20:12:24 -06:00
Eric cac3e2fb5f Website: add link to /meetups page (#25135)
Closes: #24974

Changes:
- Added a link to the /meetups page to the website's header navigation
(under the stories dropdown)
2025-01-07 17:24:59 -06:00
Rachael Shaw a80466a93c Docs: More readability improvements to "Get host" response (#25228)
Moved weightier items to the bottom of the response and smaller items up
top.
2025-01-07 17:17:51 -06:00