Extraction module
TIPCommon.extraction.extract_action_param
TIPCommon.extraction.extract_action_param(siemplify, param_name, default_value=None, input_type=<class 'str'>, is_mandatory=False, print_value=False, remove_whitespaces=True)
Extracts an action parameter from the Siemplify object.
| Parameters | |
|---|---|
siemplify | 
      SiemplifyA Siemplify object.  | 
    
param_name | 
      strThe name of the parameter to extract.  | 
    
default_value | 
      Optional.
       
 The default value to return if the parameter is not found.  | 
    
input_type | 
      Optional. 
 The type of the parameter.  | 
    
is_mandatory | 
      Optional. 
 Define whether the parameter is mandatory.  | 
    
print_value | 
      Optional. 
 Define whether to print the value of the parameter.  | 
    
remove_whitespaces | 
      Optional. 
 Define whether to remove whitespaces from the value of the parameter.  | 
    
Returns
The value of the parameter.
Return type
Any.
TIPCommon.extraction.extract_configuration_param
TIPCommon.extraction.extract_configuration_param(siemplify, provider_name, param_name, default_value=None, input_type=<class 'str'>, is_mandatory=False, print_value=False, remove_whitespaces=True)
Extracts a configuration parameter value from the integration configuration.
| Parameters | |
|---|---|
siemplify | 
      The Siemplify object. | 
provider_name | 
      The integration identifier. | 
param_name | 
      The name of the parameter. | 
default_value | 
      The default value to set when there is no value in the configuration. | 
input_type | 
      The input type. | 
is_mandatory | 
      Define whether the parameter is mandatory. | 
print_value | 
      Define whether to print the value. | 
remove_whitespaces | 
      Define whether to remove whitespaces from the value. | 
Returns
The extracted value.
TIPCommon.extraction.extract_connector_param
TIPCommon.extraction.extract_connector_param(siemplify, param_name, default_value=None, input_type=<class 'str'>, is_mandatory=False, print_value=False, remove_whitespaces=True)
Extracts a connector parameter from the Siemplify object.
| Parameters | |
|---|---|
siemplify | 
      SiemplifyThe Siemplify object.  | 
    
param_name | 
      strThe name of the parameter to extract.  | 
    
default_value | 
      Optional. 
 The default value to return if the parameter is not found.  | 
    
input_type | 
      Optional. 
 The type of the parameter.  | 
    
is_mandatory | 
      Optional. 
 Define whether the parameter is mandatory.  | 
    
print_value | 
      Optional. 
 Define whether to print the value of the parameter.  | 
    
remove_whitespaces | 
      Optional. 
 Define whether to remove whitespaces from the value of the parameter.  | 
    
Returns
The value of the parameter.
Return type
Any.
TIPCommon.extraction.extract_job_param
TIPCommon.extraction.extract_job_param(siemplify, param_name, default_value=None, input_type=<class 'str'>, is_mandatory=False, print_value=False, remove_whitespaces=True)
Extracts a connector parameter from the Siemplify object.
| Parameters | |
|---|---|
siemplify | 
      SiemplifyJobThe SiemplifyJob object.  | 
    
param_name | 
      strThe name of the parameter to extract.  | 
    
default_value | 
      Optional. 
 The default value to return if the parameter is not found.  | 
    
input_type | 
      Optional. 
 The type of the parameter.  | 
    
is_mandatory | 
      Optional. 
 Define whether the parameter is mandatory.  | 
    
print_value | 
      Optional. 
 Define whether to print the parameter value.  | 
    
remove_whitespaces | 
      Optional. 
 Define whether to remove whitespaces from the parameter value.  | 
    
Returns
The value of the parameter.
Return type
Any.
TIPCommon.extraction.extract_script_param
TIPCommon.extraction.extract_script_param(siemplify, input_dictionary, param_name, default_value=None, input_type=<class 'str'>, is_mandatory=False, print_value=False, remove_whitespaces=True)
Extracts a script parameter from an input dictionary.
| Parameters | |
|---|---|
siemplify | 
      The Siemplify object. | 
input_dictionary | 
      The input dictionary. | 
param_name | 
      The name of the parameter to extract. | 
default_value | 
      The default value to return if the parameter is not found. | 
input_type | 
      The type of the parameter. | 
is_mandatory | 
      Define whether the parameter is mandatory. | 
print_value | 
      Define whether to print the value of the parameter. | 
remove_whitespaces | 
      Define whether to remove whitespaces from the parameter value. | 
Returns
The extracted value.
TIPCommon.extraction.get_connector_detailed_params
TIPCommon.extraction.get_connector_detailed_params(siemplify)
Gets the detailed parameters for a connector.
| Parameters | |
|---|---|
siemplify | 
      SiemplifyThe Siemplify object.  | 
    
Returns
A list of ConnectorParameter objects.
Return type
list
Need more help? Get answers from Community members and Google SecOps professionals.