fleet/server/service
Tomas Touceda a0404b6736
Add software count API (#3105)
* Add software count API

* Fix makefile

* Fine no mock generating at this point

* Actually, one last try

* Use go install instead

* Fix go sum/mod

* Improve documentation

* Try setting node to 14
2021-12-03 10:54:17 -03:00
..
async Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
middleware Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
mock Debug log per host (#1978) 2021-09-10 14:48:33 -03:00
osquery_utils Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
testdata add endpoint to serve the kolide certificate back to the user (#1025) 2017-01-20 14:32:10 -05:00
activities_test.go Refactor ListActivities to new endpoint pattern (#3115) 2021-11-29 08:12:22 -05:00
activities.go Refactor ListActivities to new endpoint pattern (#3115) 2021-11-29 08:12:22 -05:00
carves_test.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
carves.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
client_appconfig.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_carves.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_debug.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
client_errors.go Configure golangci-lint for the whole repository 2021-08-24 13:35:03 -04:00
client_hosts.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_labels.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_live_query_test.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
client_live_query.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_packs.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_policies.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
client_queries.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_sessions.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_setup.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_software.go Implement fleetctl get software and the underlying API (#1999) 2021-09-14 10:58:48 -03:00
client_targets.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client_teams.go Issue 2456 policies yaml (#2512) 2021-10-15 07:34:11 -03:00
client_users.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
client.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
debug_handler_test.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
debug_handler.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
endpoint_appconfig.go Sentence Case: Throughout UI, tests, validators, docs (#2455) 2021-10-11 10:58:27 -04:00
endpoint_campaigns.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_carves.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
endpoint_certificate.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_change_email.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_global_schedule.go Issue 1231 add global schedule (#1383) 2021-07-16 10:15:15 -03:00
endpoint_hosts.go Add total and per platform counts to host summary endpoint (#2845) 2021-11-09 09:35:36 -05:00
endpoint_invites.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_labels.go Issue 1362 fleetctl user roles (#1397) 2021-07-16 15:28:13 -03:00
endpoint_middleware_test.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
endpoint_middleware.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
endpoint_osquery.go Add MVP support for software inventory to osquery-perf for load testing (#2751) 2021-11-01 15:23:31 -03:00
endpoint_packs.go Refactor GetPack to new endpoint pattern (#2409) 2021-10-11 10:17:21 -04:00
endpoint_queries.go Issue 1362 fleetctl user roles (#1397) 2021-07-16 15:28:13 -03:00
endpoint_scheduled_queries.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_sessions.go Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -03:00
endpoint_setup.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
endpoint_status.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_targets.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_teams.go Configure golangci-lint for the whole repository 2021-08-24 13:35:03 -04:00
endpoint_users.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
endpoint_utils_test.go Implement fleetctl get software and the underlying API (#1999) 2021-09-14 10:58:48 -03:00
endpoint_utils.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
frontend.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
global_policies_test.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
global_policies.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
handler_test.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
handler.go Add software count API (#3105) 2021-12-03 10:54:17 -03:00
hosts_test.go Add team_id to host summary when filtered for a specific team (#2869) 2021-11-15 09:56:13 -05:00
hosts.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
http_auth_test.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
http_auth.go Don't check authViewer if there's no bearer token (#2200) 2021-09-23 12:44:04 -03:00
integration_core_test.go Add software count API (#3105) 2021-12-03 10:54:17 -03:00
integration_ds_only_test.go Refactor integration tests (#1821) 2021-09-15 16:27:53 -03:00
integration_enterprise_test.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
integration_live_queries_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
integration_logger_test.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
integration_sso_test.go Add tests to SSO/SAML implementation (#2997) 2021-11-23 08:25:43 -05:00
invites.go Add update invite API (#2837) 2021-11-11 17:33:06 -03:00
live_queries.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
metrics_appconfig.go Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -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 Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -03:00
metrics_users.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
metrics.go Issue 1362 fleetctl user roles (#1397) 2021-07-16 15:28:13 -03:00
packs_test.go Refactor GetPack to new endpoint pattern (#2409) 2021-10-11 10:17:21 -04:00
packs.go Refactor GetPack to new endpoint pattern (#2409) 2021-10-11 10:17:21 -04:00
service_agent_options_test.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_agent_options.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_appconfig_test.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_appconfig.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_campaign_test.go Add configuration and support for Redis to read from replicas (#2509) 2021-10-18 09:32:17 -04:00
service_campaigns.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_carves_test.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
service_carves.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
service_certificate_test.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_certificate.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_errors.go Issue 1840 bulk delete hosts (#2268) 2021-09-29 13:13:23 -03:00
service_global_schedule_test.go Issue 2134 add team admin role (#2499) 2021-10-13 12:34:59 -03:00
service_global_schedule.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_hosts_test.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
service_hosts.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_invites_test.go Issue 2134 add team admin role (#2499) 2021-10-13 12:34:59 -03:00
service_invites.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_labels_test.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_labels.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_osquery_test.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
service_osquery.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_packs_test.go Refactor GetPack to new endpoint pattern (#2409) 2021-10-11 10:17:21 -04:00
service_packs.go Refactor GetPack to new endpoint pattern (#2409) 2021-10-11 10:17:21 -04:00
service_queries_test.go Issue 2133 team maintainer can edit delete queries (#2256) 2021-09-28 14:53:05 -03:00
service_queries.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_scheduled_queries_test.go Issue 2134 add team admin role (#2499) 2021-10-13 12:34:59 -03:00
service_scheduled_queries.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_sessions_test.go Configure golangci-lint for the whole repository 2021-08-24 13:35:03 -04:00
service_sessions.go Add tests to SSO/SAML implementation (#2997) 2021-11-23 08:25:43 -05:00
service_status.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service_targets_test.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_targets.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
service_teams_test.go Add endpoint for management of team enroll secrets (#2849) 2021-11-11 10:45:39 -06:00
service_teams.go Add endpoint for management of team enroll secrets (#2849) 2021-11-11 10:45:39 -06:00
service_users_test.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
service_users.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
service.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
software_test.go Add vulnerable filter for software and also wire up the query search (#2604) 2021-10-20 18:01:20 -03:00
software.go Add software count API (#3105) 2021-12-03 10:54:17 -03:00
team_policies_test.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
team_policies.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
team_schedule_test.go Issue 2134 add team admin role (#2499) 2021-10-13 12:34:59 -03:00
team_schedule.go Issue 2058 team maintainer add queries (#2255) 2021-09-28 13:34:43 -03:00
teams.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
testing_client.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
testing_utils.go Add tests to SSO/SAML implementation (#2997) 2021-11-23 08:25:43 -05:00
translator.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
transport_appconfig.go Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -03:00
transport_campaigns.go Add fleetctl query command (#1784) 2018-05-17 15:54:34 -07:00
transport_carves.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
transport_change_email.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
transport_error_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
transport_error.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
transport_global_schedule.go Issue 1231 add global schedule (#1383) 2021-07-16 10:15:15 -03:00
transport_hosts.go Refactor ListHosts to new endpoint pattern (#2396) 2021-10-11 10:37:48 -04:00
transport_invites_test.go Remove kolide types and packages from backend (#974) 2021-06-06 15:07:29 -07:00
transport_invites.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
transport_labels_test.go Deprecate /api/v1/kolide routes (#297) 2021-02-10 12:13:11 -08:00
transport_labels.go Add support for filtering hosts in label (#335) 2021-02-18 12:52:43 -08:00
transport_osquery_test.go Add MVP support for software inventory to osquery-perf for load testing (#2751) 2021-11-01 15:23:31 -03:00
transport_osquery.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
transport_packs_test.go Deprecate /api/v1/kolide routes (#297) 2021-02-10 12:13:11 -08:00
transport_packs.go Fix pack and query UI issues in Fleet 2.0 (#1829) 2018-06-15 10:13:11 -04:00
transport_queries_test.go Deprecate /api/v1/kolide routes (#297) 2021-02-10 12:13:11 -08:00
transport_queries.go Issue 1362 fleetctl user roles (#1397) 2021-07-16 15:28:13 -03:00
transport_scheduled_queries_test.go Deprecate /api/v1/kolide routes (#297) 2021-02-10 12:13:11 -08:00
transport_scheduled_queries.go Fix pack and query UI issues in Fleet 2.0 (#1829) 2018-06-15 10:13:11 -04:00
transport_sessions_test.go Remove username from UI (#1168) 2021-06-24 13:42:29 -07:00
transport_sessions.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
transport_setup.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
transport_targets_test.go Add support for Teams in targets and live queries (#880) 2021-05-27 13:18:00 -07:00
transport_targets.go Update go-kit to 0.4.0 (#1411) 2017-03-15 08:55:30 -07:00
transport_teams.go Refactor enroll secrets to support Teams (#903) 2021-05-31 09:02:05 -07:00
transport_test.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
transport_users_test.go Remove kolide types and packages from backend (#974) 2021-06-06 15:07:29 -07:00
transport_users.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
transport.go Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
user_roles.go Add support for context in datastore/mysql layer (#1962) 2021-09-14 08:11:07 -04:00
validation_app_config_test.go Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -03:00
validation_app_config.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
validation_invites.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
validation_setup.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
validation_users.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00