diff --git a/api/client/client.go b/api/client/client.go index 1a0c156e3108f..8c6bdf0031e40 100644 --- a/api/client/client.go +++ b/api/client/client.go @@ -4185,6 +4185,7 @@ func GetResourcesWithFilters(ctx context.Context, clt ListResourcesClient, req p SearchKeywords: req.SearchKeywords, PredicateExpression: req.PredicateExpression, UseSearchAsRoles: req.UseSearchAsRoles, + UsePreviewAsRoles: req.UsePreviewAsRoles, }) if err != nil { if trace.IsLimitExceeded(err) {