fleet/cmd
Lucas Manuel Rodriguez bac309c978
Provide feedback to user in fleetctl login when using env vars (#12371)
Issue reported by @jarodreyes.

The user was not informed that `fleetctl login` was using the PASSWORD
environment variable:

`main`:
```sh
export PASSWORD=wrong

fleetctl login
Log in using the standard Fleet credentials.
Email: a@b.c
Error: Login failed: login received status 401 Authentication failed: Authentication failed
```
And with the changes on this PR:
```
export PASSWORD=wrong

fleetctl login
Log in using the standard Fleet credentials.
Email: a@b.c
Using value of environment variable $PASSWORD as password.
Error: Login failed: login received status 401 Authentication failed: Authentication failed
```
2023-06-16 11:42:04 -03:00
..
cpe Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
fleet Warnings in fleetctl should use Stderr not Stdout (#12316) 2023-06-15 13:13:41 -04:00
fleetctl Provide feedback to user in fleetctl login when using env vars (#12371) 2023-06-16 11:42:04 -03:00
macoffice Feature 9386: Parse the Mac Office release notes for vulnerability processing (#9993) 2023-02-24 14:18:25 -04:00
msrc Feature 9386: Parse the Mac Office release notes for vulnerability processing (#9993) 2023-02-24 14:18:25 -04:00
osquery-perf Improve osquery-perf support for live queries (simulate no results and/or query failures) (#11883) 2023-05-25 08:12:10 -03:00