From 6fe7f9f9f2f6ebd8b09daa646e7ffcc55d755782 Mon Sep 17 00:00:00 2001 From: Rita Zerrizuela Date: Mon, 28 Oct 2024 21:26:10 +0000 Subject: [PATCH] Remove iga-* triggers --- internal/cli/terraform_fetcher.go | 2 +- internal/cli/terraform_fetcher_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cli/terraform_fetcher.go b/internal/cli/terraform_fetcher.go index c908b7b8..209840d3 100644 --- a/internal/cli/terraform_fetcher.go +++ b/internal/cli/terraform_fetcher.go @@ -543,7 +543,7 @@ func (f *tenantResourceFetcher) FetchData(_ context.Context) (importDataList, er func (f *triggerActionsResourceFetcher) FetchData(ctx context.Context) (importDataList, error) { var data importDataList - triggers := []string{"post-login", "credentials-exchange", "pre-user-registration", "post-user-registration", "post-change-password", "send-phone-message", "password-reset-post-challenge", "iga-approval", "iga-certification", "iga-fulfillment-assignment", "iga-fulfillment-execution"} + triggers := []string{"post-login", "credentials-exchange", "pre-user-registration", "post-user-registration", "post-change-password", "send-phone-message", "password-reset-post-challenge"} for _, trigger := range triggers { res, err := f.api.Action.Bindings(ctx, trigger) diff --git a/internal/cli/terraform_fetcher_test.go b/internal/cli/terraform_fetcher_test.go index 9b6dda9c..e24e5d08 100644 --- a/internal/cli/terraform_fetcher_test.go +++ b/internal/cli/terraform_fetcher_test.go @@ -1658,7 +1658,7 @@ func TestTriggerActionsResourceFetcher_FetchData(t *testing.T) { defer ctrl.Finish() actionAPI := mock.NewMockActionAPI(ctrl) - for _, trigger := range []string{"post-login", "credentials-exchange", "pre-user-registration", "post-user-registration", "post-change-password", "send-phone-message", "password-reset-post-challenge", "iga-approval", "iga-certification", "iga-fulfillment-assignment", "iga-fulfillment-execution"} { + for _, trigger := range []string{"post-login", "credentials-exchange", "pre-user-registration", "post-user-registration", "post-change-password", "send-phone-message", "password-reset-post-challenge"} { bindings := []*management.ActionBinding{} if trigger == "pre-user-registration" {