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

Admin: Add input sanitizer as default for log rocket #1186

Merged
merged 6 commits into from
Dec 30, 2021
Merged

Conversation

zhen0
Copy link
Member

@zhen0 zhen0 commented Dec 23, 2021

Describe this PR

Adds input sanitizer so that new inputs are hidden in log rocket as default. Also adds data-public to selects and auto-complete which do not contain sensitive data.

@@ -133,14 +133,20 @@ export default {
confirm() {
const clockType =
typeof this[this.clockToAdd] == 'string' ? 'CronClock' : 'IntervalClock'
const parameters = this.parameter != null && isValidJson(this.parameter) ? parseJson(this.parameter) : {}
Copy link
Member Author

Choose a reason for hiding this comment

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

No code change here. I ran code formatter and it has reformatted this section.

@zhen0 zhen0 marked this pull request as ready for review December 23, 2021 03:54
Copy link
Contributor

@stackoverfloweth stackoverfloweth left a comment

Choose a reason for hiding this comment

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

I'm unclear how this sanitizes inputs? Does LogRocket use data-public?

src/components/SetStateDialog.vue Outdated Show resolved Hide resolved
src/pages/Flow/FlowRunHeartbeat-Tile.vue Outdated Show resolved Hide resolved
@zhen0 zhen0 merged commit 5b42637 into master Dec 30, 2021
@zhen0 zhen0 deleted the logrocket branch December 30, 2021 17:18
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