Commit Graph

178 Commits

Author SHA1 Message Date
Mike McNeil
09d9a7ce1d
use latest labeling conventions in issue templates (#904)
* Update feature-request.md

* Update feature-request.md

* Update feature-request.md

* Update config.yml
2021-05-29 21:31:47 -05:00
noahtalerman
4cca4e7e7f
Remove @fleetdm.com emails from fleetdm/fleet repo (#882)
- In tests and documentation, replace `@fleetdm.com` with `@example.com`
- In documentation, replace `hello@fleetdm.com` with `fleetdm.com/contact`
- In documentation, replace `security@fleetdm.com` with `fleetdm.com/contact`
- In Dockerfiles, replace `engineering@fleetdm.com` with `hello@fleetdm.com`. These two files are the only remaining files with a `@fleetdm.com` email.
2021-05-27 17:19:14 -04:00
noahtalerman
f725a4e7f5
Add check-modified-files-only (#871)
- Set `check-modified-files-only` to `'yes'`
  - This is so we only check modified markdown files instead of checking all markdown files.
2021-05-26 11:07:29 -04:00
Mike McNeil
5e991899b6
Update deploy-fleet-website.yml (#867) 2021-05-26 03:46:21 -05:00
Mike McNeil
d50b48e7c2
Absorb yaml queries into website, + stub /queries + /documentation (#812)
* Upgrade to get rid of REPL schmutz

* rename workflow to lessen ambiguity vs. markdown compilation of docs

* ensure lockfile makes it to fleetdm.com prod

* skip force git add of package-lock to avoid confusion for now. (reverts 4e7e23990c472e84f3f24391ef360a175f725609)

* rename build script (because now it won't always be markdown source files)

* update metadata to match prev commit

* change key name in generated sailsrc for consistency

* stub query library page

* used named params so others can tell what's up with the forcing

* expand comments

* expand comments

* intermediate commit- playing with inlining the guts from doctemplater

* stub basic docpage shell and a little page to preview that on

* Compile YAML and set up query library page

* clean sailsrc

* optimize build by running everything in parallel

* Add note about the fact that we don't even need to clone anything since we've consolidated it all into one repo now.  facepalm

* un-parallelize one bit that fails in CI if it's parallelized (it'll go away soon anyway)
2021-05-20 03:22:42 -05:00
noahtalerman
7d9ca2cee7
Convert standard query library to YAML format (#749)
- Create `/configuration-files/` directory inside of `/1-Using-Fleet` directory. This directory contains example Fleet configuration files in yaml format. Replaces the `/examples` directory.
- Create `/standard-query-library/` directory inside of `/1-Using-Fleet` directory. This directory contains the new `standard-query-library.yml`. This file will act as the source of community contributions to the standard query library.
- Edit references to `/examples` directory
2021-05-14 13:38:33 -04:00
Mike McNeil
56e143a14f
Compile markdown docs (#714)
* Brought in the mostly-unchanged stuff from Sails website- changed just enough to get it working

* inline beforeConvert and afterConvert, for readability

because it's better when you tell a story with the parts of the story in order

* trivial (change arg name for clarity)

* trivial (apply more up-to-date err callback convention)

* modernize some of the bits relying on reassigning arguments

* convert the rest of the way to async/await

* trivial

* just aesthetics

* remove reliance on app-level config

* mostly i'm doing this to remember how it works

* normalize better so this can be more flexible

* this makes it work (albeit needs a bit more fluffing)

* strip out more sails-specific stuff

* clean up menu files between runs, scrape off a bit more technical debt

* scrape out some more dead code

* use devDependencies for markdown compilation stuff since it won't be compiling at runtime

* stub script for compiling markdown content

* Fill in implementation of script, rename helper.

* add note about the non-markdown file problem

* tweak output paths for clarity

* Improve generated menu content and set up groundwork for being able to easily access it via config

* Use .sailsrc to hold onto menu content, so it's injected into config for easier access (rather than reading JSON files whenever needed)

* more explicit tmp filename, in case we forget how this works later

* fix typo in build script (missing .js extension)

* Stub query detail page and a dev route for developing it

http://localhost:2024/sandbox/example-query

* fix helper friendlyName

* Run compilation in series to avoid race condition in doc-templater when cloning from the same repo.  Add todos about sitemap and further menu data cleanup.

* make sandbox actually useful

* Help prevent accidental checking in of compiled HTML files.

* rename script and generated folder in partials/

* fix/expand script metadata
2021-05-09 23:48:59 -05:00
Zach Wasserman
efb1c3940a
Test E2E CI (#662)
Due to Go build caching in #687, the dependencies were sometimes not started before the E2E test. This PR reorders startup of the dependencies so that they should almost always have time to finish startup.
2021-04-19 18:19:29 -07:00
Zach Wasserman
1e78c0ffe2
Speed up CI build/test (#657)
- Use NODE_ENV=development for Webpack in CI.
- Add caching for Webpack modules in development.
- Remove time of day from dates in version string (helps with build caching).
- Use Go cache in CI.

This makes about a 20% savings on the total time for the CI run.
2021-04-16 16:14:56 -07:00
Gabe Hernandez
efb35b537a
add prettier and have it format all fleet application code (#625)
* add prettier and have it format all js code except website:
:

* trying running prettier check in CI

* fix runs on in CI

* change CI job name

* fix prettier erros and fix CI
2021-04-12 14:32:25 +01:00
noahtalerman
9ec90bfe6e
Provide documentation for reporting issues with the Fleet UI (#613)
- Add 2 sections in `CONTRIBUTING.md` these 2 sections correspond to the "Bug report" and "Report a security vulnerability" issue templates
- Add "Is this an issue with the Fleet UI" to "Bug report" section in `CONTRIBUTING.md`. This includes a walkthrough for opening the browser's JS console and network requests
- Fix misspelled file name
2021-04-07 16:30:32 -07:00
Zach Wasserman
22f0608c1e
Fix path for website test (#581) 2021-04-02 14:41:27 -07:00
Zach Wasserman
7aedb92b70
Add GitHub Action to test website on PR (#579) 2021-04-02 13:33:36 -07:00
Zach Wasserman
2203bd81a2
Add support for IdP-initiated SSO login (#556)
This feature is off by default due to minor potential security concerns
with IdP-initiated SSO (see
https://auth0.com/docs/protocols/saml-protocol/saml-configuration-options/identity-provider-initiated-single-sign-on#risks-of-using-an-identity-provider-initiated-sso-flow).

Closes #478
2021-03-30 12:56:20 -07:00
Mike McNeil
7198b691bb
Delete z-new-teammate-onboarding.md 2021-03-23 08:11:42 -05:00
Mike McNeil
f1c6658c2e
Update z-new-teammate-onboarding.md 2021-03-23 07:46:45 -05:00
Mike McNeil
7a4e83337b
Update feature-request.md 2021-03-23 07:44:55 -05:00
Mike McNeil
bd61180b60
Update bug-report.md 2021-03-23 07:44:12 -05:00
Mike McNeil
5329894179
Update config.yml 2021-03-23 07:43:11 -05:00
Mike McNeil
a6350efcb9
Update config.yml 2021-03-23 07:42:06 -05:00
Mike McNeil
39c21edfdc
Update feature-request.md 2021-03-23 07:36:02 -05:00
Mike McNeil
3e1f4fe44f
Update config.yml 2021-03-23 07:35:41 -05:00
Mike McNeil
1835ee0284
Update feature-request.md 2021-03-23 07:24:17 -05:00
Mike McNeil
6b867c13f0
Delete z-new-project.md 2021-03-23 07:19:34 -05:00
Mike McNeil
44d7894226
Delete question.md 2021-03-23 07:18:10 -05:00
Mike McNeil
532f5a6c50
Delete z-new-task.md 2021-03-23 07:15:38 -05:00
Mike McNeil
eee2b98d88
Update bug-report.md 2021-03-23 07:15:28 -05:00
Mike McNeil
b187c823ce
Update bug-report.md 2021-03-23 06:56:57 -05:00
Mike McNeil
e88e2c8957
Update bug-report.md 2021-03-23 06:52:21 -05:00
Mike McNeil
7e8dbab235
merge templates 2021-03-23 06:37:45 -05:00
Mike McNeil
dbb4709cf5
Add prompt to join Slack since it'll tend to get questions answered more quickly 2021-03-23 04:55:03 -05:00
Mike McNeil
b4eaec2093
Default to transparency re: identities of fleetdm team members 2021-03-19 18:56:03 -05:00
James Alseth
1da89ea987
Publish Helm chart (#475)
This adds a GH Action to publish the updated Helm chart with each new release. It can also be triggered manually if needed.

Fixes #345
2021-03-17 11:09:01 -07:00
Zach Wasserman
fbc1636994
Improve E2E testing and test documentation (#448)
- Add Makefile commands for E2E testing.
- Document E2E testing.
- Cleanup other test documentation.
2021-03-11 15:55:58 -08:00
noahtalerman
1a5d1e80e0
Project issue template v2 (#442)
This PR includes changes to the internal project issue template.
- The template now requests more when describing the problem the project is trying to solve and why the stated problem is important.
- More flexibility for how the project's solution is described and how the solution's implementation is planned.
2021-03-10 16:39:53 -08:00
Zach Wasserman
df0e3675be
Remove second call to docker-compose in CI tests (#389)
This caused errors from Docker thinking we were trying to start
duplicate containers. The benefit was minimal.
2021-03-04 18:34:33 -08:00
Zach Wasserman
20f21fafe4
Migrate tests to GitHub Actions and add E2E testing (#381)
- Migrate unit tests and linting from CircleCI to GitHub Actions
- Add E2E test in CI run
2021-03-04 17:13:28 -08:00
Zach Wasserman
de0b3324b1
Add AWS Lambda as logging plugin (#347)
This plugin invokes the provided function with each log line as the
payload.

Closes #342
2021-02-24 10:02:26 -08:00
Mike McNeil
13a91f2227 Clean out issue template
See previous commit (I just forgot to empty out the issue.)

This will make it easier for us to do more work in the open.
2021-02-22 15:30:16 -06:00
Mike McNeil
7438085248 Add issue template
This will make it easier for us to do more work in the open.
2021-02-22 15:29:02 -06:00
Mike Thomas
1c71d397a4
Update z-new-teammate-onboarding.md (#312)
Added Github links for public and confidential issues to the onboarding process doc.
2021-02-16 17:32:51 -08:00
Mike McNeil
ea2454a0d9
Update onboarding process to reflect Reclaim.ai status sync 2021-02-12 01:50:33 -06:00
Mike McNeil
f6391f97b0
Update z-new-project.md 2021-02-12 00:15:31 -06:00
Zach Wasserman
d624e099fb
Deprecate environment variable prefix (#301)
- Support both `FLEET_` and `KOLIDE_` prefixes.
- Add logging about deprecated `KOLIDE_` prefix.
- Update documentation and sample configs.
2021-02-11 15:36:58 -08:00
Mike Thomas
2c28fa6d42
Added bullets to onboarding issues. (#274) 2021-02-08 19:16:38 -06:00
Zach Wasserman
7822003b64
Fix Helm CI workflow (#258)
- Add version for kubeval-action
- Comment out pathType due to lack of support in older k8s versions
2021-02-01 17:42:44 -08:00
James Alseth
3d328db000
Add Helm chart (#250)
Providing a Helm chart makes it easier for users to deploy to Kubernetes.

I think this is good to go, and I've tested deploying to Kind and GKE using the GKE ingress, sql proxy, and managed certificate, but I haven't tested anything AWS related.
2021-02-01 15:46:01 -08:00
Mike McNeil
8d73e58847
add direct links + missing steps to onboarding 2021-02-01 14:18:32 -06:00
Mike McNeil
ce558ceba0
Update z-new-teammate-onboarding.md 2021-02-01 13:22:35 -06:00
Mike McNeil
48633778c0
additional setup for new engineers 2021-01-31 23:34:11 -06:00
Mike McNeil
8f9297946e
Update z-new-project.md 2021-01-31 23:29:46 -06:00
Mike McNeil
5d5ca474e8
update onboarding template 2021-01-27 23:18:02 -06:00
Mike McNeil
129a349f22
epics === projects for our purposes 2021-01-27 15:24:02 -06:00
Mike McNeil
3a1305ffa9
add fixed asset tracking step (#235) 2021-01-27 12:04:07 -06:00
Mike McNeil
ad2e548a7d
Update project issue template (#232)
* Removed slack channel stuff (it's too much process to be worth it, for now)

* Remove steps

* publicize estimated release dates
2021-01-26 22:29:36 -06:00
Mike McNeil
06b4bb0c69
fix project issue template (#228) 2021-01-25 21:00:41 -06:00
Mike McNeil
4cb0d8795a
onboarding: setting up a phone # (#208) 2021-01-19 18:00:28 -06:00
noahtalerman
c948bd1dc5
Add Fleet configuration endpoint documentation to REST API docs. (#199)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoints included in these changes:
- /api/v1/kolide/config/certificate GET
- /api/v1/kolide/config GET
- /api/v1/kolide/config PATCH
- /api/v1/kolide/spec/enroll_secret POST
- /api/v1/kolide/spec/enroll_secret GET
- /api/v1/kolide/invites POST
- /api/v1/kolide/invites GET
- /api/v1/kolide/invites/{id} DELETE
- /api/v1/kolide/invites/{token} GET
2021-01-15 10:53:34 -08:00
Mike McNeil
ca63c060e9
Update new teammate onboarding template (#185) 2021-01-11 18:20:31 -06:00
noahtalerman
715d7b44e2
Fix markdown link check CI action. (#169)
- Split the array of objects to separate objects for each pattern in ignorePatterns. Rename the key in each object to "pattern." The documentation for the example config file is poor.
- Add hello@fleetdm.com and /server/datastore/mysql/migrations/ to ignorePatterns
- Add 999 to aliveStatucCodes (Seems to be a LinkedIn edge case)
- Fix all broken markdown links
2021-01-04 13:55:05 -08:00
noahtalerman
72637d649b
Update links to new documentation locations. (#164)
- Add correct links to the new docs locations for links within the Fleet UI and Fleet documentation.
Fixes #157.
2021-01-04 08:53:23 -08:00
Mike McNeil
1e0186b820
Add template for roadmap projects / working groups (#161)
* add template for projects / working groups

* Update z-new-project

* Update z-new-project
2020-12-31 01:10:20 -06:00
Mike McNeil
3d27cb0899
Update deploy-fleet-website.yml (#100)
* Update deploy-fleet-website.yml

w/ @noahtalerman

* Update deploy-fleet-website.yml
2020-12-04 15:49:22 -06:00
noahtalerman
71dfa18727
Fix for deploy-fleet-website GitHub action. (#99)
Fourth attempt to limit the "Deploy Fleet Website" workflow to only the fleetdm/fleet repository.
Add the $ character to the $GITHUB_REPOSITORY env variable.
2020-12-04 16:19:04 -05:00
noahtalerman
0d9cab345b
Llimit the "Deploy Fleet Website" workflow to only the fleetdm/fleet repo. (#98)
This is my third attempt. The second didn't work because I incorrectly formatted the workflow file.
2020-12-04 15:20:57 -05:00
noahtalerman
03c64da3a6
Add if condition to website deploy workflow and remove indent of subsequent lines. (#97)
Second attempt to limit the "Deploy Fleet Website" workflow to only the fleetdm/fleet repo.
2020-12-04 12:52:47 -05:00
noahtalerman
149b4eda42
Add if statement to website build workflow. (#95)
Should skip over website build workflow if the changes being pushed aren't to the master branch in the fleetdm/fleet repo.
2020-12-03 17:20:23 -05:00
Mike McNeil
27eae209fd
Move fleetdm.com into main Fleet repo (#83)
* rename dir

* no need to install website or docs from npm

At some point, would also be nice to be able to exclude assets/ as well, and to only install a pre-built version of Fleet's frontend code

* Bring in fleetdm.com website

From https://github.com/fleetdm/fleetdm.com as of https://github.com/fleetdm/fleetdm.com/releases/tag/v0.0.21

* add procfile for heroku

Using https://github.com/timanovsky/subdir-heroku-buildpack

* avoid getting anybody's hopes up

* Create deploy-fleet-website.yml (#82)

* Create deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* update pjs with SPDX-like license expressions.  also fix repo URL

and remove package lock

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* remove dummy uri

* Dissect deploy script

* Update deploy-fleet-website.yml

* workaround for eslintrc nesting issue

* lint fixes

* forgot the .js

* add per-commit git config

* Update deploy-fleet-website.yml

* might as well remove that

* cleanup

* connect w/ heroku app and have it actually push

* fix bug I introduced in 578a1a01ffb8404aae869e05005e30a6ba2b2a95

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* the beauty, the glory, of javascript

* GH actions don't like "\n"

* Update deploy-fleet-website.yml

* restore \n chars from 0d45e568f693efba7d7072085bc98d72a482d9ae

hoping I was wrong in 0d45e568f693efba7d7072085bc98d72a482d9ae but see also https://github.community/t/what-is-the-correct-character-escaping-for-workflow-command-values-e-g-echo-xxxx/118465/5

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* Update deploy-fleet-website.yml

* rename script to prevent duplicate building

* Configure the real website

* clean up

* a test of the deploy workflow

* add handbook to npmignore

* I guess you could call this fixing a typo

* point workflow at master branch

* now clearly bogus: this completely unused version string
2020-12-02 14:48:03 -06:00
Zach Wasserman
47b4f07afb
Add documentation on Fleet performance (#86)
- Document scaling.
- Document debugging steps/tools.
- Update issue template to request debug archive.
2020-12-02 09:46:02 -08:00
Mike McNeil
1a016dea97 ACTUALLY make internal templates show up last. 2020-11-24 15:14:29 -06:00
Mike McNeil
5f98160e91
Make internal issue templates show up last (#70) 2020-11-24 15:11:22 -06:00
Mike McNeil
378eeb66de
Update internal-new-teammate-onboarding.md 2020-11-24 15:02:46 -06:00
Mike McNeil
8a7a640ced
Issue templates adjustment (#69)
* bring other issue template back

* Add metadata to issue templates
2020-11-24 15:01:45 -06:00
Mike McNeil
326cf9d4a5
bring other issue template back (#67) 2020-11-24 14:55:10 -06:00
Aprilfleetdm
ef236dab9f Update issue templates 2020-11-24 12:10:12 -06:00
Zach Wasserman
138329c371
Fix markdown documentation links (#35)
- Update/remove broken links
- Add appropriate ignore rules for example URLs and osquery site
2020-11-12 19:06:06 -08:00
Zach Wasserman
ebd355c52c
Add markdown link check to CI (#34) 2020-11-12 18:20:30 -08:00
Victor Vrantchan
a3b44cfe3a add issue template (#1573) 2017-10-18 09:35:32 -04:00