Commit graph

6234 commits

Author SHA1 Message Date
Roberto Dip
e68535d468
report errors that can occur during file carving (#8972)
related to https://github.com/fleetdm/fleet/issues/8117
2022-12-09 13:21:30 -03:00
Tomas Touceda
71dbb71df4
Update go to 1.19.4 (#8945)
* Update go to 1.19.4

* Comment out failing package test

* Comment out ALL the packaging tests for windows for the moment

* Update go to 1.19.4

* Comment out failing package test

* Comment out ALL the packaging tests for windows for the moment

* Update changelog

* Bump versions

* Update changelog to reflect this being a security release
2022-12-09 11:47:17 -03:00
Reed Haynes
a94d697ce4
updated osquery testing files (#8940)
Co-authored-by: Reed Haynes <reed@fleetdm.com>
2022-12-08 13:28:36 -08:00
Mo Zhu
042504c4cf
Update pricing to reflect that osquery startup flags exists (#8970) 2022-12-08 13:21:44 -08:00
Gabriel Hernandez
22abdd4ed8
add frontend directories for mdm (#8968) 2022-12-08 14:28:39 -06:00
Eric
cddf7953e6
Update Fleet Premium pricing (#8966)
* update Fleet Premium price

* Update new-license.ejs
2022-12-08 13:01:24 -06:00
RachelElysia
e9afcc778a
Fleet UI: Fix input field alignments (#8963) 2022-12-08 10:57:28 -08:00
Robert Fairburn
41feacad4d
Fix confusion with tags on dogfood deploy workflow (#8964)
* Fix confusion with tags on dogfood deploy workflow

* Update .github/workflows/dogfood-deploy.yml

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
2022-12-08 12:11:33 -06:00
Mike McNeil
111a633bd5
Update pricing-features-table.yml (#8954)
* Update pricing-features-table.yml

* It doesn't actually support markdown, I just got excited

* Add features key to device management category

* Apply suggestions from code review

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

* Mark profiles as free

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Mo Zhu <mo@fleetdm.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-12-07 23:21:32 -06:00
Eric
5775bbbe0c
add required values to icloud_private_relay & fix markdown link in description (#8955) 2022-12-07 11:43:58 -08:00
RachelElysia
fa8ee026ff
Frontend: Unit tests /components directory, convert to svg icons (#8716) 2022-12-07 09:59:38 -08:00
Michal Nicpon
10b3179b63
Add fleetctl generate mdm-apple (#8812) 2022-12-07 18:24:42 +01:00
Mo Zhu
149ba5b24a
document new icloud_private_relay table (#8910)
* document new icloud_private_relay table

* Update icloud_private_relay.yml

* "enabled" instead of "turned on"

Co-authored-by: Guillaume Ross <guillaume@fleetdm.com>

Co-authored-by: Guillaume Ross <guillaume@fleetdm.com>
2022-12-07 08:16:06 -08:00
Mo Zhu
1ecd235312
Revert "Add MDM-enforced OS autoupdate query (#8927)" (#8944)
This reverts commit 61f2d5fe58.

This query already existed here: https://fleetdm.com/queries/automatic-installation-of-operating-system-updates-is-enabled-mac-os. I didn't see it because of the "built-in" default filter.
2022-12-07 08:04:50 -08:00
Eric
5db8383153
Fix schema folder auto-reviews (#8942) 2022-12-07 08:24:23 -06:00
Jarod Reyes
231de42a88
Update receive-from-github.js (#8918)
Added 'jarodreyes' to list of humans.
2022-12-07 08:23:38 -06:00
Mike McNeil
bf1c894e7d
Hide browser_plugins table (#8669)
It is not supported in most modern browsers and we think it is more osquerious-user-confusing than it is potentially security-helpful .
2022-12-07 08:23:20 -06:00
Mike McNeil
89b9f23891
Handbook: follow up to #8931 re company handbook page (#8946) 2022-12-07 08:23:03 -06:00
Mike McNeil
6049822df3
Add caveats to "preferences" table (#8652)
Co-authored-by: Guillaume Ross <guillaume@fleetdm.com>
2022-12-07 08:08:15 -06:00
Sharvil Shah
9ee09cd133
Document usage of command_line_flags (#8398) 2022-12-07 13:01:03 +05:30
Chris McGillicuddy
4e7a8013ae
Short goals for Fleet's values.md (#8931)
These edits address items 3, 4, and 8 from the handbook notes doc:

https://docs.google.com/document/d/17BhgTqCI5255RY71m5ri3nDx71DqmfYwyJmRe_nJ4Ns/edit

I'm happy to revise as necessary.
2022-12-06 17:43:29 -06:00
Eric
11313fd833
Update osquery_fleet_schema.json (#8941) 2022-12-06 17:28:04 -06:00
dependabot[bot]
b7e44e4b2e
Bump decode-uri-component from 0.2.0 to 0.2.2 (#8912)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 16:26:36 -06:00
Mo Zhu
61f2d5fe58
Add MDM-enforced OS autoupdate query (#8927)
Necessary for Vanta integration, since currently, we do not store autoupdate information.
2022-12-06 14:08:13 -08:00
RachelElysia
cde9877ecb
Fleet UI: Scroll shadows (#8914) 2022-12-06 12:58:32 -08:00
Martin Angers
d4a3730610
Add new configuration options for Apple Business Manager (#8886) 2022-12-06 15:50:56 -05:00
Zay Hanlon
3b84886109
Update README.md (#8939) 2022-12-06 14:34:24 -05:00
gillespi314
43b1241a0c
Add fleetctl trigger command (#8877) 2022-12-06 09:56:54 -06:00
Frank Sievertsen
e0766d21a3
Add ability to mark policy as critical. (#8896) 2022-12-06 15:59:20 +01:00
Zay Hanlon
8dee862136
Update README.md (#8926)
* Update README.md

Updated SLA's and Customer Support section

* Update README.md

Co-authored-by: Charlie Chance <100798688+CharlotteChance@users.noreply.github.com>
2022-12-06 09:12:54 -05:00
Chris McGillicuddy
e5b30c46b1
Create fleet-4.24.0.md (#8908)
* Create fleet-4.24.0.md

* Add files via upload

* Update fleet-4.24.0.md

Added cover image.

* Update fleet-4.24.0.md

* update article image filename

* Update fleet-4.24.0.md

* Update fleet-4.24.0.md

* Added images

* Update fleet-4.24.0.md

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-12-06 07:57:54 -06:00
Marcos Oviedo
8796ce9a38
Adding custom action to WIX template to ensure files are not locked during uninstallation (#8871)
* Adding custom action to ensure that no fleetdm related processes are running on a product uninstall scenario. This will ensure that no file locks are present during file removal
2022-12-06 07:03:06 -03:00
Eric
a8fe6b4bec
Update bug and pull request report script (#8735)
* Update PR and Bug script

* Update get-bug-and-pr-report.js

* Update get-bug-and-pr-report.js

* update variable names

* update script to pull the last 300 closed pull requests

* Add open PR metric

* Update get-bug-and-pr-report.js

* Update get-bug-and-pr-report.js

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 17:01:03 -06:00
gillespi314
6fb3a87ae9
Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
Eric
2d0f33f369
Website: Add script for creating HTML email partials from Markdown articles (#7574)
* add to-html-email

* email-preview

* add build-html-email script, update .gitignore

* email preview and email-templates pages, update routes, importer and policies

* add newsletter email layout, build-html-email script, to-html-email updates

* Update .gitignore

* add newsletter emails section to growth handbook

* update scripts

* update fonts in emails

* Update README.md

* Update build-html-email.js

* update comments, add page scripts to layouts

* revert change to build-static-content

* update script

* update email layout and helper

* update handbook entry

* update template data and helper

* update email layout

* update fake data and unsubscribe link

* move added handbook section to the marketing handbook

* rename script

* update colors in unused email template

* update capitalization in helper

* view-email-preview » view-email-template-preview

* Hide emails generated from markdown if they don't exist

* update preview page

* update markdown email directory, create sample article email

* lint fixes, add target="_blank" to links in emails

* update page layouts & styles

* update sample newsletter email, code font, newsletter layout

* Update README.md

* Update view-email-template-preview.js

Co-authored-by: Tim Kern <tim@fleetdm.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 16:30:24 -06:00
Zay Hanlon
2c1ebe44bf
Update README.md (#8930)
Removing process that doesn't happen today with a contact name of a former employee
2022-12-05 16:43:39 -05:00
Eric
48f86b21b1
Website: Add admin tool for generating Fleet Premium licenses. (#8478)
* create admin/generate-license page

* create generate-license-key action, update routes, policies, importer, regenerate cloud-sdk

* update layouts

* use moment

* Update view-generate-license.js

* Fixing lint errors

* Update generate-license-key.js

* Update redirects in is-super-admin policy

* redirect super admins to the license generator

* Update login form

* requested changes from mike-j-thomas

* Update generate-license.page.js

* Update is-super-admin.js

* Update view-login.js

* Update generate-license-key.js

* Update generate-license-key.js

* use naming convention for js timestamps

* validTo » expiresAt

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 14:53:16 -06:00
Eric
d92d9980ce
Website: Build pricing page from yaml file (#8549)
* Create pricing-features-table.yml

* update built-static-content to add the pricing table configuration to builtStaticContent

* Update pricing page to use builtStaticContent.pricingTable

* Update view-pricing.js

* update pricing table, lint fix

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 14:11:46 -06:00
Eric
a59e1cce80
Website: Add support for confidential repo to Github webhook (#8654)
* add confidentialGithubRepoDRIByPath to custom config

* Add support for the confidential repo to receive-from-github & get-is-pr-preapproved

* Update confidential repo DRIs

* remove no longer relevant folder

* Fix lint

* repository » repo

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 13:58:21 -06:00
gillespi314
8dbbfa1778
Update MDM demo documentation 2022-12-05 13:57:40 -06:00
Lucas Manuel Rodriguez
57d30b610a
Add dep profile to mdm glossary (#8929) 2022-12-05 15:25:31 -03:00
Martin Angers
866829dbfa
Implement fleetctl get mdm-apple (#8786) 2022-12-05 11:35:45 -05:00
Martin Angers
f5fc316ad3
Add options for configuring APNS and SCEP keys/certs in Fleet server (#8730) 2022-12-05 10:22:56 -05:00
Gabriel Hernandez
07c097998b
delete unused components (#8841) 2022-12-05 09:13:50 -06:00
Roberto Dip
f52e294718
try using DATE_ADD in test to ensure the timestamp is handled correctly (#8915)
rel:  https://github.com/fleetdm/fleet/issues/8768 thanks to @gillespi314 for the idea, the test consistently fails with:

```
 === RUN   TestHosts/TestHostOrder
    hosts_test.go:5392: 
        	Error Trace:	/home/runner/work/fleet/fleet/server/datastore/mysql/hosts_test.go:5392
        	            				/home/runner/work/fleet/fleet/server/datastore/mysql/hosts_test.go:5416
        	            				/home/runner/work/fleet/fleet/server/datastore/mysql/hosts_test.go:139
        	Error:      	"[]" should have 3 item(s), but has 0
        	Test:       	TestHosts/TestHostOrder
```

and the relevant code around line `5416`:

```go
	_, err = ds.writer.Exec(`UPDATE hosts SET created_at = created_at + id`)
	require.NoError(t, err)

	hosts, err = ds.ListHosts(ctx, fleet.TeamFilter{User: test.UserAdmin}, fleet.HostListOptions{
		ListOptions: fleet.ListOptions{
			OrderKey:       "created_at",
			After:          "2010-10-22T20:22:03Z",
			OrderDirection: fleet.OrderAscending,
		},
	})
	require.NoError(t, err)
	chk(hosts, "0001", "0004", "0003")
```

This PR changes it to be `UPDATE hosts SET created_at = DATE_ADD(created_at, INTERVAL id DAY)` instead, which seems to fix the issue (so far 3 runs without issues)
2022-12-02 17:25:12 -03:00
gillespi314
77a5d715a5
Add proposal for fleetctl trigger (#8127) 2022-12-02 10:05:16 -06:00
Artemis Tosini
3022b966c4
Embed augeas lenses in orbit binary (#8901) 2022-12-02 10:19:54 -05:00
Roberto Dip
743ac46a09
disable fleetctl preview tests on macos (#8911) 2022-12-02 11:29:38 -03:00
Luke Heath
934f8cf734
Prepare for 4.24.0 (#8902) 2022-12-01 13:03:55 -06:00
Zay Hanlon
4fdb85e084
Update README.md (#8900)
* Update README.md

Adding the handbook page documenting Slack + Zendesk process

* Update README.md
2022-12-01 14:02:31 -05:00