To ensure that the system does not process invalid data, to enforce business rules, and to ensure that user input is compatible with internal structures and schemas, RiskMinder validates the data that it receives from the APIs.
The following table explains the criteria that RiskMinder Server uses to validate this input data.
Note: Attribute length mentioned in the following table corresponds to the character length. Attribute ID is referred to as paramName in the Java APIs.
|
Attribute |
Attribute ID |
Validation Criteria |
|---|---|---|
|
User Name |
USER_NAME |
Is non-empty. |
|
Length is between 1 and 256 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Organization Name |
ORG_NAME |
Is non-empty. |
|
Length is between 1 and 64 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Display Organization Name |
DISPLAY_ORG_NAME |
Is non-empty. |
|
Length is between 1 and 1024 characters. |
||
|
Machine Fingerprint |
DEVICESIGNATURE |
No validation, except that RiskMinder Server must be able to parse it. |
|
Action |
ACTION |
Is non-empty. |
|
Length is between 1 and 32 characters. |
||
|
Does not contain whitespace characters. |
||
|
DeviceID |
DEVICEIDVALUE |
Is generated by RiskMinder Server, so that the Server is able to parse it. |
|
Device Type |
DEVICEIDTYPE |
Has one of the following values:
|
|
Rule Annotation |
RULEANNOTATION |
No validation, except that RiskMinder Server must be able to parse it. |
|
Start Time |
START_TIME |
Is non-empty. |
|
End Time |
END_TIME |
Is non-empty. |
|
Create Time |
CREATE_TIME |
Is non-empty. |
|
Is less than or equal to the current time. |
||
|
Last Modified Time |
LAST_MODIFIED_TIME |
Is non-empty. |
|
Is less than or equal to the current time. |
||
|
Configuration Name |
CONFIG_NAME |
Configuration name is non-empty. |
|
Length is between 1 and 64 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Channel Name |
CHANNEL_NAME |
Channel name is non-empty. |
|
Length is between 1 and 64 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Configuration State |
CONFIG_STATE |
Is non-empty. |
|
Length is between 0 and 2 characters. |
||
|
Configuration State for Administration Web Service |
CONFIG_STATE_WS |
Is non-empty. |
|
Length is not more than 5 characters. |
||
|
Country Name |
COUNTRY_NAME |
Is non-empty. |
|
Length is between 0 and 50 characters. |
||
|
Does not contain invalid characters (ASCII 0-31), although ASCII 32-127 are allowed. |
||
|
Country Code |
COUNTRY_CODE |
Is non-empty. |
|
Length is between 1 and 2 characters. |
||
|
Can contain numbers, alphabets, underscore, and dot. |
||
|
Start IP |
START_IP |
Is non-empty. |
|
Length is between 0 and 4294967295 characters. |
||
|
Follows the IP address format. |
||
|
End IP |
END_IP |
Length is between 0 and 4294967295 characters. |
|
Follows the IP address format. |
||
|
Mask |
MASK |
Length is between 0 and 4294967295 characters. |
|
Follows the IP address format. |
||
|
Start IP |
START_IP_STR |
Is non-empty. |
|
Length is between 7 and 15 characters. |
||
|
Follows the IP address format. |
||
|
End IP |
END_IP_STR |
Length is between 7 and 15 characters. |
|
Follows the IP address format. |
||
|
Mask |
MASK_STR |
Length is between 7 and 15 characters. |
|
Follows the IP address format. |
||
|
Type |
TYPE |
-- |
|
Start IP Filter |
START_IP_FILTER |
Is non-empty. |
|
Length is between 7 and 15 characters. |
||
|
Follows the IP address format. |
||
|
Source IP Filter |
SOURCE_IP_FILTER |
Is non-empty. |
|
Length is between 7 and 15 characters. |
||
|
Follows the IP address format. |
||
|
Rule Name |
RULE_NAME |
Is non-empty. |
|
Length is between 1 and 128 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Rule Mnemonic |
RULE_MNEMONIC |
Is non-empty. |
|
Length is between 1 and 25 characters. |
||
|
Does not contain invalid characters, although numbers, alphabets, underscore (_), and hyphen (-) are allowed. |
||
|
Rule Description Name |
RULE_DESCR_NAME |
Length is between 1 and 128 characters. |
|
Rule Description |
RULE_DESCRIPTION |
Length is between 1 and 1024 characters. |
|
Rule Library Name |
RULE_LIB |
Is non-empty. |
|
Parameter Name |
RULE_PARAM_NAME |
Is non-empty. |
|
Length is between 1 and 64 characters. |
||
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Parameter Value |
RULE_PARAM_VALUE_STR |
Is non-empty. |
|
Length is between 1 and 512 characters. |
||
|
Parameter Value |
RULE_PARAM_VALUE_BIN |
Is non-empty. |
|
Parameter Type |
RULE_PARAM_TYPE |
Is non-empty. |
|
Length is between 1 and 4 characters. |
||
|
Aggregator Name |
AGGREGATOR_NAME |
Length is between 1 and 64 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Aggregator ID |
AGGREGATOR_ID |
Is non-empty. |
|
Length is between 1 and 128 characters. |
||
|
Combination Rule Name1 |
COMBINATION_RULE_ |
Is non-empty. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Combination Rule Name2 |
COMBINATION_RULE_ |
Is non-empty. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Combination Rule Match1 |
COMBINATION_RULE_ |
Is non-empty. |
|
Length is between 0 and 1 characters. |
||
|
Combination Rule Match2 |
COMBINATION_RULE_ |
Is non-empty. |
|
Length is between 0 and 1 characters. |
||
|
Advice |
ADVICE |
Length is between 1 and 64 characters. |
|
Score |
SCORE |
Value is between 1 and 100. |
|
Scoring Priority |
SCORING_PRIORITY |
Value is between 1 and 2147483647. |
|
Execution Enabled |
EXECUTIONENABLED |
Value must either be 0 or 1. |
|
Scoring Enabled |
SCORINGENABLED |
Value must either be 0 or 1. |
|
Other Organization Name |
OTHERORGNAME |
Length is between 1 and 64 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Other Configuration Name |
OTHERCONFIGNAME |
Length is between 1 and 64 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Sharing Type |
SHARINGTYPE |
Is non-empty. |
|
Value is between 1 and 3. |
||
|
Callout Type |
CALLOUT_TYPE |
Value is between 0 and 2. |
|
Callout URL |
CALLOUT_URL |
Is non-empty. |
|
Length is between 0 and 150 characters. |
||
|
Does not contain invalid characters, although alphabets, number, and + / \ \ # $ % & - _ : . are allowed. |
||
|
Callout Timeout |
CALLOUT_TIMEOUT |
Value is between 0 and 1000000. |
|
Instance Name |
INSTANCE_NAME |
Length is between 0 and 32 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Protocol Module Name |
PROTOCOL_MODULE_NAME |
Length is between 0 and 128 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Client SSL TrustStore Name |
CLIENT_SSL_TRUST_STORE_NAME |
Length is between 0 and 64 characters. |
|
Does not contain invalid characters, although ASCII 32-127 are allowed. |
||
|
Connection Timeout |
CONNECTION_TIMEOUT |
Value is between 0 and 1000000. |
|
Client Certificate |
CLIENT_CERT |
-- |
|
Client Key |
CLIENT_KEY |
-- |
|
Server Root CA Certificate |
SERVER_ROOT_CA_CERT |
-- |
|
Server Private Key |
SERVER_PRIVATE_KEY |
-- |
|
Read Timeout |
READ_TIMEOUT |
-- |
|
Minimum Connections |
MIN_CONNECTION |
-- |
|
Maximum Connections |
MAX_CONNECTION |
-- |
|
Full Distinguished Name of the Certificate |
CERT_SUBJECT |
-- |
|
Issuer Name |
ISSUER_NAME |
-- |
|
Server SSL Authentication |
SERVER_AUTH_SSL |
-- |
|
Client SSL Authentication |
CLIENT_AUTH_SSL |
-- |
|
Action |
TRANS_ACTION |
Is non-empty. |
|
Length is between 1 and 32 characters. |
||
|
Does not contain invalid characters (ASCII 0-31). |
||
|
Association Name |
ASSOC_NAME |
Is non-empty. |
|
Length is between 1 and 32 characters. |
||
|
Does not contain invalid characters (ASCII 0-31). |
|
Copyright © 2013 CA.
All rights reserved.
|
|