<?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 Prisma Cloud Policy - Check if Logging is enabled for HTTP(S) Load Balancer in GCP in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-cloud-policy-check-if-logging-is-enabled-for-http-s-load/m-p/578108#M1180</link>
    <description>&lt;P&gt;Based on CIS Benchmark, there is an gcloud cli command to check if the Enable logging is enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From Google Cloud CLI&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run the following command&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;gcloud compute backend-services describe &amp;lt;servicename&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://cloud.google.com/load-balancing/docs/https/https-logging-monitoring#gcloud:-global-mode_2" target="_blank"&gt;Global external Application Load Balancer logging and monitoring &amp;nbsp;|&amp;nbsp; Load Balancing &amp;nbsp;|&amp;nbsp; Google Cloud&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;How can I create a Prisma Cloud policy to check if the Load Balancer have the logs enabled?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Do you know which API we can use to do this? I'm trying with the following.&lt;BR /&gt;config from cloud.resource where cloud.type = 'gcp' and api.name = 'gcloud-compute-external-backend-service' as X;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 20:53:57 GMT</pubDate>
    <dc:creator>RSousa1</dc:creator>
    <dc:date>2024-02-22T20:53:57Z</dc:date>
    <item>
      <title>Prisma Cloud Policy - Check if Logging is enabled for HTTP(S) Load Balancer in GCP</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-cloud-policy-check-if-logging-is-enabled-for-http-s-load/m-p/578108#M1180</link>
      <description>&lt;P&gt;Based on CIS Benchmark, there is an gcloud cli command to check if the Enable logging is enabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From Google Cloud CLI&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run the following command&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;gcloud compute backend-services describe &amp;lt;servicename&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://cloud.google.com/load-balancing/docs/https/https-logging-monitoring#gcloud:-global-mode_2" target="_blank"&gt;Global external Application Load Balancer logging and monitoring &amp;nbsp;|&amp;nbsp; Load Balancing &amp;nbsp;|&amp;nbsp; Google Cloud&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;How can I create a Prisma Cloud policy to check if the Load Balancer have the logs enabled?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Do you know which API we can use to do this? I'm trying with the following.&lt;BR /&gt;config from cloud.resource where cloud.type = 'gcp' and api.name = 'gcloud-compute-external-backend-service' as X;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 20:53:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-cloud-policy-check-if-logging-is-enabled-for-http-s-load/m-p/578108#M1180</guid>
      <dc:creator>RSousa1</dc:creator>
      <dc:date>2024-02-22T20:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prisma Cloud Policy - Check if Logging is enabled for HTTP(S) Load Balancer in GCP</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-cloud-policy-check-if-logging-is-enabled-for-http-s-load/m-p/583109#M1207</link>
      <description>&lt;P&gt;Hi RSousa1,&lt;/P&gt;
&lt;P&gt;An example on how to query if the logging is not enabled would look like this:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;config from cloud.resource where cloud.type = 'gcp' AND api.name = 'gcloud-compute-external-backend-service' AND json.rule = logConfig.enable is false&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 22:20:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/prisma-cloud-policy-check-if-logging-is-enabled-for-http-s-load/m-p/583109#M1207</guid>
      <dc:creator>CloudEngineer</dc:creator>
      <dc:date>2024-04-09T22:20:18Z</dc:date>
    </item>
  </channel>
</rss>

