Martin Angers
012869f971
Fleet Premium: de-anonymize usage stats ( #7013 )
2022-08-03 14:44:34 -04:00
Martin Angers
69a4985cac
Use new error handling approach in other packages ( #2954 )
2021-11-22 09:13:26 -05:00
Martin Angers
3ae57a0242
Create errors with ctxerr, add the call to store them in redis ( #2786 )
2021-11-15 09:11:38 -05:00
Zach Wasserman
c5280c0517
Add v4 suffix in go.mod ( #1224 )
2021-06-25 21:46:51 -07:00
RachelElysia
aeb852e168
Remove username from UI ( #1168 )
...
* Remove username from UI code
* Remove username from tests
* Remove username from database
* Modify server endpoints for removing username
* Implement backend aspects of removing username
* Update API docs
* Add name to fleetctl
2021-06-24 13:42:29 -07:00
Zach Wasserman
0a77f79d22
Backend and fleetctl for usage analytics ( #1167 )
...
- Add enable_analytics column to database.
- Allow enable_analytics to be set via API.
- Add messaging in fleetctl setup.
Note that this defaults to off for existing installations, and defaults
on for newly set up installs.
No collection or sending of analytics yet exists, we are strictly
storing the preference at this time.
Part of #454
2021-06-22 18:02:20 -07:00
Zach Wasserman
4cfcb1b084
Upgrade fleetctl github.com/urfave/cli to v2 ( #471 )
...
This is intended to upgrade to the new API without changing fleetctl
functionality.
2021-03-12 16:42:38 -08:00
Zach Wasserman
22d9205d35
Add debug flag to fleetctl ( #266 )
...
This flag enables logging of HTTP requests and responses to stderr.
Closes #187
2021-02-02 18:55:16 -08:00
Zach Wasserman
a9c0c472fc
Update Kolide to Fleet as appropriate in documentation ( #263 )
2021-02-02 12:16:59 -08:00
Zach Wasserman
368632b3fa
Minor refactor in fleetctl config handling ( #246 )
...
Move CLI context out of get/set config functions.
2021-01-28 17:15:38 -08:00
Mike Arpaia
af96e52a00
Update the Go import paths to new repo name ( #27 )
2020-11-11 09:59:12 -08:00
Zachary Wasserman
0f99b454a0
Add username support to fleetctl setup ( #1971 )
...
Username continues to default to email if not specified in the options.
Closes #1970
2019-01-02 15:27:37 -08:00
Zachary Wasserman
614fc9d3c5
Confirm password on setup ( #1866 )
2018-07-16 10:03:50 -07:00
Zachary Wasserman
e62d2f57df
Improve error message when client is not logged in ( #1867 )
2018-07-16 09:35:21 -07:00
Mike Arpaia
1d70b082a5
Add a setup guide for new CLI users ( #1798 )
2018-05-22 17:57:56 -06:00
Thordur Bjornsson
6a4d50c7a6
ensure email and passwords are set during setup ( #1786 )
2018-05-17 08:29:04 -06:00
Zachary Wasserman
d7b0abd782
Clean up flag descriptions ( #1778 )
2018-05-09 16:54:07 -07:00
Mike Arpaia
018e10ea66
Add fleetctl config and auth commands ( #1751 )
...
```
$ fleetctl config set address https://localhost:8080
[+] Set the "address" config key to "https://localhost:8080 " in the "default" context
$ fleetctl config set ignore_tls true
[+] Set the "ignore_tls" config key to "true" in the "default" context
$ fleetctl setup --email mike@arpaia.co --password "abc123"
[+] Fleet setup successful and context configured!
$ cat ~/.fleet/config
contexts:
default:
address: https://localhost:8080
email: mike@arpaia.co
ignore_tls: true
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXNzaW9uX2tleSI6IlUvdm05Vk9wSG0xUlA4SUtjQnBhb2ovWlo1TXppSEVXcFRCNFNPb2tHQnNLUFpDQXFieVpWWnpJb0UvczQzcWkyd1pHZXJOa29SNFVIQ2hNZUc0K09RPT0ifQ.rHawSN8JvD4jjWAPTYX2Ep9ZpMt3u4mSIQcu920C-_s
$ fleetctl logout
[+] Fleet logout successful and local token cleared!
$ cat ~/.fleet/config
contexts:
default:
address: https://localhost:8080
email: mike@arpaia.co
ignore_tls: true
token: ""
```
2018-05-04 10:53:21 -06:00