-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement Exception Handling #159
Comments
@atomic111 I ran into an unexpected error: The same can be seen in the browser after I applied the tf changes: Where can I find this action IGNORE?
I could only find:
|
@mati007thm can you please provide the steps to reproduce it via the UI. |
Ignore was renamed to "SNOOZE" |
@atomic111 I could not replicate it using the UI. I only get the error when using the tf provider. But I simply can not find out where I went wrong...
and call it with:
The code is at #165 |
Works similar to the https://github.com/mondoohq/terraform-provider-mondoo/blob/main/internal/provider/policy_assignment_resource.go where the API defines mutations but tf defines the state.
The implementation is a combination of ListExceptionGroup and ApplyException. Terraform only needs to apply the exception if it is not listed already.
GraphQL call:
Space-wide exception GraphQL call
Asset-level exception GraphQL call
The text was updated successfully, but these errors were encountered: