Commit Graph
5753 Commits
Author SHA1 Message Date
Roberto Dip c0bb0cc4e7 avoid panic when storing a nil pointer in cached_mysql (#8020)
related to #7420, this improves the logic of the clone function in cached_mysql to properly handle nil and nil pointers.
2022-10-03 13:29:20 -03:00
Roberto Dip cd2ab6b17c add server side validation for emails (#8022)
related to https://github.com/fleetdm/fleet/issues/7199, this adds email validation to the `verifyCreateShared` which is used for user creation in the server.

validation messages come directly from Go's `net/mail` package.

```
~/fleet $ curl 'https://localhost:8080/api/latest/fleet/users/admin' -X POST -H 'Authorization: Bearer $TOKEN' --data-raw '{"email":"asdf","name":"asdf@asd.com","password":"as;lkdfjasdlk;fja3234@","global_role":"observer","teams":[]}'
{
  "message": "Validation Failed",
  "errors": [
    {
      "name": "email",
      "reason": "mail: missing '@' or angle-addr"
    }
  ]
}
```
2022-10-03 13:29:01 -03:00
Guillaume Ross e48fbad3ac Adding the schema path to the fleet website deployment workflow (#8063) 2022-10-03 12:20:30 -04:00
Guillaume Ross b77113b1b5 Adding a bunch of examples (#8028)
* Adding a bunch of examples

Adding a bunch of examples and fixing missing trailing `;`s in existing ones

* Delete .sailsrc

Added .sailsrc accidentally form building locally

* Replaced sailsrc with original content

* Fixed typo in table name

* Undoing .sailsrc again

Ooops!
2022-10-03 11:32:03 -04:00
Martin Angers 8eee0b35f3 Add validations for agent options' command-line flags section. (#7979) 2022-10-03 08:29:41 -04:00
Charlie Chance 658c9ca437 Handbook: added new links (#8055)
Onboarding template is complete and added to the handbook.
2022-09-30 17:08:43 -06:00
EricandMike McNeil cf7ee367d4 Remove custom heading renderer when compiling markdown tables (#8054)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-09-30 18:03:52 -05:00
Charlie Chance 69b0d39083 Handbook: Product edits (#8053)
Added some info about KPIs to the OKR section of the handbook.
2022-09-30 15:41:02 -07:00
Mike McNeil 93f0316d8c Website: Add redirect that requires less typing (#8044) 2022-09-30 17:01:49 -05:00
Charlie Chance 985701a0d7 Handbook: ceo shadow program finalization (#8052)
finalized details within the ceo shadow program
2022-09-30 15:41:40 -06:00
Luke Heath cc5783581b Change display type for label checkboxes (#8048) 2022-09-30 14:53:33 -05:00
Luke Heath 6b4d76b975 Fix device user page icon sizing (#8043) 2022-09-30 14:08:30 -05:00
Eric 742de5354d move swag CTA, update stylesheet (#8037) 2022-09-30 13:35:42 -05:00
Luke Heath ded2fb0149 Standardize back link implementation (#8039) 2022-09-30 12:50:04 -05:00
Gabriel Hernandez 64fa2bafe4 fix sso input values with leading or trailing spaces by adding trimming (#8000)
* add trimming to sso form data values

* add sso login failure error message on login form
2022-09-30 14:59:43 +01:00
RachelElysia c9527a51f3 Fleet UI: Packs chevron (#8034) 2022-09-30 09:58:57 -04:00
EricandMike McNeil 963297aab8 Website: Update meta titles and Twitter previews (#7772)
* update meta titles on pages built from markdown

* switch to summary_large_image for twitter previews

* Revert "update meta titles on pages built from markdown"

This reverts commit 8ac41e48a88b7f0a95819045b801ab00346acc76.

* Fleet device managment » Fleet for osquery

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-09-29 16:41:00 -05:00
EricandMike McNeil ddb074996c Website: Move schema table merging into helper, update build script (#7980)
* move table schema merging into helper

* update helper name, add evented value to table configuration

* update indentation

* update error messages for readability

* typo

* update helper name, exits and description

* Add missing columns to osquery_tables.json

* add merge schema script

* rename script to `generate-merged-schema`

* Update generate-merged-schema.js

* Add error messages

* update error messages

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-09-29 16:38:10 -05:00
Charlie Chance bd5eeee7e7 Handbook: per diem change (#8029)
clarified per diem to per day allowance
2022-09-29 13:09:28 -06:00
Zachary Winnerman 5d001c90de Bump provider versions for dogfood (#8027) 2022-09-29 13:58:23 -04:00
Charlie Chance 3d9ed94ec0 Handbook: Bizops Key Review (#8026)
added information about Key reviews and where to find the document on how to create the key review
2022-09-29 11:45:15 -06:00
Zachary Winnerman 7e69a34f51 Make the github action fail if used on the main branch (#7967) 2022-09-29 17:30:47 +00:00
Zachary Winnerman 75e49e9740 Remove lifecycle part for rds, terraform doesn't support it (#8025) 2022-09-29 13:28:13 -04:00
Zachary Winnerman 891bdc0e24 Some quick fixes that I noticed deploying sandbox dev (#7948) 2022-09-29 11:15:33 -04:00
gillespi314 2a6895b015 Log user email upon successful SSO login (#8012) 2022-09-29 09:25:45 -05:00
RachelElysia b4a00e1f28 Fleet UI: Fix back to packs chevron (#8019) 2022-09-29 09:13:26 -04:00
Martin Angers 8023193ea8 Fix integration logger test (#8014) 2022-09-28 16:35:54 -04:00
Martin Angers cddd5d1858 In docs, mention agent options validation and --dry-run and --force flags (#7999)
- Make changes from #5222 a bit more visible.
2022-09-28 12:08:23 -07:00
Roberto Dip b165c5217e ping the capabilities API when the loop starts (#8005) 2022-09-28 15:49:08 -03:00
RachelElysia 7cdc2e2027 Fleet UI: Helpful team agent errors (#8001) 2022-09-28 13:31:44 -04:00
Martin Angers 7356378d0f Update hashicorp/aws provider version for loadtesting and add CI validation (#7937)
* Update hashicorp/aws provider version for loadtesting and add CI validation

* Update name of the new workflow
2022-09-28 09:38:56 -05:00
Gabriel Hernandez 7147859de1 fix label filter showing under table header and adding no custom filter state (#7998) 2022-09-28 15:12:37 +01:00
Zach Wasserman a106e1af83 Update Fleet Desktop version (#7961) 2022-09-27 19:22:40 -07:00
Zach Wasserman e5920d2e72 Update engineering oncall documentation (#7996) 2022-09-27 19:17:20 -07:00
RachelElysia b9046da481 Fleet UI: Print mode fixed (#7982) 2022-09-27 21:05:12 -04:00
RachelElysia 0291a709e2 Fleet UI Bug Fix: Error adding integration doesn't clear fields (#7988) 2022-09-27 21:04:19 -04:00
Alex Mitchell c1a87bfdf2 Update README.md (#7994)
Added language from CISO and other posts about outbounding and interacting properly.
2022-09-27 19:27:49 -05:00
Sharvil ShahandMartin Angers b13683952d add index to orbit_node_key (#7990)
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2022-09-28 02:25:07 +05:30
Eric 91ed35b043 Handbook: customer response templates (#7900)
* Handbook: create customer response template section

* Update README.md
2022-09-27 15:44:11 -05:00
Eric 82e7671f96 add Schema tables to documentation nav item (#7978) 2022-09-27 15:40:59 -05:00
Sharvil Shah cfb3c7ae9f switch orbit enroll logic to use osquery_host_id (#7984) 2022-09-28 01:29:25 +05:30
Eric 2eb24b974a Website: Osquery schema tables updates (#7964)
* update syntax highlighting, fix scrollbars on safari and firefox, expand mobile nav when searching

* use purpose="" instead of css class

* Update osquery-table-details.ejs

* make type column uppercase
2022-09-27 14:34:37 -05:00
gillespi314 749ff9ec2b Add logging to capture user email upon successful login (#7927)
* Log user email upon successful login

* Add user email to logger context

* Use logging.With Extras for login email
2022-09-27 16:32:46 -03:00
Roberto Dip 474fd8fab8 fix flag formatting in Orbit (#7981) 2022-09-27 19:31:23 +00:00
Eric a79a249d81 Website: Hide vue templates on osquery table pages (#7977)
* update layout to hide vue templates

* Update osquery-table-details.ejs
2022-09-27 13:47:19 -05:00
Charlie Chance 86058b91cb Handbook: new equipment requests (#7976) 2022-09-27 11:15:54 -06:00
Zach Wasserman f7b341cb6e Use dark theme icon in Fleet Desktop by default (#7973)
This seems to be a better fit as a default due to what renders best in Ubuntu.

Keeps themes the same as prior Desktop releases.
2022-09-27 08:56:16 -07:00
Noah Talerman 818d603274 Edit 4.18.0 blogpost (#7944)
- Remove "Automated testing for upgrading to a new version of Fleet" section
2022-09-27 08:41:20 -07:00
Lucas Manuel Rodriguez edb8fce195 Fix post-merge issue (#7971) 2022-09-27 12:30:00 -03:00
Zach Wasserman 855cca9368 Update notarization to use notarytool (#7962)
Updating from github.com/mitchellh/gon (old API) to the newer xcrun notarytool.

See https://github.com/fleetdm/fleet/actions/runs/3132173324/jobs/5084249006 for example run.
2022-09-27 08:25:42 -07:00