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.
siemplify
Siemplify
A Siemplify object.
param_name
str
The name of the parameter to extract.
default_value
Any
The default value to return if the parameter is not found.
input_type
type
The type of the parameter.
is_mandatory
bool
Define whether the parameter is mandatory.
print_value
bool
Define whether to print the value of the parameter.
remove_whitespaces
bool
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.
siemplify
provider_name
param_name
default_value
input_type
is_mandatory
print_value
remove_whitespaces
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.
siemplify
Siemplify
The Siemplify object.
param_name
str
The name of the parameter to extract.
default_value
Any
The default value to return if the parameter is not found.
input_type
type
The type of the parameter.
is_mandatory
bool
Define whether the parameter is mandatory.
print_value
bool
Define whether to print the value of the parameter.
remove_whitespaces
bool
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.
siemplify
SiemplifyJob
The SiemplifyJob object.
param_name
str
The name of the parameter to extract.
default_value
Any
The default value to return if the parameter is not found.
input_type
type
The type of the parameter.
is_mandatory
bool
Define whether the parameter is mandatory.
print_value
bool
Define whether to print the parameter value.
remove_whitespaces
bool
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.
siemplify
input_dictionary
param_name
default_value
input_type
is_mandatory
print_value
remove_whitespaces
Returns
The extracted value.
TIPCommon.extraction.get_connector_detailed_params
TIPCommon.extraction.get_connector_detailed_params(siemplify)
Gets the detailed parameters for a connector.
siemplify
Siemplify
The Siemplify object.
Returns
A list of ConnectorParameter
objects.
Return type
list
Need more help? Get answers from Community members and Google SecOps professionals.