<?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 I have attached an example to in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034006#M999205</link>
    <description>&lt;P&gt;I have attached an example to this with the last section of the access rule showing the newComment field.&lt;/P&gt;
&lt;P&gt;In the 6.2.1 release of Firepower Management Center the "example" button for POST operations in the access rule section of API Explorer now contains this same example.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Neil&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 13:30:16 GMT</pubDate>
    <dc:creator>neipatel</dc:creator>
    <dc:date>2017-08-16T13:30:16Z</dc:date>
    <item>
      <title>Comments in access policy rules</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3033999#M999198</link>
      <description>&lt;P&gt;I've just begun using the REST API for&amp;nbsp;&lt;SPAN&gt;FMC Version: 6.2.0 to provision access policy rules into a&amp;nbsp;Firepower. This has been a bit of a guessing game, because the API Explorer doesn't seem to cover rules, much less proper JSON for creating them.&amp;nbsp; So far, I've had good luck creating all aspects of the rules, with one small hitch. I can't seem to figure out how to add comments.&amp;nbsp;Could someone paste the appropriate JSON? Certain other aspects of the rule, for instance the id, are auto-generated by the system and must be left out of the POST. Thinking this might be the case with comments; I've tried leaving out the timestamp, user, etc from inside the&amp;nbsp;comment history, but this doesn't seem to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards and thanks in advance for any assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:23:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3033999#M999198</guid>
      <dc:creator>tbarton</dc:creator>
      <dc:date>2019-03-12T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Is there anything that I</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034000#M999199</link>
      <description>&lt;P&gt;Is there anything that I could do to clarify the problem I'm having?&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 13:40:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034000#M999199</guid>
      <dc:creator>tbarton</dc:creator>
      <dc:date>2017-05-08T13:40:48Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034001#M999200</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Using JSON has been a challenge for me as well. I do not have an answer for you as I am trying to figure out how to&amp;nbsp; create and load objects and rules using this method.&lt;/P&gt;
&lt;P&gt;Is there any code that you could share? I have to recreate about 500 rules that the SF ASA conversion utility did not convert.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks very much&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:24:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034001#M999200</guid>
      <dc:creator>byakamovich-NSP1</dc:creator>
      <dc:date>2017-06-06T15:24:52Z</dc:date>
    </item>
    <item>
      <title>How's your java? I might have</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034002#M999201</link>
      <description>&lt;P&gt;How's your java? I might have some code that I could share, but it wouldn't be helpful unless you were pretty fluent.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 19:27:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034002#M999201</guid>
      <dc:creator>tbarton</dc:creator>
      <dc:date>2017-06-09T19:27:39Z</dc:date>
    </item>
    <item>
      <title>Exactly the same for me.</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034003#M999202</link>
      <description>&lt;P&gt;Exactly the same for me. Unable to add a comment on an accessrule via REST\API&lt;/P&gt;
&lt;P&gt;I've seen the "commentHistoryList" but it doesn't seem to add the comment...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Anyone have an idea how to do this ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 03:43:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034003#M999202</guid>
      <dc:creator>aniortegr</dc:creator>
      <dc:date>2017-06-24T03:43:31Z</dc:date>
    </item>
    <item>
      <title>I had to reverse engineer the</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034004#M999203</link>
      <description>&lt;P style="text-align: left;"&gt;I had to reverse engineer the java code used for the rest api to find this out... been struggling a few months back with the same issue.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;From what I have found you need to have a dictionary named 'newComments', I have not found any way to update 'commentHistoryList' and had to delete the commentHistoryList and add 'newComments' if I wanted to add/update a rule that had comments.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hope that helps. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 20:54:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034004#M999203</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2017-08-15T20:54:24Z</dc:date>
    </item>
    <item>
      <title>Could you post a JSON example</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034005#M999204</link>
      <description>&lt;P&gt;Could you post a JSON example?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:23:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034005#M999204</guid>
      <dc:creator>tbarton</dc:creator>
      <dc:date>2017-08-16T13:23:52Z</dc:date>
    </item>
    <item>
      <title>I have attached an example to</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034006#M999205</link>
      <description>&lt;P&gt;I have attached an example to this with the last section of the access rule showing the newComment field.&lt;/P&gt;
&lt;P&gt;In the 6.2.1 release of Firepower Management Center the "example" button for POST operations in the access rule section of API Explorer now contains this same example.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:30:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034006#M999205</guid>
      <dc:creator>neipatel</dc:creator>
      <dc:date>2017-08-16T13:30:16Z</dc:date>
    </item>
    <item>
      <title>*hint* *hint* feature request</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034007#M999206</link>
      <description>&lt;P&gt;*hint* *hint* feature request...&lt;/P&gt;
&lt;P&gt;remove newComments and make&amp;nbsp;&lt;SPAN&gt;commentHistoryList editable. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 13:36:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3034007#M999206</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2017-08-16T13:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: I have attached an example to</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3196686#M999207</link>
      <description>&lt;P&gt;I'm attempting to add a comment by&amp;nbsp;modifying an existing rule using a PUT.&amp;nbsp; JSON is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&amp;nbsp; "newComments": [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "comment1",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "comment2"&lt;BR /&gt;] }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which returns the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Request UUID and data does not match."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know what is needed here if doing a PUT?&amp;nbsp; I've tried adding in other portions such as name and type, but it isn't taking.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 20:13:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3196686#M999207</guid>
      <dc:creator>scotttaylor</dc:creator>
      <dc:date>2017-10-10T20:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: I have attached an example to</title>
      <link>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3196693#M999208</link>
      <description>Figured it out - the content requires the ID to be passed in.  Seems redundant to me as it's also used as part of the path in the call as well.</description>
      <pubDate>Tue, 10 Oct 2017 20:32:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/comments-in-access-policy-rules/m-p/3196693#M999208</guid>
      <dc:creator>scotttaylor</dc:creator>
      <dc:date>2017-10-10T20:32:12Z</dc:date>
    </item>
  </channel>
</rss>

