Commit Graph
6195 Commits
Author SHA1 Message Date
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 ShandlingandJacob 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 ShandlingandJacob 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 ChanceandChris McGillicuddy 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 ChanceandRoberto Dip 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
Sharvil ShahandChris McGillicuddy 5b924ea54c document API endpoints for osquery and orbit (#8536)
Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-11-23 18:23:34 +05:30
Jacob ShandlingandJacob Shandling b131839b7f UI: make diskspace graph behavior os-dependent (#8792)
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-22 14:43:30 -08:00
Jacob ShandlingandJacob Shandling 9796a15b4d UI: Set form field height to $form-field-label-min-height for consistency between states, including on error (#8714)
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-22 14:41:10 -08:00
a568c28124 UI: Add {on|off}line status tooltips and refactor HostSummary to use StatusCell (#8750)
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-11-22 14:15:17 -08:00
Ringo 576c5df9de Handbook: Acronym clarification (#8796)
On the 'OKR planning' - it would be helpful to explain.
Eg. (Objective Key Results)
2022-11-22 13:35:11 -08:00
Roberto Dip d9bf269c60 add dev flag to aid UI development (#8789) 2022-11-22 14:26:36 -03:00
Charlie ChanceandMike McNeil 5ef1bbeae9 Handbook: sweep for @fleetdm (#8757)
* Handbook: sweep for @fleetdm 

https://github.com/fleetdm/confidential/issues/1780

* Update README.md

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-11-22 11:14:31 -06:00
Charlie Chance e03a465a4e handbook: removing @fleetdm in Marketing page (#8756)
https://github.com/fleetdm/confidential/issues/1780
2022-11-22 11:12:36 -06:00
RachelElysia 05a6f06d12 Fleet UI: Allow software table rows to be clickable (#8772) 2022-11-22 11:13:33 -05:00