Skip to content

Conversation

@amanda11
Copy link
Contributor

@amanda11 amanda11 commented Sep 16, 2021

Use Jinja sandboxed environment, so that any templates that attempt to access insecure code will be rejected.

@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label Sep 16, 2021
@amanda11 amanda11 added this to the 3.6.0 milestone Sep 16, 2021
Copy link
Contributor

@m4dcoder m4dcoder left a comment

Choose a reason for hiding this comment

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

  • Do we need to update Jinja >= 2.11 in requirements?
  • Please update orquesta version in requirements to use the commit with the similar fix (after StackStorm/orquesta#240 is merged).
  • Please add a changelog entry.
  • Please update description of this PR on why this fix is needed.

@amanda11
Copy link
Contributor Author

  • Do we need to update Jinja >= 2.11 in requirements?
  • Please update orquesta version in requirements to use the commit with the similar fix (after StackStorm/orquesta#240 is merged).
  • Please add a changelog entry.
  • Please update description of this PR on why this fix is needed.

@m4dcoder I've addressed your requirements, Jinja is already at 2.11 in the requirements on ST2 requirements.

@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines. Very easy to review. and removed size/XS PR that changes 0-9 lines. Quick fix/merge. labels Sep 17, 2021
amanda11 and others added 4 commits September 17, 2021 21:02
The networkx library has changed some interfaces in v2.x. The node attribute
is no longer a member of DiGraph therefore use nodes attribute instead.
@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines. Good size to review. and removed size/S PR that changes 10-29 lines. Very easy to review. labels Sep 18, 2021
@CLAassistant
Copy link

CLAassistant commented Sep 18, 2021

CLA assistant check
All committers have signed the CLA.

@amanda11 amanda11 merged commit e97659c into master Sep 20, 2021
@amanda11 amanda11 deleted the use_sandbox_jinja branch September 20, 2021 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M PR that changes 30-99 lines. Good size to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants