Commit Graph

4154 Commits

Author SHA1 Message Date
Eric
7c29e224e8
Handbook: add section about onboarding and onboarding calls (#4980)
* add section about onboarding and

* Update people.md

All edits are recorded by line:

227 replace “out” with “on”; replaced “that” with “they”
229 replaced “important” with “essential”; deleted “a” before “good”; deleted “that” before “they”; replaced “like they take seriously” with “is necessary”; added “a” before “review”
223 added “,” after “screen”
235 replaced “Make” with “make”, added “.” after “quickly”
236 replaced “Make” with “make”, added “.” after “quickly
237 replaced “Make” with “make”, added “.” after “mean”
238 replaced “Make” with “make”, added “.” after “markdown”
239 replaced “Talk” with “talk”; added “.” after “calendar”
240 replaced “Give” with “give”; added “.” after “folder”

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-07 18:05:52 -05:00
Eric
297cfe7263
Website: Fix table rendering in content generated from Markdown (#5002)
* marked 0.3.5 -> 0.4.0

* upgrade to marked v0.5.0

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-04-07 16:20:23 -05:00
Eric
1238750856
Handbook: add information about reimbursements (#5007)
* add reimbursements section

* Update people.md
2022-04-07 15:02:03 -05:00
gillespi314
1a2123a358
Improve UI responsiveness for tables at narrower screen sizes (#4926) 2022-04-07 14:12:38 -05:00
gillespi314
99728835c5
Remove duplicate error message on create pack page (#5000) 2022-04-07 12:45:30 -05:00
Benjamin Edwards
c3be611ec8
update ref arch documentation with estimated gcp costs (#4876)
* update ref arch documentation with estimated gcp costs
* add 300k breakpoint to reference architectures
2022-04-07 13:30:09 -04:00
Martavis Parker
cfb1474eb8
Auth Redux Removal (#4924)
* all login methods no longer use redux

* removed redux from registration

* redirect user from registration

* removed redux from sso invite

* removed redundant component

* refactored user settings page

* removed redux from logout

* cleaned up unused redux calls

* lint fixes

* removed test

* removed old config interface

* fixed registration bug

* team permission fix

* removed remaining redux references from pages - #4436

* better way to set config
2022-04-07 09:08:00 -07:00
gillespi314
1cf784999c
Extend client-side search across columns in UI tables (#4955) 2022-04-07 10:37:43 -05:00
Desmi-Dizney
045f7d3b47
Why this way?" #4821 (#4894)
* Update people.md

Things new and old employees should know

Why do we wireframe first?

- Wireframing is called “drafting” at Fleet and is done in Figma.
- Anyone can make a wireframe suggestion, and wireframes are easy to contribute without being code literate.
- Drafting is completed for each change.
- It can be thrown away after changes. Coding first leaves verbiage that is difficult to update, if it ever gets done at all.
- It allows you to simplify the creation and testing of error messages.
- Iterating in wireframes first lets us do all this for:
    - Error messages
    - Layouts
    - Flows
    - Interactions
    - Help text
    - Button text
    - Forms
    - URLs
    - API parameters
    - API response data…and more

Why mono repo?

- One repo keeps all of the relevant work in one place. The only exception is when working on something confidential.
- One repo means that there is less to get lost.
- One repo pools GitHub stars to reflect Fleet’s actual presence better.

Why organize work in team-based kanban boards?

- Kanban boards provide a uniform layout across all teams where anyone in the company can look to see what other teams are working on and have coming up.
- The different columns on the boards allow us to create a game plan for our to-do list for each 3 week iteration.
- These boards allow anyone in the world to contribute.

Why 3 week cadence?

- Fleet product is released every 3 weeks so everyone in the company is synced up to this same schedule.
- Other companies use a 4 week release cycle but at Fleet, we like to move a little faster so we can get more done.
- Everyone always knows when the new release is so they also know when their work is due.

Why agile?

- See: https://agilemanifesto.org/
- Collaborating and pushing for the next release creates the best product and culture.

Our values and mission.

- See: https://fleetdm.com/handbook/company

Why the emphasis on training?

- Investing in people makes them better and faster contributors.
- Creating a culture of helping others results in people feeling more comfortable and confident even if they aren’t familiar with osquery.
- A sharp focus on training means things are written down.

Why handbook-first strategy?

- Watch: https://www.youtube.com/watch?v=aZrK8AQM8Ro
- For more details see: https://about.gitlab.com/company/culture/all-remote/handbook-first-documentation/
- Documenting in the handbook allows Fleet to scale up and retain knowledge for consistency.

Why not continuously generate REST API docs from javadoc-style code comments?

- It looks cheap. Those using open API still are embarrassed by their docs.
- Generated documentation via tools like Swagger/OpenAPI have a tendency to get out of date and becomes harder to fix to make it up to date.
- There is less control over how to add annotations to the doc.
- It has less visibility/ accessibility/ modifiability for people without Golang coding experience.
- Fully integrating with swagger's format sufficiently to document everything involves more people on the team learning about the intricacies of swagger (instead of editing markdown that looks like any other markdown in the docs/website)).
- Autogenerating docs is not the only way to make sure docs accurately reflect the API.
- Generated docs become just as out of date as handmade docs, except since they are generated makes them more difficult to edit and therefore gated/siloed. Adaptability is efficient.
- Using markdown allows anyone to edit our docs.
- Replacing markdown files with code comments makes API reference docs harder to locate and edit.


I also removed "." from "### Purchasing a company-issued device" on line 120.

* Update people.md

39 replaced “employees with “team members”
79, 84, 94, 95 updated to a Markdown link

* Update company.md

All edits are recorded by line:

Lines 30- 97 added "Things new and old team members should know" section.

* Update people.md

Removed all edits
2022-04-07 10:25:56 -05:00
Mike McNeil
cda5246bd0
Handbook: typofix + normalize (#4965)
- fix typo
- use sentence case in headings (see https://fleetdm.com/handbook/brand#how-to-write-headings-subheadings)
- move "Slack channels" section back to the very bottom, to match other handbook pages
2022-04-07 10:01:27 -04:00
Lucas Manuel Rodriguez
60b7425bef
Add http basic auth to /metrics (#4974)
* Add http basic auth to /metrics

* Fixes after testing applying of a --config sample.yml

* Add unit test
2022-04-07 09:40:53 -03:00
Mike McNeil
03335819d5
Handbook: Add channels, simplify table formatting (#4962)
Handbook: Add channels, make md table formatting easier
2022-04-07 13:53:15 +09:00
Eric
dc27706193
Update website button styles (#4957)
* update button styles, make get-started match our styling conventions

* fix lint test, remove text-muted

* Update bootstrap-overrides.less

* remove `width: auto`
2022-04-06 13:55:05 -05:00
Mike McNeil
3d8a994af4
Handbook: Add #help-tines channel (#4968) 2022-04-06 13:07:22 -04:00
Guillaume Ross
b3f0c9462c
Adding hardware security key guide (#4940)
* Adding hardware security key guide

* Update security.md

Finish sentence...

* Update security.md

Fixed Slack channel names

* Update README.md

Added section to README

* Update security.md

Edited 2FA table + removed info about Titan key since we've picked our model

* Update security.md

All edits are recorded by line:

272 replaced “,” with “.”; deleted “or” before “ask”; added “If you do not have a company card” before “ask”
273 deleted “you” after “get”; deleted “ if you do not have a company card” after “one”
317 added “.” to the end
322 added space before “You”
324 added “.” to the end
336 deleted “,” after “key”
344 added “,” after “sites”; replaced “much” with “many”; replaced “, “ with “ (“
345 added “)” after “keys”
352 replaced “When doing this, you” with “You”
353 replaced “itself” with “when doing this”
354 replaced “the” with “The”
355 deleted “using” after “than”
360 replaced “that being said,” with “Stay mindful that”
365 replaced “IF” with “If”
368 added “,” after “keys”
370 replaced “are” with “find yourself”
371 replaced “You” with “Fleet”; deleted “be” after “will”; replaced “provided” with “provide”; deleted “,” after “key”
378 replaced “does support” with “supports”
379 replaced “to” with “that”
526 added “.” after “YubiKeys”
545 replaced “Privileged” with “Fleet configures privileged”; deleted “ are configured” before “with” 
546 replaced “,” with “.”; replaced “which” with “This”; replaced “prevent” with “prevents”
547 replaced “setting” with “set”
548 deleted “, as well as the model we use and why”

* Update security.md

Fixed as per @zwass comments!

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-06 10:09:52 -06:00
Reed Haynes
2662a02115
Add external link design convention (#4916)
Fixed small spelling and copy issues.
2022-04-06 10:49:28 -05:00
Mike McNeil
f984d5b434
Handbook: Modifying an event organized by someone else (#4959) 2022-04-06 10:12:14 -05:00
Tomas Touceda
f2aba83a73
Extend vulnerability age to 30 (#4901) 2022-04-06 11:42:02 -03:00
RachelElysia
5642981086
Homepage & Manage Host Page: Improved empty software messages (#4953) 2022-04-06 10:08:11 -04:00
Martin Angers
193843a97d
Make a test request to Jira when saving AppConfig with an enabled jira integration (#4954) 2022-04-06 07:55:25 -04:00
Mike McNeil
81b8bbe2df
Handbook: Remove links to dept boilerplate + add company-wide channels (#4963)
* Handbook: Remove links to dept boilerplate

* Handbook: Add slack channels
2022-04-05 21:07:10 -05:00
Tony Gauda
20040834fe
Update people.md (#4909)
* Update people.md

Updating DRI for documentation quality

* Update people.md

updated!

* Update people.md

Fixed first name
2022-04-06 10:56:44 +09:00
Mike McNeil
75ae7c2ada
Handbook: Rearrange top-level page links to emphasize pages most relevant to the general public (#4961) 2022-04-05 20:24:44 -05:00
Zach Wasserman
025d6c7b96
Run CodeQL on all pushes (#4960)
Even when Go and JS files aren't changed, just to keep the security scanners happy.
2022-04-05 18:10:12 -07:00
Eric
6570ae8177
marked 0.3.5 -> 0.4.0 (#4958) 2022-04-05 18:10:02 -05:00
gillespi314
727ba8b0db
Fix bug sort availableTeams context (#4948) 2022-04-05 17:44:05 -05:00
gillespi314
d6e900db4b
Add macOS version information to UI dashboard (#4719) 2022-04-05 15:04:00 -05:00
Zach Wasserman
bc2137e132
Add optimization to Windows software query (#4952)
This optimizes the query in particular for Domain Controllers, where
there are a number of users with no local accounts and don't need to be
searched for software.

See #4261
2022-04-05 10:56:47 -07:00
Martin Angers
d890970844
Implement the Jira API call (#4938) 2022-04-05 12:58:34 -04:00
Martin Angers
f28dc10a51
Merge jira-integration branch to main (#4949) 2022-04-05 12:56:15 -04:00
github-actions[bot]
536e828f43
Update Orbit CA certs [automated] (#4856)
Generated automatically with curl mk-ca-bundle.pl script.

Co-authored-by: zwass <zwass@users.noreply.github.com>
2022-04-05 13:34:58 -03:00
Martin Angers
90b15071a4
Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
Lucas Manuel Rodriguez
57816592ba
Add read replica testing helpers and fix non-sso login bug (#4908)
not set on the INSERT.
- OUT: Only sets the ID on the passed session and returns it. (`CreatedAt`, `AccessedAt`, are not set.)

New version:

```go
func (ds *Datastore) NewSession(ctx context.Context, userID uint, sessionKey string) (*fleet.Session, error) {
	sqlStatement := `
		INSERT INTO sessions (
			user_id,
			` + "`key`" + `
		)
		VALUES(?,?)
	`
	result, err := ds.writer.ExecContext(ctx, sqlStatement, userID, sessionKey)
	if err != nil {
		return nil, ctxerr.Wrap(ctx, err, "inserting session")
	}

	id, _ := result.LastInsertId() // cannot fail with the mysql driver
	return ds.sessionByID(ctx, ds.writer, uint(id))
}
```

- IN: Define arguments that are truly used when creating a session.
- OUT: Load and return the fleet.Session struct with all values set (using the `ds.writer` to support read replicas correctly).

PS: The new `NewSession` version mimics what we already do with other entities, like policies (`Datastore.NewGlobalPolicy`).
2022-04-04 16:52:05 -07:00
Charlie Chance
d7505b4665
Ritual Heading with OKR planning subheading (#4861)
* Ritual Heading with OKR planning subheading

Proposing to add the ritual heading to handbook/people in line with [https://github.com/fleetdm/confidential/issues/1013] and [https://github.com/fleetdm/fleet/issues/4671].

cc: @hollidayn

* Ritual update

Added OKR planning context and ritual steps to "Ritual" section of handbook.

* Move ritual section above Slack channels

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-04-04 17:19:54 -06:00
Tharun Rajendran
4ff9f6702d
chore(test): rewritten select target menu test using rtl (#4937) 2022-04-04 16:34:24 -05:00
Tharun Rajendran
e7a372f9e0
chore(test): rewritten login form test using rtl (#4933) 2022-04-04 16:33:49 -05:00
Mike Thomas
50de021636
Handbook - email blast instructions (#4922)
Updated email blast instructions in handbook.
2022-04-04 16:12:12 -05:00
Michal Nicpon
74555e4bf4
fix lint workflow (#4935)
* use go version 1.17 in golanci-lint workflow
2022-04-04 14:14:05 -06:00
Tharun Rajendran
6fe78fe302
chore(test): rewritten breadcrumbs test using rtl (#4921) 2022-04-04 14:15:28 -05:00
Zach Wasserman
7d68f69ab4
Update CodeQL action version and exclude paths (#4930) 2022-04-04 12:14:21 -07:00
Tharun Rajendran
6b68f61b22
chore(test): rewritten login page test using rtl (#4920) 2022-04-04 14:13:25 -05:00
Tharun Rajendran
90e044821f
chore(test): rewritten registration page test using rtl (#4919) 2022-04-04 14:12:29 -05:00
dependabot[bot]
d24ec5fbba
Bump minimist from 1.2.5 to 1.2.6 (#4783)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:58:50 -07:00
RachelElysia
53ca15e93b
Manage Host Page: Export hosts as CSV (#4917) 2022-04-04 14:53:14 -04:00
dependabot[bot]
0bca26be03
Bump ansi-regex from 5.0.0 to 5.0.1 in /ee/tools/license (#4839)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 11:48:31 -07:00
RachelElysia
5cce257e1e
Host Details Page: Software vulnerability column (#4836) 2022-04-04 12:33:02 -04:00
RachelElysia
b834e7d2f5
Remove viewing enroll secrets on app settings page, add changelog (#4896) 2022-04-04 12:27:13 -04:00
Mike McNeil
22847b68ea
Update homepage.ejs (#4927) 2022-04-04 10:49:36 -05:00
Lucas Manuel Rodriguez
c82c580716
Orbit: Add Fleet Desktop support to Windows (#4873)
* Orbit: Add Fleet Desktop support to Windows

* Rename workflow, fix linux build

* Do not compile systray on linux

* nolint on unused

* Fix lint properly

* nolint both checkers

* Fix monitor logic in desktopRunner

* Fix interrupt and execute order
2022-04-01 17:28:51 -03:00
Nathanael Holliday
fc68e41514
Add hollidayn to list of GitHub maintainers (#4915) 2022-04-01 14:45:12 -05:00