Commit Graph
9333 Commits
Author SHA1 Message Date
Jacob Shandling ddd77efa9d merge main into 7766 (#14468) 2023-10-11 13:30:42 -07:00
Jacob Shandling 9cf4239b09 update order of migrations 2023-10-11 13:22:28 -07:00
Jacob Shandling b886362ef2 remove duplicate migration file 2023-10-11 13:16:17 -07:00
Jacob Shandling 8c70011d87 update migration timestamp 2023-10-11 13:11:27 -07:00
Jacob Shandling ed229af4b2 run make dump-test-schema 2023-10-11 12:58:22 -07:00
Jacob Shandling 70e0182e4d Merge branch 'main' into 7766-main-merge 2023-10-11 12:56:52 -07:00
Jacob ShandlingandJacob Shandling 11e2b0b533 align Log destination; shrink underline gap (#14448)
before:
<img width="860" alt="Screenshot 2023-10-11 at 10 32 03 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/94556ce3-5f1f-437a-a370-398b39bb3ad7">

after:
<img width="860" alt="Screenshot 2023-10-11 at 10 30 26 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/b457560c-7459-414f-bb7c-be943150c9a7">

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-11 12:32:43 -07:00
Mike McNeil 8c01efd832 Website: Fix typo (capitalization) on pricing.ejs (#14459) 2023-10-11 14:12:57 -05:00
Roberto Dip aeb4810541 prevent input secret from overflowing (#14458)
this implements the exact same fix as the component in
`frontend/components/EnrollSecrets/SecretField/_styles.scss`

we should probably refactor the three different components we have:
`SecretField`, `InputFieldHiddenContent` and the ad-hoc component (which
has a TODO) we have inside `EnrollSecretRow`.

for now, adding the padding for #14416
2023-10-11 16:08:48 -03:00
Jahziel Villasana-Espinoza 7bbff99252 feat: integration tests (#14432)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Added/updated tests
2023-10-11 16:00:08 -03:00
dependabot[bot] 493733c559 Bump postcss from 8.4.21 to 8.4.31 in /ee/fleetd-chrome (#14316) 2023-10-11 13:56:52 -05:00
dependabot[bot] 12c46af3b2 Bump fleetdm/fleet-mdm-gitops from 1.0.7 to 1.1.0 (#14453) 2023-10-11 13:52:31 -05:00
Lucas Manuel Rodriguez 2254414d61 Add load test script for the fleetd labels feature (#14289)
This is a load test script for #14149. Adding it in case it's needed in
the near future.
2023-10-11 15:37:10 -03:00
Lucas Manuel RodriguezandTim Lee 9facf144dc Schedule queries on hosts even if automations off (given we now store results) (#14411)
This is ready to go.

---------

Co-authored-by: Tim Lee <timlee@fleetdm.com>
2023-10-11 15:20:06 -03:00
Luke Heath 43f6936bcd Add dependabot configuration (#14447) 2023-10-11 12:56:23 -05:00
Jacob ShandlingandJacob Shandling 5aa9b80bf7 Enable correct behavior of Discard Data option on direct navigation to Edit Query page (#14437)
- Correctly sets `queryContext.lastEditedQueryDiscardData` when loading
directly from the edit page
- Preserves already working flow from the ManageQueries page


https://github.com/fleetdm/fleet/assets/61553566/193c0fd6-3585-4f36-a77a-28257f7131b2

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-11 09:49:13 -07:00
RachelElysia 2ad6fb3603 Fleet UI: [unreleased bug] Fix info banner gap/padding issue (#14443) 2023-10-11 11:50:52 -04:00
RachelElysia debe6626fd Fleet UI: [fix] SQL editor remove multiple cursor functionality (#14387) 2023-10-11 11:50:27 -04:00
RachelElysia 102f2af372 Fleet UI: [small fixes] Table horizontally scrolls, "Get help" is on one line (#14414) 2023-10-11 11:16:45 -04:00
Benjamin Edwards 4416393d57 Fix vuln scans terraform addon (#14357) 2023-10-11 11:03:47 -04:00
Lucas Manuel Rodriguez 414f83e29e Do not return null results (#14420) 2023-10-11 06:28:16 -03:00
Noah Talerman 080701a377 Features YAML: Update scripts (#14407)
- Add `industryName` and `documentationURL`
2023-10-10 23:23:11 -05:00
Katheryn Satterlee 4c677e9a06 Update Deploy-Fleet-on-CentOS.md (#14263)
Corrected the name of the target archive for download and instructions
for accessing the Fleet binary.

# Checklist for submitter

Docs-only change
2023-10-10 23:15:42 -05:00
Mike Thomas 2e5cafba83 Fixed broken links in fleet-server-configuration.md (#14313)
fixed two broken links:

https://fleetdm.com/docs/deploy/single-sign-on-sso 
https://fleetdm.com/docs/deploy/public-ip
2023-10-11 08:01:50 +09:00
Jacob ShandlingandJacob Shandling 9768186048 Enable real API service, handle null results (#14435)
- Remove mock api service and uncomment real api service
- Handle if query_report.results is `null` – should be updated on
backend to return empty array, but doing this as well to facilitate
team-wide manual testing/QA

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-10 15:40:36 -07:00
Jacob Shandling 1cb4121842 Merge contents of 7766-frontend and main, all conflicts resolved (#14429) 2023-10-10 15:23:55 -07:00
Roberto Dip 9ffa11c25d Feat: saved scripts (#14409)
For #9537
2023-10-10 19:00:45 -03:00
Jacob Shandling 06ec117580 make dump-test-schema 2023-10-10 14:31:06 -07:00
Jacob Shandling 0422254ffd update timestamps 2 2023-10-10 14:20:25 -07:00
Jacob Shandling d3b65bdf48 update timestamp 2023-10-10 13:36:59 -07:00
Jacob Shandling bbebbc59b4 run make-dump-test-schema 2023-10-10 13:23:43 -07:00
Jacob Shandling fb494ca3cb Merge branch '7766-frontend' into 7766-backend-frontend 2023-10-10 13:21:19 -07:00
Jacob Shandling a6578edb0e final maintenance merge of main (#14423) 2023-10-10 12:37:11 -07:00
Luke Heath 1511354766 Typo fix (#14421) 2023-10-10 13:47:37 -05:00
Eric 4bea8a4c92 Schema: update override column descriptions for system_info and chrome_extensions tables (#14395)
Related to: #14166

Changes:
- updated the override column descriptions for the `system_info` and
`chrome_extensions` tables to include the descriptions from the osquery
schema.
2023-10-10 13:10:49 -05:00
Marko Lisica 8035fc7511 Normalize ".mobileconfig" and "team ID" in API docs (#14405)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes (docs/Using
Fleet/manage-access.md)
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-10-10 13:10:24 -05:00
pintomi1989 b42a8b2049 docs: Removal of the "the" (#14382)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes (docs/Using
Fleet/manage-access.md)
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-10-10 13:07:34 -05:00
RachelElysia c541409ba4 Fleet UI: Small fixes (e.g. hiding last_fetched filter, hide Edit query button for observers) (#14410) 2023-10-10 12:46:51 -04:00
Jacob ShandlingandJacob Shandling 71a0ffc36d Polish & cleanup, round 1 (#14402)
![Screenshot 2023-10-09 at 6 02 16
PM](https://github.com/fleetdm/fleet/assets/61553566/d1c817b6-901c-4486-b14b-859503888369)

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-10 09:32:29 -07:00
Mike Thomas b4d42b1df1 website-hero-image-update (#14404)
- Extended clouds on the homepage
- Added repeat-x
- Made the cloud shadows more subtle
- reduced file size by half

# Checklist for submitter
- [x] Manual QA for all new/changed functionality
2023-10-10 10:03:42 -05:00
Jahziel Villasana-EspinozaandLucas Rodriguez 0435431ae9 feat: can delete via cron job if global flag set (#14398)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added/updated tests

---------

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2023-10-10 10:06:54 -03:00
+12 fa55d72118 Save Query Results to DB (#14335)
# Checklist for submitter

#13486 

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes (docs/Using
Fleet/manage-access.md)
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Added/updated tests
- [X] Manual QA for all new/changed functionality

---------

Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Sampfluger88 <108141731+Sampfluger88@users.noreply.github.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Roberto Dip <me@roperzh.com>
Co-authored-by: Tyler Diderich <15862572+tdiderich@users.noreply.github.com>
Co-authored-by: Dave Herder <27025660+dherder@users.noreply.github.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
Co-authored-by: Nathanael Holliday <100959072+hollidayn@users.noreply.github.com>
Co-authored-by: Katheryn Satterlee <me@ksatter.com>
Co-authored-by: Mo Zhu <mo@fleetdm.com>
Co-authored-by: Mo Zhu <mozhu888@gmail.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Robert Fairburn <8029478+rfairburn@users.noreply.github.com>
Co-authored-by: Sabrina Coy <13890648+sabrinabuckets@users.noreply.github.com>
Co-authored-by: Isabell Reedy <113355639+ireedy@users.noreply.github.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Alex Mitchell <105945793+alexmitchelliii@users.noreply.github.com>
2023-10-10 09:44:03 -03:00
Sampfluger88andMike McNeil f108e997ba Handbook: Engineering (update to new structure) (#14369)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-09 21:42:45 -05:00
Joanne Stableford 7dbc5d7a88 Adding Victor to CX product group (#14400) 2023-10-09 21:36:25 -05:00
RachelElysia 4be39ca938 Frontend: 1000 total results has tooltip (#14397) 2023-10-09 18:09:54 -04:00
Jacob Shandling 18b80c409b 13472 clipped banner (#14396) 2023-10-09 14:51:05 -07:00
Jahziel Villasana-Espinoza 5c868c9d3d feat: deletion for query results (#14302)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated tests
2023-10-09 17:43:17 -04:00
Jacob Shandling eb327faabf maintenance merge of main into feature branch (#14393)
maintenance merge of `main` into feature branch
2023-10-09 14:28:35 -07:00
RachelElysia a85f399cac Fleet UI: Query report (table, buttons, api calls, etc) (#14325)
## Issue
Cerra #13472 

## Description
- Surface query report on the `/queries/{id}` route
- Include table buttons to show query and export query
- Include results count
- Clientside sorting and filtering for columns
- Add mock data to frontend integration mocks and to API mocks for
concurrent development
- 331 + 351 + 2 = 684 lines of code is just mocking data and not actual
changes
- If modifying sorting/filter, modify the exported results
sorting/filter as well
- Last fetched column is sentence cased, sortable by chronological order
and not alpha order of the readable string (e.g., "a year ago" should be
sorted _after_ "over 1 month ago" if sorted most recent to oldest even
though a comes before o in the alphabet)

## Screen recordings (Uses mock data)


https://github.com/fleetdm/fleet/assets/71795832/22766f2b-3387-4a95-b505-b530dda582fa



https://github.com/fleetdm/fleet/assets/71795832/5c2cd8cc-d00e-4ead-b111-e3b33cb7c955



# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- TODO for QA: Added/updated E2E tests (consider testing some of the
features mentioned in the description)
- [x] Manual QA for all new/changed functionality
2023-10-09 13:38:34 -07:00
Mike McNeil a06c312453 handbook: should it be more 90s? (#14375) 2023-10-09 14:05:54 -05:00