Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) Standard preamble: ========================================================================
NAMEURIDetail - test URIs using detailed URI information
SYNOPSISThis plugin creates a new rule test type, known as ``uri_detail''. These rules apply to all URIs found in the message.
RULE DEFINITIONS AND PRIVILEGED SETTINGSThe format for defining a rule is as follows:
uri_detail SYMBOLIC_TEST_NAME key1 =~ /value1/ key2 !~ /value2/ ...
Supported keys are:
"raw" is the raw
"type" is the tag(s) which referenced the raw_uri. parsed is a faked type which specifies that the raw_uri was parsed from the rendered text.
"cleaned" is a list including the raw
"text" is the anchor text(s) (text between <a> and </a>) that linked to the raw
"domain" is the domain(s) found in the cleaned URIs.
Example rule for matching a
uri_detail TEST1 raw =~ /%2Ebar/ domain =~ /^bar\.com$/ type =~ /^a$/
Example rule to look for suspicious ``https'' links:
uri_detail FAKE_HTTPS text =~ /\bhttps:/ cleaned !~ /\bhttps:/
Regular expressions should be delimited by slashes.