From a007192ce031ac61b3608a0ca890e3d2dbdf478a Mon Sep 17 00:00:00 2001 From: Matthias Theuermann Date: Mon, 16 Dec 2024 17:57:53 +0100 Subject: [PATCH] fix: changed trigger action to import Signed-off-by: Matthias Theuermann --- internal/provider/integration_msdefender_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/integration_msdefender_resource.go b/internal/provider/integration_msdefender_resource.go index ee839b9..edb2400 100644 --- a/internal/provider/integration_msdefender_resource.go +++ b/internal/provider/integration_msdefender_resource.go @@ -199,7 +199,7 @@ func (r *integrationMsDefenderResource) Create(ctx context.Context, req resource // trigger integration to gather results quickly after the first setup // NOTE: we ignore the error since the integration state does not depend on it - _, err = r.client.TriggerAction(ctx, string(integration.Mrn), mondoov1.ActionTypeRunScan) + _, err = r.client.TriggerAction(ctx, string(integration.Mrn), mondoov1.ActionTypeRunImport) if err != nil { resp.Diagnostics. AddWarning("Client Error",