-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added ability to deny unfiltered historical queries if new config opt… #176
Added ability to deny unfiltered historical queries if new config opt… #176
Conversation
…ion "denyUnfilteredQueries" is defined or true. New option is a sub-option of sessions.historicalSessionFilter
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.
This looks great! Can we change the double quotes to single quotes for the message (we're trying to stick to this moving forward)? Also, can we update the config to add the new option, but default it to false.
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.
Hi @chesterhawkins . thanks so much for contributing. I have one more slight change. I added a code suggestion to also check for the disable
prop not being true. If it is false we shouldn't care about the denyUnfilteredQueries
prop.
Quality Gate passedIssues Measures |
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.
Awesome. Thanks, @chesterhawkins
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.
LGTM!
closes #175
New config option sessions.historicalSessionFilter. denyUnfilteredQueries is used to determine whether an unfiltered historical query should be denied or allowed.