Skip to content

Conversation

andrewpmartinez
Copy link
Member

  • adds ability to submit posture to controller or router based on router capabilities
  • adds new ToTP MFA JWT token type for MFA posture checks post-login

- adds ability to submit posture to controller or router based on router
  capabilities
- adds new ToTP MFA JWT token type for MFA posture checks post-login
@andrewpmartinez andrewpmartinez requested a review from a team as a code owner October 6, 2025 14:31
SdkInfo sdkInfo = 7;
TotpToken totpToken = 8;
};

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the advantage of wrapping this in a type, instead of just using string?

Token: typedResp.TotpToken,
},
},
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a default with an ERROR here, so we hopefully notice if a new type is introduced and the case isn't handled yet?

TotpToken string //should be a signed, API Session scoped JWT. See common.TotpClaims
Id *string
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be using pointer receivers, see staticcheck error below

}
return edgeCh
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to have a container message if you're sending multiple responses?

Copy link
Member

@plorenz plorenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over all looks good, left a couple of comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants