Skip to content

Conversation

@jbardin
Copy link
Member

@jbardin jbardin commented Jun 4, 2025

Sensitive marks were lost from module outputs during the namedvals rewrite. Ensure output are evaluated with sensitive marks in accordance with their configuration.

Interestingly I found that the old access point of lang.Data.GetOutput was not removed long ago when we fixed module evaluation overall to always access the module objects. This method however was recently re-captured by the moduletest package. That code can probably be refactored to use GetModule and we can remove the GetOutput call to ensure uniformity of evaluation.

Sensitive marks were lost from module outputs during the namedvals
rewrite. Ensure output are evaluated with sensitive in accordance with
their configuration.
@jbardin jbardin marked this pull request as ready for review June 4, 2025 18:43
@jbardin jbardin requested a review from a team as a code owner June 4, 2025 18:43
@jbardin jbardin merged commit 5eabf97 into main Jun 4, 2025
22 of 25 checks passed
@jbardin jbardin deleted the jbardin/sensitive-output branch June 4, 2025 19:59
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants