Commit Graph

29 Commits

Author SHA1 Message Date
noahtalerman
b4e5097356
Draft API changes to api/v1/fleet/hosts/{id} endpoint for software inventory (#669)
Update documentation for the `api/v1/fleet/hosts/{id}` endpoint to align with the first iteration of Software inventory #399 in Fleet.
2021-04-29 11:25:54 -04:00
noahtalerman
dbfbde37b1
Add api/v1/status/ endpoints and api/v1/sso/callback endpoint to REST API docs (#671)
This PR concludes the Complete API documentation project #43

Add documentation for the following endpoints:
- api/v1/status/live_query
- api/v1/status/result_store
- api/v1/sso/callback
2021-04-29 10:45:43 -04:00
Joseph Henrich
7499f37cda
Fix promote/demote user doc (#629)
I believe this is just a copy/paste error from the enable/disable section.
2021-04-09 15:54:49 -07:00
Zach Wasserman
fd13b3a72c
Fix carve documentation flag order (#605)
Update the docs to be consistent with stricter flag parsing in 3.10.

Fixes #602
2021-04-06 14:43:00 -07:00
Zach Wasserman
0bd6903b2d
Add version endpoint to API (#549)
Part of #371
2021-03-26 18:03:31 -07:00
Mike Thomas
dce7910411
Using Fleet text update (#522)
Updated text to match the new UI screenshots.
2021-03-23 08:16:05 -05:00
noahtalerman
2c341ee755
Fix broken anchor links in documentation (#509)
This PR includes various fixes to anchor links used in the documentation.

There are certain characters GitHub doesn't support for the use of anchor links in markdown files. The general rule I've found is to only use a-z or A-Z characters in anchor links. All other characters should be removed.

For example, consider the section title How do I connect to the Mailhog simulated server?. The valid GitHub anchor link for this section is #how-do-i-connect-to-the-mailhog-simulated-server. Notice no ?.

Closes #494
2021-03-21 16:05:11 -07:00
noahtalerman
a4fa53f514
Fix queries/run_by_names endpoint (#438)
The api/v1/fleet/queries/run_by_names endpoint was incorrectly documented as discussed in #409. This PR includes the fix.
- Add the query parameter to the queries/run_by_names endpoint and edit the example requests to include this parameter.
2021-03-11 15:59:00 -08:00
noahtalerman
06dc4c53f7
Remove support property from fleetctl docs. Edit run queries by name endpoint in api docs (#429)
This PR includes two documentation fixes.

1. Remove the support property from the osquery queries spec in the fleetctl docs. The support property is not a feature of osquery or Fleet.
2. Edit the api/v1/fleet/queries/run_by_names with accurate examples. This endpoint sends query targets (hosts and labels) by name (hostname and label name). Contrast this with the api/v1/fleet/queries/run which sends query targets by id (host id and label id)

Resolves #409
2021-03-09 15:41:10 -08:00
noahtalerman
dd7d5cd9a3
Add sessions, reset_password, and more endpoints to REST API docs (#382)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoint included in these changes:
- POST /api/v1/fleet/reset_password
- GET /api/v1/fleet/sessions/{id}
- DELETE /api/v1/fleet/sessions/{id}
- POST /api/v1/fleet/queries/delete
- GET /api/v1/fleet/email/change/{token}
2021-03-09 07:50:48 -08:00
noahtalerman
46a04fbeef
Add documentation for websocket endpoints (#395)
Add documentation on the websocket endpoints in the Fleet API. These endpoints allow users to retrieve live query results.

Endpoints added include:
- `api/v1/fleet/results`
- `api/v1/fleet/results/websockets`
2021-03-08 16:08:47 -08:00
noahtalerman
53296ee930
Fix queries/run endpoint and queries/run_by_name (#411)
- Fix api/v1/fleet/queries/run endpoint. Prior the fix, the endpoint was incorrectly documented as api/v1/fleet/spec/queries/run
- Fix api/v1/fleet/queries/run_by_names endpoint. Prior the fix, the endpoint was incorrectly documented as api/v1/fleet/queries/run
2021-03-08 11:46:05 -08:00
Josh Brower
db0102d80c
JSON formatting fixes (#410)
- Adds correct formatting to JSON in several places in the REST API docs
2021-03-08 08:13:06 -08:00
noahtalerman
b283767574
Add file carve endpoints and remaining user endpoints to REST API docs (#346)
The endpoint included in these changes:
- /api/v1/kolide/carves GET
- /api/v1/kolide/carves/{id} GET
- /api/v1/kolide/users/{id} PATCH
- /api/v1/kolide/users/{id}/enable POST
- /api/v1/kolide/users/{id}/admin POST
- /api/v1/kolide/users/{id}/require_password_reset POST
- /api/v1/kolide/users/{id}/sessions GET
- /api/v1/kolide/users/{id}/sessions DELETE
2021-02-25 11:43:15 -08:00
Zach Wasserman
de0b3324b1
Add AWS Lambda as logging plugin (#347)
This plugin invokes the provided function with each log line as the
payload.

Closes #342
2021-02-24 10:02:26 -08:00
noahtalerman
e8b510a108
Edit /hosts and /labels endpoints in API docs (#280)
- Add query parameter to the /api/v1/fleet/hosts endpoint and edit the example request and response.
- Add query parameter to the /api/v1/fleet/labels/{id}/hosts endpoint
These changes support the ability to perform a search on the Hosts table by hostname, machine_serial, and ipv4.
2021-02-24 09:55:48 -08:00
noahtalerman
3ccd624ee1
Add /targets endpoint to REST API docs. (#331)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoint included in these changes:
- `POST api/v1/fleet/targets`

Additional changes:
- Now order_key and order_direction are included in the parameters table for endpoints that support them. Fixes #326
- Change endpoints to `api/v1/fleet` naming
2021-02-18 12:54:06 -08:00
noahtalerman
8438278ba3
Add instructions for moving queries and packs from one Fleet env to another (#307)
Add documentation that includes lean instructions for exporting queries and packs from one Fleet environment and importing them in another.
2021-02-16 14:48:19 -08:00
noahtalerman
300854ead9
Add labels endpoint to REST API docs (#294)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoints included in these changes:
- /labels POST
- /labels/{id} PATCH
- /labels/{id} GET
- /labels GET
- /labels/{id}/hosts GET
- /labels/{name} DELETE
- /labels/id/{id} DELETE
- /spec/labels POST
- /spec/labels GET
- /spec/labels/{name} GET
2021-02-11 08:38:31 -08:00
Zach Wasserman
7a68e3de65
Deprecate /api/v1/kolide routes (#297)
- Support both /api/v1/fleet and /api/v1/kolide routes in server.
- Add logging for use of deprecated routes.
- Rename routes in frontend JS.
- Rename routes and add notes in documentation.
2021-02-10 12:13:11 -08:00
Mike McNeil
170a85aa9c
Dedupe and cut back on some verbiage in auth docs, fix typo (#277) 2021-02-09 16:38:18 -08:00
noahtalerman
54f46b944e
Add packs endpoints docs to REST API docs (#242)
Reformat the anchor links for specific endpoints by moving these links to their respective sections.

The endpoints included in these changes:
- /api/v1/kolide/packs POST
- /api/v1/kolide/packs/{id} PATCH "modify_pack"
- /api/v1/kolide/packs/{id} GET "get_pack"
- /api/v1/kolide/packs GET "list_packs"
- /api/v1/kolide/packs/{name} DELETE "delete_pack"
- /api/v1/kolide/packs/id/{id} DELETE "delete_pack_by_id"
- /api/v1/kolide/packs/{id}/scheduled GET "get_scheduled_queries_in_pack"
- /api/v1/kolide/schedule POST "schedule_query"
- /api/v1/kolide/schedule/{id} GET "get_scheduled_query"
- /api/v1/kolide/schedule/{id} PATCH "modify_scheduled_query"
- /api/v1/kolide/schedule/{id} DELETE "delete_scheduled_query"
- /api/v1/kolide/spec/packs POST "apply_pack_specs"
- /api/v1/kolide/spec/packs GET "get_pack_specs"
- /api/v1/kolide/spec/packs/{name} GET "get_pack_spec"
2021-01-28 15:40:49 -08:00
noahtalerman
0755b31d40
Add queries endpoints to REST API docs. (#218)
The endpoints included in these changes:
- /api/v1/kolide/queries/{id} GET
- /api/v1/kolide/queries/{id} PATCH
- /api/v1/kolide/queries/{name} DELETE
- /api/v1/kolide/queries GET
- /api/v1/kolide/queries POST
- /api/v1/kolide/queries/id/{id} DELETE
- /api/v1/kolide/spec/queries POST
- /api/v1/kolide/spec/queries GET
- /api/v1/kolide/spec/queries/{name} GET
- /api/v1/kolide/queries/run POST
- /api/v1/kolide/queries/run_by_names POST
2021-01-25 17:27:24 -08:00
noahtalerman
02eb844a50
Add remaining hosts endpoints. Add osquery options endpoints. (#213)
The endpoints included in these changes:
- /api/v1/kolide/host_summary GET
- /api/v1/kolide/hosts/{id} GET
- /api/v1/kolide/hosts/identifier/{identifier} GET
- /api/v1/kolide/hosts/{id} DELETE
- /api/v1/kolide/spec/osquery_options POST
- /api/v1/kolide/spec/osquery_options GET
2021-01-25 17:09:11 -08:00
noahtalerman
c948bd1dc5
Add Fleet configuration endpoint documentation to REST API docs. (#199)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoints included in these changes:
- /api/v1/kolide/config/certificate GET
- /api/v1/kolide/config GET
- /api/v1/kolide/config PATCH
- /api/v1/kolide/spec/enroll_secret POST
- /api/v1/kolide/spec/enroll_secret GET
- /api/v1/kolide/invites POST
- /api/v1/kolide/invites GET
- /api/v1/kolide/invites/{id} DELETE
- /api/v1/kolide/invites/{token} GET
2021-01-15 10:53:34 -08:00
noahtalerman
cf9146eea2
Add additional documentation on how the osquery configuration overrides option works. (#163)
- Quick attempt to alleviate potential confusion for how the osquery configuration overrides option works
- Leave in the commented explanation in the sample yaml file
2021-01-04 13:55:43 -08:00
noahtalerman
715d7b44e2
Fix markdown link check CI action. (#169)
- Split the array of objects to separate objects for each pattern in ignorePatterns. Rename the key in each object to "pattern." The documentation for the example config file is poor.
- Add hello@fleetdm.com and /server/datastore/mysql/migrations/ to ignorePatterns
- Add 999 to aliveStatucCodes (Seems to be a LinkedIn edge case)
- Fix all broken markdown links
2021-01-04 13:55:05 -08:00
noahtalerman
72637d649b
Update links to new documentation locations. (#164)
- Add correct links to the new docs locations for links within the Fleet UI and Fleet documentation.
Fixes #157.
2021-01-04 08:53:23 -08:00
noahtalerman
5ae69fdb43
Capitalize Fleet in "Using Fleet" folder name. (#150)
"Fleet" is now capitalized in the folder name for 1-Using-Fleet.md.
2020-12-24 14:45:43 -08:00