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

add scope field to microsegmentation table #2471

Merged

Conversation

jimmytsang
Copy link
Contributor

This PR adds the following

  • add scope field to microsegmentation table
image
  • add description field to role header
image

Comment on lines 323 to 328
if (data && data['conditionsList']) {
data['conditionsList'].forEach((item) => {
scope = this.stringUtils.getScopeString(item);
});
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@chandrasekhar1996 , from what I've noticed all the msd rules only have one item in the data['conditionsList']. Are there examples such that there are multiple items in the conditionsList?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

discussed with chandu on this and found an example with multiple items, will fix code with next commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

jtsang01 added 2 commits January 5, 2024 14:46
@havetisyan havetisyan merged commit cffb217 into AthenZ:master Jan 8, 2024
1 check passed
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