Commit 704051b
authored
Resolve security review findings (#60)
* limit file permissions to owner-only read
* restrict api command to https & profile host
* update image in README
* anonymize hostname telemetry when not known
* CHANGELOG entries
* fix hostname handling- validate and strip scheme
* bump go-tfe to v2.0.0-beta1
* Update BUG FIXES-20260616-150538.yaml
* review feedback
* normalize hostnames from env
* Update README.md
* add debug clarity about which credential is used
* Update profile.go
* fix URL parse error, credential fallback, more log
* rely on go-tfe to not send tokens to unallowed host
* correct help text for --quiet
* accept any response, not just application/vnd.api+json
* ensure we don't send tokens to unconfigured hosts
* Update README.md
* add prediction for agents during harness install
* modify CHANGELOG entries
* adds support for IP address hostnames
* reorder imports
* bump go-tfe to v2.0.01 parent d7a8e1d commit 704051b
37 files changed
Lines changed: 597 additions & 254 deletions
File tree
- .changes/unreleased
- assets
- cmd/tfctl
- internal
- commands
- api
- auth
- harness
- profile
- profiles
- pkg
- client
- cmd
- logging
- profile
- telemetry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | | - | |
| 93 | + | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
175 | | - | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | | - | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
Loading
Binary file not shown.
Loading
0 commit comments