Commit Graph
3801 Commits
Author SHA1 Message Date
gillespi314 482c20a3aa Fix undefined host software error (#4495) 2022-03-07 10:25:12 -06:00
Guillaume Ross 1884726f55 Adding gosec linter (#4437)
* Adding gosec linter

Adding gosec (Static application security testing) linter.

* Testing gosec exclusion in golangci-lint

G110 is being triggered - testing if exclude works, then will revert and leave the excludes section there for future needs.

Also adding some tests to exclude rules

* Update .golangci.yml

Testing gosec allow list of rules

* Update .golangci.yml

Trying gosec deny list of rules

* Update .golangci.yml

Reconfiguring G306 alert to use 644, less stringent, and adding every file with current warnings to exclusions. Once this is all buttoned up and running on NEW files, we will go back and address all issues or put a comment stating why the file is excluded here.

* Update .golangci.yml

Removing exclusion to see if lint now fails

* Update .golangci.yml

Removing most exclusions to test

* Update .golangci.yml

Removing 100% of exclusions for more testing

* Update .golangci.yml

Re-adding exclusions slowly and testing to be sure we only exclude what is needed

* Update .golangci.yml

Adding all exclusions and comments per category pointing to github issues for investigating and cleaning up over time.
2022-03-07 09:10:35 -05:00
RachelElysia 6f109cc792 Remove unused HostsError component (#4466) 2022-03-07 08:24:02 -05:00
Mike McNeil 6a5c033316 Handbook: dedupe (#4491) 2022-03-05 12:48:45 -06:00
Andrew BakerandDesmi-Dizney 8d34ffb012 Update community.md (#4414)
* Update community.md

Added to "Posting on social media as Fleet"

* Update community.md

Recorded by line:
34 deleted "to do so"
42 added "," after "drafted"
61 moved "easily"
63 reworded
81 deleted "that is"
86 replaced "in which" with "when"
102 replaced "large" with "significant"
107 replaced "a user" with "users"; added "user interface" for clarity; replaced ", but" with ". Still"
110 removed "()" from "Screenshots can get out of date quickly as UIs change."
113 removed "and beyond"; removed "that" after "make sure"
116 replaced "url" with "URL"
124 added "is" before "written"
126 corrected spelling for "specified"
154 deleted "," after "story"
158 deleted quotes around "think"
167 deleted "," after "(within 1 business day)"
174 replaced "Issue" with "issue"
177 replaced "get" with "make"; replaced "quality" with "content"
178 added "to" after "changes"
179 added "," after "Usually"
180 added "," after "customers)"
182-183 reworded to "After reviewing a PR and addressing all necessary changes any Fleet team member may merge a" 
183  reworded to "community it."
184 corrected spelling of "judgment"
185 replaced "Folks" with "Those"
191 replaced "small" with "minor"; corrected "bug fix"; deleted "," after "acceptable"
192 added (SQL) for clarity
193 shifted "the" down; added "are" before "attributed"; corrected spelling of "judgment"
210 replaced "feel" with "Feel"

* Update community.md

Updating printful link

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-03-05 04:04:15 -06:00
Mike McNeil 86a9c65064 Handbook: deduce sentence (#4489) 2022-03-05 02:08:06 -06:00
Mike McNeil a7b0ed4fb0 Handbook: fix a few stray miscategoried bullets (#4488) 2022-03-05 01:35:27 -06:00
Mike McNeil b972b35e7d Handbook: Now up to 8 timezones (#4487) 2022-03-05 00:22:19 -06:00
Mike McNeil a87cb1cd79 Handbook: Define open core (#4486) 2022-03-05 00:19:21 -06:00
Mike McNeil 70056eb996 Handbook: incorporate feedback from team conversations in late 2021 (#4484)
* Handbook: incorporate feedback from team conversations in late 2021

* incorporate Ben/Martin/Noah/Tony feedback

* Update company.md

* reorganize some of the new ideas to be easier to read (#4485)

* more cleanup

* Update company.md

* Update company.md
2022-03-05 00:00:27 -06:00
Mike McNeil 3840052ac2 apply the OG values (#4483)
apply the OG values: https://github.com/fleetdm/fleet/blob/766ccb8d350f33a81a8bbff8bee2c8b33d46866c/handbook/company.md#values

Left some commented out for now to shoot for having fewer words
2022-03-04 20:55:06 -06:00
Mike McNeil 50e034e395 capitalization (#4482) 2022-03-04 20:22:32 -06:00
RachelElysia 082dc4d755 Fix diff overriding agent options (#4479) 2022-03-04 16:20:22 -06:00
eashaw 983fbd736d Update website slack links to point to osquery.fleetdm.com (#4478)
* Add slack redirect

* update slack invite links to use redirect
2022-03-04 15:51:11 -06:00
eashaw 643040f744 add handbook link to top nav (#4471) 2022-03-04 14:23:30 -06:00
Luke Heath 9a5929d0cb Fix host details restarted time and deb casing (#4468) 2022-03-04 13:21:45 -06:00
RachelElysia 91a6b38851 Replace github docs with fleetdm docs (#4458) 2022-03-04 14:00:27 -05:00
Luke Heath 75d12e6e95 Update broken relative url links to absolute urls (#4464) 2022-03-04 12:29:12 -06:00
Lucas Manuel Rodriguez 9edda9f3e8 Document result and status logs for Orbit (#4450) 2022-03-04 13:36:53 -03:00
RachelElysia c79c9030f1 Bug fix: Whitespace on remaining label tooltips (#4454) 2022-03-04 11:36:12 -05:00
Lucas Manuel Rodriguez aaf62a9e14 Use filepath for proper multi-platform support (#4449) 2022-03-04 13:30:20 -03:00
RachelElysia 91474d89a3 Schedule page bug: Fix missing carat/bounciness (#4442) 2022-03-03 18:21:24 -05:00
Mike McNeilandeashaw 8d6f5e4bcd fix versia's link (#4444)
* fix versia's link

* update second Versia link

Co-authored-by: eashaw <eashaw@sailsjs.com>
2022-03-03 16:57:38 -06:00
Luke Heath fbd63c6210 Fix masthead avatar so that gravatar image displays (#4443) 2022-03-03 16:05:54 -06:00
gillespi314 c2ee68cf59 Set initial platform values for template policies (#4435) 2022-03-03 14:34:14 -06:00
RachelElysia 1db1ab933d Fix so target API staletime does not apply to on mount (#4439) 2022-03-03 15:28:20 -05:00
Lucas Manuel Rodriguez 29bd76f60d Add manual dispatch to golangci-lint.yml (#4440) 2022-03-03 17:15:17 -03:00
Guillaume Ross 4f8847ddd2 Adding new policy to check for MDM enrollment (#4343) 2022-03-03 14:22:23 -05:00
RachelElysia 7d60be4c15 Remove validation for webhook and metadata urls (#4432) 2022-03-03 12:20:49 -05:00
Lucas Manuel Rodriguez 85a4b27aa4 Add dev/test docs for Kinesis (#4427) 2022-03-03 12:14:43 -03:00
RachelElysia fa3df0347b Debounce, onchange, changelog (#4413) 2022-03-03 08:26:03 -05:00
Martavis Parker 9448c922d1 fixed whitespace for settings input labels for tooltips (#4417) 2022-03-02 15:09:32 -08:00
Benjamin Edwards b053684712 append newline char to raw log bytes for nice NDJSON format (#4425)
* append newline char to raw log bytes for nice NDJSON format
* add changes file
2022-03-02 17:23:23 -05:00
Guillaume Ross 1d38172435 4392-update security best practices (#4395)
We do use SAST tools, updating documentation to reflect.
2022-03-02 12:56:25 -05:00
RachelElysia c895bbb9eb Certificate FleetCTL bug: Do not render if 500 error (#4407) 2022-03-01 17:19:45 -05:00
eashaw 140e60b5e9 update live Q&A date (#4409) 2022-03-01 15:39:49 -06:00
eashaw a0b377e544 Update fleetdm.com navigation (#4402)
* fix btn-primary styles

* add dropdown navigation and styles

* remove classes

* move modified bootstrap classes to bootstrap-overrides, add hover event to dropdown menus
2022-03-01 13:47:36 -06:00
RachelElysia 8af5fa7a5a Fix duplicate (team name, label name, user email) error handling (#4352) 2022-03-01 13:28:51 -05:00
Luke Heath df08b40eb8 Update dependencies to resolve dependabot alerts (#4396) 2022-03-01 11:02:05 -06:00
Roberto Dip 68ec3e22ce Fix UI warnings when running make generate-dev (#4373) 2022-02-28 16:15:35 -06:00
Tomas Touceda 6cffd5438f Only send test email when changing smtp values (#4394)
* Only send test email when changing smtp values

* Update comment
2022-02-28 18:28:51 -03:00
Martavis ParkerandTomas Touceda 33c5f0651c New tooltips! (#4326)
* Allow sort by more than one key

* created custom tooltip component

* remove unused code

* fixed style for more layouts

* added tooltip to query side panel

* tooltips added to setting form

* finished settings form

* added tooltip for perf impact table headers

* tooltip for pack table and user form

* tooltip on manage policies page

* tooltip for manage schedules

* tooltip for automations; spacing for form input

* tooltip for automations modal

* user form; fixed input with icon component

* more user form tooltips

* tooltip for homepage; style fixes

* replaced many more tooltips with new version

* added story for tooltip

* added position prop

* fixed tests

* re-work how we click react-select dropdowns

* forcing the update button click

* trying a blur

* fixed typo

* trying blur on another element

* temp check-in

* replaced tooltip from host details software

* more consolidation of tooltip use for software

* fixed settings flow test

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-28 13:25:06 -08:00
Mike ThomasandDesmi-Dizney 455033476f mike-t-handbook-patch (#4371)
* mike-t-handbook-patch

• Added Fleet swag process to handbook

* Update community.md

Recorded by line:
3 SUGGESTION: Was "open-core" meant to be "open-source"?
49 Reworded sentence for clarity.
51 Added quotes to "-" and "_".

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-02-28 14:52:58 -05:00
dependabot[bot] 1a110e918c Bump url-parse from 1.5.6 to 1.5.10 (#4386)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.6 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.6...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 13:34:59 -06:00
Martin Angers 4930ca2d0e Support listing software hosts count filtered by team (#4388) 2022-02-28 13:55:14 -05:00
Martavis Parker ad9fb8b36f Removed uptime from about this host (#4384)
* removed uptime from about this host

* removed updated at from about this host

* modified time display for first enrolled
2022-02-28 10:41:45 -08:00
Mike McNeil d69f50c106 Update customers.md (#4366) 2022-02-28 12:07:26 -05:00
Luke Heath 0aac17d035 Bump isomorphic-fetch and css-loader (#4302) 2022-02-28 10:32:19 -06:00
Tomas Touceda c522c2eaa2 Add missing case for email change errors (#4390)
* Add missing case for email change errors

* Update tests
2022-02-28 13:17:10 -03:00
Tomas ToucedaandMichal Nicpon 1fdcb1bfc2 Error early if email already exists (#4363)
* Error early if email already exists

* Update changes/issue-4361-mail-change-should-error

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

* Fix test

* Lint fixes

* Fix another test

* Also check for invites

* Improve error checks

* Update comment

* Update tests

* Fix test

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
2022-02-28 09:34:44 -03:00