Commit Graph

1807 Commits

Author SHA1 Message Date
gillespi314
71f53e6f4e
Query library improvements (#945)
* Add contributor avatars to query-detail page

* Add check for contributors; style elements

* Add GitHub avatars, style css, reorder page script

* Add os logos, adjust styles

* Add mobile styles, refactor scripts, prettier

* Update img paths, fix linting errors
2021-06-03 19:34:40 -05:00
Mike McNeil
2e679a9fcf
Update README.md 2021-06-03 18:50:51 -05:00
noahtalerman
7fd439f812
Prepare for Fleet 3.13.0 (#944)
- Add to CHANGELOG
- Bump versioning
2021-06-03 14:07:33 -04:00
Zach Wasserman
6f51bd9cb5
Remove Redis read/write timeouts (#943)
If no results were sent over the pubsub channel, the client would hang
up. This would cause the query to seem "hung".

Closes #911
2021-06-03 10:49:25 -07:00
noahtalerman
bf37cb975e
Fix checkbox styles on master branch (#942)
- Update `Checkbox.jsx` and checkbox styles to align with changes on the `teams` branch 
- Edit checkbox styles in the `InviteUserForm` component
2021-06-03 13:46:35 -04:00
WangXiang
06b2e564e6
Check whether the infra dependencies are ready before E2E test (#870)
Fixes #848
2021-06-02 16:56:44 -07:00
noahtalerman
567950d5f0
Fix frontend bug in which target picker rendered incorrectly on master branch (#934)
- Before the fix the "X" button to remove the target was floating in an odd place
- Edit to replicate new styles found in the teams branch
2021-06-02 18:04:52 -04:00
noahtalerman
fa09131a5c
Specify that Fleet does not support Redis Sentinel in Configuration docs (#925) 2021-06-02 12:34:51 -04:00
Mike Thomas
35993ab13b
Update README.md (#914)
* Update README.md

Added "How to export images" to website section.

* Update README.md

* Update README.md

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-06-01 11:50:13 -05:00
Mike Thomas
c0644b10c0
query-library-os-icons (#913)
Added query library os icons to website assets.
2021-06-01 13:01:26 +09:00
Mike McNeil
6f09fd53f4
Enable freeform issues 2021-05-29 22:22:26 -05:00
Mike McNeil
54af2d2c29
Restore the usefulness of Noah's GitHub notifications 2021-05-29 21:44:41 -05:00
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
Zach Wasserman
201fde01c0
Clean up simulated hosts in fleetctl preview (#893)
The `reset` and `stop` subcommands will now clean up the simulated
hosts. Previously these were unintentionally left running.
2021-05-28 17:19:31 -07:00
Mike McNeil
7bb202f961
Publish fleetdm.com/queries (#899)
* /sandbox/queries becomes /queries, etc

* Publish fleetdm.com/queries

Expose query library routes the rest of the way, move remediation data sanitization to the point of entry, and update query library to match (pairing w/ @gillespi314)

* Fix accidental commit of sailsrc (again)
2021-05-28 17:51:47 -05:00
gillespi314
0c236fd701
Ship v1 of standard query library (#898)
* Implement detail page for standard query lib

* Add alt text for image

* Replace id with css class

* Implement query-libary page for fleetdm.com

* Remove console.log

* Implement client-side search for query library

* Add responsive breakppoints

* Fix input tag
2021-05-28 16:57:04 -05:00
Mike McNeil
1512089384
add contributors to a query 2021-05-28 16:46:33 -05:00
gillespi314
e27fda73b2
Implement query-library page for fleetdm.com (#891)
* Implement detail page for standard query lib

* Add alt text for image

* Replace id with css class

* Implement query-libary page for fleetdm.com

* Remove console.log
2021-05-28 16:00:40 -05:00
noahtalerman
c450c86749
In 3-Deployment/2-Configuration add note about mitigating DoS attacks (#897) 2021-05-28 16:47:32 -04:00
Zach Wasserman
e6e3b6e5f4
Add robots noindex to frontend HTML head (#892)
Asks Google and other crawlers not to include the page in search
results.

Closes #890
2021-05-28 11:41:24 -07:00
gillespi314
5ec25e461f
Implement query detail page for standard query library (#887)
* Implement detail page for standard query lib

* Add alt text for image

* Replace id with css class
2021-05-28 12:00:54 -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
6a72240860
Add link to release blog post in Software inventory documentation (#878)
- Add link to "Fleet 3.11.0 released with software inventory" to location in docs where software inventory is described.
- Change "host details" to "host vitals"
2021-05-27 17:18:41 -04:00
noahtalerman
dcbcc541a6
Move community project links into Example deployment scenario docs (#883)
- Move the community Fleet deployment tools to `docs/3-Deployment/4-Example-deployment-scenarios.md`
2021-05-27 17:14:10 -04:00
Mike McNeil
a2eb7f3f9c
(guiltily fixes markdown typo) 2021-05-26 21:16:18 -05:00
noahtalerman
a32c277780
Add Release process document to /handbook (#874)
* Add document

* Spell fix in README

* minor word trimming and added a comma or two.  This looks great!

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-05-26 21:07:00 -05:00
Zach Wasserman
48c413a254
Split host additional into separate table (#875)
- Move host `additional` into a separate table.
- Join when that data is needed.
- API change: `/api/v1/fleet/hosts` now returns only the requested
  `additional` columns, unless `*` is provided as the sole argument.

Background:

A customer reported that MySQL binlogs grew huge and replication lag
went way up when data was stored in the `additional` column. In this
deployment MySQL was running with ROW replication. This would cause the
entire `additional` data to be copied on each update of the host checkin
time. While switching to STATEMENT or MIXED replication would likely
mitigate the issue, this was not an option in their environment.
2021-05-26 16:24:12 -07: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
ac220ba6e5
Obviate doc-templater dependency + dynamic sitemap.xml (#827)
* trivial

* Simplify build-static-content script and rip out the old markdown compilation for query library

* improve error msg

* trivial

* move helper

* bring in the skeleton

* Compile handbook as well, and bring more stuff inline

* instead of generating sitemap.xml file, could just serve it as a route

* Serve sitemap.xml on the fly

* add failsafe to prevent search engine accidents

* add remaining hand-coded pages to sitemap

* rearrange routes and get rid of commented-out ones

* Update build-static-content.js

* stub out the remaining pieces

* Add assertion (Which actually helped catch a real duplicate query: get-mac-os-disk-free-space-percentage)

* clean out inadvertently committed stuff in sailsrc

* route and serve data for correct query by slug + fix error message re duplicate query slugs + added assertion for duplicate doc page slugs

* yaml == dev dependency

* remove doc-templater dependency, as promised

* stub out handbook page

* clarify comments & remove unnecessary skipAssets

* Update build-static-content.js

* res.badConfig()

* add missing exit that I left out back in ec95df6a4b

* remove unused file

* update comments before commenting out and moving over to basic-documentation.less

* move example styling of generated HTML over to docs/handbook

* include both links

* Fix sitemap.xml URLs in local dev by fixing baseUrl config for local development (since Fleet itself is on 1337).

* followup to d55c777590

* Include query pages in sitemap.xml (+make urls generated for docs/handbook in build script slightly more real) -- but also don't serve sitemap

* sails.config.builtStaticContent.allPages » sails.config.buildStaticContent.markdownPages  (also remove unnecessary trailing slash trimming)

* trivial

* check config when serving sitemap + smarter error message for contributors

* hook up GitHub link to edit the query

* remove html ids

* Update query-detail.ejs

* somre more setup re https://github.com/fleetdm/fleet/issues/368#issuecomment-848566533
2021-05-26 03:24:38 -05:00
RachelElysia
69501b4727
Website query library styling (#800)
* Style query-details to match Figma

* Add ignored partial content to query-detail comment

* Stlye markdown html elements using CSS

* Render lightbulb icon

* Remove superfluous div

* Remove markdown build from sailsrc

* Remove coding workspace

* Fix bug

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* trim trailing whitespace + leave note about stuff living outside page selector

* fix stringQuotes and duplicateProperty lesshint checks

* fix importantRule lesshint check

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-05-26 01:16:05 -05:00
WangXiang
c58a77d2a3
Include more detailed error messages in query result stream (#835) 2021-05-25 09:15:39 -07:00
RachelElysia
c0f67c5822
Packs Page UI: form pill contrast (#837)
* Pill border and colors
* Styling font, margin, padding (sans new icon)
* New close icon
2021-05-24 13:47:05 -04:00
RachelElysia
3d83fcaa35
Style checkbox (#836)
* Style checkbox
* Label style uses -radius variable.

Co-authored-by: Noah Talerman <noahtal@umich.edu>
2021-05-24 13:46:13 -04:00
Zach Wasserman
b3a2a0496d
Corrections in configuration documentation (#829) 2021-05-21 08:41:13 -07:00
Mike McNeil
6fa518a300
Update 3-REST-API.md (#825) 2021-05-21 05:31:21 -05:00
Mike McNeil
6330b1ddc3
remove duplicate from standard query library
This will be prevented in the future by https://github.com/fleetdm/fleet/pull/827/files#diff-f6ef0e28b3715762f83a980eaadda37aec5c7ffe9ef9b19d303f53def956b98bR36
(which is how this got noticed )
2021-05-21 04:18:22 -05:00
noahtalerman
0c51f9de56
Add question about upgrading to FAQ (#821)
- Add question that addresses upgrading from Kolide Fleet to FleetDM Fleet
- Edit "Automatically add hosts to packs" question and move portion about `targets` field to `fleetctl` docs
2021-05-20 13:00:46 -04:00
Zach Wasserman
22feb87de4
Fix capitalization on "Select pack targets" (#819) 2021-05-20 09:29:37 -07:00
noahtalerman
18f0e256e6
Add note that Fleet does not support Redis Cluster in configuration docs (#817)
- Add the Redis Cluster note to "High-level configuration overview" section
- Fix "connection" typo
2021-05-20 12:21:20 -04:00
RachelElysia
3286a9c4bc
Query Results: Render errors table on fullscreen (#807)
* Render errors table on fullscreen
2021-05-20 11:43:12 -04: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
Mike Thomas
0b28136997
Changed cursor:pointer to cursor:unset on Get started dropdown. (#803)
* Added cursor:unset

* removed !important rule from cursor

* Update layout.less

Looks like there's a class already set up for the dropdown menu button. Updated the property there.
2021-05-19 23:36:39 -05:00
Zach Wasserman
ba6dc0d19c
Update Orbit packaging documentation (#808)
More information about Windows packaging, dependencies.
2021-05-19 11:56:51 -07:00
Ahmed Elshaer
e18f154710
Add queries to Standard Query Library (#771)
Adds the following queries to the Standard query library:
- Get authorized keys for Local Accounts
- Get authorized keys for Domain Joined Accounts
- Get current users with active shell/console on the system
- Get Disk encryption status
- Detect Unencrypted SSH Keys for Local Accounts
- Detect Unencrypted SSH Keys for Domain Joined Accounts
- Line parsed values from system and user cron/tab
- Detect Dynamic Linker Hijacking (MITRE. T1574.006)
- Get etc hosts entries
- Get Network Interfaces
- Get Local User Accounts
- Detect active user accounts on servers
- Detect Nmap Scanner
- Get docker images on a system
- Get docker running containers on a system
- Get docker running process on a system
2021-05-19 11:21:45 -07:00
noahtalerman
b072fd5fe5
Update CHANGELOG and bump versioning (#806) 2021-05-19 12:09:23 -04:00
RachelElysia
06f89c2978
Website: Pricing page (mobile) (#788)
* Cleaner mobile view

* Website styling and move quote
2021-05-19 10:15:57 -05:00
Zach Wasserman
69f73b56f8
Upgrade dependencies and remove replace directive (#802)
Now that https://github.com/throttled/throttled/pull/87 is merged, we
can remove the stopgap `replace` directive in `go.mod`.
2021-05-18 17:00:20 -07:00
noahtalerman
adbcfc6407
Add instructions for resolving failed website deploy action to /handbook (#801) 2021-05-18 18:47:18 -04:00
Zach Wasserman
1638d5e2da
Update Redigo version and timeouts (#793)
- Use newer version of Redigo that properly handles TLS mismatch.
- Add timeouts for Redis TCP connection.

Fixes #792
2021-05-18 15:04:14 -07:00