Commit Graph
12324 Commits
Author SHA1 Message Date
Jacob ShandlingandJacob Shandling 92198a22b8 Delete team policies: 404 for nonexistent team (#19516)
## Addresses #18993 

- Return `404` when a user tries to delete team policies from a
non-existent team – see [this precedent in the
codebase](https://github.com/fleetdm/fleet/blob/6b3310aa51bbc54282a0f2cd7d527997448c961f/server/service/integration_core_test.go#L6212)
for a 404 in this situation
- Add missing authorization check for this action


<img width="1494" alt="Screenshot 2024-06-04 at 6 22 02 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/15b98c7e-5d4b-450c-8403-a062d7d1bd5b">



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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-10 10:46:16 -07:00
Jahziel Villasana-Espinoza 27b8a1364f feat: new software installer and carves fields, kept original fields for backwards compat (#19597)
> Related issue; #19526

# 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] Manual QA for all new/changed functionality
2024-06-10 13:35:27 -04:00
Benjamin Edwards 1946fa64f0 update render blueprint (#19460)
Update the render blueprint to also supply `FLEET_SERVER_PRIVATE_KEY`
2024-06-10 13:31:50 -04:00
Luke Heath fbe9c1b498 Adding changes for Fleet v4.51.0 (#19601) 2024-06-10 09:47:23 -07:00
Joanne Stableford be753af9d6 Add responsibility to BizOps handbook - low credit alert (#19445) 2024-06-10 12:31:18 -04:00
Noah Talerman 9a4b6a4abe Dogfood policies: deduplicate (#19613)
- Add inline policies that are unique to "Workstations" or "Workstations
(canary)" to remove duplicate policies in
`macos-device-health-canary.yml`
2024-06-10 09:00:06 -07:00
Eric 1fac823fa9 Website: Update Salesforce helepr to set an an Owner ID on all new records. (#19609)
Changes:
- Updated the update-or-create-contact-and-account helper to always set
the integrations admin user as the owner of new accounts and contact
records created.
2024-06-09 15:00:55 -05:00
Eric 518e5f4087 Website: Update links to queries in query library (#19604)
Closes: #19228

Changes: 
- Removed the click event from the cards on the /queries page and
updated them to be links.
2024-06-07 18:12:27 -05:00
Eric da0268eec8 Website: Update Markdown headings (#19608)
Closes: #19606

Changes:
- Updated the `to-html` helper to add optional linebreaks to all
Markdown headings that contain an underscore.
2024-06-07 17:48:44 -05:00
Luke Heath 2a9b10855d Fix learn more about configuration redirect (#19607) 2024-06-07 14:50:57 -07:00
Noah Talerman 6aef9520e9 MDM setup docs: APNs and ABM in the UI (#19463) 2024-06-07 14:33:00 -07:00
Luke Heath d2ed0319a3 Add lukeheath as fallback for time-sensitive docs PRs (#19605) 2024-06-07 14:31:25 -07:00
Isabell ReedyandSam Pfluger 8334a94d10 Process for recognizing teammates on their workiversary (#19567)
Got approval from @JoStableford live during our biz ops github time. ..

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-06-07 15:29:52 -05:00
Luke Heath 3a4a2904d2 Update canary profiles and policies (#19598) 2024-06-07 13:10:24 -07:00
Nathanael Holliday 2edc88596f Update README.md (#19503)
Changed to reflect company policy of screening all employees.
2024-06-07 14:41:35 -05:00
Luke Heath 225fe666d2 Updating release minor version steps (#19248) 2024-06-07 11:04:45 -07:00
Eric bdfcf646b7 Vulnerability dashboard: batch Host record creation (#19595)
Changes:
- Updated the `update-reports` script to create new host records in
batches.
2024-06-07 11:18:34 -05:00
Erik Gomez 4b3818468f add optional cookie for the API interactions fleetApiOptionalCookie (#19573) 2024-06-07 11:09:57 -05:00
Alex MitchellandSam Pfluger c5e7b61c88 Update sales.rituals.yml (#19380)
Added daily standup and weekly Opportunity pipeline review

# 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. -->

- [ ] 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.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-06-07 01:15:49 -05:00
Luke Heath 2ab64f4e9a Add demo desktop background (#19579) 2024-06-06 16:23:57 -07:00
Brock WaltersandEric 9b263de850 Update etc_hosts.yml (#19532)
made file paths bullets instead of 1 line.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-06 17:02:25 -04:00
0ea339c7e6 Add macOS tcc_access table to fleetd (#19355)
## Addresses #18222 

Table results:
<img width="2991" alt="Screenshot 2024-05-29 at 6 15 21 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/eb87e744-658a-4937-92a4-30b6038a4625">

Optimized querying of host `TCC.db`s as constrained by query `WHERE`
clauses on `uid`:
<img width="1419" alt="Screenshot 2024-06-03 at 6 20 50 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/62475537-61c5-4d75-8b8e-10fe7d21462d">
<img width="1419" alt="Screenshot 2024-06-03 at 6 19 31 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/9901095f-5a61-4671-b45e-5935837f2f0c">
<img width="1419" alt="Screenshot 2024-06-03 at 6 15 01 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/6c6891cc-6baf-4b00-b446-a967d80cacfd">
<img width="1419" alt="Screenshot 2024-06-03 at 6 17 54 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/cadbb76d-abab-405f-8b65-683885e9e164">



- [x] Changes file added for user-visible changes in `orbit/changes/`.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality on macOS (only
supported OS)

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
2024-06-06 13:52:06 -07:00
RachelElysia f0ec662996 [unreleased bug] Fleet UI: Only global admins see ABM and APNs banners (#19571) 2024-06-06 16:36:10 -04:00
Sam Pfluger 4b82ff64e0 Update README.md (#19570) 2024-06-06 14:32:41 -05:00
RachelElysiaandRoberto Dip 474b982deb [unreleased bug] Fleet UI banners: set expiries into global state (#19565)
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2024-06-06 14:46:03 -04:00
Tim Lee dcc2cdac4b Add fleetd SOFA user agent (#19359) 2024-06-06 12:24:43 -06:00
6d633427d8 Feature/win11 cis v3 (#18862)
Changelog

ADD:

ADD - 18.10.75.1 (L1) Ensure 'Automatic Data Collection' is set to
'Enabled'
ADD - 18.10.92.2 (L1) Ensure 'Enable features introduced via servicing
that are off by default' is set to 'Disabled'
ADD - 18.10.92.4 (L1) Ensure 'Enable optional updates' is set to
'Disabled'
ADD - 18.8 (L2) Ensure 'Remove Personalized Website Recommendations from
the Recommended section in the Start Menu' is set to 'Enabled'
ADD - 18.9.19 (L1) 'Configure security policy processing: Do not apply
during periodic background processing' is set to 'False'
ADD - 18.9.19 (L1) 'Configure security policy processing: Process even
if the Group Policy objects have not changed' is set to 'True'
ADD - 18.9.25 (L1) Ensure 'Configure password backup directory' is set
to 'Enabled: Active Directory' or 'Enabled: Azure Active Directory'
ADD - 18.9.25 (L1) Ensure 'Enable password encryption' is set to
'Enabled'
ADD - 18.9.25 (L1) Ensure 'Post-authentication actions: Actions' is set
to 'Enabled: Reset the password and logoff the managed account' or
higher
ADD - 18.9.25 (L1) Ensure 'Post-authentication actions: Grace period
(hours)' is set to 'Enabled: 8 or fewer hours, but not 0'
ADD - 19.7.38 (L1) Ensure 'Turn off Windows Copilot' is set to 'Enabled'
ADD - 2.3.11 (L1) Ensure 'Network security: Restrict NTLM: Audit
Incoming NTLM Traffic' is set to 'Enable auditing for all accounts'
ADD - 2.3.11 (L1) Ensure 'Network security: Restrict NTLM: Outgoing NTLM
traffic to remote servers' is set to 'Audit all' or higher

REMOVE:

REMOVE - 18.10.76.3 (L1) Ensure 'Prevent bypassing Windows Defender
SmartScreen prompts for sites' is set to 'Enabled'
REMOVE - 5 (L1) Ensure 'Internet Connection Sharing (ICS)
(SharedAccess)' is set to 'Disabled'
REMOVE - 9.1 (L1) Ensure 'Windows Firewall: Domain: Outbound
connections' is set to 'Allow (default)'
REMOVE - 9.2 (L1) Ensure 'Windows Firewall: Private: Outbound
connections' is set to 'Allow (default)'
REMOVE - 9.3 (L1) Ensure 'Windows Firewall: Public: Outbound
connections' is set to 'Allow (default)'

UPDATE:

UPDATE - 18.10.42.7 (L2 -> L1) Ensure 'Enable file hash computation
feature' is set to 'Enabled'
UPDATE - 18.10.86 (L1 -> L2) Ensure 'Turn on PowerShell Script Block
Logging' is set to 'Enabled'
UPDATE - 18.10.86 (L1 -> L2) Ensure 'Turn on PowerShell Transcription'
is set to 'Enabled'
UPDATE - 18.5 'MSS: (AutoAdminLogon) Enable Automatic Logon (not
recommended)' TO 'MSS: (AutoAdminLogon) Enable Automatic Logon'
UPDATE - 18.5 'MSS: (DisableIPSourceRouting IPv6) IP source routing
protection level (protects against packet spoofing)' TO 'MSS:
(DisableIPSourceRouting IPv6) IP source routing protection level'
UPDATE - 18.5 'MSS: (DisableIPSourceRouting) IP source routing
protection level (protects against packet spoofing)' TO 'MSS:
(DisableIPSourceRouting) IP source routing protection level'
UPDATE - 18.5 'MSS: (PerformRouterDiscovery) Allow IRDP to detect and
configure Default Gateway addresses (could lead to DoS)' TO 'MSS:
(PerformRouterDiscovery) Allow IRDP to detect and configure Default
Gateway addresses'
UPDATE - 18.5 'MSS: (SafeDllSearchMode) Enable Safe DLL search mode
(recommended)' TO 'MSS: (SafeDllSearchMode) Enable Safe DLL search mode'
UPDATE - 18.5 'MSS: (ScreenSaverGracePeriod) The time in seconds before
the screen saver grace period expires (0 recommended)' TO 'MSS:
(ScreenSaverGracePeriod) The time in seconds before the screen saver
grace period expires'
UPDATE - 18.5 'MSS: (KeepAliveTime) How often keep-alive packets are
sent in milliseconds' is set to 'Enabled: 300,000 or 5 minutes
(recommended)' TO 'Enabled: 300,000 or 5 minutes'
UPDATE - 18.9.50.1 (L2 -> L1) Ensure 'Enable Windows NTP Client' is set
to 'Enabled'
UPDATE - 18.9.50.1 (L2 -> L1) Ensure 'Enable Windows NTP Server' is set
to 'Disabled'

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
Co-authored-by: Sharon Katz <sharon@fleetdm.com>
2024-06-06 12:50:45 -04:00
Rachael Shaw 97cc5d17ea Remove "available in Fleet Premium" note from scripts permissions docs (#19492)
Scripts are available to free users.
2024-06-06 11:15:56 -05:00
Rachael Shaw 0f8b540e03 Update pricing page (#19558)
Add AI-generated policy descriptions to pricing page
2024-06-06 11:13:06 -05:00
Marko Lisica 5ff86f0b8e Software permissions changes (#19405)
Adding new rows to manage access table to reflect new permissions added
with #14921
2024-06-06 10:12:12 -05:00
Mike Thomas 5d7472fb40 Update transparency.ejs (#19519)
I updated the description for "Device actions" to give more context to
readers as per https://github.com/fleetdm/fleet/issues/15694.
2024-06-06 07:27:36 +09:00
Eric d25c257db3 Website: update salesforce leads created by website (#19498)
Changes:
- Removed unused/unneeded values that are set on new lead records
created by the website
2024-06-05 17:00:27 -05:00
Sam Pfluger 1d33d85eb4 Update README.md (#19547) 2024-06-05 16:57:33 -05:00
Martin Angers 9f010c9388 Actually set self_service field in the batch-set of software installers (for CLI/gitops) (#19542) 2024-06-05 16:33:35 -04:00
Sarah Gillespie bc60224acd Fix unreleased UI bug to conditionally show software self-service badge (#19541) 2024-06-05 14:51:27 -05:00
Martin Angers e6de0dcebd Add integration test of batch-setting with self-service 2024-06-05 15:44:02 -04:00
Robert Fairburn d65f59ed84 update osquery-carve module version in dogfood (#19535) 2024-06-05 12:31:40 -05:00
Grant Bilstad 9db32a5827 Update s3 carves bucket expiry for dogfood (#19533)
Need to update to extended expiry for carves s3 as not to remove for
software_installs

@rfairburn will apply with no downtime to Dogfood
2024-06-05 12:12:32 -05:00
Roberto Dip 8bc79f8478 add documentation for edge case scenario (#19496)
for #16857
2024-06-05 13:55:53 -03:00
Roberto Dip a24e665c13 Lock goreleaser version in CI to ~> 1 (#19529)
A few days ago, a new major version of goreleaser was published, which
is currently breaking our workflows:

```
⨯ command failed                                   error=unknown flag: --rm-dist
```

This locks the version to a max satisfying semver under 1 until we have
time to update to the new major.
2024-06-05 13:35:28 -03:00
Brock WaltersandEric 1045136cb1 Update etc_hosts.yml (#19517)
Updates to etc_hosts per #16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-05 11:14:06 -04:00
Eric 80a9ffeb69 Website: add step to the /start questionnaire for users who don't want to use Fleet (#19514)
Closes: https://github.com/fleetdm/confidential/issues/6287

Changes:
- Added a new page to the /start questionnaire where users can let us
know they're not interested in using Fleet.
2024-06-05 10:52:25 +09:00
Eric 9ea69df576 Website: add new usage statistics (#19315)
Closes: https://github.com/fleetdm/fleet/issues/19308

Changes:
- Added six new attributes to the `HistoricalUsageSnapshot` model (
`numSoftwareVersions`, `numHostSoftwares`, `numSoftwareTitles`,
`numHostSoftwareInstalledPaths`, `numSoftwareCPEs` and
`numSoftwareCVEs`)
- Added inputs to the receive-usage-analytics webhook for the new usage
statistics.


When this PR is merged, we will need to migrate the Fleet website's
database to add the new columns, to do this:
- [x] Make an announcement in Slack to let people know the website will
be offline for ~8 minutes
- [ ] Merge this PR
- [ ] As the deploy action runs, put the website into maintenance mode
- [ ] Add the new columns for the added attributes
- [ ] Set the default value for the new attributes on existing database
records
- [ ] After the deploy workflow is complete, take the website out of
maintenance mode.
2024-06-04 18:36:25 -05:00
Eric 8f6685f99d Website: remove /transparency route & add redirect (#19511)
Changes: 
- Updated the /transparency page to only have a single version
- Removed the /transparency route and added a redirect going to /better
2024-06-04 17:52:33 -05:00
Eric 0173e3b12c Website: clear UTM parameters (#19472)
Closes: #19428

Changes:
- Updated the website to strip query parameters from URLs that contain a
`utm_content` query parameter.
2024-06-04 16:33:53 -05:00
Roberto Dip f7665297fc fix fleetctl generate mdm-apple-bm (#19507)
for #19506

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-06-04 18:19:09 -03:00
Noah Talerman 021b56a070 Handbook: Update product-groups.md (#19310)
- Update link. It was out of date
2024-06-04 12:54:11 -07:00
Eric 6b3310aa51 Website: Update Vanta script. (#19493)
Closes: https://github.com/fleetdm/confidential/issues/6844

Changes:
- Updated the send-data-to-vanta script to retry failed requests to
Fleet instances and increased the timeout on the requests to the /hosts
endpoint
2024-06-04 12:38:56 -05:00
Eric ba6ae8f8db Regenerate osquery_fleet_schema.json (#19488)
Closes: #19439
2024-06-04 10:47:47 -05:00
Brock WaltersandEric 82f592bfdd Update authdb.yml (#19477)
The Example header was not showing on this page. Moved the query up to
the example block with explanation.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-04 11:27:15 -04:00