### Description

In Elasticsearch, all GET requests that have a body must also support that body being passed as a URL parameter named `source`. (This is because GET requests with a body are not standardized and not all clients can support it.)

The `RestSearchProfilesAction` does not support the "source" parameter, as shown in this test failure:
```
./gradlew ':x-pack:plugin:yamlRestTest' \
  --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=user_profile/10_basic/Test search user profile}"  \
  -Dtests.seed=70BB2C6E68358B31 -Dtests.locale=lv -Dtests.timezone=Europe/Skopje \
  -Druntime.java=17 -Dtests.fips.enabled=true
```

You can solve this by switching `hasContent` + `contentParser` to `hasContentOrSourceParam()` + `contentOrSourceParamParser()` (for an example, see `RestQueryApiKeyAction`)
  
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/profile/RestSearchProfilesAction.java
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */
package org.elasticsearch.xpack.security.rest.action.profile;
import org.elasticsearch.client.internal.node.NodeClient;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.license.XPackLicenseState;
import org.elasticsearch.rest.RestRequest;
import org.elasticsearch.rest.action.RestToXContentListener;
import org.elasticsearch.xcontent.ConstructingObjectParser;
import org.elasticsearch.xcontent.ParseField;
import org.elasticsearch.xpack.core.security.action.profile.SearchProfilesAction;
import org.elasticsearch.xpack.core.security.action.profile.SearchProfilesRequest;
import org.elasticsearch.xpack.security.rest.action.SecurityBaseRestHandler;
import java.io.IOException;
import java.util.List;
import java.util.Set;
import static org.elasticsearch.rest.RestRequest.Method.GET;
import static org.elasticsearch.rest.RestRequest.Method.POST;
import static org.elasticsearch.xcontent.ConstructingObjectParser.optionalConstructorArg;
public class RestSearchProfilesAction extends SecurityBaseRestHandler {