<?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 RQL Query to search for suspicious activity on specific S3 Bucket in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559892#M1056</link>
    <description>&lt;P&gt;We have a specific S3 bucket that we'd like to watch for events and alert on them.&amp;nbsp; I've used this query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;event from cloud.audit_logs where operation IN ( 'AddUserToGroup', 'AttachGroupPolicy', 'AttachGroupPolicy', 'AttachUserPolicy' , 'AttachRolePolicy' , 'CreateAccessKey', 'CreateKeyPair', 'DeleteKeyPair', 'DeleteLogGroup' )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but need to modify it to only query if events happen on a specific S3 bucket (not on all buckets).&amp;nbsp; Anyone know how I can add to this RQL query to only query against the specific S3 bucket?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 16:18:30 GMT</pubDate>
    <dc:creator>RDunsirn23</dc:creator>
    <dc:date>2023-09-28T16:18:30Z</dc:date>
    <item>
      <title>RQL Query to search for suspicious activity on specific S3 Bucket</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559892#M1056</link>
      <description>&lt;P&gt;We have a specific S3 bucket that we'd like to watch for events and alert on them.&amp;nbsp; I've used this query:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;event from cloud.audit_logs where operation IN ( 'AddUserToGroup', 'AttachGroupPolicy', 'AttachGroupPolicy', 'AttachUserPolicy' , 'AttachRolePolicy' , 'CreateAccessKey', 'CreateKeyPair', 'DeleteKeyPair', 'DeleteLogGroup' )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but need to modify it to only query if events happen on a specific S3 bucket (not on all buckets).&amp;nbsp; Anyone know how I can add to this RQL query to only query against the specific S3 bucket?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:18:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559892#M1056</guid>
      <dc:creator>RDunsirn23</dc:creator>
      <dc:date>2023-09-28T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: RQL Query to search for suspicious activity on specific S3 Bucket</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559919#M1057</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;RDunsirn23,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you check if the below RQL query works for your use case&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;event from cloud.audit_logs where cloud.service = 's3.amazonaws.com' AND json.rule = $.requestParameters.bucketName = "&amp;lt;bucket_name&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;Here, replace the bucket name with the S3 bucket name and this should generate an alert anytime any event is performed on the bucket. You can filter this further such that alerts are generated only for specific events by using operation IN ( '&amp;lt;API name&amp;gt;')&amp;nbsp;&lt;BR /&gt;Refer &lt;A href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-rql-reference/rql-reference/config-query" target="_self"&gt;Event Query attributes&lt;/A&gt; doc to learn about the different attributes for event query.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 18:43:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559919#M1057</guid>
      <dc:creator>srnair</dc:creator>
      <dc:date>2023-09-28T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: RQL Query to search for suspicious activity on specific S3 Bucket</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559922#M1058</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I will try this out.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 19:00:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/rql-query-to-search-for-suspicious-activity-on-specific-s3/m-p/559922#M1058</guid>
      <dc:creator>RDunsirn23</dc:creator>
      <dc:date>2023-09-28T19:00:42Z</dc:date>
    </item>
  </channel>
</rss>

