Skip to content

Commit

Permalink
Ignore sloglint
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Oct 22, 2024
1 parent 8eee8b8 commit 602fb0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/auth/join/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ func getHostAddresses(params RegisterParams) []string {
// CA on disk. If no CA is found on disk, Teleport will not verify the Auth
// Server it is connecting to.
func insecureRegisterClient(ctx context.Context, params RegisterParams) (*authclient.Client, error) {
//nolint:sloglint // Conjoined string literals trip up the linter.
slog.WarnContext(ctx, "Joining cluster without validating the identity of the Auth "+
"Server. This may open you up to a Man-In-The-Middle (MITM) attack if an "+
"attacker can gain privileged network access. To remedy this, use the CA pin "+
Expand Down

0 comments on commit 602fb0c

Please sign in to comment.