<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Join RQL query throwing  Failed to execute RQL search . Illegal Argument in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1231163#M124501</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a mismatch in field types in your filter. Try this revised query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where cloud.type = 'gcp' &lt;BR /&gt;AND api.name = 'gcloud-projects-get-iam-user' &lt;BR /&gt;AND json.rule = user contains "iam.gserviceaccount.com" &lt;BR /&gt;and (roles[*] contains "roles/owner" or roles[*] contains "roles/editor") &lt;BR /&gt;as X;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where api.name = 'gcloud-iam-service-accounts-keys-list' &lt;BR /&gt;AND json.rule = keyType equals "USER_MANAGED" &lt;BR /&gt;as Y;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where api.name = 'gcloud-iam-service-accounts-list' &lt;BR /&gt;as Z;&lt;/P&gt;
&lt;P&gt;filter 'Z.email in X.user and Y.name contains Z.name';&lt;BR /&gt;show Z;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regard,&lt;/P&gt;
&lt;P&gt;Helen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2025 05:32:44 GMT</pubDate>
    <dc:creator>helen628young</dc:creator>
    <dc:date>2025-06-06T05:32:44Z</dc:date>
    <item>
      <title>Join RQL query throwing  Failed to execute RQL search . Illegal Argument</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1230955#M124483</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;I am trying to execute the below join query in achieve the below output-&lt;/P&gt;
&lt;P&gt;1. Only Service accounts that has have elevated roles (e.g., roles/owner, roles/editor)&lt;/P&gt;
&lt;P&gt;2. Service accounts that have atleast&amp;nbsp;one user-managed key&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;config from cloud.resource where cloud.type = 'gcp' AND api.name = 'gcloud-projects-get-iam-user' AND json.rule = user contains "iam.gserviceaccount.com" and (roles[*] contains "admin" or roles[*] contains "Admin" or roles[*] contains "roles/editor" or roles[*] contains "roles/owner") as X;config from cloud.resource where api.name = 'gcloud-iam-service-accounts-keys-list' AND json.rule = keyType equals "USER_MANAGED" as Y;config from cloud.resource where api.name = 'gcloud-iam-service-accounts-list' as Z;filter '($.Y.name contains $.Z.email and $.Z.email in $.X.user)';show Z;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However getting the Illegal argument error even though it seems the query syntax is correct as per the green check mark . Please refer to the attached screenshot and suggest on the same please. Appreciate your help on the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Arnab&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:30:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1230955#M124483</guid>
      <dc:creator>ABanjerjee</dc:creator>
      <dc:date>2025-06-04T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join RQL query throwing  Failed to execute RQL search . Illegal document</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1230956#M124484</link>
      <description>&lt;P&gt;AN typo error. The exact error message was "&lt;SPAN&gt;Failed to execute RQL search . Illegal Argument"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:30:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1230956#M124484</guid>
      <dc:creator>ABanjerjee</dc:creator>
      <dc:date>2025-06-04T11:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Join RQL query throwing  Failed to execute RQL search . Illegal Argument</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1231163#M124501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a mismatch in field types in your filter. Try this revised query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where cloud.type = 'gcp' &lt;BR /&gt;AND api.name = 'gcloud-projects-get-iam-user' &lt;BR /&gt;AND json.rule = user contains "iam.gserviceaccount.com" &lt;BR /&gt;and (roles[*] contains "roles/owner" or roles[*] contains "roles/editor") &lt;BR /&gt;as X;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where api.name = 'gcloud-iam-service-accounts-keys-list' &lt;BR /&gt;AND json.rule = keyType equals "USER_MANAGED" &lt;BR /&gt;as Y;&lt;/P&gt;
&lt;P&gt;config from cloud.resource &lt;BR /&gt;where api.name = 'gcloud-iam-service-accounts-list' &lt;BR /&gt;as Z;&lt;/P&gt;
&lt;P&gt;filter 'Z.email in X.user and Y.name contains Z.name';&lt;BR /&gt;show Z;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regard,&lt;/P&gt;
&lt;P&gt;Helen&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 05:32:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/join-rql-query-throwing-failed-to-execute-rql-search-illegal/m-p/1231163#M124501</guid>
      <dc:creator>helen628young</dc:creator>
      <dc:date>2025-06-06T05:32:44Z</dc:date>
    </item>
  </channel>
</rss>

