-
Notifications
You must be signed in to change notification settings - Fork 543
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
[github] Add check for data obfuscation #3427
[github] Add check for data obfuscation #3427
Conversation
I'm not too convinced by the actual text of the check, so any help rewording it will be very welcome! |
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] Are any related Issues or existing PRs [properly referenced](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) via a Closes (Issue) or Resolved (PR) line? | ||
- [ ] Are all passwords or private data gathered by this PR obfuscated? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know what obfuscate means :). maybe slight improvement for simple english. And maybe point to implementing postproc()
and maybe a link to an example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know what obfuscate means :). maybe slight improvement for simple english.
Thank you! I always doubt since English is not my first language.
And maybe point to implementing
postproc()
and maybe a link to an example?
This is a fantastic idea. I can create an internal page in https://github.com/sosreport/sos/wiki/Data-privacy-and-obfuscation.rst and point the check to that url. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I always doubt since English is not my first language.
It's my first language, but still had to look it up the first time 😄
This is a fantastic idea. I can create an internal page in https://github.com/sosreport/sos/wiki/Data-privacy-and-obfuscation.rst and point the check to that url. What do you think?
yeah, like the idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I have access to edit the Wiki, so somebody else will have to do it.
Anyway, do you think it may be better as a section in the 'how to write a plugin' page instead of a completely new page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have access either, we're both in the same stance.
Looking a the Contribution Guidelines, I do see the 2 comments below. So, I think if we could expand on it would make more sense. Maybe others might have other ideas
- All regex substitutions (i.e. postproc() obfuscations) must include an example in comments
- Required as of 4.1. Older regex substitutions may not have examples, but these should be updated over time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I pushed the change with the link to the new section in the wiki, thank you @pmoravec for creating it!
This patch adds a new line to the github PR template so users can assess that they have obfuscated any password or similar from the code they are submitting. Signed-off-by: Jose Castillo <[email protected]>
83f1648
to
1cab016
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've restarted the failed test, but looks good to me
This patch adds a new line to the github PR
template so users can assess that they have
obfuscated any password or similar from the
code they are submitting.
Closes: #3427
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines