Creating sources

In order to create a source, you need to go to the “Sources, lists, goals” tab ->

“Sources” and click on the “Add source” button (see Figure 141).

image239

Figure 141 – Creating a source

After clicking on the create source button, the window for creating a new source appears (see Figure 142).

image240

Figure 142 – Creating a source

The source creation window contains the following elements:

  1. Source name – input field for the name of the source. It is better to give sources detailed names, since when you select a source in a rule or brute force attack detector, only the name will be visible.

  2. Web application – select an application from all those installed on the tenant or installation.

  3. Path – the path in the parse tree to the element selected as the source.

  4. Additional paths – additional paths for extracting the source value from the parse tree (necessary for creating composite sources, for example IP+UA). Mainly used for targeting brute-force attack detectors (see Figure 143).

image241

Figure 143 – Adding an additional path

  1. Source predicate type – a list of possible source predicate types (see Figure 144).

image242

Figure 144 – Possible values of the predicate

Possible values with a description of additional parameters are presented in the table section 13.

  1. Used to detect brute force attacks - the source appears in the brute force attack settings menu.

Table 13 – Source predicate type

Source predicate type

Description

Additional parameters (“–” - if they are not present)

Value is present

Checks the presence of the path specified in step 3

–

No value

Checks the absence of the path specified in step 3

–

Value is empty

Checks the absence of an element value along the path specified in step 3

–

Value is not empty

Checks the presence of an element value along the path specified in step 3

–

Valid number

Checks that the value of the element specified in point 3 of the path is a valid number

–

Correct IP address

Checks that the element values in the path specified in step 3 are the correct IP address

–

Matches

Checks that the values of the element along the path specified in point 3 coincide with the value specified in the additional parameter “Value”

  • Value – field for entering a value

  • Value type (string, integer, IP address) – select the type specified above the value

Contains

Checks that the element values along the path specified in step 3 contain the value specified in the additional parameter “Template”

Template – value entry field

Regular expression

Checks that the element values along the path specified in step 3 satisfy the regular expression specified in the additional parameter “Regular Expression”

  • Regular expression – regular expression input field

  • Regular expression flags that can be set: ignore case, multiline, match dot to end-of-line characters, handle unicode characters

Contained in the list

Checks that the value of the element specified in the 3rd point of the path matches the value from the list specified in the additional parameter “List”

List – select a list (creating a list is described in section Working with Lists)

Contains a substring from a list

Checks that the value of the element specified in the 3rd point of the path contains a value from the list specified in the additional parameter “List”

List – select a list (creating a list is described in section Working with Lists)

Token Expiration Check

Checks that the values of the element along the path specified in point 3 are not out of date (in accordance with the specified values of additional parameters)

  • Prefix path – the base path in the parse tree to the token. If specified, it will be a prefix for all other paths; if not specified, the remaining paths will not be suffixes, but absolute paths in the parse tree

  • Path to token expiration date – The path in the parse tree to the timestamp or expiration date of the token. If set, the token’s aging will be checked only by this value, otherwise the time or date of creation and the token’s lifetime will be checked

  • Path to the moment of token creation – The path in the parse tree to the timestamp or date of token creation. Used in conjunction with the token lifetime if the path to the timestamp or expiration date is not specified

  • Path to token lifetime – Path in the parse tree to the token lifetime. Used in conjunction with a timestamp or token creation date if the path to the timestamp or expiration date is not specified

  • Lifetime in seconds – a field in which the lifetime of the selected element is specified

GSSC obsolescence check based on specified lifetime

Checks that the values of the element along the path specified in point 3 are not out of date (in accordance with the specified values of additional parameters)

Lifetime in seconds – a field in which the lifetime of the selected element is specified

Negation

Used as “NOT”, for example “NOT” is contained in a list

–

Conjunction “AND”

It means that the source must satisfy the conditions of logical “AND”, i.e. “Both one AND the other conditions at the same time” must be satisfied.

–

Disjunction “OR”

Means that the source must satisfy the conditions of logical “OR” i.e. “EITHER one OR the other condition” must be met

–