Skip to content

Commit

Permalink
Merge pull request #6 from PaloAltoNetworks/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
dipeshah authored Jun 23, 2023
2 parents 93f5811 + 7b3ddb2 commit 2de461d
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 28 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![PyPI - License](https://img.shields.io/pypi/l/prisma-sase.svg?color=brightgreen)](https://pypi.org/project/prisma-sase/)
[![GitHub issues](https://img.shields.io/github/issues/PaloAltoNetworks/prisma-sase-sdk-python.svg)](https://github.com/PaloAltoNetworks/prisma-sase-sdk-python/issues)

# Palo Alto Networks Prisma SASE Python SDK v6.2.1b1
# Palo Alto Networks Prisma SASE Python SDK v6.2.2b1
Python2 and Python3 SDK for the Prisma SASE AppFabric

#### Synopsis
Expand Down Expand Up @@ -44,6 +44,7 @@ MIT
#### Version
| Version | Build | Changes |
| ------- | ----- | ------- |
| **6.2.2** | **b1** | Support for June 2023 Controller release. |
| **6.2.1** | **b1** | Support for April 2023 Controller release. |
| **6.1.2** | **b1** | Support for January 2023 Controller release. |
| **6.1.1** | **b1** | Support for November 2022 Controller release. |
Expand Down
10 changes: 5 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<title>prisma_sase documentation</title>
<meta name="description" content="Python2 and Python3 SDK for the Prisma SASE AppFabric

**Version:** v6.2.1b1
**Version:** v6.2.2b1

**Author:** Palo Alto ..." />

Expand Down Expand Up @@ -2650,7 +2650,7 @@ <h2>Index</h2>
<header id="section-intro">
<h1 class="title"><span class="name">prisma_sase</span> module</h1>
<p>Python2 and Python3 SDK for the Prisma SASE AppFabric</p>
<p><strong>Version:</strong> v6.2.1b1</p>
<p><strong>Version:</strong> v6.2.2b1</p>
<p><strong>Author:</strong> Palo Alto Networks</p>
<p><strong>Copyright:</strong> © 2023 Palo Alto Networks. All rights reserved</p>
<p><strong>License:</strong> MIT</p>
Expand Down Expand Up @@ -2698,7 +2698,7 @@ <h4>For more info</h4>
<div class="codehilite"><pre><span></span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">Python2 and Python3 SDK for the Prisma SASE AppFabric</span>

<span class="sd">**Version:** v6.2.1b1</span>
<span class="sd">**Version:** v6.2.2b1</span>

<span class="sd">**Author:** Palo Alto Networks</span>

Expand Down Expand Up @@ -2840,7 +2840,7 @@ <h4>For more info</h4>


<span class="c1"># Version of SDK</span>
<span class="n">version</span> <span class="o">=</span> <span class="s2">&quot;6.2.1b1&quot;</span>
<span class="n">version</span> <span class="o">=</span> <span class="s2">&quot;6.2.2b1&quot;</span>
<span class="sd">&quot;&quot;&quot;SDK Version string&quot;&quot;&quot;</span>
<span class="n">__version__</span> <span class="o">=</span> <span class="n">version</span>

Expand Down Expand Up @@ -6976,7 +6976,7 @@ <h3>Static methods</h3>

<div class="item" id="prisma_sase.API.modify_rest_retry">
<div class="name def">
<p>def <span class="ident">modify_rest_retry</span>(</p><p>self, total=8, connect=None, read=None, redirect=None, status=None, method_whitelist=frozenset({&#39;GET&#39;, &#39;DELETE&#39;, &#39;PUT&#39;, &#39;HEAD&#39;, &#39;OPTIONS&#39;, &#39;TRACE&#39;}), status_forcelist=None, backoff_factor=0.705883, raise_on_redirect=True, raise_on_status=True, respect_retry_after_header=True, adapter_url=&#39;https://&#39;)</p>
<p>def <span class="ident">modify_rest_retry</span>(</p><p>self, total=8, connect=None, read=None, redirect=None, status=None, method_whitelist=frozenset({&#39;GET&#39;, &#39;HEAD&#39;, &#39;PUT&#39;, &#39;TRACE&#39;, &#39;OPTIONS&#39;, &#39;DELETE&#39;}), status_forcelist=None, backoff_factor=0.705883, raise_on_redirect=True, raise_on_status=True, respect_retry_after_header=True, adapter_url=&#39;https://&#39;)</p>
</div>


Expand Down
24 changes: 15 additions & 9 deletions docs/interactive.m.html
Original file line number Diff line number Diff line change
Expand Up @@ -2879,7 +2879,8 @@ <h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>
<span class="k">return</span> <span class="kc">False</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">email</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -3021,7 +3022,8 @@ <h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>
<span class="k">return</span> <span class="kc">False</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_id</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_secret</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -3391,7 +3393,7 @@ <h1 class="title"><span class="name">prisma_sase.interactive</span> module</h1>
<span class="k">return</span> <span class="kc">True</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="n">api_logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">&#39;Profile retrieval failed.&#39;</span><span class="p">)</span>
<span class="c1"># clear password out of memory</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
<span class="k">return</span> <span class="kc">False</span>
Expand Down Expand Up @@ -4048,7 +4050,8 @@ <h3 class="section-title" id="header-classes">Classes</h3>
<span class="k">return</span> <span class="kc">False</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">email</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -4190,7 +4193,8 @@ <h3 class="section-title" id="header-classes">Classes</h3>
<span class="k">return</span> <span class="kc">False</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_id</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_secret</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -4560,7 +4564,7 @@ <h3 class="section-title" id="header-classes">Classes</h3>
<span class="k">return</span> <span class="kc">True</span>

<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="n">api_logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">&#39;Profile retrieval failed.&#39;</span><span class="p">)</span>
<span class="c1"># clear password out of memory</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
<span class="k">return</span> <span class="kc">False</span>
Expand Down Expand Up @@ -5620,7 +5624,8 @@ <h3>Static methods</h3>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">remove_header</span><span class="p">(</span><span class="s1">&#39;Referer&#39;</span><span class="p">)</span>
<span class="k">return</span> <span class="kc">False</span>
<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">email</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -5776,7 +5781,8 @@ <h3>Static methods</h3>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_secret</span> <span class="o">=</span> <span class="kc">None</span>
<span class="k">return</span> <span class="kc">False</span>
<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Warning: Prisma SD-WAN profile retrieval failure. Please check if the service account &quot;</span>
<span class="s2">&quot;has the right privileges or Prisma SD-WAN is activated.&quot;</span><span class="p">)</span>
<span class="c1"># Profile detail retrieval failed</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_id</span> <span class="o">=</span> <span class="kc">None</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">client_secret</span> <span class="o">=</span> <span class="kc">None</span>
Expand Down Expand Up @@ -6380,7 +6386,7 @@ <h3>Static methods</h3>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">token_session</span> <span class="o">=</span> <span class="n">profile</span><span class="o">.</span><span class="n">sdk_content</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;token_session&#39;</span><span class="p">)</span>
<span class="k">return</span> <span class="kc">True</span>
<span class="k">else</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="s2">&quot;Profile retrieval failed.&quot;</span><span class="p">)</span>
<span class="n">api_logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">&#39;Profile retrieval failed.&#39;</span><span class="p">)</span>
<span class="c1"># clear password out of memory</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_parent_class</span><span class="o">.</span><span class="n">_password</span> <span class="o">=</span> <span class="kc">None</span>
<span class="k">return</span> <span class="kc">False</span>
Expand Down
Loading

0 comments on commit 2de461d

Please sign in to comment.