Commit graph

66 commits

Author SHA1 Message Date
Martin Angers
5477acb688
Add low_disk_space_count property to GET /host_summary (#7872) 2022-09-21 15:56:17 -04:00
Martin Angers
db24cf32fa
Add new low_disk_space URL parameter to the GET /hosts endpoint (and GET /hosts/count) (#7853) 2022-09-21 15:16:31 -04:00
Martin Angers
478b4d3f69
Validate team and appconfig payloads, with dry-run and force modes (#7731) 2022-09-19 13:53:44 -04:00
Martin Angers
aa0102d6b6
Remove aggregate host counts from GET /hosts responses (#7510) 2022-09-06 10:34:06 -04:00
Martin Angers
f602ea3446
Provide Munki issues for MacOS hosts (#7280) 2022-08-29 14:40:16 -04:00
Roberto Dip
9a1d2066bb
deprecate host_settings in favor of features (#7358)
Related to #7312, this makes use of the changes introduced in #7353 to rename host_settings to features while keeping backwards compatibility.
2022-08-25 13:41:50 -03:00
RachelElysia
b795cc64ca
REST-API.md: Add mdm params to export host api doc (#7330) 2022-08-25 07:09:18 -07:00
gillespi314
7fb109e6b3
Handle errors for duplicate os records (#7294) 2022-08-22 14:34:00 -05:00
Roberto Dip
953fc895ff
add geolocation information to Hosts responses (#7190) 2022-08-17 19:10:22 +00:00
Martin Angers
b891e0d7f7
Add mdm solution payload to GET /hosts response when filtering by mdm_id (#7198) 2022-08-15 12:57:25 -04:00
gillespi314
90f57f4849
Enhance API endpoints with host operating systems info (#7154) 2022-08-12 14:23:25 -05:00
Luke Heath
983e5a2ab9
Fix list labels parameter table markdown (#7174) 2022-08-12 11:21:04 -05:00
Martin Angers
c8cdddf0ea
Update /macadmins endpoints to include MDM name and aggregate count (#7137) 2022-08-10 15:15:01 -04:00
Roberto Dip
fc8c15c0d1
add application config setting to enable JIT provisioning (#7140)
As part of #7053, this adds a config setting to enable JIT provisioning.
2022-08-10 15:15:35 -03:00
Luke Heath
fb874caf03
Fix incorrect property name in REST API docs (#7005) 2022-08-09 11:34:29 -05:00
Roberto Dip
90b723e45a
consolidate sandbox env flags (#6917)
Related to #6894, this entirely replaces FLEET_DEMO with the server config added in #6597

As part of this, I also implemented a small refactor to the integration test suite to allow setting a custom config when the server is initialized.
2022-07-27 16:47:39 -03:00
Desmi-Dizney
3bcff57248
Fixed typo in link and table formatting issues (#6801)
* Fixed typo in link

This is related to:
- https://github.com/fleetdm/fleet/issues/6790

* Update docs/Using-Fleet/REST-API.md

* Update REST-API.md
2022-07-25 10:03:27 -05:00
Desmi-Dizney
e024f79d11
Fixed the "Translator" section heading issue (#6815) 2022-07-21 16:36:48 -05:00
Desmi-Dizney
843bc71a58
Fixed formatting issue on REST API docs (#6798)
I took extra lines out to fix the table.
2022-07-21 10:50:51 -05:00
gillespi314
0312454f4c
Modify host battery health returned by GET /hosts/:id (#6782) 2022-07-20 21:16:03 -05:00
Tomas Touceda
7f8099db57
Add sandbox fleet serve config (#6619)
* Add sandbox fleet serve config

* Update docs

* Maybe fix lint issues

* Add lint dep
2022-07-12 18:21:15 -03:00
Kelvin Oghenerhoro Omereshone
f20e0b6f37
Remove duplicate license property (#6393)
Fixes #5262
2022-06-29 15:51:14 -04:00
Roberto Dip
b2d07e56b5
report error analytics (#6341)
Related to #5898, this reports an anonymized summary of errors stored in Redis into the analytics payload.

For each error stored, this includes:

- A `count` attribute with the number of occurrences of the error
- A `loc` attribute with the 3 topmost lines in the stack trace. Note that stack traces only contain package name + line number (example: github.com/fleetdm/fleet/server.go:12

This also includes a minor refactor around error types.
2022-06-28 16:31:14 -03:00
Martin Angers
539be8ee09
Add battery info in host details response (#6394) 2022-06-28 14:11:49 -04:00
Roberto Dip
984605f630
store count alongside unique error instances in Redis (#6232)
Related to #4972, this adds a new key, error:<hash>:count to Redis in order to keep track of how many times each instance of an error occurred.
2022-06-21 08:43:53 -03:00
Desmi-Dizney
da0eb711f6
Editor pass - Update team integrations to reference global integrations (part of failing policies automation support) (#6202)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/6156
2022-06-14 14:57:12 -04:00
Martin Angers
7f9bb6431e
Update team integrations to reference global integrations (part of failing policies automation support) (#6156) 2022-06-13 10:04:47 -04:00
gillespi314
44f902218c
Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
gillespi314
a3ab5646f5
Add new fleet_desktop property to config object (#6151) 2022-06-10 10:39:02 -05:00
Desmi-Dizney
fba894d853
Editor pass - Support failing policies integrations (#6101)
Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5973
2022-06-06 14:20:03 -07:00
Martin Angers
a23e0c41ff
Support failing policies integrations (#5973) 2022-06-06 10:41:51 -04:00
Martin Angers
56ce1649ee
Add issues and device_mapping output to CSV export (#5864) 2022-05-23 15:35:05 -04:00
Desmi-Dizney
fc3b887481
Editor pass - Include CVE scores when listing software (#5834)
* Editor pass - Include CVE scores when listing software

Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5673

* Update REST-API.md
2022-05-23 10:22:58 -05:00
Desmi-Dizney
a45a2f4608
Editor pass - add documentation for debug tools (#5811)
* Editor pass -  add documentation for debug tools

Editor pass for:
-  https://github.com/fleetdm/fleet/pull/5737

* Update fleetctl-CLI.md
2022-05-20 13:01:54 -05:00
Michal Nicpon
983f9e59b3
Include CVE scores when listing software (#5673) 2022-05-20 10:58:40 -06:00
Roberto Dip
a6a97f31cf
add documentation for debug tools (#5737)
This adds documentation about our debugging endpoints and a brief excerpt about the fleetctl debug command with instructions to generate the archive so we have a place with instructions to which we can direct people.

It also adds the .prof file extension to profiling files, which hopefully clarifies that they are meant to be used by go tool pprof.
2022-05-17 10:00:47 -03:00
Eric
69b4cbe1a2
Docs: fix whitespace issue in REAT API docs (#5652) 2022-05-11 15:29:19 -05:00
Martin Angers
f05d2be767
Produce hosts' CSV report based on requested columns (#5656) 2022-05-10 14:25:53 -04:00
gillespi314
d172128183
Add label information to host summary response (#5573) 2022-05-10 10:32:55 -05:00
Roberto Dip
cba78bdcd1
don't clear errors automatically when reading them from Redis (#5623)
this change prevents errors from being automatically cleared once they are read. A new flag `-flush` is introduced to flush errors on read if necessary.
2022-05-10 11:44:43 -03:00
Kelvin Oghenerhoro Omereshone
418256fc41
feat: remove trailing commas (#5626) 2022-05-09 18:08:37 +01:00
Kelvin Oghenerhoro Omereshone
25ce199f34
Normalize sql statements throughout the docs (#5487)
* feat: normalize SQL statements in API-for-contributors.md

* feat: normalize SQL statements in Adding-hosts.md

* feat: normalize SQL statements in fleetctl-CLI.md

* feat: normalize SQL statements in REST-API.md

* feat: normalize SQL statements in Vulnerability-Processing.md

* feat: normaize SQL statemetns in Using Fleet ReadMe

* feat: normalize SQL statements in tools/api README

* fix: revert adding hosts page
2022-05-03 15:47:31 +01:00
Kelvin Oghenerhoro Omereshone
90a7e7c4c2
fix: add period to end of statement (#5500) 2022-05-02 22:57:36 +01:00
gillespi314
991c7ccadc
Add device_mapping to GET /hosts response (#5383) 2022-05-02 16:34:14 -05:00
gillespi314
1dabf52834
Add Zendesk external service integration for vulnerability automations (#5372) 2022-05-02 15:58:34 -05:00
Kelvin Oghenerhoro Omereshone
3ba104e8dd
feat: reorder entities on REST API page (#5433)
* feat: reorder entities on REST API page

* feat: fix order for Authentication endpoint
2022-05-02 14:55:27 +01:00
Kelvin Oghenerhoro Omereshone
8f096b33e6
feat: update query example to conform with the rest of the docs (#5344)
* feat: update query example to conform with the rest of the docs

* Update docs/Using-Fleet/REST-API.md

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2022-04-27 20:31:15 +01:00
Kelvin Oghenerhoro Omereshone
fda12d0bfe
feat: update table to use id instead of team_id. (#5345)
Also marks id as required in table
2022-04-27 18:44:12 +01:00
Martin Angers
253baee657
Collect last_opened_at for macOS software, and return it in host details payload (#5376) 2022-04-26 14:16:59 -04:00
Luke Heath
c7948d0751
Add missing section links in API docs (#5362) 2022-04-25 20:25:12 -05:00