<?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: Regex for custom vulnerability signature - help needed in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11815#M319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of a way to accomplish what you're asking in 6.0/6.1.&amp;nbsp; 7.0 is supposed to be available today and includes the negate feature.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 14:04:09 GMT</pubDate>
    <dc:creator>jvalentine</dc:creator>
    <dc:date>2015-06-04T14:04:09Z</dc:date>
    <item>
      <title>Regex for custom vulnerability signature - help needed</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11812#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a regex expert, and I'm struggling to figure something out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm making signature that looks at the "Referer" in the http-requst-header. &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've managed to build an expressions that matched on "Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cnn.com" rel="nofollow"&gt;http://cnn.com&lt;/A&gt;&lt;SPAN&gt;", that looks like this: ".*(Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cnn\.com" rel="nofollow"&gt;http://cnn\.com&lt;/A&gt;&lt;SPAN&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I want to do next is make an expression that matches on everything except &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cnn.com" rel="nofollow"&gt;http://cnn.com&lt;/A&gt;&lt;SPAN&gt; as the referer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That means it should look for Referer, and then maybe negate "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cnn.com" rel="nofollow"&gt;http://cnn.com&lt;/A&gt;&lt;SPAN&gt;"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Tor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 09:06:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11812#M316</guid>
      <dc:creator>torm</dc:creator>
      <dc:date>2015-06-03T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for custom vulnerability signature - help needed</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11813#M317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, you're looking for a "negate" operator in the custom vulnerability signature functionality?&amp;nbsp; I don't believe that negate is there today... Check back in a week or so and there might be more information available.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 23:29:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11813#M317</guid>
      <dc:creator>jvalentine</dc:creator>
      <dc:date>2015-06-03T23:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for custom vulnerability signature - help needed</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11814#M318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Jared!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, i know &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; But I'm actually looking for a way to do this in 6.0/6.1. If it's possible to build the regex in a way that makes it negate the string.&lt;/P&gt;&lt;P&gt;Not sure if it's supported, cause all my attempts have failed.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 11:59:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11814#M318</guid>
      <dc:creator>torm</dc:creator>
      <dc:date>2015-06-04T11:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for custom vulnerability signature - help needed</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11815#M319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of a way to accomplish what you're asking in 6.0/6.1.&amp;nbsp; 7.0 is supposed to be available today and includes the negate feature.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 14:04:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/regex-for-custom-vulnerability-signature-help-needed/m-p/11815#M319</guid>
      <dc:creator>jvalentine</dc:creator>
      <dc:date>2015-06-04T14:04:09Z</dc:date>
    </item>
  </channel>
</rss>

