Commit Graph

6404 Commits

Author SHA1 Message Date
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
Eric
1fa64e180c
Update array sorting (#8895) 2022-12-01 12:33:20 -06:00
Jacob Shandling
9a4cfd14b4
UI: Disable sort arrows in manage hosts status column (#8892) 2022-12-01 11:49:58 -06:00
Roberto Dip
837fef4bc4
ensure we provide a future date in MSRC test (#8897)
This test was failing in Dec 2022, because in this line:

```go
_, err := sut.GetFeed((now.AddDate(0, 1, 0)).Month(), now.Year())
```

`(now.AddDate(0, 1, 0)).Month()` returns `"January"` , and `now.Year()` returns `2022` , so we were sending a date in the past.
2022-12-01 11:29:07 -03:00
Robert Fairburn
44609419b2
arm64 Mac support for loadtesting. Quickly expire loadtesting secrets on destroy (#8889) 2022-12-01 07:35:10 -06:00
Charlie Chance
2875f7d770
Handbook: edits to comp changes addition (#8894) 2022-11-30 16:26:51 -07:00
Charlie Chance
836a98cb6d
Handbook: compensation change process (#8893) 2022-11-30 14:47:37 -07:00
gillespi314
49f7180a14
Use POST instead of GET for trigger endpoint (#8888) 2022-11-30 11:57:42 -06:00
RachelElysia
68bc007519
Fleet UI: Unreleased fix header margin being added to tooltip margin (#8883) 2022-11-30 09:20:16 -05:00
Jacob Shandling
cb9c4d00c2
UI: Fix Tooltipwrapper causing extra whitespace if in last column of table (#8808)
* Nudge last tooltip in header to the left

* changefile

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-29 13:40:04 -08:00
Jacob Shandling
77e6398efb
UI: Prevent bg color change of disabled pagination buttons in Activity card (#8859)
* Add negation pseuodo-class to button hover to prevent bg color change when disabled

* change file

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-29 13:39:09 -08:00
Charlie Chance
c89f58269c
Handbook: Q&A in "why this way" (#8727)
* Handbook: Openness value 

adding the Q&A session to the "why this way" page

* Update handbook/company/why-this-way.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update why-this-way.md

I revised the copy Charlie provided for two main reasons.

First, to keep formatting on the page consistent by removing the Q&A framework.

Second, to apply Mike's rationale from the Slack conversation to speak about Openness more broadly. People who find this section won't have the Slack conversation for context. Stepping back a bit will make this more approachable. However, I'm happy to add more detail if necessary.

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-11-29 10:14:43 -07:00
Gabriel Hernandez
550feef040
integrate with API to show query name and sql query for live query activity (#8864)
* integrate with API to show query name and sql query for live query activity

* move ShowQueryModal to common components
2022-11-29 16:55:17 +00:00
Artemis Tosini
486590186a
orbit: Correctly handle errors in authenticatedRequest. Fixes #8472 (#8860) 2022-11-29 11:54:36 -05:00
Noah Talerman
acb297d505
Update "No 1Password recovery kits..." policy (#8800)
* Update "No 1Password recovery kits..." policy

- Update policy in standard query library shown on fleetdm.com
- Update policy in standard templates shown in Fleet UI

* Update policy template shown in UI

* Commit Sharvil's exits to standard query library

* Commit Sharvil's edits to policy templates
2022-11-29 10:21:55 -05:00
Marcos Oviedo
ff9206655a
Fixing UninstallString to properly include msiexec /x call (#8857)
* Fixing UninstallString to properly include msiexec /x call
2022-11-28 20:18:28 -03:00
Charlie Chance
145c4569f3
Codeowners (#8797)
* Codeowners

Before we changed to Nate being the code owner for the page, I received notifications for reviewing changes to the ceo-handbook subpage. Now that defaults to Nate. 
Not sure if this is the fix for that or not. But wanted to put it on someone's radar.

* Update CODEOWNERS

Co-authored-by: Roberto Dip <me@roperzh.com>

Co-authored-by: Roberto Dip <me@roperzh.com>
2022-11-28 13:51:34 -07:00
RachelElysia
f16b7ba13e
Fleet UI: Save manage host table filters in state so we can return back to same filters (#8806) 2022-11-28 14:49:27 -05:00
gillespi314
d5c096fa02
Implement schedule triggers (#8747) 2022-11-28 13:28:06 -06:00
Mo Zhu
7fb0589a72
clarify that -1 for uid in password_policy is global (#8664) 2022-11-28 10:26:25 -08:00
Frank Sievertsen
8fc32acf00
Store details (query_name and query_sql) about live query in activity feed (#8842) 2022-11-28 16:42:32 +01:00
Josh Brower
4c73ccb338
Add additional Windows tables to schema (#8817)
* Add dns_cache

* Add ntdomains

* Add userassist

* add shimcache

* Spacing
2022-11-28 10:00:23 -05:00
RachelElysia
1e96f4f0fb
Fleet UI: Fix left align wrapping on software table (#8803) 2022-11-28 09:56:34 -05:00
gillespi314
4a73d4a887
Adjust flaky tests (#8811) 2022-11-25 12:09:55 -06:00
Zay Hanlon
057b06ad6f
Update README.md (#8809)
Creating a new PR for the handbook edits I made as there is an issue in the UI currently.
2022-11-23 18:10:44 -07:00
Eric
dfefe64b3b
Website: update edit button on table pages (#8807) 2022-11-23 16:31:07 -06:00
RachelElysia
8d1ebce204
Fleet UI: Fix table links to allow wrapping (#8802) 2022-11-23 14:36:08 -05:00
Roberto Dip
665cac41f6
enable a reader replica in load testing RDS (#8805)
We discussed in the @fleetdm/g-platform weekly meeting that it would be good to have a read replica enabled by default in load testing, as it matches what we would recommend to customers for deployments of the size we use to load test with.

This is just what I did to get it working in the past, but I'm happy to adjust as you consider appropriate.
2022-11-23 16:13:57 -03:00
Zay Hanlon
3084814d09
Update README.md (#8790)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

Final handbook updates! Charlie and Zay reviewed
2022-11-23 09:59:07 -07:00
RachelElysia
0eff5ce20a
Fleet queries bug: Fix 12 type instances in osquery fleet tables json (#8801) 2022-11-23 10:17:04 -05:00
Tomas Touceda
fe1fa4d78c
Clone AppConfig and ScheduledQuery list by hand to improve CPU usage (#8794)
* Close AppConfig and ScheduledQuery list by hand to improve CPU usage

* Address review comments

* Update remaining mocks
2022-11-23 12:04:06 -03:00