<?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: RQL to check ALL the virtual machines and service accounts in differents clouds. Prisma Cloud in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/581216#M1199</link>
    <description>&lt;P&gt;After worked with CES palo alto. I found the below RQLs:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The RQLs for the four cloud types would be (Virtual Machine):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1- event from cloud.audit_logs where cloud.type = 'aws' AND crud IN ( 'create', 'update', 'delete' ) and operation matches 'Instance'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2- event from cloud.audit_logs where cloud.type = 'azure' AND crud IN ( 'create', 'update', 'delete' ) AND operation matches 'virtual machine'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3- event from cloud.audit_logs where cloud.type = 'gcp' AND crud IN ( 'create', 'update', 'delete' ) and operation matches 'compute.instance'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4- OCI does not support even based RQLs, hence the RQL that we could come up with is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;config from cloud.resource where cloud.type = 'oci' AND api.name = 'oci-compute-instance'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And Service Accounts:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;OCI:&lt;BR /&gt;config from cloud.resource where cloud.type = 'oci' AND cloud.service = 'OCI IAM' AND api.name = 'oci-iam-user' AND json.rule = (apiKeys[*] is not empty or authTokens[*] is not empty)&lt;BR /&gt;Azure:&lt;BR /&gt;config from cloud.resource where cloud.type = 'azure' AND api.name = 'azure-active-directory-app-registration' AND json.rule = servicePrincipalLockConfiguration exists&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 17:43:23 GMT</pubDate>
    <dc:creator>jquijada</dc:creator>
    <dc:date>2024-03-21T17:43:23Z</dc:date>
    <item>
      <title>RQL to check ALL the virtual machines and service accounts in differents clouds. Prisma Cloud</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/577659#M1193</link>
      <description>&lt;P&gt;Hello Community.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need your help. I need a RQL in prisma cloud to check ALL my virtual machines and service accounts. The RQL should be work to GCP, AWS, Azure and OCI cloud.&amp;nbsp;&lt;BR /&gt;It's possible? I wanna check in a new custom policy all my VMs and service accounts. Hope you can help me.&amp;nbsp;&lt;BR /&gt;Regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 13:37:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/577659#M1193</guid>
      <dc:creator>jquijada</dc:creator>
      <dc:date>2024-02-19T13:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: RQL to check ALL the virtual machines and service accounts in differents clouds. Prisma Cloud</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/581209#M1198</link>
      <description>&lt;P&gt;Hello, not via RQL, but with the newly revamped platform, you can choose a asset-based query within investigate and perform that. (screenshot below)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bpachauli_0-1711039912188.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/58505i61D6446A925E39B1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="bpachauli_0-1711039912188.png" alt="bpachauli_0-1711039912188.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 16:52:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/581209#M1198</guid>
      <dc:creator>bpachauli</dc:creator>
      <dc:date>2024-03-21T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: RQL to check ALL the virtual machines and service accounts in differents clouds. Prisma Cloud</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/581216#M1199</link>
      <description>&lt;P&gt;After worked with CES palo alto. I found the below RQLs:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The RQLs for the four cloud types would be (Virtual Machine):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1- event from cloud.audit_logs where cloud.type = 'aws' AND crud IN ( 'create', 'update', 'delete' ) and operation matches 'Instance'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2- event from cloud.audit_logs where cloud.type = 'azure' AND crud IN ( 'create', 'update', 'delete' ) AND operation matches 'virtual machine'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3- event from cloud.audit_logs where cloud.type = 'gcp' AND crud IN ( 'create', 'update', 'delete' ) and operation matches 'compute.instance'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4- OCI does not support even based RQLs, hence the RQL that we could come up with is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;config from cloud.resource where cloud.type = 'oci' AND api.name = 'oci-compute-instance'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And Service Accounts:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;OCI:&lt;BR /&gt;config from cloud.resource where cloud.type = 'oci' AND cloud.service = 'OCI IAM' AND api.name = 'oci-iam-user' AND json.rule = (apiKeys[*] is not empty or authTokens[*] is not empty)&lt;BR /&gt;Azure:&lt;BR /&gt;config from cloud.resource where cloud.type = 'azure' AND api.name = 'azure-active-directory-app-registration' AND json.rule = servicePrincipalLockConfiguration exists&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 17:43:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-to-check-all-the-virtual-machines-and-service-accounts-in/m-p/581216#M1199</guid>
      <dc:creator>jquijada</dc:creator>
      <dc:date>2024-03-21T17:43:23Z</dc:date>
    </item>
  </channel>
</rss>

