Commit graph

12308 commits

Author SHA1 Message Date
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 Mitchell
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 Walters
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
Jacob Shandling
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
RachelElysia
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
Josh Brower
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 Walters
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 Walters
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
Brock Walters
23d8e0a9bf
Update system_controls.yml (#19478)
Updates to system_controls data table in Fleet Table Docs per #16993

Added 2-space indent on every line following |- scaler...
2024-06-04 11:26:52 -04:00
Jahziel Villasana-Espinoza
aac7c0435f
feat: return better errors when private key not configured (#19471)
> Related issue: #19464

# 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-04 11:06:30 -04:00
Jahziel Villasana-Espinoza
945eb778a6 fix: ensure test cleanup 2024-06-04 09:45:53 -04:00
Marko Lisica
83edd57eca
Update scripts docs (#19419)
With #17321 we added support for `zsh` interpreter and we want to
document this.

@spokanemac had a hard time understanding that we don't support `.zsh`
extension while dogfooding the feature. I added note to explain that
user must create `.sh` file with `/bin/zsh` interpreter specified.
2024-06-04 08:17:00 +02:00
Brock Walters
3968c49683
Create cpu_info.yml (#19435)
Updates to cpu_info data table in Fleet Table Docs per #16993

I am trying something. The arp_cache table .yml has no references to the
Column || Type || Description schema table on the page, so, I am
assuming you are doing magic to combine the other sections of the page
(Description, Examples, Notes) with the data from osquery tables.

If I needed to make explicit reference to them, I am dumb. 

If I only to need to make explicit reference to them IFF I am changing
the schema table, yay.

Thanks!!!!!!!

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-03 21:17:14 -04:00
Savannah Friend
57c7aa17e2
Update Handbook/digital-experience/Process the CEO's calendar (#19430)
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-06-03 16:59:57 -05:00
Jahziel Villasana-Espinoza
3dc65d7432 feat: add UI support for ABM error message 2024-06-03 17:39:56 -04:00
Roberto Dip
1f6534f933
generate/ingest SCEP challenges and improve error messages (#19468)
for #19454
2024-06-03 18:33:52 -03:00
Jahziel Villasana-Espinoza
dc7639c07b fix: remove extra import 2024-06-03 17:28:23 -04:00
Eric
09a67e11e9
Website: add /better page (#19394)
Closes: https://github.com/fleetdm/confidential/issues/6159

Changes:
- Added a new route to the /transparency page (/better) that shows
additional content.
-

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-06-03 16:27:09 -05:00
Mike Thomas
10c838dead
Website add integrations (#19357)
Added Oomitza and Adaptive Shield. Closes
https://github.com/fleetdm/confidential/issues/5659

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-03 16:26:10 -05:00
Jahziel Villasana-Espinoza
a7e16b0915 chore: changes file 2024-06-03 17:25:39 -04:00
Jahziel Villasana-Espinoza
dfe5b728c2 feat: return better errors when private key not configured 2024-06-03 17:23:54 -04:00
Brock Walters
d8489c4f2b
Update cpu_time.yml (#19432)
Updates to cpu_time data table in Fleet Table Docs per
https://github.com/fleetdm/fleet/issues/16993

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-06-03 17:05:48 -04:00
Noah Talerman
23ae7c763c
Server configuration docs: APNs and ABM in the UI (#19461)
- Add redirect for error message on Fleet server startup if private key
is missing: #19455
- Move the APNs and ABM environment variables to contributor docs. They
will no longer be used
2024-06-03 15:45:41 -04:00
JD
685bfc0e4d
Article: discovering xz (#19459)
Article: Discovering xz vulnerability with Fleet
https://github.com/fleetdm/fleet/issues/18451
2024-06-03 14:51:41 -04:00