Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tech Preview UI displaying "password" survey type value in extra vars "Review" page #15240

Closed
5 of 11 tasks
skywalkw3r opened this issue May 31, 2024 · 1 comment
Closed
5 of 11 tasks

Comments

@skywalkw3r
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

When using survey feature on Tech Preview UI the "password" survey type question is presenting the variable value within the "Review" page when launching a template. Interestingly enough if i set a "Default answer" for the "password" type in the survey i see the proper "$encrypted$" value when presented on the "Review" page.

AWX version

24.3.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

openshift

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

Firefox

Steps to reproduce

  1. Navigate to Tech Preview UI
  2. Launch existing template with survey feature enabled
  3. Enter survey values and select next
  4. On "Review" page under "extra vars" you can see the password type var in clear text

Expected results

Expecting to see the extra var section showing "$encrypted$" for the password value.

Actual results

The extra var section showing unencrypted value for the password value.

Additional information

Test Template Survey - Password Question
Test-Bug-0

Test Template Survey - Survey prompting for password
Test-Bug-1

Test Template Survey - Survey displaying extravars password in plain text
Test-Bug-2

Test Template Survey - Survey displaying extravars password encrypted (when using "default answer" option)
Test-Bug-3

@marshmalien
Copy link
Member

Closing. Addressed bug fix in ansible/ansible-ui#2487

@marshmalien marshmalien removed their assignment Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants