<?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: Can ISE parse the result of an authorized command? in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488569#M517893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find a way, I think. I'm going to test this next Wednesday. One can define an alias on the CPE and exclude items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance: alias Test show run | exclude password|user|etc&lt;/P&gt;&lt;P&gt;Then you put config in ISE allowing a user to call only that alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work out but I'll know soon enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Feb 2018 10:31:53 GMT</pubDate>
    <dc:creator>Jeroen1001</dc:creator>
    <dc:date>2018-02-23T10:31:53Z</dc:date>
    <item>
      <title>Can ISE parse the result of an authorized command?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488565#M517889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for ISE to remove sensitive information from the output of certain commands. For example, when issuing a &lt;EM&gt;show run&lt;/EM&gt; command, I want to remove (or replace with *) all lines containing the word username and all lines containing a certain IP like 192.168*&lt;/P&gt;&lt;P&gt;So to put it more concisely, I want to apply a regex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible with ISE? I'm assuming no because it is probably not intended for this use but you never know, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Jeroen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 14:57:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488565#M517889</guid>
      <dc:creator>Jeroen1001</dc:creator>
      <dc:date>2018-02-12T14:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE parse the result of an authorized command?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488566#M517890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeroen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the options ISE supports command line.&lt;/P&gt;&lt;P&gt;ise/admin# sh run | ?&lt;BR /&gt;Output modifier commands:&lt;BR /&gt;&amp;nbsp; begin&amp;nbsp;&amp;nbsp;&amp;nbsp; Begin with line that matches&lt;BR /&gt;&amp;nbsp; count&amp;nbsp;&amp;nbsp;&amp;nbsp; Count the number of lines in the output&lt;BR /&gt;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End with line that matches&lt;BR /&gt;&amp;nbsp; exclude&amp;nbsp; Exclude lines that match&lt;BR /&gt;&amp;nbsp; include&amp;nbsp; Include lines that match&lt;BR /&gt;&amp;nbsp; last&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Display last few lines of the output&lt;/P&gt;&lt;P&gt;ise/admin# sh run ?&lt;BR /&gt;&amp;nbsp; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output Redirection.&lt;BR /&gt;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Output modifiers.&lt;BR /&gt;&amp;nbsp; &amp;lt;cr&amp;gt;&amp;nbsp; Carriage return.&lt;/P&gt;&lt;P&gt;ise/admin# sh run &amp;gt; ?&lt;BR /&gt;&amp;nbsp; &amp;lt;File&amp;gt;&amp;nbsp; Name of file to redirect stdout&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can save it to a file and then parse it the way you want.&lt;/P&gt;&lt;P&gt;It does not support wildcards in command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 06:55:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488566#M517890</guid>
      <dc:creator>kthiruve</dc:creator>
      <dc:date>2018-02-13T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE parse the result of an authorized command?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488567#M517891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Krishnan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply but I meant in it another context. Say I give access to a CPE to a third party. I want this 3rd party to be able to do a &lt;EM&gt;show run&lt;/EM&gt;, but without seeing any sensitive information. &lt;/P&gt;&lt;P&gt;Basically, I want to ISE to transform &lt;EM&gt;show running-config&lt;/EM&gt; into &lt;EM&gt;show running-config | exclude user*|password&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I could exclude more information by adding more pipes making this quite flexible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to summarize, can ISE replace &lt;EM&gt;show running-config &lt;/EM&gt;with&lt;EM&gt; &lt;EM&gt;show running-config | exclude user*|password&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 11:49:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488567#M517891</guid>
      <dc:creator>Jeroen1001</dc:creator>
      <dc:date>2018-02-13T11:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE parse the result of an authorized command?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488568#M517892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The short answer is no.  However, you can leverage the privilege level command and hide certain configuration items from the user which should then also hide it from the running configuration for them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 22:00:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488568#M517892</guid>
      <dc:creator>gbekmezi-DD</dc:creator>
      <dc:date>2018-02-15T22:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can ISE parse the result of an authorized command?</title>
      <link>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488569#M517893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find a way, I think. I'm going to test this next Wednesday. One can define an alias on the CPE and exclude items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for instance: alias Test show run | exclude password|user|etc&lt;/P&gt;&lt;P&gt;Then you put config in ISE allowing a user to call only that alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work out but I'll know soon enough.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:31:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/can-ise-parse-the-result-of-an-authorized-command/m-p/3488569#M517893</guid>
      <dc:creator>Jeroen1001</dc:creator>
      <dc:date>2018-02-23T10:31:53Z</dc:date>
    </item>
  </channel>
</rss>

