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 option to remove unscpecified rules when updating a Security Policy #468

Open
lakicv opened this issue Apr 18, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@lakicv
Copy link

lakicv commented Apr 18, 2023

Is your feature request related to a problem? Please describe.

I would like to update my Secuirty Policies without having to separately go through the unwanted rules and deleting them manualy.

Describe the solution you'd like

Similar to the nsxt_vm_tags module there could be a option remove_other_rules that when set to True removes the rules which were not specified for the Security Policy.

Describe alternatives you've considered

No response

Additional context

No response

@lakicv lakicv added the enhancement New feature or request label Apr 18, 2023
@vhrte
Copy link

vhrte commented May 9, 2024

we have this requirement as well. is there anyway to implement this or available workaround ? if there are 4 rules previously created and now it is modified to only become 2 rules, currently it doesn't remove rule 3 and and rule 4 from the configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants