Commit Graph
4044 Commits
Author SHA1 Message Date
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 RossandDesmi-Dizney 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]andzwass 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 ChanceandEric 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
Tony Gauda 5163c40466 Update customers.md (#4910)
Added documentation update process
2022-04-01 15:12:36 -04:00
Tim KernandDesmi-Dizney c9194eeac3 Simplified community contributions section (#4844)
* Simplified community contributions section

Simplified to 8th grade reading level from 10th+ and to 314 words from 349 words

* Update community.md

All edits are recorded by line:
197 added “,” after “change”
198 added “,” after “Also’; added “,” after “Usually”
199 added “,” after “needs”; added “a” before “changes”
200 added “,” after “Next”
206 replaced “Merges for minor documentation updates or bug fixes are usually done by the Fleet team.” with “The Fleet team usually does Merges for minor documentation updates or bug fixes”

* Revised simplified community contributions section

Added Mike and Desmi's changes

* Update community.md

All edits are recorded by line:
206 replaced “The Fleet team usually does Merges for minor documentation updates or bug fixes “ with Everyone can contribute bug fixes and improvements to the documentation, whether or not they work for Fleet.

Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
2022-04-01 14:03:49 -05:00
Noah Talerman 00479974c9 Product handbook: Add link to Q2 OKRs and update Q1 objectives (#4897)
- Add link to Q2 OKRs
- Update Q1 objectives with "hit/miss"
2022-04-01 12:02:17 -04:00
Michal Nicpon d8d582760d fix rename tmp file (#4862)
Renaming a temporary file to the final destination does not always work.
Specifically, if the source and destination paths are on different file
systems, you will get the following error

 invalid cross-device link

Instead, create temporary file in the destination directory.
2022-04-01 09:03:11 -06:00
Martavis Parker 3575d34507 Refactor Redux-triggered flash message component (#4795)
* base logic to handle rendering a notification without redux

* removed dispatches for new flash mesage triggers

* query page wrapper is no longer needed

* refactored confirm invite page to remove redux

* refactored email token redirect to functional and typescript

* refactored pack composer page to functional and typescript

* clean up

* lint fixes

* tests no longer needed

* fixed confirm sso invite test

* test fix

* fixed test

* fixed tests

* removed redux from flash on rebased pages
2022-03-31 23:42:26 -07:00
Luke Heath dbaef5a37b Fix table headers showing or misaligned when selection is active (#4892) 2022-03-31 16:10:11 -05:00
Guillaume Ross f87fcb544a Update generate-desktop-app-tar-gz.yml (#4893)
Removing PR from this action as it contains secrets.
2022-03-31 16:38:44 -04:00
Lucas Manuel Rodriguez 72629635a5 Update Orbit changelog for 0.0.8 (#4810) 2022-03-31 16:43:37 -03:00
Tharun Rajendran 661f48419f chore(test): rewritten forgot password page test using rtl (#4888) 2022-03-31 11:50:30 -05:00
Tharun Rajendran 4fdb9687ef chore(test): rewritten pack composer page test using rtl (#4886) 2022-03-31 11:50:07 -05:00