From e712c9b94ec42e3708cb6532fd18f95e49e27103 Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Wed, 18 Sep 2024 12:51:37 +0200 Subject: [PATCH] update UI mapping Signed-off-by: Frank Jogeleit --- pkg/api/v2/views.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/v2/views.go b/pkg/api/v2/views.go index 3d8088fe..e61ca2ae 100644 --- a/pkg/api/v2/views.go +++ b/pkg/api/v2/views.go @@ -678,7 +678,7 @@ func MapSecurityHubToTarget(ta *target.Config[target.SecurityHubOptions]) *Targe t.Type = "SecurityHub" t.Host = ta.Config.Endpoint t.Properties["region"] = ta.Config.Region - t.Properties["cleanup"] = ta.Config.Synchronize + t.Properties["synchronize"] = ta.Config.Synchronize t.Auth = true return t