• No results found

Table 14: Incident Methods (continued)

isIncidentTimeCheck to see if an incident occurred at a given time. The hour, minute and second arguments can be left empty to match any value.

start_hour:int isIncidentTimeRangeCheck to see if an incident occurred between a given time range.

All values must be specified.

operator:string value:int isIncidentCountCheck the number of times an incident has occurred against an integer

operation and specified value. Supported operations include (>, <, ==, !=). The results are: (count [operator] value)

min:int max:int isIncidentCountRangeCheck to see if the number of times an incident has occurred is

within a given range.

search:string

[[caseSensitive]:Boolean]

isIncidentContextSubStringCheck to see if the context XML associated with the incident contains the provided substring. The search is case sensitive by default, unless the second parameter is "false".

pattern:string

[[caseSensitive]:Boolean]

isIncidentContextPatternCheck to see if the context XML associated with an incident contains a simple pattern. Supported pattern wild cards include +, ? and *. Pattern matches are performed case sensitive unless the second parameter to this method is

"false".

[a_block:int]

[b_block:int]

[c_block:int]

[d_block:int]

isIncidentIPCheck to see if an incident came from a given IP address. Each parameter specifies the required value for the specific block of the address. Any of the parameters can be left empty to match any value.

[a_block_range:string]

[b_block_range:string]

[c_block_range:string]

[d_block_range:string]

isIncidentIPRangeCheck to see if an incident came from a given IP address range. Each parameter specifies a range of accepted values for the specific address block. Ranges are specified in the format: min-max. For example: 10-22, or 0-255

name:string isIncidentBrowserCheck to see if the incident occurred from a given browser. The

parameter expects the canonical name of the browser.

Table 14: Incident Methods (continued)

Parameters Name and Description

name:string isIncidentOperatingSystemCheck to see if the incident occurred from a given operation

system. The parameter expects the canonical name of the operating system.

version:string

[[caseSensitive]:Boolean]

isInicdentBrowserVersionCheck to see if the incident occurred from a specified version of the browser. The check is case sensitive by default, unless the second parameter is

"false". The version could contain any character and should be considered as an arbitrary user supplied string value.

pattern:string

[[caseSensitive]:Boolean]

isIncidentBrowserVersionPatternCheck to see if the incident occurred from a browser with a version that matches a given simple pattern. Pattern wild cards >include ?, * and +. The match is done case sensitive unless the second parameter is "false". The version could contain any character and should be considered as an arbitrary user supplied string value.

Search:string

[[caseSensitive]:Boolean]

isIncidentBrowserVersionSubStringCheck to see if the incident occurred from a browser with a version that contains the given sub string. The match is done case sensitive unless the second parameter is "false". The version could contain any character and should be considered as an arbitrary user supplied string value.

country:string isIncidentCountryCheck to see if the incident originated from a given country. The

parameter expects a valid 2 character country code, or the canonical name of the country.

latitude:float isIncidentLatitudeCheck to see if the incident originated from a specified geographical

latitude. The parameter is expected to be a decimal number between -90.0 and +90.0.

min:float max:float isIncidentLatitudeRangeCheck to see if the incident originated between a specified

geographical latitude range.The parameters are expected to be decimal numbers between -90.0 and +90.0.

longitude:float isIncidentLongitudeCheck to see if the incident originated from a specified geographical

longitude. The parameter is expected to be a decimal number between -90.0 and +90.0.

min:float max:float isIncidentLongitudeRangeCheck to see if the incident originated between a specified

geographical longitude. The parameters are expected to be decimal numbers between -90.0 and +90.0.

city:string

[caseSensitive]:Boolean isIncidentCityCheck to see if the incident originated in a specified city. The parameter is

expected to be the city name and is case sensitive unless the second parameter is "false".

pattern:string

[caseSensitive]:Boolean isIncidentCityPatternCheck to see if the incident originated from a city that matches a

specified pattern. The supported wild cards are *>, ?, and +. The pattern is case sensitive unless the second parameter is "false".

search:string

[caseSensitive]:Boolean isIncidentCitySubStringCheck to see if the incident originated from a city that contains

a specified sub string. The substring search is done case sensitive unless the second parameter is "false".

host:string

[caseSensitive]:Boolean isIncidentHostCheck to see if the incident originated in a specified host. The parameter

is expected to be the host name and is case sensitive unless the second parameter is

"false".

Table 14: Incident Methods (continued)

Parameters Name and Description

pattern:string

[caseSensitive]:Boolean isIncidentHostPatternCheck to see if the incident originated from a host name that

matches a specified pattern. The supported wild cards are *, ?, and +. The pattern is case sensitive unless the second parameter is "false".

search:string

[caseSensitive]:Boolean isIncidentHostSubStringCheck to see if the incident originated from a host name that

contains a specified sub string. The substring search is done case sensitive unless the second parameter is "false".

region:string

[caseSensitive]:Boolean isIncidentRegionCheck to see if the incident originated in a specified region. The parameter

is expected to be the region name and is case sensitive unless the second parameter is

"false".

pattern:string

[caseSensitive]:Boolean isIncidentRegionPatternCheck to see if the incident originated from a region that matches

a specified pattern. The supported wild cards are *, ?, and +. The pattern is case sensitive unless the second parameter is "false".

search:string

[caseSensitive]:Boolean isIncidentRegionSubStringCheck to see if the incident originated from a region that

contains a specified sub string. The substring search is done case sensitive unless the second parameter is "false".

zip:string

[caseSensitive]:Boolean isIncidentZipCheck to see if the incident originated in a specified zip code. The parameter

is expected to be the zip code and is case sensitive unless the second parameter is "false".

While zip codes should generally be numeric, there is the possibility of foreign zip codes containing strange characters.

pattern:string

[caseSensitive]:Boolean isIncidentZipPatternCheck to see if the incident originated from a zip code that matches

a specified pattern. The supported wild cards are *>, ?, and +. The pattern is case sensitive unless the second parameter is "false".

search:string

[caseSensitive]:Boolean isIncidentZipSubStringCheck to see if the incident originated from a zip code that contains

a specified sub string. The substring search is done case sensitive unless the second parameter is "false".

Related documents