Skip to content
This repository was archived by the owner on Oct 27, 2018. It is now read-only.

Security changes whitelisting#22

Open
msgauri wants to merge 15 commits into
HubSpot:masterfrom
msgauri:security_changes_whitelisting
Open

Security changes whitelisting#22
msgauri wants to merge 15 commits into
HubSpot:masterfrom
msgauri:security_changes_whitelisting

Conversation

@msgauri

@msgauri msgauri commented Jan 20, 2016

Copy link
Copy Markdown

No description provided.

Comment thread config/default.yaml Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The whitelistedkeys part should be commented out as an 'example'

@msgauri

msgauri commented Jan 20, 2016

Copy link
Copy Markdown
Author

Work in progress

@msgauri

msgauri commented Jan 20, 2016

Copy link
Copy Markdown
Author

(this addresses #20)

@msgauri

msgauri commented Jan 20, 2016

Copy link
Copy Markdown
Author

This one is ready to go in, waiting on review

@ckdake

ckdake commented Jan 20, 2016

Copy link
Copy Markdown

Could we check for the presence of whitelistedKeys and use that as the trigger to filter keys instead of having to use a separate boolean?

@msgauri

msgauri commented Jan 20, 2016

Copy link
Copy Markdown
Author

So you need atleast one of those keys commented out for the server to start up, else it gives parse errors.

Comment thread config/default.yaml Outdated

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A note here would be helpful. "The example below are timing metrics that Bucky includes by default. You will need to whitelist these if you use the default configuration of Bucky and enable whitelisting"

@msgauri

msgauri commented Jan 29, 2016

Copy link
Copy Markdown
Author

@zackbloom could you review this and check if its ok to merge this?

Comment thread modules/collectors.coffee Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should probably respond with a meaningful error message here. I'm also not sure if it wouldn't make sense to accept the keys which do match the whitelist, rather than returning an error, in the interest of being able to use the BuckyClient software which automatically generates keys.

Comment thread config/default.yaml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In trying to run this, it looks like this file is invalid YAML in this current form. I think you need to fix the indentation perhaps?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Uncommenting atleast 1 of the keys should fix that issue. This is similar to having to uncomment atleast 1 collectors.

@msgauri

msgauri commented Feb 22, 2016

Copy link
Copy Markdown
Author

@zackbloom I have uncommented the default keys sent by bucky in the yaml. It should work in its current form. Please check and merge if everything looks right.

@msgauri

msgauri commented Apr 19, 2016

Copy link
Copy Markdown
Author

@zackbloom wanted to check with you if you need anything from us after the last comment? Or is this ready to merge?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants