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

Allow for redacting of environment table values #431

Merged
merged 7 commits into from Jan 23, 2021

Conversation

gnikonorov
Copy link
Member

This PR enables the redaction of environment table values based on the newly added environment_table_redact_list INI key.

Please see the following for an example of a redacted environment table entry (MY_SECRET_KEY):
Screen Shot 2020-12-19 at 10 26 04 AM

Closes #233

@gnikonorov gnikonorov added the feature This issue/PR relates to a feature request. label Dec 19, 2020
@gnikonorov gnikonorov self-assigned this Dec 19, 2020
@gnikonorov
Copy link
Member Author

Bump for a review @BeyondEvil / @ssbarnea

@gnikonorov
Copy link
Member Author

Bump for a review, @BeyondEvil

@BeyondEvil
Copy link
Contributor

Hey @gnikonorov !

Sorry for the delay! First the holidays and now I'm moving houses so my activity here is not going to be super high unfortunately.

Copy link
Contributor

@BeyondEvil BeyondEvil left a comment

Choose a reason for hiding this comment

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

Great work! 🙏

@gnikonorov
Copy link
Member Author

Thanks for the review @BeyondEvil!

No worries at all! Happy new year and hope the move goes smoothly.

@gnikonorov gnikonorov merged commit 5e4950b into pytest-dev:master Jan 23, 2021
BeyondEvil pushed a commit to BeyondEvil/pytest-html that referenced this pull request May 10, 2021
* Add untested change

* Add tests

* Add documentation

* Add the changelog entry

* remove debug code from test

* Change wording of documentation
BeyondEvil added a commit that referenced this pull request Jan 26, 2022
* remove phantomjs dependency (#424)

* properly classify all npm dependencies (#425)

* Move the changelog to read the docs (#423)

* split plugin.py into smaller files (#427)

* Implement the visible URL query parameter to control visibility of test results on page load. (#433)

* enable control of test result visability via query params

* Allow for redacting of environment table values (#431)

* Disable Codecov (#480)

* Disable Codecov

* Disable pypy3 on mac

* Add Tests.yml reusable workflow (#484)

* Use the tests reusable workflow (#486)

* Migrate to precommit.ci (#487)

* Separate Nightly workflow (#488)

Co-authored-by: Gleb Nikonorov <gleb.i.nikonorov@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
BeyondEvil pushed a commit to BeyondEvil/pytest-html that referenced this pull request Apr 3, 2023
* Add untested change

* Add tests

* Add documentation

* Add the changelog entry

* remove debug code from test

* Change wording of documentation
BeyondEvil added a commit to BeyondEvil/pytest-html that referenced this pull request Apr 3, 2023
* remove phantomjs dependency (pytest-dev#424)

* properly classify all npm dependencies (pytest-dev#425)

* Move the changelog to read the docs (pytest-dev#423)

* split plugin.py into smaller files (pytest-dev#427)

* Implement the visible URL query parameter to control visibility of test results on page load. (pytest-dev#433)

* enable control of test result visability via query params

* Allow for redacting of environment table values (pytest-dev#431)

* Disable Codecov (pytest-dev#480)

* Disable Codecov

* Disable pypy3 on mac

* Add Tests.yml reusable workflow (pytest-dev#484)

* Use the tests reusable workflow (pytest-dev#486)

* Migrate to precommit.ci (pytest-dev#487)

* Separate Nightly workflow (pytest-dev#488)

Co-authored-by: Gleb Nikonorov <gleb.i.nikonorov@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

environment table needs to be whitelisted/blacklisted
2 participants