Commit graph

4081 commits

Author SHA1 Message Date
Guillaume Ross
840646dbb9
Adding full disk access instructions (#5062)
* Adding full disk access instructions

* Update Adding-hosts.md

As per @ksatter's comments!

* Update Adding-hosts.md

Made the output a code block

* Formatting code snippets

Changed inline code to code blocks in #Grant full disk access to osquery on macOS to follow previous convention.

Co-authored-by: Katheryn Satterlee <me@ksatter.com>
2022-04-12 13:44:25 -04:00
Zachary Winnerman
2fbe53b6c9
Reorg infrastructure and add changes for frontend's loadtesting environment (#4947)
* Reorganized infrastructure, updated for frontend's loadtesting

* Add changes suggested by @chiiph

* Moved files per suggestion by Ben

* Update docs with new links

* Add config for multi account assume role
2022-04-12 12:49:00 -04:00
RachelElysia
67ca6d37dd
UI: Jira password deprecated, use Jira API token (#5067) 2022-04-12 11:33:59 -04:00
Tharun Rajendran
a9747128d0
chore(test): rewritten icon components test using rtl (#4764) 2022-04-12 10:27:12 -05:00
Martin Angers
ae85d9d069
Rename jira integration password to api_token, as that is what it is (#5068) 2022-04-12 10:56:05 -04:00
Katheryn Satterlee
1a103c52c0
Remove required password reset flag when creating new API-only user (#4666)
* Remove required password reset flag when creating new API-only user

* Add test for 'fleetctl user create' command

* Set NewUserFuncInvoked to false in between tests

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2022-04-12 10:57:57 -03:00
Guillaume Ross
710afb3382
App up to date or not installed + no unencrypted SSH keys (#4989)
* App up to date or not installed

Adding "App installed and up to date OR not present" example

* Removed empty last line

* Update standard-query-library.yml

Added right descriptions and resolution for the Docker example, and added a new query to detect unencrypted SSH keys.

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

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

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

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

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

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

* Update standard-query-library.yml

Updated as per @noahtalerman's review

* Update docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

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

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-04-12 09:23:55 -04:00
Charlie Chance
4963d08a24
Sightseeing Tour Update people.md (#5059)
* Update people.md

Added Sightseeing tour from https://github.com/fleetdm/fleet/issues/4372
Calendly link in progress.

* Update people.md

All edits are recorded by line:

266 added “, after “call”; replaced “which” with “that”
268 replaced “Github” with “GitHub”

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-11 17:57:58 -05:00
Charlie Chance
8db219db9b
Handbook Ritual Workiversaries (#4978)
* Handbook Ritual Workversaries 

Moved Slack channels heading down and added a ritual heading for "Workversaries."
Added a description line. 
Added two lines summarizing the ritual.

* Update people.md

* Revised edits

Line 270 Changed Workversaries to Workiversaries
Line 274 traded out the list for a sentence summary of the Ritual. 

Should reference to Mike be they/them or he/him in this context?

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-04-11 17:24:01 -05:00
Martavis Parker
3a326cd0ac
Team policy automation (#5004)
* added teams webhook calls

* split global admin and team admin tests; added policy automation

* changes file

* fixed type errors

* fixed e2e test

* fixed typo

* fixed admin test syntax

* fixed test logic for team maintainer

* lint fixes

* more admin e2e test fixes

* fixed team policy test

* removed duplicate test
2022-04-11 14:46:35 -07:00
RachelElysia
2eeb9142b3
UI: Sort live queries/policies (#5060) 2022-04-11 17:17:24 -04:00
Zach Wasserman
d15957b431
Make Orbit update interval configurable (#5032)
* Make Orbit update interval configurable

- Also increase default interval from 10s to 15m

* Add update-interval configuration to fleetctl package (#5050)

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
2022-04-11 17:42:36 -03:00
Martin Angers
7187f1adac
Queue jobs for Jira integration when enabled and new vulnerabilities are found. (#4975) 2022-04-11 16:42:16 -04:00
Luke Heath
d75cf11cec
Indicate that a policy's data is not yet accurate (#5031) 2022-04-11 15:21:34 -05:00
gillespi314
ab85963cbd
Handle UI error parsing invalid sql (#5016) 2022-04-11 15:18:31 -05:00
Martin Angers
5483adc26b
Detect the NOPERM error to mean redis cluster is disabled (#5058) 2022-04-11 16:17:30 -04:00
Martavis Parker
a8d7b5478b
Updated API routes to use current format for frontend use (#5018)
* removed global api routes; using 'latest' instead of v1 for api routes

* lint fixes

* updated docs and tests

* lint fixes

* route fix

* fixed routes breaking packs queries

* revert test change
2022-04-11 13:04:38 -07:00
RachelElysia
d885758a6a
UI: Settings > Integrations tab, Software Vulnerabilities Webhook v. Integration (#4874) 2022-04-11 15:04:41 -04:00
Zach Wasserman
7cb71bc5a8
Run CodeQL on every commit to main (#4794)
Practically, we were scanning enough previously (at least once a day, plus any commit that changed source files), but this will help check the box in CII Best Practices.
2022-04-11 11:53:08 -07:00
Ricky Grassmuck
eddc2e2bda
Replace uses of ansi quotes (") in SQL statements (#4726)
To ensure the product works properly when using MySQL with `ANSI_QUOTES` mode enabled,
replace all uses of `""` for values inside SQL statements with `''`

Co-authored-by: Ricky Grassmuck <r.grassmuck@cpanel.net>
2022-04-11 11:47:50 -07:00
Eric
71edc210b2
Website: Add blockquote styles to Handbook and Docs pages (#5009)
* add custom blockquote render and styles

* Update to-html.js

* adjust margin, replace icon

* increase margin on image

* Style updates

After seeing it in action, I noticed some improvements. I also updated Figma to reflect.

• Changed colors and icon alignment
• Adjusted top/bottom margins
• Adjusted corner radius
• Added new color variable (existing in Figma) to colors.less

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-04-08 20:36:55 -05:00
Mike McNeil
0482d1da62
Github bot: Temporarily disable label change notifications (#5001)
* Github bot: Temporarily disable label change notifications


Michael Thomas🕐 Today at 01:36
Are these alerts necessary in #g-digital-experience, and if not, how do we turn them off? They're creating a lot of noise in the channel 😵

1 reply

mikermcneil  3 minutes ago
I'm envisioning Digital Experience is responsible for keeping github labels tidy, so having visibility into changes would be useful.  If you currently don't have bandwidth to do it, this is an easy thing to let slip, since it isn't the highest priority.  (Labels have already gotten a bit messy- to the point I don't use them at all anymore, for example.  I don't think they're actually necessary anymore, other than for doing estimations)
I'll PR a change that disables it for now.

* fix extra ampersand
2022-04-08 17:10:38 -05:00
Eric
3156725020
Handbook: update onboarding process (#4979)
* update onboarding section

* Update people.md

* Update people.md

* Update people.md

All edits are recorded by line:

187 added “a” before “copy”; deleted “,” after “scenarios”
213 replaced “into” with “to”
215 replaced “for” with “For”; replaced “members” with “member’s”
216 replaced “an agreement is signed and stored” with “signing and storing an”; replaced “If” with “Eric will reach out to them if”; deleted “, Eric will reach out to them” after “employee”
218 added “usually” after “can”; deleted “Usually.” after “gusto”
220 replaced “the information about the new hire is confirmed by Eric,” with “Eric confirms the information about the new hire”; deleted “,” after “information”
223 added “to” after “out”; replace “prefered” with “preferred”; deleted “,” after “card”
225 replaced “purcahsed” with “purchased’
229 replaced “members” with “member’s”; deleted “,” after “Slack”; added “,” after “member”
231 replaced “Github” with “GitHub”; replaced “out” with “on”

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-08 12:30:36 -05:00
Tharun Rajendran
12b441a5dd
chore(test): rewritten registration form page's test using rtl (#5013) 2022-04-08 09:35:57 -05:00
Mike Thomas
5611cce6f0
Prepared Brand page for new blockquotes (#5012)
Updated existing use of blockquotes in preparation for the new styling. See https://github.com/fleetdm/fleet/pull/5009
2022-04-08 17:08:36 +09:00
RachelElysia
d1860ad86d
UI: Enter button presses action button for forms/modals (#4939) 2022-04-07 20:07:38 -05:00
Charlie Chance
e675afc6cb
Equity verbage (#5010)
Changed "percentage of equity" to "number of shares".
2022-04-07 18:30:10 -06:00
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