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

fix for removing subscripion_id from resource facts #55203

Merged
merged 1 commit into from Apr 18, 2019

Conversation

zikalino
Copy link
Contributor

@zikalino zikalino commented Apr 12, 2019

SUMMARY

This is fixing following issue:

#55047

subscription_id is being removed from all returned resource urls when parameter subscription_id is specified.

in 99.99% of cases subscription_id is returned & displayed in plain text anyway, as subscription_id parameter is not commonly used.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

all

ADDITIONAL INFORMATION

@ansibot
Copy link
Contributor

ansibot commented Apr 12, 2019

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 azure bug This issue/PR relates to a bug. cloud needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. needs_triage Needs a first human triage before being processed. owner_pr This PR is made by the module's maintainer. small_patch support:community This issue/PR relates to code supported by the Ansible community. labels Apr 12, 2019
@yungezz
Copy link
Contributor

yungezz commented Apr 12, 2019

HI @nitzmahone could you pls look at this PR? although we found that subscription_id no_log=True will cause subscrption_id in outputed resource_id been masked as *, we still don't know why.

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Apr 12, 2019
@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Apr 16, 2019
@zikalino zikalino merged commit 48cb681 into ansible:devel Apr 18, 2019
@zikalino zikalino deleted the fix-for-removing-subscription-id branch April 18, 2019 00:54
@yungezz
Copy link
Contributor

yungezz commented Apr 18, 2019

@zikalino could you pls backport this fix?

@nitzmahone
Copy link
Member

nitzmahone commented Apr 23, 2019

Yeah, should probably be backported to 2.7 as well. 2.8.0rc1 is Thursday, so if we want it in there, the backport PR probably needs to be filed today (otherwise it's probably going to have to wait for 2.8.1)

@zikalino
Copy link
Contributor Author

@nitzmahone thanks for reminding! I have this one + 2 more backports to do today

zikalino pushed a commit to VSChina/ansible that referenced this pull request Apr 24, 2019
abadger pushed a commit that referenced this pull request Apr 24, 2019
* adding changelog

* fix for removing subscripion_id from resource facts (#55203)

(cherry picked from commit 48cb681)
amuraleedhar pushed a commit to amuraleedhar/ansible that referenced this pull request May 21, 2019
…nsible#55685)

* adding changelog

* fix for removing subscripion_id from resource facts (ansible#55203)

(cherry picked from commit 48cb681)
@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 azure bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. owner_pr This PR is made by the module's maintainer. small_patch support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants