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

remove appliedTo security group from rule description #230

Merged
merged 2 commits into from
May 23, 2023

Conversation

shenmo3
Copy link
Contributor

@shenmo3 shenmo3 commented May 22, 2023

Description

The rule description field on AWS has a char limit of 255 and on Azure 140. To conserve space and allowing longer possible ANP names, we want to remove appliedTo security group field from cloud rule descriptions, as these information can be directly inferred from rule properties.

Changes

  1. Remove at sg from cloud rule description and update corresponding helper functions.
  2. Change Azure rule logic to use sgs in rule properties instead of parsing from description (AWS is already using rule properties).

@shenmo3 shenmo3 self-assigned this May 22, 2023
@shenmo3 shenmo3 linked an issue May 22, 2023 that may be closed by this pull request
@shenmo3
Copy link
Contributor Author

shenmo3 commented May 22, 2023

/nephe-test-e2e-all

@shenmo3 shenmo3 force-pushed the azure-description branch from 41bba36 to f1ef176 Compare May 22, 2023 09:40
reachjainrahul
reachjainrahul previously approved these changes May 22, 2023
Copy link
Contributor

@reachjainrahul reachjainrahul left a comment

Choose a reason for hiding this comment

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

/LGTM

@reachjainrahul
Copy link
Contributor

/nephe-test-e2e-kind, /nephe-test-e2e-eks, /nephe-test-e2e-aks

1 similar comment
@reachjainrahul
Copy link
Contributor

/nephe-test-e2e-kind, /nephe-test-e2e-eks, /nephe-test-e2e-aks

@shenmo3
Copy link
Contributor Author

shenmo3 commented May 22, 2023

/nephe-test-e2e-kind, /nephe-test-e2e-eks, /nephe-test-e2e-aks

Copy link
Contributor

@reachjainrahul reachjainrahul left a comment

Choose a reason for hiding this comment

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

/LGTM

@reachjainrahul reachjainrahul merged commit c2c7cf0 into main May 23, 2023
@reachjainrahul reachjainrahul deleted the azure-description branch May 23, 2023 16:28
@reachjainrahul reachjainrahul added this to the Nephe v0.5 release milestone Jun 1, 2023
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.

Security Rule creation on Azure failure
2 participants