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

feat: support for custom env linking text with sanitization #934

Merged

Conversation

zsaltys
Copy link
Contributor

@zsaltys zsaltys commented Dec 19, 2023

Feature or Bugfix

  • Feature

Detail

Adding a way to override env linking prerequisites for those that do not want to use manual steps and have other ways to achieve the same thing.

Security
The only security concern is that there's an html value coming out of config.json which gets set as innerHTML. I don't think this would be an issue unless someone would find a way to override the config. value as an attack.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@noah-paige noah-paige added this to the v2.3.0 milestone Dec 20, 2023
@noah-paige
Copy link
Contributor

Thanks for re-opening this PR with resolved conflicts @zsaltys - I am reviewing this now

@noah-paige
Copy link
Contributor

Tested in AWS Deployment:

  • CICD Pipeline Succeeds
  • Link Environment Shows Correctly (Both with and without custom_env_linking_text in config.json)

@noah-paige noah-paige self-requested a review December 20, 2023 18:34
Copy link
Contributor

@noah-paige noah-paige left a comment

Choose a reason for hiding this comment

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

Looks good to me - approving

@noah-paige noah-paige merged commit e88fdae into data-dot-all:main Dec 20, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants