Skip to content

feat: refactor Security Group firewall rule model and update logic#2063

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main
Jul 30, 2025
Merged

feat: refactor Security Group firewall rule model and update logic#2063
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

  • Change firewall rule model to use Ports (string) instead of FromPort/ToPort
  • Add protocol-specific handling (ICMP, ALL) and port validation logic
  • Implement robust diff logic for AWS-style rule overlap/replace on update
  • Add conversion functions between Spider and Tb firewall rule structs
  • Implement and document REST API handler for synchronizing firewall rules
  • Update Swagger docs and OpenAPI spec with new model, usage, and examples
image

- Change firewall rule model to use Ports (string) instead of FromPort/ToPort
- Add protocol-specific handling (ICMP, ALL) and port validation logic
- Implement robust diff logic for AWS-style rule overlap/replace on update
- Add conversion functions between Spider and Tb firewall rule structs
- Implement and document REST API handler for synchronizing firewall rules
- Update Swagger docs and OpenAPI spec with new model, usage, and examples

Signed-off-by: Seokho Son <shsongist@gmail.com>
@seokho-son seokho-son requested a review from yunkon-kim as a code owner July 30, 2025 15:16
@seokho-son
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Jul 30, 2025
@cb-github-robot cb-github-robot merged commit 40ef797 into cloud-barista:main Jul 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants