Gabriel Hernandez
a2d672435d
update buttons to match new styleguide ( #9183 )
...
* update button to follow new style guide
* update button styles for inverted ghost buttons
* update a color name to match new styleguide
2023-01-05 15:23:27 +00:00
Jacob Shandling
f2bdf7139e
UI hackathon - add datetime details in tooltip for most "Last Xed" data presentations ( #9166 )
2023-01-05 09:08:27 -06:00
RachelElysia
68aefc8e56
Fleet UI Hackathon: Empty states ( #9094 )
2023-01-04 14:16:34 -05:00
Gabriel Hernandez
afed2e35e0
change integration page layout to side nav layout. ( #9057 )
2023-01-04 18:39:39 +00:00
Gabriel Hernandez
7ec3cfbfe1
add bookmarkability for search query filtering on hosts ( #9067 ) ( #9182 )
2023-01-04 16:41:15 +00:00
RachelElysia
772caeaa09
Fleet UI: Fix packs target details to show on click ( #9155 )
2023-01-04 09:58:18 -05:00
Lucas Manuel Rodriguez
ba6b6e12cc
Fix ingestion of MDM server for macOS and Windows hosts ( #9133 )
...
* Fix ingestion of MDM server for macOS and Windows hosts
* Return early if there are no mobile_device_management_solutions to clean up
* Run make dump-test-schema
* Fix TestHosts/DeleteHosts test
* Add test for host unenrolling from MDM
* Fix lint
* Fix typo
* Identify Fleet MDM
* Move logic to deduce MDM name out of Datastore
* Run make dump-test-schema
* Remove printfs from migration
2023-01-04 10:29:48 -03:00
Gabriel Hernandez
3a5036f65c
Revert "add bookmarkability for search query filtering on hosts ( #9067 )" ( #9160 )
...
This reverts commit ba62064500
.
2023-01-03 23:38:56 +00:00
Frank Sievertsen
91c90b4caa
Add new configuration option to set default team for Apple Business Manager ( #9062 )
2023-01-03 16:14:18 -06:00
gillespi314
b990121fdc
Add mdm enrollment pending filter to API endpoints ( #9137 )
2023-01-03 11:26:23 -06:00
Gabriel Hernandez
ba62064500
add bookmarkability for search query filtering on hosts ( #9067 )
2023-01-03 10:39:01 +00:00
Roberto Dip
1b47f9e700
add activities when a host is enrolled/unenrolled from MDM ( #9127 )
...
#8996
2022-12-28 16:41:18 -03:00
Lucas Manuel Rodriguez
34b62cc43e
Fix panic in hosts/{id}/mdm endpoint when host does not have MDM data ( #9123 )
2022-12-27 16:22:37 -03:00
gillespi314
94dd1c3745
Ingest pending MDM hosts ( #9065 )
...
Co-authored-by @roperzh
2022-12-26 15:32:39 -06:00
Lucas Manuel Rodriguez
e1bbcfcfda
Generate audit logs for activities ( #9001 )
...
* Generate audit logs for activities
* Fix config tests
* Fix TestGetConfig/IncludeServerConfig
* Fix use of AddAttributes in results only
* Stream activities asynchronously
* Fix index and add logging
* Revert change
* Documentation fixes
2022-12-23 19:04:13 -03:00
Roberto Dip
141fb5dbb0
issue SCEP certs using 2 as the initial SerialNumber ( #9087 )
...
Related to #8167 , from RFC5280:
> The serial number MUST be a positive integer assigned by the CA to
> each certificate. It MUST be unique for each certificate issued by a
> given CA (i.e., the issuer name and serial number identify a unique
> certificate).
Without this change, we're issuing two different certificates with the
same serial number (1, one) and issuer name:
1. One during `fleetctl generate mdm-apple`
1. One during the first SCEP enrollment
2022-12-23 14:55:34 -03:00
Roberto Dip
e191f47aed
fix failed enrollments due to duplicate slashes on paths ( #9089 )
...
This ensures URLs in enrollment profiles are properly formatted,
preventing errors as described in #9088 .
2022-12-23 14:55:17 -03:00
Luke Heath
54e8b3e250
Prepare for 4.25.0 ( #9113 )
2022-12-22 15:13:24 -08:00
Zach Wasserman
e941adfaaa
Use ubuntu-20.04 runner for Fleet build ( #9114 )
...
A customer had a seccomp profile that seemed to be incompatible with the
changes in glibc in ubuntu-22.04. Setting the builder back to 20.04
explicitly to resolve this issue.
2022-12-22 14:48:41 -08:00
RachelElysia
8980088f98
Fleet UI: Fix multi select styling on schedule, packs, members ( #9102 )
2022-12-22 16:34:47 -05:00
Tomas Touceda
af0842804d
Improve how we are logging failed queries and windows detail queries ( #9059 )
...
* Improve how we are logging failed queries and windows detail queries
* Update failing tests
* Remove unneeded table in this particular select
* Update tests now that we dont rely on release_id
* Update ingestion since we want to ingest failures for policies and live queries
* We also want labels with failures
* Fix test since we are logging errors slightly differently
* Improve logging and error handling
* Revert back test change
* Actually, we need to OR the booleans to maintain logic
2022-12-21 17:37:40 -03:00
Frank Sievertsen
8e65ec67b5
Add new activity that records create/edit/delete user roles ( #9086 )
2022-12-21 18:30:19 +01:00
Frank Sievertsen
e7d6ed0f3f
Log all successful logins as activity and all attempts with ip in stderr. ( #9095 )
2022-12-21 18:29:51 +01:00
Marcos Oviedo
605ae861c9
Windows installer now ensures that legacy osquery installations gets removed during clean install ( #9048 )
...
This relates to #8891 .
This PR introduces Wix custom actions usage.
2022-12-19 16:06:44 -08:00
Tomas Touceda
68bd8661e9
Simplify disk encryption query in linux and filter at ingestion ( #9037 )
...
* Simplify disk encryption query in linux and filter at ingestion
* Join with mounts to detect whatever is encrypting /
2022-12-19 10:01:59 -03:00
Jacob Shandling
3ff0945bd0
UI: set local min-height to 0 to restore proper enroll secret icon alignment ( #9043 )
...
* set local min-height to 0 restores intended alignment
* Locally fix same issue on Get API Token modal
* Add changefile
2022-12-16 14:32:51 -08:00
RachelElysia
cf52f189c5
Fleet UI: Delete host flow prevent re-enrollment information ( #9044 )
2022-12-16 16:43:08 -05:00
Gabriel Hernandez
3c136e3f47
Add MDM Card to Windows and All Dashboards and change mdm data source on host details page ( #8960 )
2022-12-16 15:12:11 -06:00
Frank Sievertsen
7ebb97cd70
Fire automations for hosts that failed before automation enabled ( #9028 )
2022-12-16 22:00:54 +01:00
Michal Nicpon
37f454c0be
Add dep key pair endpoint ( #9007 )
2022-12-16 19:39:36 +01:00
Jacob Shandling
54bf64ada4
UI: Fix line height issue on error in registration flow via replacing InputFieldWithIcon with InputField ( #8819 )
...
* Replace InputFieldWithIcon with InputField on setup page
* same refactor on OrgDetails and FleetDetails
* Fix admin setup page spacing issue
* change file
* Remove redundant registration flow placeholders per style guide - info already in labels
* Update reg flow tests getByPlaceHolder -> getByLabel
* update e2e tests with getByPlaceHolderText -> getByLabelText
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-12-16 10:32:10 -08:00
gillespi314
836553ba60
Fix cron trigger bug ( #8950 )
2022-12-16 12:00:42 -06:00
Martin Angers
f5ea13a800
Add changes file ( #9020 )
2022-12-14 09:56:13 -05:00
Michal Nicpon
3c9dd27d75
add fleectl generate mdm-apple-bm command ( #8979 )
2022-12-13 16:24:50 +01:00
Martin Angers
f18a320bd5
Add command get mdm-apple-bm
to fleetctl ( #8949 )
2022-12-12 15:45:53 -05:00
Zach Wasserman
083b781c2c
Send custom headers for live queries ( #8991 )
...
This needed to be set specifically for the live query websocket dialer,
since that doesn't use the HTTP client that the rest of the API client
methods use.
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-12-12 07:56:35 -08:00
Frank Sievertsen
a228dcb170
Add critical policies as a premium feature ( #8959 )
...
* add premium feature critical policies
* update documentation
* add test for premium-only field
* update old change-file
* test policies more comprehensively
* also test team policies
* PATCH returns wrong timestamp, updating test
2022-12-09 19:23:08 +01:00
Roberto Dip
e68535d468
report errors that can occur during file carving ( #8972 )
...
related to https://github.com/fleetdm/fleet/issues/8117
2022-12-09 13:21:30 -03:00
Tomas Touceda
71dbb71df4
Update go to 1.19.4 ( #8945 )
...
* Update go to 1.19.4
* Comment out failing package test
* Comment out ALL the packaging tests for windows for the moment
* Update go to 1.19.4
* Comment out failing package test
* Comment out ALL the packaging tests for windows for the moment
* Update changelog
* Bump versions
* Update changelog to reflect this being a security release
2022-12-09 11:47:17 -03:00
RachelElysia
e9afcc778a
Fleet UI: Fix input field alignments ( #8963 )
2022-12-08 10:57:28 -08:00
Michal Nicpon
10b3179b63
Add fleetctl generate mdm-apple ( #8812 )
2022-12-07 18:24:42 +01:00
RachelElysia
cde9877ecb
Fleet UI: Scroll shadows ( #8914 )
2022-12-06 12:58:32 -08:00
Martin Angers
d4a3730610
Add new configuration options for Apple Business Manager ( #8886 )
2022-12-06 15:50:56 -05:00
gillespi314
43b1241a0c
Add fleetctl trigger
command ( #8877 )
2022-12-06 09:56:54 -06:00
Frank Sievertsen
e0766d21a3
Add ability to mark policy as critical. ( #8896 )
2022-12-06 15:59:20 +01:00
Marcos Oviedo
8796ce9a38
Adding custom action to WIX template to ensure files are not locked during uninstallation ( #8871 )
...
* Adding custom action to ensure that no fleetdm related processes are running on a product uninstall scenario. This will ensure that no file locks are present during file removal
2022-12-06 07:03:06 -03:00
Martin Angers
866829dbfa
Implement fleetctl get mdm-apple ( #8786 )
2022-12-05 11:35:45 -05:00
Martin Angers
f5fc316ad3
Add options for configuring APNS and SCEP keys/certs in Fleet server ( #8730 )
2022-12-05 10:22:56 -05:00
Luke Heath
934f8cf734
Prepare for 4.24.0 ( #8902 )
2022-12-01 13:03:55 -06:00
Jacob Shandling
9a4cfd14b4
UI: Disable sort arrows in manage hosts status column ( #8892 )
2022-12-01 11:49:58 -06:00
Jacob Shandling
cb9c4d00c2
UI: Fix Tooltipwrapper causing extra whitespace if in last column of table ( #8808 )
...
* Nudge last tooltip in header to the left
* changefile
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-29 13:40:04 -08:00
Jacob Shandling
77e6398efb
UI: Prevent bg color change of disabled pagination buttons in Activity card ( #8859 )
...
* Add negation pseuodo-class to button hover to prevent bg color change when disabled
* change file
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-29 13:39:09 -08:00
Marcos Oviedo
ff9206655a
Fixing UninstallString to properly include msiexec /x call ( #8857 )
...
* Fixing UninstallString to properly include msiexec /x call
2022-11-28 20:18:28 -03:00
Frank Sievertsen
8fc32acf00
Store details (query_name and query_sql) about live query in activity feed ( #8842 )
2022-11-28 16:42:32 +01:00
RachelElysia
1e96f4f0fb
Fleet UI: Fix left align wrapping on software table ( #8803 )
2022-11-28 09:56:34 -05:00
RachelElysia
8d1ebce204
Fleet UI: Fix table links to allow wrapping ( #8802 )
2022-11-23 14:36:08 -05:00
RachelElysia
0eff5ce20a
Fleet queries bug: Fix 12 type instances in osquery fleet tables json ( #8801 )
2022-11-23 10:17:04 -05:00
Tomas Touceda
fe1fa4d78c
Clone AppConfig and ScheduledQuery list by hand to improve CPU usage ( #8794 )
...
* Close AppConfig and ScheduledQuery list by hand to improve CPU usage
* Address review comments
* Update remaining mocks
2022-11-23 12:04:06 -03:00
Jacob Shandling
b131839b7f
UI: make diskspace graph behavior os-dependent ( #8792 )
...
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-22 14:43:30 -08:00
Jacob Shandling
9796a15b4d
UI: Set form field height to $form-field-label-min-height for consistency between states, including on error ( #8714 )
...
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-22 14:41:10 -08:00
Jacob Shandling
a568c28124
UI: Add {on|off}line status tooltips and refactor HostSummary to use StatusCell ( #8750 )
...
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-11-22 14:15:17 -08:00
RachelElysia
05a6f06d12
Fleet UI: Allow software table rows to be clickable ( #8772 )
2022-11-22 11:13:33 -05:00
Martin Angers
dc6bfdec57
Add support for missing OS-specific osquery flags in agent options ( #8743 )
2022-11-21 10:32:17 -05:00
RachelElysia
a623a6410a
Fleet UI: Add route params to host details page ( #8673 )
2022-11-18 12:21:53 -05:00
Gabriel Hernandez
0f558d56a4
add links to query side panel ( #8753 )
2022-11-18 14:25:58 +00:00
Jacob Shandling
3c8fd12ebf
Misc typo fixes ( #8694 )
...
* Misc. typo fixes in handbook
* add change file
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2022-11-17 18:13:36 -06:00
Jacob Shandling
b6ec1ef167
UI: Remove preview payload button ( #8623 )
...
* UI: Remove 'Preview payload' button + related (#8506 )
Also removed associated logic, imports, and styles unique to this button.
* Add changes file
2022-11-17 11:43:28 -08:00
RachelElysia
40d787aec9
Fleet UI: URL routes for dashboard platforms ( #8689 )
2022-11-17 10:45:35 -05:00
Gabriel Hernandez
e7616dd422
refactor activity items and add query name to live_query activity type ( #8740 )
2022-11-17 14:25:40 +00:00
Jan Christian Grünhage
8fee954dba
fix: check device mounted at filesystem root for encryption ( #8719 )
2022-11-15 10:50:58 -05:00
Tomas Touceda
9a801dec8d
detect void as a linux platform as well ( #8717 )
...
Co-authored-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
2022-11-15 12:26:18 -03:00
Martin Angers
7f519e44d2
Add migration to drop gigs/percent disk space from hosts ( #8646 )
2022-11-15 08:27:40 -05:00
Martin Angers
f3c7a37813
Support Windows and Ubuntu in osquery-perf ( #8616 )
2022-11-15 08:24:40 -05:00
Luke Heath
af0c75e08b
Prepare for 4.23.0 ( #8663 )
2022-11-14 14:42:21 -08:00
Martin Angers
54bb5448a0
Fix missing valid properties in validation of FIM and YARA agent options ( #8707 )
2022-11-14 15:50:41 -05:00
Gabriel Hernandez
2a98d87ee7
style fixes for code editor and query sidepanel table dropdown ( #8702 )
...
* fix jumping active line for code editor
* fix table styles in query sidepanel table dropdown
2022-11-14 17:20:58 +00:00
RachelElysia
4e9ac903e3
Fleet UI: App settings styling ( #8529 )
...
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-11-11 16:12:00 -05:00
RachelElysia
d05ed9bcca
Fleet UI: Software filter renders even without software version ( #8680 )
2022-11-11 16:04:28 -05:00
Michal Nicpon
9ad1721efd
fix issue with duplicate vulns detected using nvd ( #8613 )
...
The OVAL analyzer falsely assumes that any vulnerabilities detected on a
host only come from OVAL. However, it is possible that NVD detects
vulnerabilities on these hosts even though it excludes software from
deb_packages and rpm_packages. For example, a python package twisted
v22.20 has a vulnerability CVE-2022-39348 detected by NVD. The OVAL
analyzer would delete this vulnerability, and it would be re-inserted by
the NVD scanner on the next run. This creates a loop.
The fix is to only delete vulnerabilities that are actually detected
using OVAL. We already store this in the source column in the
software_cve table.
2022-11-10 10:28:00 -07:00
RachelElysia
3a9f45d6f8
Fleet UI: Filter by low disk space hosts on various platforms ( #8647 )
2022-11-10 09:27:23 -05:00
Gabriel Hernandez
139a462ebe
fix UI to only show munki card on host details for mac machines ( #8657 )
2022-11-10 14:26:12 +00:00
Gabriel Hernandez
443153a5d5
UI polish and style fixes for query pages ( #8643 )
...
* polish manage query page styles
* fix pencil icon spacing on query and policy edit form
* increase gutter style for edtior
* truncate long table names in table dropdown on query sidebar
* add change file
2022-11-10 11:00:06 +00:00
Zach Wasserman
efbe4c0777
Update Go to 1.19.3 ( #8525 ) ( #8614 )
...
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-11-08 13:03:23 -03:00
RachelElysia
a7ca66576b
Fleet UI: Update error copy for opening add host modal without an enroll secret ( #8586 )
2022-11-08 10:06:58 -05:00
Frank Sievertsen
0dbbad8e10
Exclude windows servers from mdm aggregation and lists ( #8585 )
2022-11-08 10:29:40 +01:00
Frank Sievertsen
4743d31870
Support low_disk_space filter for endpoint /labels/{id}/hosts ( #8598 )
2022-11-08 09:19:34 +01:00
RachelElysia
6921e43bb7
Host details page: Surface disk encryption information ( #8437 )
2022-11-07 16:51:03 -05:00
Gabriel Hernandez
e71307e11a
add passed policies column to inherited policies table. Add new colors and add to icons. ( #8524 )
...
* Merge branch 'main' of https://github.com/fleetdm/fleet into chore/testing-docs-on-contribution
add passing columns to inherited policies table
* add updated colors and applied them to icons
* change policy tables to use buildQueryString
2022-11-07 17:13:11 +00:00
RachelElysia
9f160c058f
Fleet UI: Surface how to override modifying agent options that are invalid ( #8561 )
2022-11-04 09:21:37 -04:00
RachelElysia
caf3a6e5ef
Fleet UI: Live query icons bugs ( #8568 )
2022-11-04 09:14:18 -04:00
Tomas Touceda
5d3e27d169
Use tx instead of writer within withTx style code to prevent deadlocks ( #8554 )
2022-11-03 10:57:50 -03:00
Martin Angers
7fbe394b94
Ingest disk encryption flag for hosts, return in GET /hosts/{id}
endpoint ( #8526 )
2022-11-02 15:44:02 -04:00
RachelElysia
6b1589fe8a
Fleet UI: Editing team(s) using fleetctl added to activities ( #8538 )
2022-11-02 14:19:05 -04:00
Mo Zhu
74b8e29cfe
add arch and linuxmint to list of linux distros ( #8532 )
...
* add arch and linuxmint to allowlist of linux distros
* fix comma in array
* refer to list of linux distros, not allowlist
2022-11-01 16:24:59 -07:00
Michal Nicpon
1571837d75
initialize empty slice for host counts usage statistics ( #8510 )
2022-11-01 15:49:02 -06:00
RachelElysia
373378cdd6
Fleet UI: Dropdown and dashboard styling fixes ( #8448 )
2022-11-01 16:09:57 -04:00
RachelElysia
797ea6c707
Fleet UI: Host/Software pages styling fixes ( #8474 )
2022-11-01 15:59:26 -04:00
Martin Angers
8f21e026e3
Fix bug with fleetctl apply for teams, clear agent options only if key is present ( #8508 )
2022-11-01 15:22:45 -04:00
Gabriel Hernandez
bcfd000adf
integration test device user page with mock and custom renderer ( #8475 )
2022-11-01 18:59:40 +00:00
Frank Sievertsen
baa1ddc0f2
Add MDM detection for windows and mdm endpoints ( #8479 )
2022-11-01 18:22:07 +01:00