Add OTP MFA configuration variables
Add OTP MFA related configuration variables.
Variables
DAST_AUTH_OTP_FIELDDAST_AUTH_OTP_KEYDAST_AUTH_OTP_SUBMIT_FIELD
DAST_AUTH_OTP_STATIC is mutually exclusive with DAST_AUTH_OTP_KEY. If either one is set, DAST_AUTH_OTP_FIELD and DAST_AUTH_OTP_SUBMIT_FIELD are required.
Secrets to mask
DAST_AUTH_OTP_KEY
Implementation plan
What needs to be done:
-
environmentConfigstruct inenvironment_config.go -
MaskedFieldsmap inconfig.go -
AuthDetailsstruct inauth.go-- Add a newAuthOtpDetailsstruct?
- New file
auth_otp.gowith structAuthOtpDetails - Update
AuthDetailsstruct inauth.gowith entry forAuthOtpDetails
Edited by David Nelson