<?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: Bug in CSV NAT import: only last line imported correctly in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/271341#M1706</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never got a proper followup to this, nor did I find anything in the release notes I managed to find, but when I tried the same example with 1.1.24, it worked as expected. Both columns Source and Destinations are now populated for all rows in the CSV file.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2019 14:04:38 GMT</pubDate>
    <dc:creator>Per_Westerlund</dc:creator>
    <dc:date>2019-06-19T14:04:38Z</dc:date>
    <item>
      <title>Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/262526#M1638</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running Expedition 1.1.21.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still struggling with Clavister import. Have created CSV files for NAT policy. Address already populated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I import the CSV file, the columns 'src' and 'dst' always get the value 'any' not matter what value I put in, except for the last line in the file!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The very last line in the file populates the columns Source and Destination correctly. This does not work with previous lines. (I have a header line that pre-selects the correct column mapping).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please fix, is a bit nasty!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Per Westerlund&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS: If/when you work on this, please take a look at the import logic for tp_source, I want to be able to express interface-hide, and how to do that is not documented as far as I have seen.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 11:39:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/262526#M1638</guid>
      <dc:creator>Per_Westerlund</dc:creator>
      <dc:date>2019-05-29T11:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/262658#M1640</link>
      <description>&lt;P&gt;The CSV import for NAT policies was recently added and will be enhanced in future releases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have sucessfully tested the src and dst (using the headers&amp;nbsp;from;to;src;dst;tp_source;tp_destination;service). can you paste an example of one line from your CSV for the NAT policies? before pasting change the IP's of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 13:16:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/262658#M1640</guid>
      <dc:creator>sjanita</dc:creator>
      <dc:date>2019-05-30T13:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/263575#M1651</link>
      <description>&lt;P&gt;Here is the beginning and end of the input file I'm currently using:&lt;/P&gt;
&lt;PRE&gt;name;from;src;to;dst;service;description;tag;isdisabled;tp_source
.
.
HttpAll_ResursII_PubAll;Vlan_ResursNetII;ResursNetII_ip_net;Pub_ge4;all-nets;http-all;;Grund;;Pub_ge4
DNSAll_ResursII_PubAll;Vlan_ResursNetII;ResursNetII_ip_net;Pub_ge4;all-nets;dns-all;;Grund;;Pub_ge4&lt;/PRE&gt;
&lt;P&gt;Importing this I get this result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First import" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/20234i9DC83B1A270D69BF/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Skärmavbild 2019-05-30 kl. 23.06.13.png" alt="First import" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;First import&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I undo that import and change the order of the two last lines of the file and import it, this is the new result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Second import" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/20235i21C9BB926463D306/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Skärmavbild 2019-05-30 kl. 23.07.27.png" alt="Second import" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Second import&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All previous NAT rules have Source = any, Destination = any. It is always only the last line that shows success in parsing the columns src/dst.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 21:19:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/263575#M1651</guid>
      <dc:creator>Per_Westerlund</dc:creator>
      <dc:date>2019-05-30T21:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/269516#M1678</link>
      <description>&lt;P&gt;Thanks for reporting this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We will check this behavior. Do you have those objects already declared in the project where you are going to import the NAT rules?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:06:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/269516#M1678</guid>
      <dc:creator>dgildelaig</dc:creator>
      <dc:date>2019-06-13T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/269518#M1679</link>
      <description>&lt;P&gt;Yes, this was supposed to be the final touch, everything else (addresses, services, routes, security rules .....) was already imported without complaints, all objects referred to were pre-existing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Per&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 09:41:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/269518#M1679</guid>
      <dc:creator>Per_Westerlund</dc:creator>
      <dc:date>2019-06-13T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CSV NAT import: only last line imported correctly</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/271341#M1706</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never got a proper followup to this, nor did I find anything in the release notes I managed to find, but when I tried the same example with 1.1.24, it worked as expected. Both columns Source and Destinations are now populated for all rows in the CSV file.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:04:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/bug-in-csv-nat-import-only-last-line-imported-correctly/m-p/271341#M1706</guid>
      <dc:creator>Per_Westerlund</dc:creator>
      <dc:date>2019-06-19T14:04:38Z</dc:date>
    </item>
  </channel>
</rss>

