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 default values from op_risk_custom criteria #140

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

alexhung
Copy link
Member

So they will be default to Golang default value (0) which in combination of 'omitempty', will mean they are not sent to API if not specify in HCL. This will allow the attribute/setting to be unset.

Close #138

So they will be default to Golang default value (0) which in combination of 'omitempty', will mean they are not sent to API if not specify in HCL. This will allow the attribute/setting to be unset.
@alexhung alexhung added the bug Something isn't working label Sep 26, 2023
@alexhung alexhung marked this pull request as ready for review September 26, 2023 21:52
@alexhung alexhung merged commit 2534dd7 into master Sep 27, 2023
3 checks passed
@alexhung alexhung deleted the GH-138-allow-disabling-policy-rules branch September 27, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow disabling specific risks in xray_operational_risk_policy's rule.criteria.op_risk_custom block
3 participants