PAN-OS classifies custom signature contexts into two categories: String Contexts and Integer Contexts. String Contexts are used for pattern comparison against textual data such as HTTP headers, message bodies, and banner content (for example, http-req-headers and http-req-message-body), and they are used with the Pattern Match operator and a regular expression. Integer Contexts, by contrast, are used only for numeric equality/comparison operators (less than, greater than, equal to), such as content length or response codes—not for matching text patterns within headers or bodies. Because the goal is to pattern-match text in both the HTTP header and the HTTP message body, the String context type is the correct choice for the signature's standards.
Community Discussion