<?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: How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590792#M117672</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/869117427"&gt;@a-takamura&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know this isn't implemented yet.&lt;/P&gt;
&lt;P&gt;However, there's a past discussion on the topic where user &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/58935"&gt;@ThomasPaine&lt;/a&gt; used a workaround using a benign config stanza:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/td-p/176425" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/td-p/176425&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's also an existing feature request where you can ask your local SE to have your voted added:&lt;/P&gt;
&lt;P&gt;FR-ID: NSFR-I-26529&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;-Kim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2024 07:50:09 GMT</pubDate>
    <dc:creator>kiwi</dc:creator>
    <dc:date>2024-07-01T07:50:09Z</dc:date>
    <item>
      <title>How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590774#M117668</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm working with PAN-OS 10.2 and need to set descriptions for various objects like address objects, service objects, and security policies using CLI commands in the set format. I'm struggling to include strings that contain line breaks, single quotes ('), and double quotes ("). Could someone guide me on how to properly format these special characters within the descriptions?&lt;/P&gt;
&lt;P&gt;Thank you in advance for your assistance!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 02:37:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590774#M117668</guid>
      <dc:creator>a-takamura</dc:creator>
      <dc:date>2024-07-01T02:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590792#M117672</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/869117427"&gt;@a-takamura&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know this isn't implemented yet.&lt;/P&gt;
&lt;P&gt;However, there's a past discussion on the topic where user &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/58935"&gt;@ThomasPaine&lt;/a&gt; used a workaround using a benign config stanza:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/td-p/176425" target="_blank"&gt;https://live.paloaltonetworks.com/t5/general-topics/comments-in-cli/td-p/176425&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's also an existing feature request where you can ask your local SE to have your voted added:&lt;/P&gt;
&lt;P&gt;FR-ID: NSFR-I-26529&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;-Kim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 07:50:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590792#M117672</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2024-07-01T07:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590805#M117673</link>
      <description>&lt;P&gt;For a comment that contains quotes, you need to package the comment inside single quotes like so:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;set address example description '"lazorz"'&lt;/LI-CODE&gt;
&lt;P&gt;but for line breaks i don't think you can do that from CLI at this time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 10:01:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590805#M117673</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2024-07-01T10:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590809#M117674</link>
      <description>&lt;P&gt;Thank you for the clarification regarding quotes. I understand that for descriptions with quotes, I should encapsulate them within single quotes as demonstrated.&lt;/P&gt;
&lt;P&gt;However, regarding line breaks, I have another question. In the GUI, it's possible to include line breaks and other free-form text in descriptions for various objects. Is it indeed impossible to do this via the CLI? I assumed there might be escape sequences to handle this, but the following command results in an error:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; rulebase security rules Test-Policy description &lt;SPAN class="hljs-string"&gt;"This is a \"test policy\".\nThis is a 'new line'."&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Could it be that there are no escape sequences available for this purpose in the CLI?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 10:31:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590809#M117674</guid>
      <dc:creator>a-takamura</dc:creator>
      <dc:date>2024-07-01T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Include Line Breaks and Quotes in Descriptions using CLI Commands in PAN-OS</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590890#M117696</link>
      <description>&lt;P&gt;as far as i've found there are no escape characters&lt;/P&gt;
&lt;P&gt;once you 'encapsulate' any characters inside the quotes is treated as cleartext&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 07:55:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-include-line-breaks-and-quotes-in-descriptions-using-cli/m-p/590890#M117696</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2024-07-02T07:55:26Z</dc:date>
    </item>
  </channel>
</rss>

