Commit Graph

9343 Commits

Author SHA1 Message Date
Jahziel Villasana-Espinoza
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
Tim Lee
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
Sampfluger88
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
Mo Zhu
ea8a546fc3
Cx pm listing 2023 (#14211)
FYI this role is ID # 1000 in the fleeties spreadsheet
2023-10-09 13:42:27 -05:00
Jacob Shandling
2adf3ce477
UI – Componentize "Discard data" option and add it to Edit Query page (#14343)
## Addresses #13470 

- [x] Save query
  - [x] Add checkbox
    - [x] default unchecked
- [x] If global setting is disabled (that is, "Disable query reports" is
_enabled_)
      - [x] this box is disabled
      - [x] copy below is changed
- [x] If enabled locally but globally disabled, box is checked and
disabled
- [x] If user clicks "Edit anyway", the normal checkbox state is
restored, allowing them to edit it anyway., e.g. to prepare for enabling
globally before doing so
- [x] banner under [certain
conditions](https://www.figma.com/file/ss8dSfoueq3REJxoGaxkNw/%237766-See-latest-query-results?type=design&node-id=470%3A9996&mode=design&t=XDBlQetD7kqdEdh9-1)
  - [x] 2 x update help text
- [x] Edit query
  - [x] checkbox
  - [x] back button
  - [x] 2 x help text updates
- [x] save changes modals when
[conditions](https://www.figma.com/file/ss8dSfoueq3REJxoGaxkNw/%237766-See-latest-query-results?type=design&node-id=470%3A8745&mode=design&t=XDBlQetD7kqdEdh9-1)
are met:
    - [x] changed SQL
    - [x] other 
- [x] Mange queries - update[
tooltip](https://www.figma.com/file/ss8dSfoueq3REJxoGaxkNw/%237766-See-latest-query-results?type=design&node-id=470%3A10035&mode=design&t=ACwsj3wVdqzCXulq-1)
- [x] Significant cleanup and improvement of styles and structure around
the Edit Queries page


<img width="854" alt="Screenshot 2023-10-05 at 3 44 05 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/9831570f-3c83-4e59-b040-649d52faa257">
<img width="854" alt="Screenshot 2023-10-05 at 3 44 15 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/dec76eba-46d1-4e43-87e9-e7fc44e84691">
<img width="854" alt="Screenshot 2023-10-05 at 3 45 09 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/a7879b21-49b0-476a-81ab-6b465967510f">
<img width="854" alt="Screenshot 2023-10-05 at 3 45 29 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/14a90d0a-2a52-4e59-8ee8-fb76fce55417">
<img width="1105" alt="Screenshot 2023-10-05 at 3 46 58 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/6c488fbe-4e5a-442b-8b62-2ddd15bda1fe">
<img width="1105" alt="Screenshot 2023-10-05 at 3 47 10 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/649534c5-d859-41f9-8c8a-6882b1dc2219">
<img width="1105" alt="Screenshot 2023-10-05 at 3 47 24 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/eaa0469c-a57a-474d-87bc-21cf2133dd3c">


## Checklist for submitter

- [x] Added/updated tests
- [ ] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-10-09 11:31:31 -07:00
Mike McNeil
4e7c3a1606
Update ceo.md (#14374)
# 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
- [x] 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-07 20:34:48 -05:00
Mike McNeil
1855a182f3
Fix copy/paste mistake (#14373) 2023-10-07 19:44:06 -05:00
Sampfluger88
a7999d2552
Website: Update build-static-content.js to enable new feature format in yml (#14372)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-07 19:15:08 -05:00
Eric
eafc9ab313
Website: Add two events to stripe webhook, add comments about when events are sent. (#14370)
Changes:
- Added the `invoice.updated` and `invoice.voided` events to the
`STRIPE_EVENTS_SENT_BEFORE_A_SUBSCRIPTION_RECORD_EXISTS` array in the
`receive-from-stripe` webhook.
2023-10-07 10:54:45 -05:00
Isabell Reedy
1555d09f57
2023-10-05 Handbook: add process for inter-team assistance on bugs (#14235)
1. Process to formalize how we prioritize bugs across teams, recognize a
bug's origin, and indicate the team who is currently working on it.
2. Formalize that this coordination will happen at a joint sprint
kick-off review (there are currently separate sprint kick-off reviews
for each team).

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2023-10-07 10:18:00 -05:00
Isabell Reedy
e9c7d50a2f
2023-10-05 Handbook/product#settled (#14270)
Once bugs have been settled, they should be removed from the drafting
board and moved into the 'to be scheduled' column of the bugs board so
that the PM knows they need to be prioritized into the sprint backlog.

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-07 10:16:04 -05:00
Eric
f3daa2f0f0
Website: Update quotes on platform pages, add quote to open position pages. (#14367)
Closes: https://github.com/fleetdm/confidential/issues/3849

Changes:
 - Added a new quote to the `<scrollable-tweets>` component.
 - Added a quote to the Markdown pages built from `open-positions.yml`.
2023-10-06 18:31:16 -05:00
Eric
17d0b7d56b
Website: Update pricing page (#14273)
Closes: https://github.com/fleetdm/confidential/issues/3521

Changes:
- Added an "all features" option to the pricing mode switch on
fleetdm.com/pricing
- updated the styles and layout of the pricing page to match the latest
wireframes.

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2023-10-06 18:29:55 -05:00
Eric
4caa05d131
Website: Update license dispenser signup form (#14368)
Closes: #14011

Changes:
- Updated the license dispenser signup form on
fleetdm.com/customers/signup to allow users to try to resubmit the form
without resetting the form fields.
2023-10-06 18:16:09 -05:00
Marcos Oviedo
f0d77ab3db
Merging Bitlocker feature branch (#14350)
This relates to #12577

---------

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2023-10-06 19:04:33 -03:00
Rachael Shaw
cc547ba02c
Remove list of Windows CIS policies that require a Group Policy template (#14352)
This change is to reduce surface area of the conceptual docs. We already
point users toward how to identify the policies that need a Group Policy
template:

> These items are tagged with the label
`CIS_group_policy_template_required` in the YAML file, and details about
the required Group Policy templates can be found in each item's
`resolution`.

Keeping a duplicate list here is just more surface area to maintain, aka
more content that's likely to get out-of date. (And since it's in a code
block anyway, it's not any easier to read here than by just referencing
the YAML file directly, so the user experience won't suffer from us
removing it.)
2023-10-06 12:42:19 -05:00
Andrew Baker
7ced0baad8
Update fleet-4.37.0.md (#14337)
Commenting out script execution
2023-10-06 10:03:58 -07:00
RachelElysia
11fc7edc0f
Fleet UI: Fix new query bugs introduced (#14309) 2023-10-06 10:03:19 -07:00
Eric
e7ac6d8281
Docs: Update fleetd link on anatomy page. (#14344)
closes: https://github.com/fleetdm/fleet/issues/14338
2023-10-06 11:45:27 -05:00
Eric
e61d91a35e
Website: Update receive-from-stripe webhook to handle failed payments when creating a subscription. (#14348)
Changes:
- Added two events to the
`STRIPE_EVENTS_SENT_BEFORE_A_SUBSCRIPTION_RECORD_EXISTS` array in the
`receive-from-stripe` webhook
2023-10-06 10:07:51 -05:00
Eric
5ebeab20f5
Website: update device management page (#14262)
Closes: https://github.com/fleetdm/confidential/issues/3813

Changes:
- Added a section to the device management landing page.
2023-10-06 21:26:33 +09:00
Andrew Baker
8549092670
2023-10-05 Social community keywords (#14245)
Co-authored-by: Sampfluger88 <108141731+Sampfluger88@users.noreply.github.com>
2023-10-05 20:38:31 -05:00
Taylor Hughes
a329af1940
update tools we use table (#14330)
including product designers on the tool table to highlight using Gong
licenses
2023-10-05 20:32:15 -05:00
Eric
16d2371a5a
Website: update link to mdm consensus video (#14340)
Closes: #14331

Changes:
- Updated the link to the consensus video in the MDM demo email and the
`/device-management page
2023-10-05 16:40:57 -05:00
Eric
d4261b44f1
Website: Fix header background on Safari 13 (#14339)
Closes: #14279

Changes:
- Moved the background styles for the website header to a different
element. The `backdrop-filter` was not working correctly when it is on
an element with a `box-shadow`.
- Removed `layout-landing.ejs`
2023-10-05 16:20:08 -05:00
Luke Heath
191348208e
Update contact instructions (#14333) 2023-10-05 15:09:09 -05:00
Luke Heath
cd34763c43
Fix broken link (#14332) 2023-10-05 14:59:49 -05:00
Eric
d7a4ffdf86
Comment out link to article (#14329)
Context: https://github.com/fleetdm/confidential/issues/3797

Changes:
- Commented out a link to a hidden article in the 4.37.0 release notes.
2023-10-05 14:53:04 -04:00
Rachael Shaw
d029d3f928
Docs: Add version range to "List all software" example response (#13647)
Proposed API changes for https://github.com/fleetdm/fleet/issues/11666

---------

Co-authored-by: Tim Lee <timlee@fleetdm.com>
2023-10-05 13:51:16 -05:00
Andrew Baker
73b6d6c76f
Rename introducing-cross-platform-script-execution.md to introducing-… (#14328)
…cross-platform-script-execution

Removing article from public view temporarily.

# 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-05 14:42:47 -04:00
Tim Lee
ccd6746633
7766 backmerge main (#14324) 2023-10-05 11:39:48 -06:00
RachelElysia
be7d798a25
Fleet UI: [tiny styling bug] Fix failing policies call out alignment (#14136) 2023-10-05 10:36:23 -07:00
Roberto Dip
1a6b1038dd
add docs for detail query overrides (#14299)
docs for https://github.com/fleetdm/fleet/pull/14296

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2023-10-05 14:23:13 -03:00
Roberto Dip
6702e3ddb8
prepare v4.38.1 (#14303) 2023-10-05 11:13:24 -05:00
Eric
b110d4bd5d
Website: Update button styles (#14319)
Closes: #14301

Changes:
- Updated button styles on landing pages and the homepage.
2023-10-05 11:03:53 -05:00
Roberto Dip
641856c1dc
trigger orbit build on version bump (#14315)
The
[goreleaser-orbit.yaml](https://github.com/fleetdm/fleet/actions/workflows/goreleaser-orbit.yaml)
workflow tends to timeout up to 9-10 times before successfully building
a macOS binary.

We have been using this workflow as a back-up, but it requires doing the
version bump and manually triggering the workflow, which can be error
prone.

This change follows the `workflows/generate-desktop-targets.yml` to
trigger the workflow when the workflow file itself is modified.
2023-10-05 09:52:10 -03:00
Jahziel Villasana-Espinoza
b0de002fb2
fix: we should discard by default to avoid anything happening with existing queries (#14305)
# Checklist for submitter

The implementation #13488 was wrong; we needed to have query results
discarded by default, so customers shouldn't notice anything when they
upgrade.

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-05 08:29:40 -04:00
Mike Thomas
ee02782eaf
Fixed a broken link on integrations.ejs (#14314)
Fixed a broken link on `/integrations`:
https://docs.gitlab.com/ee/ci/
2023-10-04 23:21:43 -05:00
Martin Angers
a223cbc5c2
Update scaling-fleet.md (#14285)
Fix link to the list of tables referencing the hosts table (for manual
cleanup).
2023-10-04 22:35:18 -05:00
Tim Lee
4b50cf811b
Revert Backmerge from Main 2023-10-04 20:56:17 -06:00
Andrew Baker
b9a8872fab
Drew bakerfdm event preparation (#14247)
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-10-04 21:14:55 -05:00
Eric
c7e6b282ec
Website: Update text on sandbox login and registration pages. (#14312)
Closes: https://github.com/fleetdm/confidential/issues/3861

Changes:
-  Updated text on /try-fleet/register and /try-fleet/login
2023-10-05 08:59:27 +09:00
Eric
04a3f18a60
Website: Add integrations page (#14128)
Changes:
- Added a new page: /integrations
- Added the page to `config/policies.js`, `config/routes.js`, and
`assets/styles/importer.less`
- Added a link to the page to the "Platform" navigation dropdown.


This PR will be ready for review when:
- [ ] The meta description (in routes.js) is approved
- [ ] The text that replaces the lorum ipsum in the wireframes has been
approved.
2023-10-05 08:52:19 +09:00