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

make host_groups & ioa_rule_groups required for prevention policies #53

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

ffalor
Copy link
Collaborator

@ffalor ffalor commented Nov 15, 2024

host_groups & ioa_rule_groups are currently optional, but changes made to make resource references (#49) and variable references (#51) exposed some state issues.

The existing behavior is to remove any groups from a resource that does not specify a host_groups or ioa_rule_groups attribute. This keeps that behavior, but makes the action more explicit by requiring the attributes to be to set host_groups = [] & ioa_rule_groups = [] while preventing a slew of state issues.

@ffalor ffalor merged commit 0ef85c6 into CrowdStrike:main Nov 15, 2024
3 checks passed
@ffalor ffalor deleted the state branch November 15, 2024 22:38
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.

1 participant