4.7.3.3. Fields

Constants for field schemas.

axonius_api_client.constants.fields.AGG_ADAPTER_NAME: str = 'agg'

Short name to use for aggregated adapter

axonius_api_client.constants.fields.AGG_ADAPTER_TITLE: str = 'Aggregated'

Title to use for aggregated adapter

axonius_api_client.constants.fields.ALL_NAME: str = 'all'

alternative name to use for ‘all’ field.

axonius_api_client.constants.fields.AGG_EXPR_FIELD_TYPE: str = 'axonius'

epxr_field_type to use in saved query expressions for aggregated fields

axonius_api_client.constants.fields.AGG_ADAPTER_ALTS: List[str] = ['generic', 'general', 'specific', 'agg', 'aggregated']

list of list of alternatives for ‘generic’ adapter.

axonius_api_client.constants.fields.GET_SCHEMAS_KEYS: List[str] = ['name', 'name_base', 'name_qual', 'title']

field schema keys to check when finding field schemas

axonius_api_client.constants.fields.GET_SCHEMA_KEYS: List[str] = ['name', 'name_base', 'name_qual', 'title']

field schema keys to check when finding a single field schema

axonius_api_client.constants.fields.FUZZY_SCHEMAS_KEYS: List[str] = ['name_base', 'title']

field schema keys to check when fuzzy matching field schemas

axonius_api_client.constants.fields.PRETTY_SCHEMA_TMPL: str = '{adapter_name}:{name_base:{len_max}} -> {column_title}'

template to use when pretty printing schemas.

axonius_api_client.constants.fields.SCHEMAS_CUSTOM: Dict[str, dict] = {'report_adapters_missing': {'adapters_missing': {'adapter_name': 'report', 'column_name': 'report:adapters_missing', 'column_title': 'Report: Adapters Missing', 'is_complex': False, 'is_custom': True, 'is_list': True, 'is_root': True, 'name': 'adapters_missing', 'name_base': 'adapters_missing', 'name_qual': 'adapters_missing', 'parent': 'root', 'title': 'Adapters Missing', 'type': 'string', 'type_norm': 'list_string'}}, 'report_software_whitelist': {'software_extra': {'adapter_name': 'report', 'column_name': 'report:software_extra', 'column_title': 'Report: Extra Software', 'is_complex': False, 'is_custom': True, 'is_list': True, 'is_root': True, 'name': 'software_extra', 'name_base': 'software_extra', 'name_qual': 'software_extra', 'parent': 'root', 'title': 'Extra Software', 'type': 'string', 'type_norm': 'list_string'}, 'software_missing': {'adapter_name': 'report', 'column_name': 'report:software_missing', 'column_title': 'Report: Missing Software', 'is_complex': False, 'is_custom': True, 'is_list': True, 'is_root': True, 'name': 'software_missing', 'name_base': 'software_missing', 'name_qual': 'software_missing', 'parent': 'root', 'title': 'Missing Software', 'type': 'string', 'type_norm': 'list_string'}, 'software_whitelist': {'adapter_name': 'report', 'column_name': 'report:software_whitelist', 'column_title': 'Report: Software Whitelist', 'is_complex': False, 'is_custom': True, 'is_list': True, 'is_root': True, 'name': 'software_whitelist', 'name_base': 'software_whitelist', 'name_qual': 'software_whitelist', 'parent': 'root', 'title': 'Software Whitelist', 'type': 'string', 'type_norm': 'list_string'}}}

custom schemas for reports in asset callbacks

class axonius_api_client.constants.fields.Parsers(value)[source]

Bases: axonius_api_client.data.BaseEnum

Names of value parsers.

to_csv_adapters = 'to_csv_adapters'
to_csv_cnx_label = 'to_csv_cnx_label'
to_csv_int = 'to_csv_int'
to_csv_ip = 'to_csv_ip'
to_csv_str = 'to_csv_str'
to_csv_subnet = 'to_csv_subnet'
to_csv_tags = 'to_csv_tags'
to_dt = 'to_dt'
to_in_subnet = 'to_in_subnet'
to_int = 'to_int'
to_ip = 'to_ip'
to_none = 'to_none'
to_raw_version = 'to_raw_version'
to_str = 'to_str'
to_str_adapters = 'to_str_adapters'
to_str_cnx_label = 'to_str_cnx_label'
to_str_escaped_regex = 'to_str_escaped_regex'
to_str_subnet = 'to_str_subnet'
to_str_tags = 'to_str_tags'
class axonius_api_client.constants.fields.Types(value)[source]

Bases: axonius_api_client.data.BaseEnum

Types of field schemas.

string = 'string'
boolean = 'bool'
integer = 'integer'
number = 'number'
array = 'array'
class axonius_api_client.constants.fields.Formats(value)[source]

Bases: axonius_api_client.data.BaseEnum

Formats of field schemas.

datetime = 'date-time'
image = 'image'
version = 'version'
ip = 'ip'
subnet = 'subnet'
discrete = 'discrete'
table = 'table'
tag = 'tag'
connection_label = 'connection_label'
ip_preferred = 'ip_preferred'
os_distribution = 'os-distribution'
class axonius_api_client.constants.fields.OperatorNameMap(name, op)[source]

Bases: axonius_api_client.data.BaseData

Mapping class of an operator name to its GUI expression operator name.

Parameters
name: str
op: str
__init__(name, op)

Initialize self. See help(type(self)) for accurate signature.

Parameters
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

class axonius_api_client.constants.fields.OperatorNameMaps(contains=OperatorNameMap(name='contains', op='contains'), count_equals=OperatorNameMap(name='count_equals', op='count_equals'), count_less_than=OperatorNameMap(name='count_below', op='count_below'), count_more_than=OperatorNameMap(name='count_above', op='count_above'), endswith=OperatorNameMap(name='endswith', op='ends'), equals=OperatorNameMap(name='equals', op='equals'), exists=OperatorNameMap(name='exists', op='exists'), is_false=OperatorNameMap(name='false', op='false'), is_true=OperatorNameMap(name='true', op='true'), is_in=OperatorNameMap(name='in', op='IN'), is_in_subnet=OperatorNameMap(name='in_subnet', op='subnet'), is_ipv4=OperatorNameMap(name='is_ipv4', op='isIPv4'), is_ipv6=OperatorNameMap(name='is_ipv6', op='isIPv6'), is_not_in_subnet=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), last_days=OperatorNameMap(name='last_days', op='days'), last_hours=OperatorNameMap(name='last_hours', op='hours'), less_than=OperatorNameMap(name='less_than', op='<'), more_than=OperatorNameMap(name='more_than', op='>'), next_days=OperatorNameMap(name='next_days', op='next_days'), next_hours=OperatorNameMap(name='next_hours', op='next_hours'), regex=OperatorNameMap(name='regex', op='regex'), startswith=OperatorNameMap(name='startswith', op='starts'), earlier_than=OperatorNameMap(name='earlier_than', op='earlier than'), later_than=OperatorNameMap(name='later_than', op='later than'))[source]

Bases: axonius_api_client.data.BaseData

Maps of operator names to their GUI expression operator names.

Parameters
contains: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='contains', op='contains')
count_equals: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='count_equals', op='count_equals')
count_less_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='count_below', op='count_below')
count_more_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='count_above', op='count_above')
endswith: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='endswith', op='ends')
equals: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='equals', op='equals')
exists: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='exists', op='exists')
is_false: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='false', op='false')
is_true: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='true', op='true')
is_in: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='in', op='IN')
is_in_subnet: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='in_subnet', op='subnet')
is_ipv4: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='is_ipv4', op='isIPv4')
is_ipv6: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='is_ipv6', op='isIPv6')
is_not_in_subnet: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='not_in_subnet', op='notInSubnet')
last_days: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='last_days', op='days')
last_hours: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='last_hours', op='hours')
less_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='less_than', op='<')
more_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='more_than', op='>')
next_days: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='next_days', op='next_days')
next_hours: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='next_hours', op='next_hours')
regex: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='regex', op='regex')
startswith: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='startswith', op='starts')
earlier_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='earlier_than', op='earlier than')
later_than: axonius_api_client.constants.fields.OperatorNameMap = OperatorNameMap(name='later_than', op='later than')
__init__(contains=OperatorNameMap(name='contains', op='contains'), count_equals=OperatorNameMap(name='count_equals', op='count_equals'), count_less_than=OperatorNameMap(name='count_below', op='count_below'), count_more_than=OperatorNameMap(name='count_above', op='count_above'), endswith=OperatorNameMap(name='endswith', op='ends'), equals=OperatorNameMap(name='equals', op='equals'), exists=OperatorNameMap(name='exists', op='exists'), is_false=OperatorNameMap(name='false', op='false'), is_true=OperatorNameMap(name='true', op='true'), is_in=OperatorNameMap(name='in', op='IN'), is_in_subnet=OperatorNameMap(name='in_subnet', op='subnet'), is_ipv4=OperatorNameMap(name='is_ipv4', op='isIPv4'), is_ipv6=OperatorNameMap(name='is_ipv6', op='isIPv6'), is_not_in_subnet=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), last_days=OperatorNameMap(name='last_days', op='days'), last_hours=OperatorNameMap(name='last_hours', op='hours'), less_than=OperatorNameMap(name='less_than', op='<'), more_than=OperatorNameMap(name='more_than', op='>'), next_days=OperatorNameMap(name='next_days', op='next_days'), next_hours=OperatorNameMap(name='next_hours', op='next_hours'), regex=OperatorNameMap(name='regex', op='regex'), startswith=OperatorNameMap(name='startswith', op='starts'), earlier_than=OperatorNameMap(name='earlier_than', op='earlier than'), later_than=OperatorNameMap(name='later_than', op='later than'))

Initialize self. See help(type(self)) for accurate signature.

Parameters
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

class axonius_api_client.constants.fields.Operator(template, name_map, parser)[source]

Bases: axonius_api_client.data.BaseData

Operator mapto its AQL template, operator name map, and its value parser.

Parameters
template: str
name_map: axonius_api_client.constants.fields.OperatorNameMap
parser: axonius_api_client.constants.fields.Parsers
__init__(template, name_map, parser)

Initialize self. See help(type(self)) for accurate signature.

Parameters
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

axonius_api_client.constants.fields.ops_clean(operators, clean)[source]

Get a list of operators without those in clean.

Parameters
class axonius_api_client.constants.fields.Operators(contains=Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), count_equals=Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), count_less_than=Operator(template='({field} < size({aql_value}))', name_map=OperatorNameMap(name='count_below', op='count_below'), parser=<Parsers.to_int: 'to_int'>), count_more_than=Operator(template='({field} > size({aql_value}))', name_map=OperatorNameMap(name='count_above', op='count_above'), parser=<Parsers.to_int: 'to_int'>), endswith=Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), equals_str=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), equals_str_tag=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>), equals_str_adapter=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_adapters: 'to_str_adapters'>), equals_str_cnx_label=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>), equals_ip=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), equals_subnet=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>), equals_int=Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), exists=Operator(template='(({field} == ({{"$exists":true, "$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), exists_array=Operator(template='(({field} == ({{"$exists":true, "$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), exists_array_object=Operator(template='(({field} == ({{"$exists":true, "$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), ip_in_subnet=Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), ip_not_in_subnet=Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), ipv4=Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), ipv6=Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>), is_in_str=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), is_in_str_tag=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>), is_in_str_adapter=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_adapters: 'to_csv_adapters'>), is_in_str_cnx_label=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>), is_in_int=Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), is_in_ip=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), is_in_subnet=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), is_false=Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>), is_true=Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>), last_hours=Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), last_days=Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), less_than_date=Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), less_than_int=Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), earlier_than_version=Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), more_than_date=Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), more_than_int=Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>), later_than_version=Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), next_hours=Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), next_days=Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>), regex=Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), startswith=Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>))[source]

Bases: axonius_api_client.data.BaseData

Operator maps to their AQL templates, operator name map, and their value parsers.

Parameters
contains: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>)
count_equals: axonius_api_client.constants.fields.Operator = Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)
count_less_than: axonius_api_client.constants.fields.Operator = Operator(template='({field} < size({aql_value}))', name_map=OperatorNameMap(name='count_below', op='count_below'), parser=<Parsers.to_int: 'to_int'>)
count_more_than: axonius_api_client.constants.fields.Operator = Operator(template='({field} > size({aql_value}))', name_map=OperatorNameMap(name='count_above', op='count_above'), parser=<Parsers.to_int: 'to_int'>)
endswith: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>)
equals_str: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>)
equals_str_tag: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>)
equals_str_adapter: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_adapters: 'to_str_adapters'>)
equals_str_cnx_label: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>)
equals_ip: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>)
equals_subnet: axonius_api_client.constants.fields.Operator = Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)
equals_int: axonius_api_client.constants.fields.Operator = Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>)
exists: axonius_api_client.constants.fields.Operator = Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)
exists_array: axonius_api_client.constants.fields.Operator = Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)
exists_array_object: axonius_api_client.constants.fields.Operator = Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)
ip_in_subnet: axonius_api_client.constants.fields.Operator = Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>)
ip_not_in_subnet: axonius_api_client.constants.fields.Operator = Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>)
ipv4: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex("\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>)
ipv6: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)
is_in_str: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)
is_in_str_tag: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>)
is_in_str_adapter: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_adapters: 'to_csv_adapters'>)
is_in_str_cnx_label: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>)
is_in_int: axonius_api_client.constants.fields.Operator = Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>)
is_in_ip: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>)
is_in_subnet: axonius_api_client.constants.fields.Operator = Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>)
is_false: axonius_api_client.constants.fields.Operator = Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>)
is_true: axonius_api_client.constants.fields.Operator = Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>)
last_hours: axonius_api_client.constants.fields.Operator = Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>)
last_days: axonius_api_client.constants.fields.Operator = Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>)
less_than_date: axonius_api_client.constants.fields.Operator = Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>)
less_than_int: axonius_api_client.constants.fields.Operator = Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>)
earlier_than_version: axonius_api_client.constants.fields.Operator = Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)
more_than_date: axonius_api_client.constants.fields.Operator = Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>)
more_than_int: axonius_api_client.constants.fields.Operator = Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)
later_than_version: axonius_api_client.constants.fields.Operator = Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)
next_hours: axonius_api_client.constants.fields.Operator = Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>)
next_days: axonius_api_client.constants.fields.Operator = Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)
regex: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>)
startswith: axonius_api_client.constants.fields.Operator = Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>)
__init__(contains=Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), count_equals=Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), count_less_than=Operator(template='({field} < size({aql_value}))', name_map=OperatorNameMap(name='count_below', op='count_below'), parser=<Parsers.to_int: 'to_int'>), count_more_than=Operator(template='({field} > size({aql_value}))', name_map=OperatorNameMap(name='count_above', op='count_above'), parser=<Parsers.to_int: 'to_int'>), endswith=Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), equals_str=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), equals_str_tag=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>), equals_str_adapter=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_adapters: 'to_str_adapters'>), equals_str_cnx_label=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>), equals_ip=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), equals_subnet=Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>), equals_int=Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), exists=Operator(template='(({field} == ({{"$exists":true, "$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), exists_array=Operator(template='(({field} == ({{"$exists":true, "$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), exists_array_object=Operator(template='(({field} == ({{"$exists":true, "$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), ip_in_subnet=Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), ip_not_in_subnet=Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), ipv4=Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), ipv6=Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>), is_in_str=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), is_in_str_tag=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>), is_in_str_adapter=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_adapters: 'to_csv_adapters'>), is_in_str_cnx_label=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>), is_in_int=Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), is_in_ip=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), is_in_subnet=Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), is_false=Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>), is_true=Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>), last_hours=Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), last_days=Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), less_than_date=Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), less_than_int=Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), earlier_than_version=Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), more_than_date=Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), more_than_int=Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>), later_than_version=Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), next_hours=Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), next_days=Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>), regex=Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), startswith=Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>))

Initialize self. See help(type(self)) for accurate signature.

Parameters
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

class axonius_api_client.constants.fields.OperatorTypeMap(name, operators, field_type, field_format=None, items_type=None, items_format=None)[source]

Bases: axonius_api_client.data.BaseData

Operator type map that maps an operator to a specific field schema.

Parameters
name: str
operators: List[axonius_api_client.constants.fields.Operator]
field_type: axonius_api_client.constants.fields.Types
field_format: axonius_api_client.constants.fields.Formats = None
items_type: axonius_api_client.constants.fields.Types = None
items_format: axonius_api_client.constants.fields.Formats = None
__init__(name, operators, field_type, field_format=None, items_type=None, items_format=None)

Initialize self. See help(type(self)) for accurate signature.

Parameters
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

class axonius_api_client.constants.fields.OperatorTypeMaps(string_cnx_label=OperatorTypeMap(name='string_cnx_label', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>)], field_type=<Types.string: 'string'>, field_format=<Formats.connection_label: 'connection_label'>, items_type=None, items_format=None), string=OperatorTypeMap(name='string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=None, items_type=None, items_format=None), string_os_distribution=OperatorTypeMap(name='string_os_distribution', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=<Formats.os_distribution: 'os-distribution'>, items_type=None, items_format=None), string_ip=OperatorTypeMap(name='string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.ip: 'ip'>, items_type=None, items_format=None), string_datetime=OperatorTypeMap(name='string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.string: 'string'>, field_format=<Formats.datetime: 'date-time'>, items_type=None, items_format=None), string_image=OperatorTypeMap(name='string_image', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.image: 'image'>, items_type=None, items_format=None), string_version=OperatorTypeMap(name='string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.string: 'string'>, field_format=<Formats.version: 'version'>, items_type=None, items_format=None), string_subnet=OperatorTypeMap(name='string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.string: 'string'>, field_format=<Formats.subnet: 'subnet'>, items_type=None, items_format=None), boolean=OperatorTypeMap(name='boolean', operators=[Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.boolean: 'bool'>, field_format=None, items_type=None, items_format=None), integer=OperatorTypeMap(name='integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.integer: 'integer'>, field_format=None, items_type=None, items_format=None), number=OperatorTypeMap(name='number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.number: 'number'>, field_format=None, items_type=None, items_format=None), array_object=OperatorTypeMap(name='array_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.array: 'array'>, items_format=None), array_table_object=OperatorTypeMap(name='array_table_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.table: 'table'>, items_type=<Types.array: 'array'>, items_format=None), array_integer=OperatorTypeMap(name='array_integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.integer: 'integer'>, items_format=None), array_number=OperatorTypeMap(name='array_number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.number: 'number'>, items_format=None), array_string=OperatorTypeMap(name='array_string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=None), array_string_tag=OperatorTypeMap(name='array_string_tag', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=<Formats.tag: 'tag'>), array_string_version=OperatorTypeMap(name='array_string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.array: 'array'>, field_format=<Formats.version: 'version'>, items_type=<Types.string: 'string'>, items_format=<Formats.version: 'version'>), array_string_datetime=OperatorTypeMap(name='array_string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.datetime: 'date-time'>, items_type=<Types.string: 'string'>, items_format=<Formats.datetime: 'date-time'>), array_string_subnet=OperatorTypeMap(name='array_string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.array: 'array'>, field_format=<Formats.subnet: 'subnet'>, items_type=<Types.string: 'string'>, items_format=<Formats.subnet: 'subnet'>), array_discrete_string_logo=OperatorTypeMap(name='array_discrete_string_logo', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_adapters: 'to_str_adapters'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < size({aql_value}))', name_map=OperatorNameMap(name='count_below', op='count_below'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} > size({aql_value}))', name_map=OperatorNameMap(name='count_above', op='count_above'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_adapters: 'to_csv_adapters'>)], field_type=<Types.array: 'array'>, field_format=<Formats.discrete: 'discrete'>, items_type=<Types.string: 'string'>, items_format=<Formats.logo: 'logo'>), array_string_ip=OperatorTypeMap(name='array_string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip: 'ip'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip: 'ip'>), array_string_ip_preferred=OperatorTypeMap(name='array_string_ip_preferred', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip_preferred: 'ip_preferred'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip_preferred: 'ip_preferred'>))[source]

Bases: axonius_api_client.data.BaseData

Operator type map that maps operators to a specific field schemas.

Parameters
string_cnx_label: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_cnx_label', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>)], field_type=<Types.string: 'string'>, field_format=<Formats.connection_label: 'connection_label'>, items_type=None, items_format=None)
string: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=None, items_type=None, items_format=None)
string_os_distribution: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_os_distribution', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=<Formats.os_distribution: 'os-distribution'>, items_type=None, items_format=None)
string_ip: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.ip: 'ip'>, items_type=None, items_format=None)
string_datetime: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.string: 'string'>, field_format=<Formats.datetime: 'date-time'>, items_type=None, items_format=None)
string_image: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_image', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.image: 'image'>, items_type=None, items_format=None)
string_version: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.string: 'string'>, field_format=<Formats.version: 'version'>, items_type=None, items_format=None)
string_subnet: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.string: 'string'>, field_format=<Formats.subnet: 'subnet'>, items_type=None, items_format=None)
boolean: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='boolean', operators=[Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.boolean: 'bool'>, field_format=None, items_type=None, items_format=None)
integer: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.integer: 'integer'>, field_format=None, items_type=None, items_format=None)
number: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.number: 'number'>, field_format=None, items_type=None, items_format=None)
array_object: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.array: 'array'>, items_format=None)
array_table_object: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_table_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.table: 'table'>, items_type=<Types.array: 'array'>, items_format=None)
array_integer: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.integer: 'integer'>, items_format=None)
array_number: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.number: 'number'>, items_format=None)
array_string: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=None)
__init__(string_cnx_label=OperatorTypeMap(name='string_cnx_label', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_cnx_label: 'to_str_cnx_label'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_cnx_label: 'to_csv_cnx_label'>)], field_type=<Types.string: 'string'>, field_format=<Formats.connection_label: 'connection_label'>, items_type=None, items_format=None), string=OperatorTypeMap(name='string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=None, items_type=None, items_format=None), string_os_distribution=OperatorTypeMap(name='string_os_distribution', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.string: 'string'>, field_format=<Formats.os_distribution: 'os-distribution'>, items_type=None, items_format=None), string_ip=OperatorTypeMap(name='string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.ip: 'ip'>, items_type=None, items_format=None), string_datetime=OperatorTypeMap(name='string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.string: 'string'>, field_format=<Formats.datetime: 'date-time'>, items_type=None, items_format=None), string_image=OperatorTypeMap(name='string_image', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.string: 'string'>, field_format=<Formats.image: 'image'>, items_type=None, items_format=None), string_version=OperatorTypeMap(name='string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.string: 'string'>, field_format=<Formats.version: 'version'>, items_type=None, items_format=None), string_subnet=OperatorTypeMap(name='string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.string: 'string'>, field_format=<Formats.subnet: 'subnet'>, items_type=None, items_format=None), boolean=OperatorTypeMap(name='boolean', operators=[Operator(template='({field} == true)', name_map=OperatorNameMap(name='true', op='true'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == false)', name_map=OperatorNameMap(name='false', op='false'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.boolean: 'bool'>, field_format=None, items_type=None, items_format=None), integer=OperatorTypeMap(name='integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.integer: 'integer'>, field_format=None, items_type=None, items_format=None), number=OperatorTypeMap(name='number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":""}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.number: 'number'>, field_format=None, items_type=None, items_format=None), array_object=OperatorTypeMap(name='array_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.array: 'array'>, items_format=None), array_table_object=OperatorTypeMap(name='array_table_object', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})) and {field} != [])', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.table: 'table'>, items_type=<Types.array: 'array'>, items_format=None), array_integer=OperatorTypeMap(name='array_integer', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.integer: 'integer'>, items_format=None), array_number=OperatorTypeMap(name='array_number', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == {aql_value})', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='{field} in [{aql_value}]', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_int: 'to_csv_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < {aql_value})', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.number: 'number'>, items_format=None), array_string=OperatorTypeMap(name='array_string', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=None), array_string_tag=OperatorTypeMap(name='array_string_tag', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=<Formats.tag: 'tag'>), array_string_version=OperatorTypeMap(name='array_string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.array: 'array'>, field_format=<Formats.version: 'version'>, items_type=<Types.string: 'string'>, items_format=<Formats.version: 'version'>), array_string_datetime=OperatorTypeMap(name='array_string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.datetime: 'date-time'>, items_type=<Types.string: 'string'>, items_format=<Formats.datetime: 'date-time'>), array_string_subnet=OperatorTypeMap(name='array_string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.array: 'array'>, field_format=<Formats.subnet: 'subnet'>, items_type=<Types.string: 'string'>, items_format=<Formats.subnet: 'subnet'>), array_discrete_string_logo=OperatorTypeMap(name='array_discrete_string_logo', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_adapters: 'to_str_adapters'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} < size({aql_value}))', name_map=OperatorNameMap(name='count_below', op='count_below'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} > size({aql_value}))', name_map=OperatorNameMap(name='count_above', op='count_above'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_adapters: 'to_csv_adapters'>)], field_type=<Types.array: 'array'>, field_format=<Formats.discrete: 'discrete'>, items_type=<Types.string: 'string'>, items_format=<Formats.logo: 'logo'>), array_string_ip=OperatorTypeMap(name='array_string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip: 'ip'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip: 'ip'>), array_string_ip_preferred=OperatorTypeMap(name='array_string_ip_preferred', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip_preferred: 'ip_preferred'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip_preferred: 'ip_preferred'>))

Initialize self. See help(type(self)) for accurate signature.

Parameters
array_string_tag: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_tag', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == size({aql_value}))', name_map=OperatorNameMap(name='count_equals', op='count_equals'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_tags: 'to_str_tags'>), Operator(template='({field} == regex("^{aql_value}", "i"))', name_map=OperatorNameMap(name='startswith', op='starts'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} == regex("{aql_value}$", "i"))', name_map=OperatorNameMap(name='endswith', op='ends'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_tags: 'to_csv_tags'>)], field_type=<Types.array: 'array'>, field_format=None, items_type=<Types.string: 'string'>, items_format=<Formats.tag: 'tag'>)
classmethod get_fields()

Get a list of fields defined for current this dataclass object.

Return type

typing.List[dataclasses.Field]

to_dict()

Get this dataclass object as a dictionary.

Return type

dict

array_string_version: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_version', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_str: 'to_csv_str'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str: 'to_str'>), Operator(template="({field}_raw < '{aql_value}')", name_map=OperatorNameMap(name='earlier_than', op='earlier than'), parser=<Parsers.to_raw_version: 'to_raw_version'>), Operator(template="({field}_raw > '{aql_value}')", name_map=OperatorNameMap(name='later_than', op='later than'), parser=<Parsers.to_raw_version: 'to_raw_version'>)], field_type=<Types.array: 'array'>, field_format=<Formats.version: 'version'>, items_type=<Types.string: 'string'>, items_format=<Formats.version: 'version'>)
array_string_datetime: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_datetime', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} < date("{aql_value}"))', name_map=OperatorNameMap(name='less_than', op='<'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} > date("{aql_value}"))', name_map=OperatorNameMap(name='more_than', op='>'), parser=<Parsers.to_dt: 'to_dt'>), Operator(template='({field} >= date("NOW - {aql_value}h"))', name_map=OperatorNameMap(name='last_hours', op='hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}h"))', name_map=OperatorNameMap(name='next_hours', op='next_hours'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW - {aql_value}d"))', name_map=OperatorNameMap(name='last_days', op='days'), parser=<Parsers.to_int: 'to_int'>), Operator(template='({field} >= date("NOW + {aql_value}d"))', name_map=OperatorNameMap(name='next_days', op='next_days'), parser=<Parsers.to_int: 'to_int'>)], field_type=<Types.array: 'array'>, field_format=<Formats.datetime: 'date-time'>, items_type=<Types.string: 'string'>, items_format=<Formats.datetime: 'date-time'>)
array_string_subnet: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_subnet', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_subnet: 'to_csv_subnet'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_str_subnet: 'to_str_subnet'>)], field_type=<Types.array: 'array'>, field_format=<Formats.subnet: 'subnet'>, items_type=<Types.string: 'string'>, items_format=<Formats.subnet: 'subnet'>)
array_string_ip: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_ip', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip: 'ip'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip: 'ip'>)
array_string_ip_preferred: axonius_api_client.constants.fields.OperatorTypeMap = OperatorTypeMap(name='array_string_ip_preferred', operators=[Operator(template='(({field} == ({{"$exists":true,"$ne":[]}})))', name_map=OperatorNameMap(name='exists', op='exists'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='regex', op='regex'), parser=<Parsers.to_str: 'to_str'>), Operator(template='({field} == regex("{aql_value}", "i"))', name_map=OperatorNameMap(name='contains', op='contains'), parser=<Parsers.to_str_escaped_regex: 'to_str_escaped_regex'>), Operator(template='({field} in [{aql_value}])', name_map=OperatorNameMap(name='in', op='IN'), parser=<Parsers.to_csv_ip: 'to_csv_ip'>), Operator(template='({field} == "{aql_value}")', name_map=OperatorNameMap(name='equals', op='equals'), parser=<Parsers.to_ip: 'to_ip'>), Operator(template='({field}_raw == match({{"$gte": {aql_value[0]}, "$lte": {aql_value[1]}}}))', name_map=OperatorNameMap(name='in_subnet', op='subnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='(({field}_raw == match({{"$gte": 0, "$lte": {aql_value[0]}}}) or {field}_raw == match({{"$gte": {aql_value[1]}, "$lte": 4294967295}})))', name_map=OperatorNameMap(name='not_in_subnet', op='notInSubnet'), parser=<Parsers.to_in_subnet: 'to_in_subnet'>), Operator(template='({field} == regex("\\."))', name_map=OperatorNameMap(name='is_ipv4', op='isIPv4'), parser=<Parsers.to_none: 'to_none'>), Operator(template='({field} == regex(":"))', name_map=OperatorNameMap(name='is_ipv6', op='isIPv6'), parser=<Parsers.to_none: 'to_none'>)], field_type=<Types.array: 'array'>, field_format=<Formats.ip_preferred: 'ip_preferred'>, items_type=<Types.string: 'string'>, items_format=<Formats.ip_preferred: 'ip_preferred'>)
classmethod get_type_map(field)[source]

Get the type mapping for a field.

Parameters

field (dict) –

Return type

axonius_api_client.constants.fields.OperatorTypeMap

classmethod get_operator(field, operator, err=None)[source]

Get an operator for a specific field.

Parameters
axonius_api_client.constants.fields.CUSTOM_FIELDS_MAP: Dict[str, List[dict]] = {'agg': [{'adapter_name_raw': 'agg_adapter', 'adapter_name': 'agg', 'adapter_title': 'Aggregated', 'adapter_prefix': 'specific_data', 'column_name': 'agg:connection_label', 'column_title': 'Aggregated: Adapter Connection Label', 'sub_fields': [], 'is_complex': False, 'is_list': True, 'is_root': True, 'parent': 'root', 'name': 'specific_data.connection_label', 'name_base': 'connection_label', 'name_qual': 'specific_data.connection_label', 'title': 'Adapter Connection Label', 'type': 'string', 'format': 'connection_label', 'type_norm': 'string_cnx_label', 'is_agg': True, 'selectable': False, 'expr_field_type': 'axonius', 'is_details': False, 'is_all': False}]}

custom field schemas that are not returned by API but are used by GUI queries.