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

include_admin_streams config option #19

Merged
merged 3 commits into from
Dec 5, 2022
Merged

Conversation

pnadolny13
Copy link
Contributor

@pnadolny13 pnadolny13 commented Dec 2, 2022

Related to #14 (comment) we're introducing a stream that requires admin permissions. This adds a mechanism to exclude them by default and enable them using a config boolean.

The developer just has to add their stream class to the ADMIN_STREAM_TYPES list in addition to the normal STREAM_TYPES list.

UPDATE: The developer adds their stream class to either the STREAM_TYPES list or the ADMIN_STREAM_TYPES list.

tap_slack/tap.py Outdated Show resolved Hide resolved
Co-authored-by: Edgar R. M. <[email protected]>
@sonarcloud
Copy link

sonarcloud bot commented Dec 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

@aaronsteers aaronsteers left a comment

Choose a reason for hiding this comment

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

👍 👍

@pnadolny13 pnadolny13 merged commit b1f028f into main Dec 5, 2022
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.

3 participants