fleet/server/service
Dante Catalfamo 80c906aa69
Windows careful bitlocker selection (#18189)
#17796

Fixes an issue in windows server where selecting from `bitlocker_info`
will cause the query to abort. Bitlocker is not available by default
on some version of windows server, so we first check if the optional
component is enabled before making our query
2024-04-12 10:00:46 -04:00
..
async Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
externalsvc remove unused logic specific to DEP+Okta+ROP (#11261) 2023-04-21 14:57:52 -03:00
middleware Remove ineffective rate limit to /api/fleet/device/ping and api/fleet/orbit/ping endpoints (#16334) 2024-01-25 15:05:52 -03:00
mock Move nanomdm dependency in monorepo (#16015) 2024-01-11 23:28:48 -03:00
osquery_utils Windows careful bitlocker selection (#18189) 2024-04-12 10:00:46 -04:00
redis_policy_set Migrate team-related endpoints to new pattern (#3740) 2022-01-19 10:52:14 -05:00
schedule Add enterprise integration test for calendar events (#17900) 2024-04-04 14:58:31 -03:00
testdata Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
activities.go Add count to host upcoming activities API response (#16511) 2024-02-06 10:02:38 -06:00
activities_test.go New observer_plus role (#10675) 2023-04-05 15:23:49 -03:00
appconfig.go use license.IsPremium to check for premium licenses (#18141) 2024-04-09 11:15:22 -03:00
appconfig_test.go Regenerate schema.sql 2024-03-27 08:19:21 -04:00
apple_mdm.go use license.IsPremium to check for premium licenses (#18141) 2024-04-09 11:15:22 -03:00
apple_mdm_test.go Add cross-platform check for duplicate MDM profile names (#17916) 2024-03-29 14:55:03 -05:00
base_client.go prevent baseClient from trying to decode 204 responses (#16060) 2024-01-11 17:55:35 -03:00
base_client_errors.go Finalize MDM commands part 2: implement fleetctl mdm run-command (#10866) 2023-04-03 14:25:49 -04:00
base_client_test.go prevent baseClient from trying to decode 204 responses (#16060) 2024-01-11 17:55:35 -03:00
build_tags_test.go Return 405 when receiving POST request on the route path (#16750) 2024-02-14 12:40:43 -03:00
campaigns.go Moving context.WithoutCancel outside defer. (#17260) 2024-02-29 13:39:27 -03:00
campaigns_test.go Address multiple redis-related issues observed with live queries (#16855) 2024-02-27 19:35:27 -06:00
carves.go Update carve request block id mismatch error code from 500 –> 400 (#17974) 2024-04-04 09:38:10 -07:00
carves_test.go Update carve request block id mismatch error code from 500 –> 400 (#17974) 2024-04-04 09:38:10 -07:00
client.go Add cross-platform check for duplicate MDM profile names (#17916) 2024-03-29 14:55:03 -05:00
client_appconfig.go fleetctl gitops (#16535) 2024-02-09 13:34:57 -06:00
client_carves.go Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
client_debug.go chore: remove refs to deprecated io/ioutil (#14485) 2023-10-27 15:28:54 -03:00
client_hosts.go 17257 validate bulk ops request filters (#17514) 2024-03-11 10:02:51 -06:00
client_labels.go Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
client_live_query.go fleetctl now runs saved queries (#15667) 2023-12-15 12:55:39 -06:00
client_live_query_test.go fleetctl now runs saved queries (#15667) 2023-12-15 12:55:39 -06:00
client_mdm.go Add fleetctl cli wipe command (#17087) 2024-02-29 17:13:25 +00:00
client_mdm_test.go fix fleetctl to set different CmdUID for Windows (#14895) 2023-11-02 15:06:37 -03:00
client_packs.go Add fleetctl upgrade-packs command to migrate 2017 packs to queries (#13078) 2023-08-08 08:21:57 -04:00
client_policies.go fleetctl gitops (#16535) 2024-02-09 13:34:57 -06:00
client_profiles.go Unify profiles database identifier to profile_uuid for macOS and Windows profiles. (#15297) 2023-12-04 10:04:06 -05:00
client_queries.go fleetctl gitops (#16535) 2024-02-09 13:34:57 -06:00
client_scripts.go Update API and CLI to enable running scripts by name and team id (#17322) 2024-03-05 08:53:17 -06:00
client_sessions.go Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
client_setup.go fleetctl preview to use v1 setup path, to support previous versions of fleet (#5331) 2022-04-25 10:02:21 -03:00
client_software.go Update fleetctl get software to list titles and versions. (#15444) 2023-12-06 16:07:03 -05:00
client_targets.go Add display_name to more results (#8204) 2022-10-14 11:14:18 -03:00
client_teams.go fleetctl gitops (#16535) 2024-02-09 13:34:57 -06:00
client_test.go feature: target profiles by labels (#16202) 2024-01-26 11:00:58 -05:00
client_trigger.go Add fleetctl trigger command (#8877) 2022-12-06 09:56:54 -06:00
client_users.go Filter out non-observer_can_run queries for observers in fleetctl get queries command to match the UI. (#11251) 2023-04-26 11:38:20 -03:00
cron_schedules.go Implement schedule triggers (#8747) 2022-11-28 13:28:06 -06:00
cron_schedules_test.go Add instanceID to schedule logging (#10413) 2023-03-13 15:37:03 -03:00
debug_handler.go Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
debug_handler_test.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
device_client.go Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
device_client_test.go 7766 backmerge main (#14324) 2023-10-05 11:39:48 -06:00
devices.go Prevent MDM migration without assigned ADE profile (#17999) 2024-04-08 11:10:29 -03:00
devices_test.go Prevent MDM migration without assigned ADE profile (#17999) 2024-04-08 11:10:29 -03:00
endpoint_campaigns.go override the websocket upgrader checkorigin func to return true (#10841) 2023-03-30 08:09:47 -04:00
endpoint_middleware.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
endpoint_middleware_test.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
endpoint_setup.go Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00
endpoint_utils.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
endpoint_utils_test.go Set interface for response types (#9121) 2022-12-27 11:26:59 -03:00
frontend.go Return 405 when receiving POST request on the route path (#16750) 2024-02-14 12:40:43 -03:00
frontend_test.go Return 405 when receiving POST request on the route path (#16750) 2024-02-14 12:40:43 -03:00
full_test.go Return 405 when receiving POST request on the route path (#16750) 2024-02-14 12:40:43 -03:00
global_policies.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
global_policies_test.go feat: reset yes/no count when query changes (#14776) 2023-10-31 12:29:09 -04:00
global_schedule.go Combine Schedules and Queries: API changes (#12778) 2023-07-24 20:17:20 -04:00
global_schedule_test.go Live query stats are cleared when query SQL is modified. (#15710) 2023-12-18 08:45:19 -06:00
handler.go Add DDM service struct, basic handlers, and test client (#17671) 2024-03-15 15:20:15 -03:00
handler_test.go remove feature flags to enable MDM (#10746) 2023-03-27 16:30:29 -03:00
hosts.go Populate host.MDMInfo when getting host details for Windows host (#17893) 2024-03-29 09:48:31 -05:00
hosts_test.go Populate host.MDMInfo when getting host details for Windows host (#17893) 2024-03-29 09:48:31 -05:00
http_auth.go Remove unused request-id in context (#3632) 2022-01-13 14:12:56 -08:00
http_auth_test.go Fixes to /fleet/queries/run endpoint (#14909) 2023-11-06 11:03:42 -06:00
http_publicip.go Log all successful logins as activity and all attempts with ip in stderr. (#9095) 2022-12-21 18:29:51 +01:00
installer.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
installer_test.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
integration_core_test.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
integration_ddm_test.go Update tests 2024-03-29 17:03:12 -04:00
integration_desktop_test.go Custom email device-mapping: implement the REST API changes (#15748) 2023-12-21 11:21:39 -06:00
integration_ds_only_test.go Support async saving of hosts' last seen time (#5640) 2022-05-10 11:29:17 -04:00
integration_enterprise_test.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
integration_live_queries_test.go Recategorize MDM endpoints to new mdm-less paths (#17372) 2024-03-13 10:27:29 -04:00
integration_logger_test.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
integration_mdm_dep_test.go fix tests and lint 2024-03-27 12:21:08 -03:00
integration_mdm_test.go Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
integration_sandbox_test.go Recategorize MDM endpoints to new mdm-less paths (#17372) 2024-03-13 10:27:29 -04:00
integration_smtp_test.go Recategorize MDM endpoints to new mdm-less paths (#17372) 2024-03-13 10:27:29 -04:00
integration_sso_test.go Recategorize MDM endpoints to new mdm-less paths (#17372) 2024-03-13 10:27:29 -04:00
invites.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
invites_test.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
jitter.go Migrate special-case endpoints to new pattern (#4511) 2022-03-08 11:27:38 -05:00
jitter_test.go Migrate special-case endpoints to new pattern (#4511) 2022-03-08 11:27:38 -05:00
labels.go Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
labels_test.go ChromeOS support for Fleet dashboard (#11953) 2023-05-26 14:32:01 -04:00
live_queries.go Moving context.WithoutCancel outside defer. (#17260) 2024-02-29 13:39:27 -03:00
mail_test.go 14729 smtp settings validation for TLS (#15029) 2023-11-21 11:48:21 -07:00
mdm.go Add cross-platform check for duplicate MDM profile names (#17916) 2024-03-29 14:55:03 -05:00
mdm_test.go Additional backend support for DDM profiles (#17775) 2024-03-22 10:37:43 -05:00
mem_failing_policies_set_test.go Fix failing policy sets for redis cluster mode (#3725) 2022-01-17 15:16:54 -05:00
metrics.go Issue 1362 fleetctl user roles (#1397) 2021-07-16 15:28:13 -03:00
metrics_appconfig.go Fix SMTP e-mail send when SMTP server has credentials (#10758) 2023-03-28 15:23:15 -03:00
metrics_change_email.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
metrics_invites.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
metrics_labels.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
metrics_sessions.go add back-end implementation for SSO JIT provisioning (#7182) 2022-08-15 14:42:33 -03:00
metrics_users.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
microsoft_mdm.go fix: process Add commands in Windows MDM profiles (#17570) 2024-03-12 15:21:17 -04:00
microsoft_mdm_test.go fix: process Add commands in Windows MDM profiles (#17570) 2024-03-12 15:21:17 -04:00
orbit.go Feature: Remote Lock for macOS, Windows and Linux (#16783) 2024-02-13 13:03:53 -05:00
orbit_client.go Add exponential backoff to orbit enroll retries (#17368) 2024-03-13 07:57:00 -03:00
orbit_client_test.go Reducing the number of fleetd calls to fleet/orbit/config endpoint. (#15545) 2023-12-11 07:04:24 -06:00
orbit_test.go Queued scripts feature (#16300) 2024-01-29 11:37:54 -03:00
osquery.go Calendar webhook will retry if it receives response 429 (#18067) 2024-04-05 12:44:56 -05:00
osquery_test.go Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
packs.go Fix permissions on GitOps user for searching hosts or count targets (#11448) 2023-05-01 12:57:28 -03:00
packs_test.go Combine Schedules and Queries: API changes (#12778) 2023-07-24 20:17:20 -04:00
queries.go Reset query report when platform/min_osquery_version is changed (#17847) 2024-03-29 12:17:52 -03:00
queries_test.go Reset query report when platform/min_osquery_version is changed (#17847) 2024-03-29 12:17:52 -03:00
scheduled_queries.go Combine Schedules and Queries: API changes (#12778) 2023-07-24 20:17:20 -04:00
scheduled_queries_test.go Combine Schedules and Queries: API changes (#12778) 2023-07-24 20:17:20 -04:00
scripts.go Added orbit_version, fleet_desktop_version, and scripts_enabled to host details. (#18123) 2024-04-09 16:33:44 -05:00
scripts_test.go Update API and CLI to enable running scripts by name and team id (#17322) 2024-03-05 08:53:17 -06:00
service.go Move nanodep dependency in monorepo (#16984) 2024-02-26 10:26:00 -05:00
service_appconfig.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
service_appconfig_test.go New gitops role (#10850) 2023-04-12 16:11:04 -03:00
service_campaign_test.go Updating wall_time from seconds to ms. (#16706) 2024-02-12 07:58:40 -06:00
service_campaigns.go Fix orphaned live queries in Redis when client terminates connection (#17202) 2024-02-27 17:47:05 -03:00
service_errors.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
service_users.go New gitops role (#10850) 2023-04-12 16:11:04 -03:00
sessions.go Invalid SSO metadata now generates 400 error instead of 500 (#14903) 2023-11-03 09:33:25 -05:00
sessions_test.go Do not return empty SSO and SMTP settings for non-global-admins (#12180) 2023-06-07 16:06:36 -03:00
software.go Fixing tests. (#17073) 2024-02-22 16:03:13 -06:00
software_test.go Fixing tests. (#17073) 2024-02-22 16:03:13 -06:00
software_titles.go Fixing tests. (#17073) 2024-02-22 16:03:13 -06:00
software_titles_test.go Fixing tests. (#17073) 2024-02-22 16:03:13 -06:00
status.go feat: send back forbidden when live queries are disabled (#14804) 2023-10-31 08:58:36 -04:00
targets.go Set interface for response types (#9121) 2022-12-27 11:26:59 -03:00
targets_test.go Refactor license so it is stored in the context (#8544) 2022-11-15 09:08:05 -05:00
team_policies.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
team_policies_test.go 15597 Observer list query filter (#15653) 2023-12-14 13:25:42 -07:00
team_schedule.go Combine Schedules and Queries: API changes (#12778) 2023-07-24 20:17:20 -04:00
team_schedule_test.go gitops role authorization changes for fleetctl gitops (#16710) 2024-02-12 16:44:35 -06:00
teams.go Adding full unicode/emoji support for team/policy names. (#17163) 2024-02-27 12:55:05 -06:00
teams_test.go Unify profiles database identifier to profile_uuid for macOS and Windows profiles. (#15297) 2023-12-04 10:04:06 -05:00
testing_client.go Fix issues related to Fleet builtin labels and reserved MDM profile names (#18043) 2024-04-08 14:34:55 -05:00
testing_utils.go Add DDM service struct, basic handlers, and test client (#17671) 2024-03-15 15:20:15 -03:00
translator.go BadRequest when no payloads present; BadRequest for invalid payload types (#18169) 2024-04-10 10:55:38 -07:00
transport.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00
transport_error.go Merge branch 'main' into 15919-vulnerabilities-page 2024-02-22 16:27:15 -06:00
transport_error_test.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
transport_setup.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
transport_test.go GET /hosts API endpoint can now populate policies with populate_policies=true query parameter. (#17270) 2024-03-01 11:20:21 -06:00
trigger.go Set interface for response types (#9121) 2022-12-27 11:26:59 -03:00
user_roles.go ensure ds.TeamByName returns a 4xx response if no team is found (#12620) 2023-07-13 11:55:05 -03:00
users.go Improved error message when creating a new user (via API or fleetctl) with a team that does not exist. (#16760) 2024-02-13 10:32:30 -06:00
users_test.go Improved error message when creating a new user (via API or fleetctl) with a team that does not exist. (#16760) 2024-02-13 10:32:30 -06:00
validation_setup.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
vulnerabilities.go bugfix: add counts_updated_at (#17543) 2024-03-11 14:14:29 -06:00
vulnerabilities_test.go Ignore leading/trailing whitespace when filtering entities; fix url param handling; test broad range of affected endpoints (#17455) 2024-04-10 11:50:08 -07:00