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

display all security group rules for a port range #47009

Merged

Conversation

GavinFrazar
Copy link
Contributor

@GavinFrazar GavinFrazar commented Oct 1, 2024

Changelog: Fixed a bug where only one IP CIDR block security group rule for a port range was displayed in the web UI RDS enrollment wizard when viewing a security group.

Part of:

This fixes the web ui to display all of the rules for each port range.
There's another part to that issue that requires a change in the backend code so that we render security group reference rules, but that's for another PR.

UI Diff

I have an aws security group that has two rules, both of which allow inbound access from an IP address on postgres port 5432.

Before

sg-display-before

After

sg-display-after

@GavinFrazar GavinFrazar added discover Issues related to Teleport Discover backport/branch/v16 labels Oct 1, 2024
@GavinFrazar
Copy link
Contributor Author

GavinFrazar commented Oct 1, 2024

oh, realized that I need to fix the "View (<rule count>)" to count the rules properly.
I'll convert this to draft until I fix that.

@GavinFrazar GavinFrazar marked this pull request as draft October 1, 2024 05:07
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/display-all-security-group-rules-per-port branch from 1145dc5 to 7cad307 Compare October 1, 2024 05:25
@GavinFrazar GavinFrazar marked this pull request as ready for review October 1, 2024 05:27
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/display-all-security-group-rules-per-port branch from 7cad307 to cfc73cc Compare October 1, 2024 05:34
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/display-all-security-group-rules-per-port branch from cfc73cc to ba41382 Compare October 1, 2024 05:34
web/packages/teleport/src/config.ts Show resolved Hide resolved
Copy link
Contributor

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

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

thank you for the fix!

@GavinFrazar GavinFrazar added this pull request to the merge queue Oct 1, 2024
Merged via the queue into master with commit 4e7292b Oct 1, 2024
41 of 43 checks passed
@GavinFrazar GavinFrazar deleted the gavinfrazar/display-all-security-group-rules-per-port branch October 1, 2024 19:26
@public-teleport-github-review-bot

@GavinFrazar See the table below for backport results.

Branch Result
branch/v16 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v16 discover Issues related to Teleport Discover size/sm ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants