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

Send environment variables in payload #67

Closed
wants to merge 1 commit into from

Conversation

zachgoldstein
Copy link
Contributor

@zachgoldstein zachgoldstein commented Mar 8, 2017

Closes: #52

@@ -96,6 +97,8 @@ def __init__(self, project_id=None, api_key=None, host=None, timeout=None,
self.blacklist_keys = config.get("blacklist_keys", [])
Copy link
Contributor

Choose a reason for hiding this comment

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

Do the other sdks have default blacklist keys? What about using regex?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do have regex filters in the ruby notifier, and we should definitely add them. I've added an issue for that here: #69.

I think some other sdks have default blacklisted keys, and ya we should probably add some like username, and password. I'll go and check out what consensus is for other systems.

@zachgoldstein
Copy link
Contributor Author

Looks like this sort of feature has been pulled out of phpbrake and the ruby notifier. I'm starting to think that we should only do this if the user explicitly requests it. So we'd have a whitelist of keys that would be pulled out of the env and sent. I feel like this would be safe by default since it doesn't send anything, but still gives users the flexibility to do this.

@zachgoldstein
Copy link
Contributor Author

I'm going to ditch this PR. If it's been pulled from the php and ruby notifiers, we probably shouldn't bother with it here. I'm going to keep a branch kicking around in case things change.

@phumpal phumpal deleted the feature/send-env-vars branch June 17, 2021 15:47
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