Lucas Manuel Rodriguez
c5375263b6
Change policy platforms name to platform singular (for consistency) ( #3221 )
...
* Change policy platforms name to platform singular
* Fix fleetctl tests
2021-12-06 13:56:28 -03:00
Lucas Manuel Rodriguez
b9a408704e
Add platforms
field to policies ( #3181 )
...
* Add platforms field to policies
* Fix fleetctl tests
* PR review changes
* Add missing tests
* Add changes for ListPoliciesForHost
2021-12-03 15:33:33 -03:00
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
Tomas Touceda
925d4df8f7
Add new disable_failing_policies query parameter to list hosts ( #3123 )
...
* Update documentation
* Update based on review comments
* Explain why the switch exists
2021-11-29 18:04:33 -03:00
Tomas Touceda
036093874d
Add cursor pagination to list hosts ( #3120 )
...
* Add cursor pagination to list hosts
* Update docs
* Update based on review comments
2021-11-29 15:06:00 -03:00
Lucas Manuel Rodriguez
964f85b174
Amend policy creation and spec (for proprietary query), and add update APIs ( #2890 )
...
* Amend policy creation (proprietary query), add update APIs
* Fix Datastore.SavePolicy bug (and add tests)
* Add integration tests for new policy APIs
* Add author email
* Add activities
* Push breaking changes for return policy fields
* WIP
* Add integration test for host policies
* Make more improvements to policy representation
* Improve upgrade code (from PR review comments)
* PR changes
* Revert activities for policies
* Use *uint instead of uint for queryID, use fleet.PolicyPayload
* Filter out other schemas
* New policy flow (#2922 )
* created new policy flow -- no API connection
* added api props
* fixed prop name
* lint fixes
* removed unused modal; fixed style
* name, desc icons; created global components
* lint fixes
* ignoring certain files and lines for prettier
* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx
* Make policy names unique across deployment
* Amend upgrade script
* Fix migration for unique names
* Do not deduplicate but instead rename policies
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
Tomas Touceda
c65f8507fe
Remove host counts from software ( #3082 )
...
* Remove host counts from software
* Actually remove the host count from the struct
* Fix get test
2021-11-23 15:50:51 -03:00
gillespi314
bfdedd65e8
Allow API user to delete all team secrets ( #2941 )
2021-11-17 10:26:24 -06:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI ( #2645 )
2021-11-15 16:16:06 -05:00
Martin Angers
a4b0d9d4a1
Add team_id to host summary when filtered for a specific team ( #2869 )
2021-11-15 09:56:13 -05:00
gillespi314
6520e90006
Update API docs for host.users.shell
2021-11-12 16:03:11 -06:00
Noah Talerman
de1084e920
Update documentation for /policies
API routes ( #2892 )
...
- Update note to inform users to expect breaking changes in Fleet 4.7.0
2021-11-12 09:08:02 -05:00
Lucas Manuel Rodriguez
1f560c56a2
Return all scheduled queries and their stats on the host fetch API ( #2855 )
...
* Return all scheduled queries and their stats on the host fetch API (pack_stats)
* Use 'pack' instead of null and wrap errs with ctxerr
2021-11-12 08:18:25 -03:00
Tomas Touceda
a0730ca643
Add update invite API ( #2837 )
2021-11-11 17:33:06 -03:00
gillespi314
229b91b530
Add endpoint for management of team enroll secrets ( #2849 )
2021-11-11 10:45:39 -06:00
Noah Talerman
f9d249882c
In API docs, update description for GET /software
parameters ( #2870 )
...
- Update the specified filterable and searchable fields in `order_key`'s and `query`'s descriptions
2021-11-11 10:06:05 -05:00
Tomas Touceda
b802af6f44
Add host count to software API ( #2879 )
...
* Add host count to software API
* Update docs
* Update fleetctl tests to account for host counts
* Update docs to mention host_count special case
* Update func comment
2021-11-11 08:49:17 -03:00
Martin Angers
b57b64ccb2
Add total and per platform counts to host summary endpoint ( #2845 )
2021-11-09 09:35:36 -05:00
Noah Talerman
ce4a3a84d2
Update documentation for /policies
API routes ( #2840 )
...
- Add note that calls out breaking changes coming in the planned Fleet 4.6.0 release
- Add example policy
2021-11-08 13:57:08 -05:00
Martin Angers
1b5ec19cf5
Add author_email to payload of queries (Get/List) ( #2798 )
2021-11-08 09:06:56 -05:00
Lucas Manuel Rodriguez
21908f31cf
GET packs to always return disabled field ( #2799 )
2021-11-04 14:25:08 -03:00
Noah Talerman
5d926a4aed
Add a new "API for contributors" documentation page ( #2743 )
...
- Add `07-API-for-contributors.md` documentation page
- Move all API routes used exclusively by the Fleet UI and fleetctl clients into the new documentation page
2021-11-01 11:38:34 -04:00
Tomas Touceda
623a38aa9d
Live queries post merge fixes ( #2684 )
...
* Refactor based on PR review comments
* Use deadline instead of duration
* Address review comments
* Only set the timeout once
2021-10-26 16:12:07 -03:00
Tomas Touceda
79f2c7c391
Issue 1798 rest api for live queries ( #2675 )
...
* wip
* wip
* Make tests not flaky
* Add changes file
* Make logging and authz thread safe
* Move cancel defer below err check
2021-10-26 11:33:31 -03:00
Lucas Manuel Rodriguez
fb1e78d039
Make /refetch run labels and policies for the host ( #2651 )
...
* Make /refetch run labels and policies for the host
* PR rework changes
2021-10-25 15:46:49 -03:00
RachelElysia
36babcc510
UI feature: Frontend of performance impact bubbles ( #2589 )
...
Includes backend fixes and test
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-22 16:05:49 -04:00
Lucas Manuel Rodriguez
54805b5b72
Perform early session check on fleetctl
commands ( #2620 )
...
* Perform early session check on fleetctl
* Add fleetctl test for the early session check
2021-10-22 15:41:17 -03:00
Lucas Manuel Rodriguez
91ae5ba870
By default, force password reset on CreateUser ( #2570 )
...
* By default, force password reset on CreateUser
* Use ptr.Bool and add test
* Add changes file
* Simple fix for e2e tests
* Add API changes
2021-10-21 15:00:38 -03:00
Tomas Touceda
c2696c1261
Issue 1892 query perf everywhere ( #2580 )
...
* wip
* wip
* wip
* Add performance stats
* Add docs and other self review fixes
* lint
* Update based on review comments
* Add quick cleanup first and then reset to 1hr
* Reduce the load in the test
2021-10-20 18:35:38 -03:00
Tomas Touceda
cbe931c0e9
Add vulnerable filter for software and also wire up the query search ( #2604 )
...
* Add vulnerable filter for software and also wire up the query search
* Add documentation
* Update to use software list options
2021-10-20 18:01:20 -03:00
Zach Wasserman
92e3e83a74
Remove software object in list host API example ( #2608 )
2021-10-20 13:27:33 -07:00
Tomas Touceda
c3f7577bd8
Add query description and resolution to the list of policies in hosts ( #2584 )
...
* Add query description and resolution to the list of policies in hosts
* Add docs
* Fix get host tests
2021-10-20 12:07:16 -03:00
Tomas Touceda
89c6d18ed2
Issue 2293 reveal failing policies list host ( #2528 )
...
* Add host issues
* Update docs
* Remove comment
* Update tests
2021-10-15 07:34:30 -03:00
Tomas Touceda
d3a0d62902
Issue 2456 policies yaml ( #2512 )
...
* wip
* Add policy specs support
* Add documentation
* Make policy apply idempotent
* Fold in code
* Improve tests and simplify auth checks
* Lint and fix test
2021-10-15 07:34:11 -03:00
Tomas Touceda
bb1dc401a3
Load vulnerabilities alongisde the software ( #2518 )
...
* Load vulnerabilities alongisde the software
* Update docs
2021-10-14 13:51:41 -03:00
Tomas Touceda
782f276e0b
Issue 2050 add software filter list hosts ( #2486 )
...
* Add software_id filter to list hosts
* Add integration test for API endpoint
* Add doc
* Simplify sql query
2021-10-12 11:38:12 -03:00
eashaw
14ac341b30
Normalize docs and handbook headings ( #2428 )
...
* header styles
* update headers
* updated headings
* update padding
* handbook headings, update landing page breadcrumbs
* update heading and font-size
* Update 03-Example-deployment-scenarios.md
* handbook styles
* Update basic-handbook.page.js
* lint fixes
2021-10-07 23:40:22 +09:00
Martin Angers
3aef96e15c
Add test for fleetctl preview ( #2388 )
...
* Start a fleetctl preview test
* Add tests for fleetctl preview
* Fix setting of fleetctl auth token in test
* Add fleet instance vulnerabilities config to response of GetAppConfig
* Add checks that fleetctl preview enables vulnerability detection
* Adjust doc for get config API response
* Add the include-server-config flag to fleetctl get config
* Update test now that some of the PRs have been merged
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-07 10:19:10 -03:00
Tomas Touceda
876aa0e366
Add host count API ( #2356 )
...
* Add host count API
* Add rest api docs
* Add host count for labels and address review comments
* Add regex for id
2021-10-07 08:25:35 -03:00
Tomas Touceda
9b809a2d35
Issue 1890 host details policy ( #2410 )
...
* wip
* Add policies to hosts
2021-10-07 08:11:10 -03:00
Noah Talerman
a067fc1145
Update GET /software documentation to reflect the current response ( #2348 )
...
- Remove the `hosts_count` property from the `GET /api/v1/fleet/software` API route because this property is not currently included in the response.
2021-10-06 10:05:14 -04:00
Tomas Touceda
d9f34b2c19
Issue 1840 bulk delete hosts ( #2268 )
...
* wp
* Add test by ids
* Add changes file
* Update docs and remove unneeded return values
* Address review comments
* Improve integration tests
* Use TearDownTest
2021-09-29 13:13:23 -03:00
Tomas Touceda
435178e93c
Add bundle identifier to software when available ( #2220 )
...
* Add bundle identifier to software when available
* Update docs
* Delete unneeded test
2021-09-28 18:13:34 -03:00
Tomas Touceda
2033d8208c
Add policy updated at ( #2246 )
...
* wip
* Add policy updated at interval and update the UI to use that
* Update rest api
* Fix tests
2021-09-27 16:27:38 -03:00
Tomas Touceda
5653f1e868
Update URLs from team to teams, add tests for policy auth ( #2228 )
...
* Update URLs from team to teams, add tests for policy auth
* Fix test
* Address review comments
2021-09-27 14:02:11 -03:00
noahtalerman
97750d1e07
Improve examples and API documentation for managing teams with fleetctl
( #2199 )
...
- Add example `team.yml` configuration file. A file with this format can be used to apply teams using `fleetctl apply`
- Add `spec/teams` API route to API docs
2021-09-27 10:08:40 -04:00
eashaw
470889ba3a
Update code blocks in documentation ( #2151 )
...
* updated css to be compatible with Chrome 87 and earlier
* fixed JSON syntax code blocks, remove empty response data
* Update code-blocks.less
* fix broken links
2021-09-20 20:59:45 -05:00
Martavis Parker
4f3f6187d6
Top-level seed data doc and re-numbering ( #2109 )
...
* created separate doc for seeding data
* re-numbered doc names
2021-09-20 11:48:24 -07:00