Commit Graph
9631 Commits
Author SHA1 Message Date
Victor Lyuboslavsky aa96caa8eb Adding REST API example how to delete all hosts. (#14952) 2023-11-06 12:29:43 -06:00
Victor Lyuboslavsky f38524a8b7 Fixes to /fleet/queries/run endpoint (#14909)
Fixes to /fleet/queries/run endpoint:
- now returns 403 for an unauthorized user
- now returns 400 when query_ids or host_ids are not specified

#11446 and #11901

# Checklist for submitter

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

API clarifications are in a separate PR
https://github.com/fleetdm/fleet/pull/14956

- [x] 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.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2023-11-06 11:03:42 -06:00
Victor Lyuboslavsky 5391b686cf Fixing hosts/delete input validation due to QA issue. (#14942)
Frontend needs to be able to delete all hosts. However, the API
requirement is that host ids or filters must be specified when deleting
hosts. The solution is to allow an empty filter to delete all hosts,
like: `"filters":{}`

REST API updated documentation here:
https://github.com/fleetdm/fleet/pull/14952

[x] Tests updated and added.
[x] Manual testing done.
2023-11-06 08:06:02 -06:00
Mike McNeil 15dbc1b3af Update FAQ.md (#14951)
Does this get folks to the right place?  The other link was broken
2023-11-06 12:34:56 +09:00
Mike McNeil 88e7cd243d Fix fleetdm.com/docs (#14950)
caused by a typo introduced during a live @mike-j-thomas + Mike M
product marketing session on Zoom:
https://github.com/fleetdm/fleet/commit/22af47aa923f15023186f9e14ee32f00877d2436#r131737251
2023-11-05 00:47:14 -05:00
Mike Thomas 9b4e8ee573 Update README.md (#14949)
- updated Purpose in the company handbook.
2023-11-05 00:20:42 -05:00
Mike McNeil 6d029cf2a4 Docs: Update FAQ.md (#14948) 2023-11-05 00:20:20 -05:00
Mike Thomas 22af47aa92 Update heading position on why-fleet.md (#14884)
I moved the "What's it for?" heading. After seeing it on the site
(rather than Markdown) I feel that placing it between the new paragraphs
disrupts the message.

I also addressed some grammar and formatting issues. Removed some
redundant words and rephrased a couple of sentences to give a more
personable tone.

### Original

<img width="541" alt="image"
src="https://github.com/fleetdm/fleet/assets/78363703/1e67d9f2-4912-43db-846e-1f9b8d5803f6">

### vs this PR

<img width="741" alt="image"
src="https://github.com/fleetdm/fleet/assets/78363703/4a362eec-f871-4612-a46e-1fbdfe72f21e">
2023-11-04 22:50:00 -05:00
Eric 02f2e5a661 Docs: update backticks in parameter description (#14943)
Changes:
- added backticks to a parameter description ("`"differential", or
"differential_ignore_removals"`" » "`"differential"`, or
`"differential_ignore_removals"`")...
2023-11-03 20:34:00 -05:00
George KarrandRoberto Dip 51772873bc Update to latest gon with notarytool until we find a better solution (#14918)
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2023-11-03 18:56:30 -05:00
Mike McNeil f9112e9038 Update introducing-cross-platform-script-execution.md (#14944)
thoughts? 
https://fleetdm.com/announcements
2023-11-03 16:23:24 -07:00
Rachael Shaw 05695a0928 Docs: Config file changes for #7766 (#14946)
Add `discard_data` to query covfig example and `query_reports_disabled`
to org settings.
2023-11-03 18:00:35 -05:00
Paul H TardifandSam Pfluger b383888202 Add phtardif1 to list of humans (#14937)
...

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2023-11-03 16:02:04 -05:00
Paul H Tardif 190ec3f2a6 Fixing typos (#14938)
...
2023-11-03 15:39:42 -05:00
Jacob ShandlingandJacob Shandling 13632eed92 UI - 2 small fixes (#14935)
- restore circle to Apple icon on dashboard
<img width="602" alt="Screenshot 2023-11-03 at 12 49 03 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/ae2f0799-6284-430c-92c2-2ece4a8474a8">



- resolve DOM nesting issue from`p` > `div`
<img width="2548" alt="Screenshot 2023-11-03 at 12 50 25 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/fa6b2c84-b267-4160-b7ec-aff6cb5f9c73">


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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-11-03 13:13:08 -07:00
Eric 8e523b6763 Website: Animate homepage category images (#14932)
Related to: #14673

Changes:
- Updated the category images on the homepage to animate when the
category is changed.
2023-11-03 15:09:30 -05:00
George Karr 93a4e9cc2b Update Building-Fleet.md (#14761)
Fixing build instructions for Ubuntu as the previous instructions
install an incompatible version of npm / nodejs
2023-11-03 14:53:02 -05:00
2cc20ab259 Docs: removed fleet vs fleet sandbox (#14503)
If some of the following don't apply, delete the relevant line.
...

---------

Co-authored-by: Sampfluger88 <108141731+Sampfluger88@users.noreply.github.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
2023-11-03 14:30:00 -05:00
dependabot[bot] 255ab88b8d Bump golang.org/x/net from 0.10.0 to 0.17.0 in /infrastructure/sandbox/JITProvisioner/lambda (#14477) 2023-11-03 14:28:43 -05:00
dependabot[bot] 1fb08110e9 Bump golang.org/x/net from 0.7.0 to 0.17.0 in /infrastructure/sandbox/JITProvisioner/ingress_destroyer (#14475) 2023-11-03 14:27:52 -05:00
dependabot[bot] b99ff2f464 Bump golang.org/x/net from 0.7.0 to 0.17.0 in /infrastructure/sandbox/PreProvisioner/lambda (#14476) 2023-11-03 14:27:16 -05:00
Katheryn Satterlee 62d758762a Fix broken link to configuration documentation (#14292) 2023-11-03 13:26:03 -05:00
dependabot[bot] 6f168e9399 Bump graphql from 16.6.0 to 16.8.1 (#14052) 2023-11-03 13:25:30 -05:00
Victor Lyuboslavsky 9e3215eb2b Fixing TestTranslateCPEToCVE (#14931) 2023-11-03 12:58:59 -05:00
gillespi314 7f37d6947b Hide "Turn off MDM" action on host details page for non-macOS hosts (#14843) 2023-11-03 12:17:06 -05:00
Victor Lyuboslavsky a40ee0b258 Web UI no longer gives an error when deleting a large number of hosts. (#14896)
After 30 seconds, the 'Delete host' modal closes and the delete
operation continues in the background. The following text has been added
to the modal when deleting 500 or more hosts: "When deleting a large
volume of hosts, it may take some time for this change to be reflected
in the UI."

#14097 

# Checklist for submitter

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

- [x] 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.
- [x] Manual QA for all new/changed functionality
- [x] Backend test added
2023-11-03 12:15:37 -05:00
Gabriel Hernandez 76059564a9 Fix UI abm message link font (#14927)
quick fix to update abm expiry message text and link to same size as
other warning messages
2023-11-03 16:14:02 +00:00
Gabriel Hernandez 7b3d3e7a18 update ABM expiry message to match font size of other warning messages (#14926)
quick fix to font size to match other warning message font sizes
2023-11-03 16:05:30 +00:00
Jacob ShandlingandJacob Shandling 316f2d1547 UI - fix Host details offline status indicator color (#14917)
## Addresses #14358
Match offline indicator color on host details summary to those in the
Manage hosts table:
<img width="1242" alt="Screenshot 2023-11-02 at 10 14 47 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/f8264ce2-958c-4344-af0e-cb7ab2f46330">

<img width="1247" alt="Screenshot 2023-11-02 at 10 17 10 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/6e69db56-42b8-4d03-8fb1-6d73aae864b9">

## Checklist for submitter
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-11-03 08:33:22 -07:00
Jacob ShandlingandJacob Shandling 36be3d14a1 UI – Refrain from clearing the auth_token and redirecting to login for errors specific to this scenario (#14911)
## Addresses #12968


https://www.loom.com/share/37aaaa36936b47079ff3088c3430e36b?sid=c249306b-a32e-4a33-be83-aae2d13c98aa

- Improve the implementation of error reporting by `sendRequest` to
handle when AxiosError information is being provided in different fields
(`response`, `message`, `code`, or nowhere), as opposed to relying on
only the `response` field, which is empty in some (including this)
situations
- Using the more fine-grained reporting above, exempt `Request aborted`
errors when fetching a user's data, which is what occurs here, from
triggering a token clear and login page redirect.
- Use dedicated token handling utilities everywhere

## Checklist for submitter
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-11-03 08:32:41 -07:00
Robert Fairburn df3fd028cf Simple fix for mdm module (#14885)
Since this was missing on the outputs, it broke apple mdm secret
population in existing implementations. This should re-assert backwards
compatibility.
2023-11-03 10:27:54 -05:00
Gabriel Hernandez 82e576ef59 fix view all host link chevron icon (#14924)
Fixes chevron icon for view all host link component


- [x] Manual QA for all new/changed functionality
2023-11-03 15:22:17 +00:00
Roberto Dip 33db665d63 show full formatted results for windows commands in fleetctl (#14922)
for #14912 this adds the full results to the "RESULTS" column of
`fleetctl get mdm-command-results`.

Additionally I included formatting of the XML output to improve
readability.
2023-11-03 12:01:43 -03:00
Luke Heath 91db043094 Use go variable to set version in workflows (#14890) 2023-11-03 09:42:27 -05:00
Victor Lyuboslavsky 776a6143a2 Invalid SSO metadata now generates 400 error instead of 500 (#14903)
/fleet/sso endpoint now returns 400 status code (as opposed to 500) when
SSO Metadata URL returns invalid data or SSO Metadata is invalid

#12559

# Checklist for submitter

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

- [x] 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.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2023-11-03 09:33:25 -05:00
RachelElysia bdb2c4c5b7 Fleet UI: Observer+ can run policies in the UI, update docs accordingly (#14796) 2023-11-03 07:42:11 -04:00
RachelElysia 2a22c40345 Fleet UI: Icon alignment (#14860) 2023-11-03 07:41:13 -04:00
RachelElysia f0d3760784 Fleet UI: Changing pages, filters, or search query clears checkbox selections (#14902) 2023-11-03 07:40:19 -04:00
RachelElysia c4e70ecb5e Fleet UI: Update placeholder and hint text for creating a query and policy (#14908) 2023-11-03 07:39:48 -04:00
Dustin GerdesandMike McNeil 9cbe720696 Handbook: Update leadership.md (#14864)
Add Performance Management section
...

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-11-02 22:40:11 -05:00
Charles ZandMike McNeil a13baca0c5 Update ATC docs for TCC.db example (#14914)
I've updated the ATC example that uses TCC.db to be cross-compatible
with as many MacOS versions as possible. This is still useful as-is.

I've also added a chunk for folks to copy/paste directly into their team
settings in the UI for those not using GitOps.

Hopefully others find this helpful!
...

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-11-02 21:44:53 -05:00
fredjohnsen f5d5c91959 Fixed grammatical error (#14910)
...
2023-11-02 21:20:46 -05:00
Sampfluger88 730ce6a5b6 Handbook/sales remove duplicate content (#14913)
...
2023-11-02 20:50:13 -05:00
Eric cd462fba3b 2023-11-01 Website: Update script for Vanta integration (#14807)
Closes: #14751

Changes:
- Added new errors that are thrown if the response from the
`/hosts/{id}` endpoint does not contain a `host` object.
2023-11-02 16:01:44 -05:00
Isabell ReedyandNoah Talerman 95bcc0c80e Docs: how the product sets the name attribute of the scheduled query (#14307)
@ksatter I haven't included an example of the audit logs because we
already have it elsewhere in the docs, so have just linked.

Reference: #13646 & #13648

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2023-11-02 14:57:42 -05:00
Rachael Shaw 1bda4751b5 Update labels for feature request template (#14881)
Re: https://fleetdm.slack.com/archives/C02A8BRABB5/p1698869746853609
2023-11-02 14:50:41 -05:00
George Karr 970854e078 Switching systray dependency to one without glibc requirements (#14197) 2023-11-02 14:40:21 -05:00
JD 3de7a0b911 Article osquery cyber responders (#14901)
Article: How osquery can help cyber responders
2023-11-02 11:40:47 -07:00
Lucas Manuel Rodriguez bf1c6baa1f Update osquery loadtest guide (#14886) 2023-11-02 15:13:42 -03:00
Roberto Dip b04b20fcf0 fix fleetctl to set different CmdUID for Windows (#14895)
for #14891
2023-11-02 15:06:37 -03:00