<?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 Programmatic Access for Cloud NGFW in Cloud NGFW for AWS Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cloud-ngfw-for-aws-discussions/programmatic-access-for-cloud-ngfw/m-p/478170#M273</link>
    <description>&lt;P&gt;Where can I find more information about programmatic access for Cloud NGFW? Also can I use AWS Cloudformation Templates to create and manage Cloud NGFW resources?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I have already enabled the "&lt;SPAN&gt;Programmatic Access" button in the Cloud NGFW UI.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 01:27:47 GMT</pubDate>
    <dc:creator>hparandekar</dc:creator>
    <dc:date>2022-04-05T01:27:47Z</dc:date>
    <item>
      <title>Programmatic Access for Cloud NGFW</title>
      <link>https://live.paloaltonetworks.com/t5/cloud-ngfw-for-aws-discussions/programmatic-access-for-cloud-ngfw/m-p/478170#M273</link>
      <description>&lt;P&gt;Where can I find more information about programmatic access for Cloud NGFW? Also can I use AWS Cloudformation Templates to create and manage Cloud NGFW resources?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I have already enabled the "&lt;SPAN&gt;Programmatic Access" button in the Cloud NGFW UI.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 01:27:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cloud-ngfw-for-aws-discussions/programmatic-access-for-cloud-ngfw/m-p/478170#M273</guid>
      <dc:creator>hparandekar</dc:creator>
      <dc:date>2022-04-05T01:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatic Access for Cloud NGFW</title>
      <link>https://live.paloaltonetworks.com/t5/cloud-ngfw-for-aws-discussions/programmatic-access-for-cloud-ngfw/m-p/478228#M274</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello hparandekar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw your post and have a few recommendations for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Programmatic Access: This feature is to provide capability for customers to access the backend API's directly, so that they can create FW resource and rulestacks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Flow&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Customer Enables Programmatic Access from UI&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Customer adds Principle Tags to IAM roles in their account&lt;/SPAN&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Under TAG add:&lt;/SPAN&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Key=NGFWaasRole, Value=CloudFirewallAdmin&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Key=NGFWaasRole, Value=CloudRulestackAdmin&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Under Trusted Relationship add IAM user&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;IAM User in customer account can now call sts_client.asume_role(RoleArn="arn:value") → produces a set of keys&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;These keys can now be used to call API below to get a JWT Token: (keep in mind you must generate a Signature V4 Header to authenticate to this API, see &lt;A href="https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html" target="_blank" rel="noopener"&gt;https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html&lt;/A&gt;)&lt;/SPAN&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;GET:/v1/mgmt/tokens/cloudfirewalladmin&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;GET:/v1/mgmt/tokens/cloudrulestackadmin&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Step 4 produces a token-id, this token-id is now good to use on Firewall CRUD API's or Rulestack API's listed below. Must use "Authorization" : "token-id" in header. &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;If you want more clarification on programmatic access please go through the below link.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Yes you can &amp;nbsp;use AWS Cloudformation Templates to create and manage Cloud NGFW resources.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can &amp;nbsp;create a template that describes all the AWS resources that you want (like Amazon EC2 instances or Amazon RDS DB instances), and CloudFormation takes care of provisioning and configuring those resources for you. You don't need to individually create and configure AWS resources and figure out what's dependent on what; CloudFormation handles that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gopinath Sekar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Palo Alto Networks Technical Support Engineer&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:36:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cloud-ngfw-for-aws-discussions/programmatic-access-for-cloud-ngfw/m-p/478228#M274</guid>
      <dc:creator>gsekar</dc:creator>
      <dc:date>2022-04-06T17:36:54Z</dc:date>
    </item>
  </channel>
</rss>

