├── .gitattributes ├── README.md ├── TA-tweettioc ├── README │ ├── addon_builder.conf.spec │ ├── inputs.conf.spec │ └── ta_tweettioc_settings.conf.spec ├── TA-tweettioc.aob_meta ├── app.manifest ├── appserver │ ├── static │ │ ├── css │ │ │ ├── bootstrap-enterprise.css │ │ │ ├── common.css │ │ │ ├── configuration.css │ │ │ └── inputs.css │ │ ├── img │ │ │ ├── loading-24.gif │ │ │ └── loading.gif │ │ └── js │ │ │ └── build │ │ │ ├── 1.1.js │ │ │ ├── common.js │ │ │ ├── configuration_page.js │ │ │ ├── globalConfig.json │ │ │ └── inputs_page.js │ └── templates │ │ └── base.html ├── bin │ ├── TA_tweettioc_rh_settings.py │ ├── TA_tweettioc_rh_tweettioc.py │ ├── TA_tweettioc_rh_tweettioc_back.py │ ├── iochunter.cc.json │ ├── ta_tweettioc │ │ ├── cloudconnectlib │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── client.py │ │ │ ├── client.pyc │ │ │ ├── common │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── lib_util.py │ │ │ │ ├── lib_util.pyc │ │ │ │ ├── log.py │ │ │ │ ├── log.pyc │ │ │ │ ├── util.py │ │ │ │ └── util.pyc │ │ │ ├── configuration │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── loader.py │ │ │ │ ├── loader.pyc │ │ │ │ └── schema_1_0_0.json │ │ │ ├── core │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── cacerts │ │ │ │ │ ├── ca_certs_locater.py │ │ │ │ │ └── ca_certs_locater.pyc │ │ │ │ ├── defaults.py │ │ │ │ ├── defaults.pyc │ │ │ │ ├── engine.py │ │ │ │ ├── engine.pyc │ │ │ │ ├── exceptions.py │ │ │ │ ├── exceptions.pyc │ │ │ │ ├── ext.py │ │ │ │ ├── ext.pyc │ │ │ │ ├── http.py │ │ │ │ ├── http.pyc │ │ │ │ ├── models.py │ │ │ │ ├── models.pyc │ │ │ │ ├── pipemgr.py │ │ │ │ ├── pipemgr.pyc │ │ │ │ ├── template.py │ │ │ │ └── template.pyc │ │ │ ├── splunktacollectorlib │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── cloud_connect_mod_input.py │ │ │ │ ├── cloud_connect_mod_input.pyc │ │ │ │ ├── common │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── log.py │ │ │ │ │ ├── log.pyc │ │ │ │ │ ├── rwlock.py │ │ │ │ │ └── schema_meta.py │ │ │ │ ├── config.py │ │ │ │ ├── config.pyc │ │ │ │ ├── data_collection │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── ta_checkpoint_manager.py │ │ │ │ │ ├── ta_checkpoint_manager.pyc │ │ │ │ │ ├── ta_config.py │ │ │ │ │ ├── ta_config.pyc │ │ │ │ │ ├── ta_consts.py │ │ │ │ │ ├── ta_consts.pyc │ │ │ │ │ ├── ta_data_client.py │ │ │ │ │ ├── ta_data_client.pyc │ │ │ │ │ ├── ta_data_collector.py │ │ │ │ │ ├── ta_data_collector.pyc │ │ │ │ │ ├── ta_data_loader.py │ │ │ │ │ ├── ta_data_loader.pyc │ │ │ │ │ ├── ta_helper.py │ │ │ │ │ ├── ta_helper.pyc │ │ │ │ │ ├── ta_mod_input.py │ │ │ │ │ └── ta_mod_input.pyc │ │ │ │ ├── splunk_ta_import_declare.py │ │ │ │ ├── ta_cloud_connect_client.py │ │ │ │ └── ta_cloud_connect_client.pyc │ │ │ └── splunktalib │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── common │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── consts.py │ │ │ │ ├── log.py │ │ │ │ ├── log.pyc │ │ │ │ ├── pattern.py │ │ │ │ ├── pattern.pyc │ │ │ │ ├── util.py │ │ │ │ ├── util.pyc │ │ │ │ ├── xml_dom_parser.py │ │ │ │ └── xml_dom_parser.pyc │ │ │ │ ├── concurrent │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── concurrent_executor.py │ │ │ │ ├── concurrent_executor.pyc │ │ │ │ ├── process_pool.py │ │ │ │ ├── process_pool.pyc │ │ │ │ ├── thread_pool.py │ │ │ │ └── thread_pool.pyc │ │ │ │ ├── conf_manager │ │ │ │ ├── __init__.py │ │ │ │ ├── conf_endpoints.py │ │ │ │ ├── conf_manager.py │ │ │ │ ├── data_input_endpoints.py │ │ │ │ ├── knowledge_objects.py │ │ │ │ ├── property_endpoints.py │ │ │ │ ├── request.py │ │ │ │ └── ta_conf_manager.py │ │ │ │ ├── credentials.py │ │ │ │ ├── event_writer.py │ │ │ │ ├── event_writer.pyc │ │ │ │ ├── file_monitor.py │ │ │ │ ├── file_monitor.pyc │ │ │ │ ├── kv_client.py │ │ │ │ ├── kv_client.pyc │ │ │ │ ├── modinput.py │ │ │ │ ├── modinput.pyc │ │ │ │ ├── orphan_process_monitor.py │ │ │ │ ├── orphan_process_monitor.pyc │ │ │ │ ├── rest.py │ │ │ │ ├── rest.pyc │ │ │ │ ├── schedule │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── job.py │ │ │ │ ├── job.pyc │ │ │ │ ├── scheduler.py │ │ │ │ └── scheduler.pyc │ │ │ │ ├── setting.conf │ │ │ │ ├── splunk_cluster.py │ │ │ │ ├── splunk_cluster.pyc │ │ │ │ ├── splunk_platform.py │ │ │ │ ├── splunk_platform.pyc │ │ │ │ ├── state_store.py │ │ │ │ ├── state_store.pyc │ │ │ │ ├── timer.py │ │ │ │ ├── timer.pyc │ │ │ │ ├── timer_queue.py │ │ │ │ └── timer_queue.pyc │ │ ├── decorator.py │ │ ├── functools32 │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── _dummy_thread32.py │ │ │ ├── functools32.py │ │ │ ├── functools32.pyc │ │ │ ├── reprlib32.py │ │ │ └── reprlib32.pyc │ │ ├── httplib2 │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── cacerts.txt │ │ │ ├── iri2uri.py │ │ │ ├── iri2uri.pyc │ │ │ ├── socks.py │ │ │ └── socks.pyc │ │ ├── jinja2 │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── _compat.py │ │ │ ├── _compat.pyc │ │ │ ├── _stringdefs.py │ │ │ ├── bccache.py │ │ │ ├── bccache.pyc │ │ │ ├── compiler.py │ │ │ ├── compiler.pyc │ │ │ ├── constants.py │ │ │ ├── debug.py │ │ │ ├── defaults.py │ │ │ ├── defaults.pyc │ │ │ ├── environment.py │ │ │ ├── environment.pyc │ │ │ ├── exceptions.py │ │ │ ├── exceptions.pyc │ │ │ ├── ext.py │ │ │ ├── filters.py │ │ │ ├── filters.pyc │ │ │ ├── lexer.py │ │ │ ├── lexer.pyc │ │ │ ├── loaders.py │ │ │ ├── loaders.pyc │ │ │ ├── meta.py │ │ │ ├── nodes.py │ │ │ ├── nodes.pyc │ │ │ ├── optimizer.py │ │ │ ├── optimizer.pyc │ │ │ ├── parser.py │ │ │ ├── parser.pyc │ │ │ ├── runtime.py │ │ │ ├── runtime.pyc │ │ │ ├── sandbox.py │ │ │ ├── tests.py │ │ │ ├── tests.pyc │ │ │ ├── utils.py │ │ │ ├── utils.pyc │ │ │ ├── visitor.py │ │ │ └── visitor.pyc │ │ ├── jsl │ │ │ ├── __init__.py │ │ │ ├── _compat │ │ │ │ ├── __init__.py │ │ │ │ ├── ordereddict.py │ │ │ │ └── prepareable.py │ │ │ ├── document.py │ │ │ ├── exceptions.py │ │ │ ├── fields │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── compound.py │ │ │ │ ├── primitive.py │ │ │ │ └── util.py │ │ │ ├── registry.py │ │ │ ├── resolutionscope.py │ │ │ └── roles.py │ │ ├── jsonpath_rw │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── bin │ │ │ │ ├── __init__.py │ │ │ │ └── jsonpath.py │ │ │ ├── jsonpath.py │ │ │ ├── jsonpath.pyc │ │ │ ├── lexer.py │ │ │ ├── lexer.pyc │ │ │ ├── parser.py │ │ │ └── parser.pyc │ │ ├── jsonschema │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── __main__.py │ │ │ ├── _format.py │ │ │ ├── _format.pyc │ │ │ ├── _reflect.py │ │ │ ├── _utils.py │ │ │ ├── _utils.pyc │ │ │ ├── _validators.py │ │ │ ├── _validators.pyc │ │ │ ├── _version.py │ │ │ ├── _version.pyc │ │ │ ├── cli.py │ │ │ ├── compat.py │ │ │ ├── compat.pyc │ │ │ ├── exceptions.py │ │ │ ├── exceptions.pyc │ │ │ ├── schemas │ │ │ │ ├── draft3.json │ │ │ │ └── draft4.json │ │ │ ├── tests │ │ │ │ ├── __init__.py │ │ │ │ ├── compat.py │ │ │ │ ├── test_cli.py │ │ │ │ ├── test_exceptions.py │ │ │ │ ├── test_format.py │ │ │ │ ├── test_jsonschema_test_suite.py │ │ │ │ └── test_validators.py │ │ │ ├── validators.py │ │ │ └── validators.pyc │ │ ├── mako │ │ │ ├── __init__.py │ │ │ ├── _ast_util.py │ │ │ ├── ast.py │ │ │ ├── cache.py │ │ │ ├── cmd.py │ │ │ ├── codegen.py │ │ │ ├── compat.py │ │ │ ├── exceptions.py │ │ │ ├── ext │ │ │ │ ├── __init__.py │ │ │ │ ├── autohandler.py │ │ │ │ ├── babelplugin.py │ │ │ │ ├── beaker_cache.py │ │ │ │ ├── extract.py │ │ │ │ ├── linguaplugin.py │ │ │ │ ├── preprocessors.py │ │ │ │ ├── pygmentplugin.py │ │ │ │ └── turbogears.py │ │ │ ├── filters.py │ │ │ ├── lexer.py │ │ │ ├── lookup.py │ │ │ ├── parsetree.py │ │ │ ├── pygen.py │ │ │ ├── pyparser.py │ │ │ ├── runtime.py │ │ │ ├── template.py │ │ │ └── util.py │ │ ├── markupsafe │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── _compat.py │ │ │ ├── _compat.pyc │ │ │ ├── _constants.py │ │ │ ├── _native.py │ │ │ ├── _native.pyc │ │ │ ├── _speedups.c │ │ │ └── _speedups.so │ │ ├── modinput_wrapper │ │ │ ├── __init__.py │ │ │ └── base_modinput.py │ │ ├── munch │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── python3_compat.py │ │ │ └── python3_compat.pyc │ │ ├── ply │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── cpp.py │ │ │ ├── ctokens.py │ │ │ ├── lex.py │ │ │ ├── lex.pyc │ │ │ ├── yacc.py │ │ │ ├── yacc.pyc │ │ │ └── ygen.py │ │ ├── requests │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── _internal_utils.py │ │ │ ├── _internal_utils.pyc │ │ │ ├── adapters.py │ │ │ ├── adapters.pyc │ │ │ ├── api.py │ │ │ ├── api.pyc │ │ │ ├── auth.py │ │ │ ├── auth.pyc │ │ │ ├── cacert.pem │ │ │ ├── certs.py │ │ │ ├── certs.pyc │ │ │ ├── compat.py │ │ │ ├── compat.pyc │ │ │ ├── cookies.py │ │ │ ├── cookies.pyc │ │ │ ├── exceptions.py │ │ │ ├── exceptions.pyc │ │ │ ├── hooks.py │ │ │ ├── hooks.pyc │ │ │ ├── models.py │ │ │ ├── models.pyc │ │ │ ├── packages │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── chardet │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── big5freq.py │ │ │ │ │ ├── big5prober.py │ │ │ │ │ ├── chardetect.py │ │ │ │ │ ├── chardistribution.py │ │ │ │ │ ├── charsetgroupprober.py │ │ │ │ │ ├── charsetprober.py │ │ │ │ │ ├── codingstatemachine.py │ │ │ │ │ ├── compat.py │ │ │ │ │ ├── constants.py │ │ │ │ │ ├── cp949prober.py │ │ │ │ │ ├── escprober.py │ │ │ │ │ ├── escsm.py │ │ │ │ │ ├── eucjpprober.py │ │ │ │ │ ├── euckrfreq.py │ │ │ │ │ ├── euckrprober.py │ │ │ │ │ ├── euctwfreq.py │ │ │ │ │ ├── euctwprober.py │ │ │ │ │ ├── gb2312freq.py │ │ │ │ │ ├── gb2312prober.py │ │ │ │ │ ├── hebrewprober.py │ │ │ │ │ ├── jisfreq.py │ │ │ │ │ ├── jpcntx.py │ │ │ │ │ ├── langbulgarianmodel.py │ │ │ │ │ ├── langcyrillicmodel.py │ │ │ │ │ ├── langgreekmodel.py │ │ │ │ │ ├── langhebrewmodel.py │ │ │ │ │ ├── langhungarianmodel.py │ │ │ │ │ ├── langthaimodel.py │ │ │ │ │ ├── latin1prober.py │ │ │ │ │ ├── mbcharsetprober.py │ │ │ │ │ ├── mbcsgroupprober.py │ │ │ │ │ ├── mbcssm.py │ │ │ │ │ ├── sbcharsetprober.py │ │ │ │ │ ├── sbcsgroupprober.py │ │ │ │ │ ├── sjisprober.py │ │ │ │ │ ├── universaldetector.py │ │ │ │ │ └── utf8prober.py │ │ │ │ ├── idna │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── codec.py │ │ │ │ │ ├── compat.py │ │ │ │ │ ├── core.py │ │ │ │ │ ├── core.pyc │ │ │ │ │ ├── idnadata.py │ │ │ │ │ ├── idnadata.pyc │ │ │ │ │ ├── intranges.py │ │ │ │ │ ├── intranges.pyc │ │ │ │ │ └── uts46data.py │ │ │ │ └── urllib3 │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── _collections.py │ │ │ │ │ ├── _collections.pyc │ │ │ │ │ ├── connection.py │ │ │ │ │ ├── connection.pyc │ │ │ │ │ ├── connectionpool.py │ │ │ │ │ ├── connectionpool.pyc │ │ │ │ │ ├── contrib │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── appengine.py │ │ │ │ │ ├── ntlmpool.py │ │ │ │ │ ├── pyopenssl.py │ │ │ │ │ ├── pyopenssl.pyc │ │ │ │ │ ├── socks.py │ │ │ │ │ └── socks.pyc │ │ │ │ │ ├── exceptions.py │ │ │ │ │ ├── exceptions.pyc │ │ │ │ │ ├── fields.py │ │ │ │ │ ├── fields.pyc │ │ │ │ │ ├── filepost.py │ │ │ │ │ ├── filepost.pyc │ │ │ │ │ ├── packages │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── backports │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── makefile.py │ │ │ │ │ ├── ordered_dict.py │ │ │ │ │ ├── ordered_dict.pyc │ │ │ │ │ ├── six.py │ │ │ │ │ ├── six.pyc │ │ │ │ │ └── ssl_match_hostname │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ ├── _implementation.py │ │ │ │ │ │ └── _implementation.pyc │ │ │ │ │ ├── poolmanager.py │ │ │ │ │ ├── poolmanager.pyc │ │ │ │ │ ├── request.py │ │ │ │ │ ├── request.pyc │ │ │ │ │ ├── response.py │ │ │ │ │ ├── response.pyc │ │ │ │ │ └── util │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── connection.py │ │ │ │ │ ├── connection.pyc │ │ │ │ │ ├── request.py │ │ │ │ │ ├── request.pyc │ │ │ │ │ ├── response.py │ │ │ │ │ ├── response.pyc │ │ │ │ │ ├── retry.py │ │ │ │ │ ├── retry.pyc │ │ │ │ │ ├── ssl_.py │ │ │ │ │ ├── ssl_.pyc │ │ │ │ │ ├── timeout.py │ │ │ │ │ ├── timeout.pyc │ │ │ │ │ ├── url.py │ │ │ │ │ └── url.pyc │ │ │ ├── sessions.py │ │ │ ├── sessions.pyc │ │ │ ├── status_codes.py │ │ │ ├── status_codes.pyc │ │ │ ├── structures.py │ │ │ ├── structures.pyc │ │ │ ├── utils.py │ │ │ └── utils.pyc │ │ ├── six.py │ │ ├── six.pyc │ │ ├── socks.py │ │ ├── socks.pyc │ │ ├── sockshandler.py │ │ ├── solnlib │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── acl.py │ │ │ ├── acl.pyc │ │ │ ├── api_documenter.py │ │ │ ├── api_documenter.pyc │ │ │ ├── compression.py │ │ │ ├── compression.pyc │ │ │ ├── conf_manager.py │ │ │ ├── conf_manager.pyc │ │ │ ├── credentials.py │ │ │ ├── credentials.pyc │ │ │ ├── file_monitor.py │ │ │ ├── file_monitor.pyc │ │ │ ├── hec_config.py │ │ │ ├── hec_config.pyc │ │ │ ├── ip_math.py │ │ │ ├── ip_math.pyc │ │ │ ├── log.py │ │ │ ├── log.pyc │ │ │ ├── metadata.py │ │ │ ├── metadata.pyc │ │ │ ├── modular_input │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── checkpointer.py │ │ │ │ ├── checkpointer.pyc │ │ │ │ ├── event.py │ │ │ │ ├── event.pyc │ │ │ │ ├── event_writer.py │ │ │ │ ├── event_writer.pyc │ │ │ │ ├── modular_input.py │ │ │ │ └── modular_input.pyc │ │ │ ├── net_utils.py │ │ │ ├── net_utils.pyc │ │ │ ├── orphan_process_monitor.py │ │ │ ├── orphan_process_monitor.pyc │ │ │ ├── packages │ │ │ │ ├── __init__.py │ │ │ │ ├── __init__.pyc │ │ │ │ ├── requests │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── adapters.py │ │ │ │ │ ├── adapters.pyc │ │ │ │ │ ├── api.py │ │ │ │ │ ├── api.pyc │ │ │ │ │ ├── auth.py │ │ │ │ │ ├── auth.pyc │ │ │ │ │ ├── certs.py │ │ │ │ │ ├── certs.pyc │ │ │ │ │ ├── compat.py │ │ │ │ │ ├── compat.pyc │ │ │ │ │ ├── cookies.py │ │ │ │ │ ├── cookies.pyc │ │ │ │ │ ├── exceptions.py │ │ │ │ │ ├── exceptions.pyc │ │ │ │ │ ├── hooks.py │ │ │ │ │ ├── hooks.pyc │ │ │ │ │ ├── models.py │ │ │ │ │ ├── models.pyc │ │ │ │ │ ├── packages │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ ├── chardet │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ ├── big5freq.py │ │ │ │ │ │ │ ├── big5prober.py │ │ │ │ │ │ │ ├── chardetect.py │ │ │ │ │ │ │ ├── chardistribution.py │ │ │ │ │ │ │ ├── charsetgroupprober.py │ │ │ │ │ │ │ ├── charsetprober.py │ │ │ │ │ │ │ ├── codingstatemachine.py │ │ │ │ │ │ │ ├── compat.py │ │ │ │ │ │ │ ├── constants.py │ │ │ │ │ │ │ ├── cp949prober.py │ │ │ │ │ │ │ ├── escprober.py │ │ │ │ │ │ │ ├── escsm.py │ │ │ │ │ │ │ ├── eucjpprober.py │ │ │ │ │ │ │ ├── euckrfreq.py │ │ │ │ │ │ │ ├── euckrprober.py │ │ │ │ │ │ │ ├── euctwfreq.py │ │ │ │ │ │ │ ├── euctwprober.py │ │ │ │ │ │ │ ├── gb2312freq.py │ │ │ │ │ │ │ ├── gb2312prober.py │ │ │ │ │ │ │ ├── hebrewprober.py │ │ │ │ │ │ │ ├── jisfreq.py │ │ │ │ │ │ │ ├── jpcntx.py │ │ │ │ │ │ │ ├── langbulgarianmodel.py │ │ │ │ │ │ │ ├── langcyrillicmodel.py │ │ │ │ │ │ │ ├── langgreekmodel.py │ │ │ │ │ │ │ ├── langhebrewmodel.py │ │ │ │ │ │ │ ├── langhungarianmodel.py │ │ │ │ │ │ │ ├── langthaimodel.py │ │ │ │ │ │ │ ├── latin1prober.py │ │ │ │ │ │ │ ├── mbcharsetprober.py │ │ │ │ │ │ │ ├── mbcsgroupprober.py │ │ │ │ │ │ │ ├── mbcssm.py │ │ │ │ │ │ │ ├── sbcharsetprober.py │ │ │ │ │ │ │ ├── sbcsgroupprober.py │ │ │ │ │ │ │ ├── sjisprober.py │ │ │ │ │ │ │ ├── universaldetector.py │ │ │ │ │ │ │ └── utf8prober.py │ │ │ │ │ │ └── urllib3 │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ ├── _collections.py │ │ │ │ │ │ │ ├── _collections.pyc │ │ │ │ │ │ │ ├── connection.py │ │ │ │ │ │ │ ├── connection.pyc │ │ │ │ │ │ │ ├── connectionpool.py │ │ │ │ │ │ │ ├── connectionpool.pyc │ │ │ │ │ │ │ ├── contrib │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ ├── appengine.py │ │ │ │ │ │ │ ├── ntlmpool.py │ │ │ │ │ │ │ ├── pyopenssl.py │ │ │ │ │ │ │ └── pyopenssl.pyc │ │ │ │ │ │ │ ├── exceptions.py │ │ │ │ │ │ │ ├── exceptions.pyc │ │ │ │ │ │ │ ├── fields.py │ │ │ │ │ │ │ ├── fields.pyc │ │ │ │ │ │ │ ├── filepost.py │ │ │ │ │ │ │ ├── filepost.pyc │ │ │ │ │ │ │ ├── packages │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ ├── ordered_dict.py │ │ │ │ │ │ │ ├── ordered_dict.pyc │ │ │ │ │ │ │ ├── six.py │ │ │ │ │ │ │ ├── six.pyc │ │ │ │ │ │ │ └── ssl_match_hostname │ │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ │ └── _implementation.py │ │ │ │ │ │ │ ├── poolmanager.py │ │ │ │ │ │ │ ├── poolmanager.pyc │ │ │ │ │ │ │ ├── request.py │ │ │ │ │ │ │ ├── request.pyc │ │ │ │ │ │ │ ├── response.py │ │ │ │ │ │ │ ├── response.pyc │ │ │ │ │ │ │ └── util │ │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ │ ├── connection.py │ │ │ │ │ │ │ ├── connection.pyc │ │ │ │ │ │ │ ├── request.py │ │ │ │ │ │ │ ├── request.pyc │ │ │ │ │ │ │ ├── response.py │ │ │ │ │ │ │ ├── response.pyc │ │ │ │ │ │ │ ├── retry.py │ │ │ │ │ │ │ ├── retry.pyc │ │ │ │ │ │ │ ├── ssl_.py │ │ │ │ │ │ │ ├── ssl_.pyc │ │ │ │ │ │ │ ├── timeout.py │ │ │ │ │ │ │ ├── timeout.pyc │ │ │ │ │ │ │ ├── url.py │ │ │ │ │ │ │ └── url.pyc │ │ │ │ │ ├── sessions.py │ │ │ │ │ ├── sessions.pyc │ │ │ │ │ ├── status_codes.py │ │ │ │ │ ├── status_codes.pyc │ │ │ │ │ ├── structures.py │ │ │ │ │ ├── structures.pyc │ │ │ │ │ ├── utils.py │ │ │ │ │ └── utils.pyc │ │ │ │ ├── schematics │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── common.py │ │ │ │ │ ├── common.pyc │ │ │ │ │ ├── compat.py │ │ │ │ │ ├── compat.pyc │ │ │ │ │ ├── contrib │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ └── mongo.py │ │ │ │ │ ├── datastructures.py │ │ │ │ │ ├── datastructures.pyc │ │ │ │ │ ├── exceptions.py │ │ │ │ │ ├── exceptions.pyc │ │ │ │ │ ├── models.py │ │ │ │ │ ├── models.pyc │ │ │ │ │ ├── transforms.py │ │ │ │ │ ├── transforms.pyc │ │ │ │ │ ├── types │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ │ ├── base.py │ │ │ │ │ │ ├── base.pyc │ │ │ │ │ │ ├── compound.py │ │ │ │ │ │ ├── compound.pyc │ │ │ │ │ │ ├── net.py │ │ │ │ │ │ ├── net.pyc │ │ │ │ │ │ ├── serializable.py │ │ │ │ │ │ ├── serializable.pyc │ │ │ │ │ │ ├── union.py │ │ │ │ │ │ └── union.pyc │ │ │ │ │ ├── undefined.py │ │ │ │ │ ├── undefined.pyc │ │ │ │ │ ├── util.py │ │ │ │ │ ├── util.pyc │ │ │ │ │ ├── validate.py │ │ │ │ │ └── validate.pyc │ │ │ │ ├── simpleyaml │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── composer.py │ │ │ │ │ ├── composer.pyc │ │ │ │ │ ├── constructor.py │ │ │ │ │ ├── constructor.pyc │ │ │ │ │ ├── cyaml.py │ │ │ │ │ ├── cyaml.pyc │ │ │ │ │ ├── dumper.py │ │ │ │ │ ├── dumper.pyc │ │ │ │ │ ├── emitter.py │ │ │ │ │ ├── emitter.pyc │ │ │ │ │ ├── error.py │ │ │ │ │ ├── error.pyc │ │ │ │ │ ├── events.py │ │ │ │ │ ├── events.pyc │ │ │ │ │ ├── loader.py │ │ │ │ │ ├── loader.pyc │ │ │ │ │ ├── nodes.py │ │ │ │ │ ├── nodes.pyc │ │ │ │ │ ├── parser.py │ │ │ │ │ ├── parser.pyc │ │ │ │ │ ├── reader.py │ │ │ │ │ ├── reader.pyc │ │ │ │ │ ├── representer.py │ │ │ │ │ ├── representer.pyc │ │ │ │ │ ├── resolver.py │ │ │ │ │ ├── resolver.pyc │ │ │ │ │ ├── scanner.py │ │ │ │ │ ├── scanner.pyc │ │ │ │ │ ├── serializer.py │ │ │ │ │ ├── serializer.pyc │ │ │ │ │ ├── tokens.py │ │ │ │ │ └── tokens.pyc │ │ │ │ ├── sortedcontainers │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── sorteddict.py │ │ │ │ │ ├── sorteddict.pyc │ │ │ │ │ ├── sortedlist.py │ │ │ │ │ ├── sortedlist.pyc │ │ │ │ │ ├── sortedset.py │ │ │ │ │ └── sortedset.pyc │ │ │ │ └── splunklib │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── binding.py │ │ │ │ │ ├── binding.pyc │ │ │ │ │ ├── client.py │ │ │ │ │ ├── client.pyc │ │ │ │ │ ├── data.py │ │ │ │ │ ├── data.pyc │ │ │ │ │ ├── modularinput │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── __init__.pyc │ │ │ │ │ ├── argument.py │ │ │ │ │ ├── argument.pyc │ │ │ │ │ ├── event.py │ │ │ │ │ ├── event.pyc │ │ │ │ │ ├── event_writer.py │ │ │ │ │ ├── event_writer.pyc │ │ │ │ │ ├── input_definition.py │ │ │ │ │ ├── input_definition.pyc │ │ │ │ │ ├── scheme.py │ │ │ │ │ ├── scheme.pyc │ │ │ │ │ ├── script.py │ │ │ │ │ ├── script.pyc │ │ │ │ │ ├── utils.py │ │ │ │ │ ├── utils.pyc │ │ │ │ │ ├── validation_definition.py │ │ │ │ │ └── validation_definition.pyc │ │ │ │ │ ├── ordereddict.py │ │ │ │ │ ├── results.py │ │ │ │ │ └── searchcommands │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── decorators.py │ │ │ │ │ ├── environment.py │ │ │ │ │ ├── eventing_command.py │ │ │ │ │ ├── external_search_command.py │ │ │ │ │ ├── generating_command.py │ │ │ │ │ ├── internals.py │ │ │ │ │ ├── reporting_command.py │ │ │ │ │ ├── search_command.py │ │ │ │ │ ├── streaming_command.py │ │ │ │ │ └── validators.py │ │ │ ├── pattern.py │ │ │ ├── pattern.pyc │ │ │ ├── server_info.py │ │ │ ├── server_info.pyc │ │ │ ├── splunk_rest_client.py │ │ │ ├── splunk_rest_client.pyc │ │ │ ├── splunkenv.py │ │ │ ├── splunkenv.pyc │ │ │ ├── time_parser.py │ │ │ ├── time_parser.pyc │ │ │ ├── timer_queue.py │ │ │ ├── timer_queue.pyc │ │ │ ├── user_access.py │ │ │ ├── user_access.pyc │ │ │ ├── utils.py │ │ │ └── utils.pyc │ │ ├── sortedcontainers │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── sorteddict.py │ │ │ ├── sorteddict.pyc │ │ │ ├── sortedlist.py │ │ │ ├── sortedlist.pyc │ │ │ ├── sortedset.py │ │ │ └── sortedset.pyc │ │ ├── splunk_aoblib │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── rest_helper.py │ │ │ ├── rest_migration.py │ │ │ ├── rest_migration.pyc │ │ │ ├── setup_util.py │ │ │ └── utility.py │ │ ├── splunklib │ │ │ ├── __init__.py │ │ │ ├── binding.py │ │ │ ├── client.py │ │ │ ├── data.py │ │ │ ├── modularinput │ │ │ │ ├── __init__.py │ │ │ │ ├── argument.py │ │ │ │ ├── event.py │ │ │ │ ├── event_writer.py │ │ │ │ ├── input_definition.py │ │ │ │ ├── scheme.py │ │ │ │ ├── script.py │ │ │ │ ├── utils.py │ │ │ │ └── validation_definition.py │ │ │ ├── ordereddict.py │ │ │ ├── results.py │ │ │ └── searchcommands │ │ │ │ ├── __init__.py │ │ │ │ ├── decorators.py │ │ │ │ ├── environment.py │ │ │ │ ├── eventing_command.py │ │ │ │ ├── external_search_command.py │ │ │ │ ├── generating_command.py │ │ │ │ ├── internals.py │ │ │ │ ├── reporting_command.py │ │ │ │ ├── search_command.py │ │ │ │ ├── streaming_command.py │ │ │ │ └── validators.py │ │ └── splunktaucclib │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── global_config │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── configuration.py │ │ │ ├── configuration.pyc │ │ │ ├── schema.py │ │ │ └── schema.pyc │ │ │ └── rest_handler │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── admin_external.py │ │ │ ├── admin_external.pyc │ │ │ ├── credentials.py │ │ │ ├── credentials.pyc │ │ │ ├── eai.py │ │ │ ├── eai.pyc │ │ │ ├── endpoint │ │ │ ├── __init__.py │ │ │ ├── __init__.pyc │ │ │ ├── converter.py │ │ │ ├── field.py │ │ │ ├── field.pyc │ │ │ ├── validator.py │ │ │ └── validator.pyc │ │ │ ├── entity.py │ │ │ ├── entity.pyc │ │ │ ├── error.py │ │ │ ├── error.pyc │ │ │ ├── handler.py │ │ │ ├── handler.pyc │ │ │ ├── schema.py │ │ │ ├── schema.pyc │ │ │ ├── util.py │ │ │ └── util.pyc │ ├── ta_tweettioc_declare.py │ ├── ta_tweettioc_declare.pyc │ ├── tweettioc.cc.json │ ├── tweettioc.py │ ├── tweettioc_back.cc.json │ └── tweettioc_back.py ├── default │ ├── addon_builder.conf │ ├── app.conf │ ├── data │ │ └── ui │ │ │ ├── nav │ │ │ └── default.xml │ │ │ └── views │ │ │ ├── Dashboard.xml │ │ │ └── IOCs.xml │ ├── indexes.conf │ ├── inputs.conf │ ├── props.conf │ ├── restmap.conf │ ├── savedsearches.conf │ ├── ta_tweettioc_settings.conf │ └── web.conf ├── metadata │ ├── default.meta │ └── local.meta ├── static │ ├── appIcon.png │ ├── appIconAlt.png │ ├── appIconAlt_2x.png │ └── appIcon_2x.png └── temp_certs │ ├── httplib2_merged_certificates_2100.crt │ ├── httplib2_merged_certificates_4688.crt │ └── httplib2_merged_certificates_7540.crt └── img ├── 1.png ├── 2.png └── 3.png /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tweettioc Splunk App 2 | Tweettioc Splunk App 3 | 4 | ![Image 1](https://github.com/fatihsirin/Tweettioc-Splunk-App/blob/master/img/1.png) 5 | ![Image 2](https://github.com/fatihsirin/Tweettioc-Splunk-App/blob/master/img/2.png) 6 | ![Image 3](https://github.com/fatihsirin/Tweettioc-Splunk-App/blob/master/img/3.png) -------------------------------------------------------------------------------- /TA-tweettioc/README/addon_builder.conf.spec: -------------------------------------------------------------------------------- 1 | [base] 2 | builder_version = 3 | builder_build = 4 | is_edited = 5 | -------------------------------------------------------------------------------- /TA-tweettioc/README/inputs.conf.spec: -------------------------------------------------------------------------------- 1 | [tweettioc_back://] 2 | placeholder = Do not set any value to this 3 | 4 | [tweettioc://] 5 | placeholder = Do not set any value to this -------------------------------------------------------------------------------- /TA-tweettioc/README/ta_tweettioc_settings.conf.spec: -------------------------------------------------------------------------------- 1 | [logging] 2 | loglevel = -------------------------------------------------------------------------------- /TA-tweettioc/app.manifest: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "1.0.0", 3 | "info": { 4 | "title": "Tweettioc", 5 | "id": { 6 | "group": null, 7 | "name": "TA-tweettioc", 8 | "version": "1.0.0" 9 | }, 10 | "author": [ 11 | { 12 | "name": "FatihSirin", 13 | "email": null, 14 | "company": null 15 | } 16 | ], 17 | "releaseDate": null, 18 | "description": "tweettioc.com", 19 | "classification": { 20 | "intendedAudience": null, 21 | "categories": [], 22 | "developmentStatus": null 23 | }, 24 | "commonInformationModels": null, 25 | "license": { 26 | "name": null, 27 | "text": null, 28 | "uri": null 29 | }, 30 | "privacyPolicy": { 31 | "name": null, 32 | "text": null, 33 | "uri": null 34 | }, 35 | "releaseNotes": { 36 | "name": null, 37 | "text": null, 38 | "uri": null 39 | } 40 | }, 41 | "dependencies": { 42 | }, 43 | "tasks": [], 44 | "inputGroups": { 45 | }, 46 | "incompatibleApps": { 47 | }, 48 | "platformRequirements": { 49 | "splunk": { 50 | "Enterprise": "*" 51 | } 52 | } 53 | } -------------------------------------------------------------------------------- /TA-tweettioc/appserver/static/css/configuration.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #fff; 3 | } 4 | 5 | .tab-content { 6 | overflow: visible !important; 7 | } 8 | 9 | /*Navigation tab shadow*/ 10 | .nav-tabs > li > a:focus { 11 | box-shadow: none; 12 | } 13 | 14 | .addonContainer .nav-tabs > .active { 15 | border-bottom: none; 16 | } 17 | 18 | a:focus { 19 | box-shadow: none; 20 | } 21 | 22 | /*Leave space for error message display*/ 23 | .nav-tabs { 24 | height: auto; 25 | margin-bottom: 0px; 26 | } 27 | 28 | .table-caption { 29 | margin-top: 16px; 30 | } 31 | 32 | /*Prevent scroll in form*/ 33 | .tab-content .modal-body { 34 | height: auto; 35 | max-height: none; 36 | } 37 | -------------------------------------------------------------------------------- /TA-tweettioc/appserver/static/css/inputs.css: -------------------------------------------------------------------------------- 1 | /*Horizon line*/ 2 | .addonContainer hr { 3 | margin: 0px; 4 | border-bottom: none; 5 | border-top: 1px solid #ccc; 6 | } 7 | 8 | /*Input type filter*/ 9 | .type-filter { 10 | float: left; 11 | margin-top: 10px; 12 | } 13 | 14 | .list-dotted dd { 15 | min-height: 20px; 16 | } 17 | -------------------------------------------------------------------------------- /TA-tweettioc/appserver/static/img/loading-24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/appserver/static/img/loading-24.gif -------------------------------------------------------------------------------- /TA-tweettioc/appserver/static/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/appserver/static/img/loading.gif -------------------------------------------------------------------------------- /TA-tweettioc/bin/TA_tweettioc_rh_settings.py: -------------------------------------------------------------------------------- 1 | 2 | import ta_tweettioc_declare 3 | 4 | from splunktaucclib.rest_handler.endpoint import ( 5 | field, 6 | validator, 7 | RestModel, 8 | MultipleModel, 9 | ) 10 | from splunktaucclib.rest_handler import admin_external, util 11 | from splunk_aoblib.rest_migration import ConfigMigrationHandler 12 | 13 | util.remove_http_proxy_env_vars() 14 | 15 | 16 | fields_logging = [ 17 | field.RestField( 18 | 'loglevel', 19 | required=False, 20 | encrypted=False, 21 | default='INFO', 22 | validator=None 23 | ) 24 | ] 25 | model_logging = RestModel(fields_logging, name='logging') 26 | 27 | 28 | endpoint = MultipleModel( 29 | 'ta_tweettioc_settings', 30 | models=[ 31 | model_logging 32 | ], 33 | ) 34 | 35 | 36 | if __name__ == '__main__': 37 | admin_external.handle( 38 | endpoint, 39 | handler=ConfigMigrationHandler, 40 | ) 41 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/TA_tweettioc_rh_tweettioc.py: -------------------------------------------------------------------------------- 1 | 2 | import ta_tweettioc_declare 3 | 4 | from splunktaucclib.rest_handler.endpoint import ( 5 | field, 6 | validator, 7 | RestModel, 8 | DataInputModel, 9 | ) 10 | from splunktaucclib.rest_handler import admin_external, util 11 | from splunk_aoblib.rest_migration import ConfigMigrationHandler 12 | 13 | util.remove_http_proxy_env_vars() 14 | 15 | 16 | fields = [ 17 | field.RestField( 18 | 'interval', 19 | required=True, 20 | encrypted=False, 21 | default=None, 22 | validator=validator.Pattern( 23 | regex=r"""^\-[1-9]\d*$|^\d*$""", 24 | ) 25 | ), 26 | field.RestField( 27 | 'index', 28 | required=True, 29 | encrypted=False, 30 | default='default', 31 | validator=validator.String( 32 | min_len=1, 33 | max_len=80, 34 | ) 35 | ), 36 | 37 | field.RestField( 38 | 'disabled', 39 | required=False, 40 | validator=None 41 | ) 42 | 43 | ] 44 | model = RestModel(fields, name=None) 45 | 46 | 47 | 48 | endpoint = DataInputModel( 49 | 'tweettioc', 50 | model, 51 | ) 52 | 53 | 54 | if __name__ == '__main__': 55 | admin_external.handle( 56 | endpoint, 57 | handler=ConfigMigrationHandler, 58 | ) 59 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/TA_tweettioc_rh_tweettioc_back.py: -------------------------------------------------------------------------------- 1 | 2 | import ta_tweettioc_declare 3 | 4 | from splunktaucclib.rest_handler.endpoint import ( 5 | field, 6 | validator, 7 | RestModel, 8 | DataInputModel, 9 | ) 10 | from splunktaucclib.rest_handler import admin_external, util 11 | from splunk_aoblib.rest_migration import ConfigMigrationHandler 12 | 13 | util.remove_http_proxy_env_vars() 14 | 15 | 16 | fields = [ 17 | field.RestField( 18 | 'interval', 19 | required=True, 20 | encrypted=False, 21 | default=None, 22 | validator=validator.Pattern( 23 | regex=r"""^\-[1-9]\d*$|^\d*$""", 24 | ) 25 | ), 26 | field.RestField( 27 | 'index', 28 | required=True, 29 | encrypted=False, 30 | default='default', 31 | validator=validator.String( 32 | min_len=1, 33 | max_len=80, 34 | ) 35 | ), 36 | 37 | field.RestField( 38 | 'disabled', 39 | required=False, 40 | validator=None 41 | ) 42 | 43 | ] 44 | model = RestModel(fields, name=None) 45 | 46 | 47 | 48 | endpoint = DataInputModel( 49 | 'tweettioc_back', 50 | model, 51 | ) 52 | 53 | 54 | if __name__ == '__main__': 55 | admin_external.handle( 56 | endpoint, 57 | handler=ConfigMigrationHandler, 58 | ) 59 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | APP Cloud Connect 3 | """ 4 | import os 5 | 6 | from .common.lib_util import register_cacert_locater 7 | 8 | register_cacert_locater(os.path.join(os.path.dirname(__file__), 'core', 'cacerts')) 9 | 10 | __version__ = '1.0.2.dev104' 11 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/lib_util.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/lib_util.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/log.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | from solnlib.pattern import Singleton 4 | from ..splunktacollectorlib.common import log as stulog 5 | 6 | 7 | class CloudClientLogAdapter(logging.LoggerAdapter): 8 | __metaclass__ = Singleton 9 | 10 | def __init__(self, logger=None, extra=None, prefix=""): 11 | super(CloudClientLogAdapter, self).__init__(logger, extra) 12 | self.cc_prefix = prefix if prefix else "" 13 | 14 | def process(self, msg, kwargs): 15 | msg = "{} {}".format(self.cc_prefix, msg) 16 | return super(CloudClientLogAdapter, self).process(msg, kwargs) 17 | 18 | def set_level(self, val): 19 | self.logger.setLevel(val) 20 | 21 | 22 | _adapter = CloudClientLogAdapter(stulog.logger) 23 | 24 | 25 | def set_cc_logger(logger, logger_prefix=''): 26 | global _adapter 27 | _adapter.logger = logger 28 | _adapter.cc_prefix = logger_prefix or '' 29 | 30 | 31 | def get_cc_logger(): 32 | return _adapter 33 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/log.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/log.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/util.py: -------------------------------------------------------------------------------- 1 | import json 2 | from ..splunktalib.common import util 3 | from solnlib.modular_input.event import XMLEvent 4 | 5 | 6 | def is_valid_bool(val): 7 | """Check whether a string can be convert to bool. 8 | :param val: value as string. 9 | :return: `True` if value can be convert to bool else `False`. 10 | """ 11 | return util.is_true(val) or util.is_false(val) 12 | 13 | 14 | def is_true(val): 15 | return util.is_true(val) 16 | 17 | 18 | def is_valid_port(port): 19 | """Check whether a port is valid. 20 | :param port: port to check. 21 | :return: `True` if port is valid else `False`. 22 | """ 23 | try: 24 | return 1 <= int(port) <= 65535 25 | except ValueError: 26 | return False 27 | 28 | 29 | def load_json_file(file_path): 30 | """ 31 | Load a dict from a JSON file. 32 | :param file_path: JSON file path. 33 | :return: A `dict` object. 34 | """ 35 | with open(file_path, 'r') as file_pointer: 36 | return json.load(file_pointer) 37 | 38 | 39 | def format_events(raw_events, time=None, 40 | index=None, host=None, source=None, sourcetype=None, 41 | stanza=None, unbroken=False, done=False): 42 | return XMLEvent.format_events(XMLEvent(data, time=time, 43 | index=index, host=host, 44 | source=source, 45 | sourcetype=sourcetype, 46 | stanza=stanza, unbroken=unbroken, 47 | done=done) for data in 48 | raw_events) 49 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/util.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/common/util.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/configuration/__init__.py: -------------------------------------------------------------------------------- 1 | from .loader import get_loader_by_version 2 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/configuration/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/configuration/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/configuration/loader.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/configuration/loader.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/__init__.py: -------------------------------------------------------------------------------- 1 | from .engine import CloudConnectEngine 2 | from .exceptions import ConfigException, HTTPError 3 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/cacerts/ca_certs_locater.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/cacerts/ca_certs_locater.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/defaults.py: -------------------------------------------------------------------------------- 1 | """Default config for cloud connect""" 2 | 3 | timeout = 120 # request timeout is two minutes 4 | 5 | disable_ssl_cert_validation = False # default enable SSL validation 6 | 7 | success_statuses = (200, 201) # statuses be treated as success. 8 | 9 | # response status which need to retry. 10 | retry_statuses = (429, 500, 501, 502, 503, 504, 505, 506, 507, 11 | 509, 510, 511) 12 | 13 | # response status which need print a warning log. 14 | warning_statuses = (203, 204, 205, 206, 207, 208, 226, 15 | 300, 301, 302, 303, 304, 305, 306, 307, 308) 16 | retries = 3 # Default maximum retry times. 17 | 18 | max_iteration_count = 100 # maximum iteration loop count 19 | 20 | charset = 'utf-8' # Default response charset if not found in response header 21 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/defaults.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/defaults.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/engine.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/engine.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/exceptions.py: -------------------------------------------------------------------------------- 1 | """APP Cloud Connect errors""" 2 | 3 | 4 | class ConfigException(Exception): 5 | """Config exception""" 6 | pass 7 | 8 | 9 | class FuncException(Exception): 10 | """Ext function call exception""" 11 | pass 12 | 13 | 14 | class HTTPError(Exception): 15 | """ HTTPError raised when HTTP request returned a error.""" 16 | 17 | def __init__(self, reason=None): 18 | """ 19 | Initialize HTTPError with `response` object and `status`. 20 | """ 21 | self.reason = reason 22 | super(HTTPError, self).__init__(reason) 23 | 24 | 25 | class StopCCEIteration(Exception): 26 | """Exception to exit from the engine iteration.""" 27 | pass 28 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/ext.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/ext.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/http.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/http.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/models.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/models.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/pipemgr.py: -------------------------------------------------------------------------------- 1 | from solnlib.pattern import Singleton 2 | 3 | 4 | class PipeManager(object): 5 | __metaclass__ = Singleton 6 | 7 | def __init__(self, event_writer=None): 8 | self._event_writer = event_writer 9 | 10 | def write_events(self, events): 11 | if not self._event_writer: 12 | print events 13 | return True 14 | return self._event_writer.write_events(events) 15 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/pipemgr.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/pipemgr.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/template.py: -------------------------------------------------------------------------------- 1 | from jinja2 import Template 2 | import re 3 | 4 | # This pattern matches the template with only one token inside like "{{ 5 | # token1}}", "{{ token2 }" 6 | PATTERN = re.compile(r"^\{\{\s*(\w+)\s*\}\}$") 7 | 8 | 9 | def compile_template(template): 10 | _origin_template = template 11 | _template = Template(template) 12 | 13 | def translate_internal(context): 14 | match = re.match(PATTERN, _origin_template) 15 | if match: 16 | context_var = context.get(match.groups()[0]) 17 | return context_var if context_var else '' 18 | return _template.render(context) 19 | 20 | return translate_internal 21 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/template.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/core/template.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/cloud_connect_mod_input.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/cloud_connect_mod_input.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/__init__.py: -------------------------------------------------------------------------------- 1 | import json 2 | import hashlib 3 | 4 | 5 | def load_schema_file(schema_file): 6 | """ 7 | Load schema file. 8 | """ 9 | 10 | with open(schema_file) as f: 11 | ret = json.load(f) 12 | 13 | common = ret.get("_common_", dict()) 14 | if common: 15 | for k, v in ret.items(): 16 | if k == "_common_" or not isinstance(v, dict): 17 | continue 18 | # merge common into other values 19 | for _k, _v in common.items(): 20 | if _k not in v: 21 | v[_k] = _v 22 | ret[k] = v 23 | 24 | return ret 25 | 26 | 27 | def md5_of_dict(data): 28 | """ 29 | MD5 of dict data. 30 | """ 31 | 32 | md5 = hashlib.sha256() 33 | if isinstance(data, dict): 34 | for key in sorted(data.keys()): 35 | md5.update(repr(key)) 36 | md5.update(md5_of_dict(data[key])) 37 | elif isinstance(data, list): 38 | for item in sorted(data): 39 | md5.update(md5_of_dict(item)) 40 | else: 41 | md5.update(repr(data)) 42 | 43 | return md5.hexdigest() 44 | 45 | 46 | class UCCException(Exception): 47 | """ 48 | Dispatch engine exception. 49 | """ 50 | 51 | pass 52 | 53 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/log.py: -------------------------------------------------------------------------------- 1 | import logging 2 | from ...splunktalib.common import log as stclog 3 | 4 | 5 | def set_log_level(log_level): 6 | """ 7 | Set log level. 8 | """ 9 | 10 | if isinstance(log_level, basestring): 11 | if log_level.upper() == "DEBUG": 12 | stclog.Logs().set_level(logging.DEBUG) 13 | elif log_level.upper() == "INFO": 14 | stclog.Logs().set_level(logging.INFO) 15 | elif log_level.upper() == "WARN": 16 | stclog.Logs().set_level(logging.WARN) 17 | elif log_level.upper() == "ERROR": 18 | stclog.Logs().set_level(logging.ERROR) 19 | elif log_level.upper() == "WARNING": 20 | stclog.Logs().set_level(logging.WARNING) 21 | elif log_level.upper() == "CRITICAL": 22 | stclog.Logs().set_level(logging.CRITICAL) 23 | else: 24 | stclog.Logs().set_level(logging.INFO) 25 | elif isinstance(log_level, int): 26 | if log_level in [logging.DEBUG, logging.INFO, logging.ERROR, 27 | logging.WARN, logging.WARNING, logging.CRITICAL]: 28 | stclog.Logs().set_level(log_level) 29 | else: 30 | stclog.Logs().set_level(logging.INFO) 31 | else: 32 | stclog.Logs().set_level(logging.INFO) 33 | 34 | 35 | # Global logger 36 | logger = stclog.Logs().get_logger("cloud_connect_engine") 37 | 38 | 39 | def reset_logger(name): 40 | """ 41 | Reset logger. 42 | """ 43 | 44 | stclog.reset_logger(name) 45 | 46 | global logger 47 | logger = stclog.Logs().get_logger(name) 48 | 49 | 50 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/log.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/log.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/common/schema_meta.py: -------------------------------------------------------------------------------- 1 | 2 | FIELD_PRODUCT = '_product' 3 | FIELD_REST_NAMESPACE = '_rest_namespace' 4 | FIELD_REST_PREFIX = '_rest_prefix' 5 | FIELD_PROTOCOL_VERSION = '_protocol_version' 6 | FIELD_VERSION = '_version' 7 | FIELD_ENCRYPTION_FORMATTER = '_encryption_formatter' 8 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/config.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/config.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "1.0.2" -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_checkpoint_manager.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_checkpoint_manager.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_config.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_config.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_consts.py: -------------------------------------------------------------------------------- 1 | server_uri = "server_uri" 2 | session_key = "session_key" 3 | version = "version" 4 | appname = "appname" 5 | event_writer = "event_writer" 6 | index = "index" 7 | default_index = "default" 8 | source = "source" 9 | sourcetype = "sourcetype" 10 | data_loader = "data_loader" 11 | 12 | meta_configs = "meta_configs" 13 | disabled = "disabled" 14 | resource = "resource" 15 | events = "events" 16 | scope = "scope" 17 | checkpoint_dir = "checkpoint_dir" 18 | 19 | ckpt_dict = "ckpt_dict" 20 | inputs = "inputs" 21 | input_name = "input_name" 22 | input_data = "input_data" 23 | interval = "interval" 24 | data = "data" 25 | batch_size = 'batch_size' 26 | time_fmt = "%Y-%m-%dT%H:%M:%S" 27 | utc_time_fmt = "%Y-%m-%dT%H:%M:%S.%fZ" 28 | 29 | # system setting keys 30 | checkpoint_storage_type = "builtin_system_checkpoint_storage_type" 31 | 32 | # Possible values for checkpoint storage type 33 | checkpoint_auto = 'auto' 34 | checkpoint_kv_storage = 'kv_store' 35 | checkpoint_file = 'file' 36 | 37 | # For cache file 38 | use_cache_file = "builtin_system_use_cache_file" 39 | max_cache_seconds = "builtin_system_max_cache_seconds" 40 | # For kv store 41 | collection_name = "builtin_system_kvstore_collection_name" 42 | 43 | settings = "__settings__" 44 | configs = "__configs__" 45 | 46 | name = "name" 47 | config = "config" 48 | division = "division" 49 | stanza_name = "stanza_name" 50 | divide_key = "_divide_key" 51 | divide_endpoint = "_divide_endpoint" 52 | mod_input_name = "mod_input_name" 53 | global_settings = "global_settings" 54 | all_configs = "all_configs" 55 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_consts.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_consts.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_collector.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_collector.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_loader.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_data_loader.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_helper.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_helper.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_mod_input.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/data_collection/ta_mod_input.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/splunk_ta_import_declare.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module is used to filter and reload PATH. 3 | """ 4 | 5 | import os 6 | import sys 7 | import re 8 | 9 | ta_name = os.path.basename(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 10 | ta_lib_name = re.sub("[^\w]+", "_", ta_name.lower()) 11 | assert ta_name or ta_name == "package", "TA name is None or package" 12 | pattern = re.compile(r"[\\/]etc[\\/]apps[\\/][^\\/]+[\\/]bin[\\/]?$") 13 | new_paths = [path for path in sys.path if not pattern.search(path) or ta_name in path] 14 | new_paths.insert(0, os.path.sep.join([os.path.dirname(__file__), ta_lib_name])) 15 | sys.path = new_paths 16 | 17 | 18 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/ta_cloud_connect_client.py: -------------------------------------------------------------------------------- 1 | from .data_collection.ta_data_client import TaDataClient 2 | from ..splunktacollectorlib.common import log as stulog 3 | from ..splunktacollectorlib.data_collection import ta_consts as c 4 | from ..common.log import set_cc_logger 5 | 6 | 7 | class TACloudConnectClient(TaDataClient): 8 | def __init__(self, 9 | meta_config, 10 | task_config, 11 | checkpoint_mgr=None, 12 | event_writer=None 13 | ): 14 | super(TACloudConnectClient, self).__init__(meta_config, 15 | task_config, 16 | checkpoint_mgr, 17 | event_writer) 18 | self._set_log() 19 | self._cc_config_file = self._meta_config["cc_json_file"] 20 | from ..core.pipemgr import PipeManager 21 | from ..client import CloudConnectClient as Client 22 | self._pipe_mgr = PipeManager(event_writer=event_writer) 23 | self._client = Client(self._task_config, self._cc_config_file, 24 | checkpoint_mgr) 25 | 26 | def _set_log(self): 27 | pairs = ['{}="{}"'.format(c.stanza_name, self._task_config[ 28 | c.stanza_name])] 29 | set_cc_logger(stulog.logger, 30 | logger_prefix="[{}]".format(" ".join(pairs))) 31 | 32 | def is_stopped(self): 33 | return self._stop 34 | 35 | def stop(self): 36 | self._stop = True 37 | self._client.stop() 38 | 39 | def get(self): 40 | self._client.start() 41 | raise StopIteration 42 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/ta_cloud_connect_client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktacollectorlib/ta_cloud_connect_client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.9" 2 | __license__ = "Splunk" 3 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/consts.py: -------------------------------------------------------------------------------- 1 | util_log = "util" 2 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/log.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/log.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/pattern.py: -------------------------------------------------------------------------------- 1 | """ 2 | Copyright (C) 2005-2015 Splunk Inc. All Rights Reserved. 3 | 4 | Commonly used design partten for python user, includes: 5 | - singleton (Decorator function used to build singleton) 6 | """ 7 | 8 | from functools import wraps 9 | 10 | 11 | def singleton(class_): 12 | """ 13 | Singleton decoorator function. 14 | """ 15 | instances = {} 16 | 17 | @wraps(class_) 18 | def getinstance(*args, **kwargs): 19 | if class_ not in instances: 20 | instances[class_] = class_(*args, **kwargs) 21 | return instances[class_] 22 | return getinstance 23 | 24 | 25 | class Singleton(type): 26 | """ 27 | Singleton meta class 28 | """ 29 | 30 | _instances = {} 31 | 32 | def __call__(cls, *args, **kwargs): 33 | if cls not in cls._instances: 34 | cls._instances[cls] = super(Singleton, cls).__call__( 35 | *args, **kwargs) 36 | print cls 37 | return cls._instances[cls] 38 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/pattern.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/pattern.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/util.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/util.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/xml_dom_parser.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/common/xml_dom_parser.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/concurrent_executor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/concurrent_executor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/process_pool.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/process_pool.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/thread_pool.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/concurrent/thread_pool.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/conf_manager/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/conf_manager/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/conf_manager/knowledge_objects.py: -------------------------------------------------------------------------------- 1 | from . import request as req 2 | from ..common import xml_dom_parser as xdp 3 | 4 | 5 | class KnowledgeObjectManager(object): 6 | 7 | def __init__(self, splunkd_uri, session_key): 8 | self.splunkd_uri = splunkd_uri 9 | self.session_key = session_key 10 | 11 | def apps(self): 12 | """ 13 | @return: a list of dict containing apps if successfuly otherwise 14 | otherwise raise exceptions 15 | """ 16 | 17 | uri = "{}/services/apps/local?count=0&offset=0".format( 18 | self.splunkd_uri) 19 | apps = self._do_request(uri, "GET", None, "Failed to get apps") 20 | return apps 21 | 22 | def indexes(self): 23 | """ 24 | @return: a list of dict containing indexes if successfuly 25 | otherwise raise exceptions 26 | """ 27 | 28 | uri = "{}/services/data/indexes/?count=0&offset=0".format( 29 | self.splunkd_uri) 30 | indexes = self._do_request(uri, "GET", None, "Failed to get indexes") 31 | return indexes 32 | 33 | def _do_request(self, uri, method, payload, err_msg): 34 | _, content = req.content_request(uri, self.session_key, method, 35 | payload, err_msg) 36 | return xdp.parse_conf_xml_dom(content) 37 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/conf_manager/request.py: -------------------------------------------------------------------------------- 1 | from .. import rest 2 | from ..common import log 3 | 4 | 5 | class ConfRequestException(Exception): 6 | pass 7 | 8 | 9 | class ConfNotExistsException(ConfRequestException): 10 | pass 11 | 12 | 13 | class ConfExistsException(ConfRequestException): 14 | pass 15 | 16 | 17 | def content_request(uri, session_key, method, payload, err_msg): 18 | """ 19 | :return: response content if successful otherwise raise 20 | ConfRequestException 21 | """ 22 | 23 | resp, content = rest.splunkd_request(uri, session_key, method, 24 | data=payload, retry=3) 25 | if resp is None and content is None: 26 | return None 27 | 28 | if resp.status >= 200 and resp.status <= 204: 29 | return content 30 | else: 31 | msg = "%s, status=%s, reason=%s, detail=%s" % ( 32 | err_msg, resp.status, resp.reason, content.decode('utf-8')) 33 | 34 | if not (method == "GET" and resp.status == 404): 35 | log.logger.error(msg) 36 | 37 | if resp.status == 404: 38 | raise ConfNotExistsException(msg) 39 | if resp.status == 409: 40 | raise ConfExistsException(msg) 41 | else: 42 | if content and "already exists" in content: 43 | raise ConfExistsException(msg) 44 | raise ConfRequestException(msg) 45 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/event_writer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/event_writer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/file_monitor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/file_monitor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/kv_client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/kv_client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/modinput.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/modinput.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/orphan_process_monitor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/orphan_process_monitor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/rest.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/rest.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/job.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/job.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/scheduler.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/schedule/scheduler.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/setting.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | process_size = 0 3 | thread_min_size = 4 4 | thread_max_size = 128 5 | task_queue_size = 1024 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/splunk_cluster.py: -------------------------------------------------------------------------------- 1 | from ..splunktalib import rest 2 | from ..splunktalib.common import xml_dom_parser as xdp 3 | 4 | 5 | def _do_rest(uri, session_key): 6 | resp, content = rest.splunkd_request(uri, session_key) 7 | if resp is None: 8 | return None 9 | 10 | if resp.status not in (200, 201): 11 | return None 12 | 13 | stanza_objs = xdp.parse_conf_xml_dom(content) 14 | if not stanza_objs: 15 | return None 16 | 17 | return stanza_objs[0] 18 | 19 | 20 | class ServerInfo(object): 21 | 22 | def __init__(self, splunkd_uri, session_key): 23 | uri = "{}/services/server/info".format(splunkd_uri) 24 | server_info = _do_rest(uri, session_key) 25 | if server_info is None: 26 | raise Exception("Failed to init ServerInfo") 27 | 28 | self._server_info = server_info 29 | 30 | def is_captain(self): 31 | """ 32 | :return: True if splunkd_uri is captain otherwise False 33 | """ 34 | 35 | return "shc_captain" in self._server_info["server_roles"] 36 | 37 | def is_search_head(self): 38 | for sh in ("search_head", "cluster_search_head"): 39 | if sh in self._server_info["server_roles"]: 40 | return True 41 | return False 42 | 43 | def is_shc_member(self): 44 | server_roles = self._server_info['server_roles'] 45 | return any( 46 | role in server_roles for role in ('shc_member', 'shc_captain') 47 | ) 48 | 49 | def version(self): 50 | return self._server_info["version"] 51 | 52 | def to_dict(self): 53 | return self._server_info 54 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/splunk_cluster.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/splunk_cluster.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/splunk_platform.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/splunk_platform.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/state_store.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/state_store.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/timer.py: -------------------------------------------------------------------------------- 1 | import threading 2 | 3 | 4 | class Timer(object): 5 | """ 6 | Timer wraps the callback and timestamp related stuff 7 | """ 8 | 9 | _ident = 0 10 | _lock = threading.Lock() 11 | 12 | def __init__(self, callback, when, interval, ident=None): 13 | self._callback = callback 14 | self._when = when 15 | self._interval = interval 16 | 17 | if ident is not None: 18 | self._id = ident 19 | else: 20 | with Timer._lock: 21 | self._id = Timer._ident + 1 22 | Timer._ident = Timer._ident + 1 23 | 24 | def get_interval(self): 25 | return self._interval 26 | 27 | def set_interval(self, interval): 28 | self._interval = interval 29 | 30 | def get_expiration(self): 31 | return self._when 32 | 33 | def set_initial_due_time(self, when): 34 | self._when = when 35 | 36 | def update_expiration(self): 37 | self._when += self._interval 38 | 39 | def __cmp__(self, other): 40 | if other is None: 41 | return 1 42 | 43 | self_k = (self.get_expiration(), self.ident()) 44 | other_k = (other.get_expiration(), other.ident()) 45 | 46 | if self_k == other_k: 47 | return 0 48 | elif self_k < other_k: 49 | return -1 50 | else: 51 | return 1 52 | 53 | def __eq__(self, other): 54 | return isinstance(other, Timer) and (self.ident() == other.ident()) 55 | 56 | def __call__(self): 57 | self._callback() 58 | 59 | def ident(self): 60 | return self._id 61 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/timer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/timer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/timer_queue.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/cloudconnectlib/splunktalib/timer_queue.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/functools32/__init__.py: -------------------------------------------------------------------------------- 1 | from .functools32 import * 2 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/functools32/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/functools32/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/functools32/functools32.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/functools32/functools32.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/functools32/reprlib32.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/functools32/reprlib32.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/httplib2/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/httplib2/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/httplib2/iri2uri.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/httplib2/iri2uri.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/httplib2/socks.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/httplib2/socks.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/_compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/_compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/bccache.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/bccache.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/compiler.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/compiler.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/constants.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja.constants 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Various constants. 7 | 8 | :copyright: (c) 2010 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | 12 | 13 | #: list of lorem ipsum words used by the lipsum() helper function 14 | LOREM_IPSUM_WORDS = u'''\ 15 | a ac accumsan ad adipiscing aenean aliquam aliquet amet ante aptent arcu at 16 | auctor augue bibendum blandit class commodo condimentum congue consectetuer 17 | consequat conubia convallis cras cubilia cum curabitur curae cursus dapibus 18 | diam dictum dictumst dignissim dis dolor donec dui duis egestas eget eleifend 19 | elementum elit enim erat eros est et etiam eu euismod facilisi facilisis fames 20 | faucibus felis fermentum feugiat fringilla fusce gravida habitant habitasse hac 21 | hendrerit hymenaeos iaculis id imperdiet in inceptos integer interdum ipsum 22 | justo lacinia lacus laoreet lectus leo libero ligula litora lobortis lorem 23 | luctus maecenas magna magnis malesuada massa mattis mauris metus mi molestie 24 | mollis montes morbi mus nam nascetur natoque nec neque netus nibh nisi nisl non 25 | nonummy nostra nulla nullam nunc odio orci ornare parturient pede pellentesque 26 | penatibus per pharetra phasellus placerat platea porta porttitor posuere 27 | potenti praesent pretium primis proin pulvinar purus quam quis quisque rhoncus 28 | ridiculus risus rutrum sagittis sapien scelerisque sed sem semper senectus sit 29 | sociis sociosqu sodales sollicitudin suscipit suspendisse taciti tellus tempor 30 | tempus tincidunt torquent tortor tristique turpis ullamcorper ultrices 31 | ultricies urna ut varius vehicula vel velit venenatis vestibulum vitae vivamus 32 | viverra volutpat vulputate''' 33 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/defaults.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | jinja2.defaults 4 | ~~~~~~~~~~~~~~~ 5 | 6 | Jinja default filters and tags. 7 | 8 | :copyright: (c) 2010 by the Jinja Team. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | from jinja2._compat import range_type 12 | from jinja2.utils import generate_lorem_ipsum, Cycler, Joiner 13 | 14 | 15 | # defaults for the parser / lexer 16 | BLOCK_START_STRING = '{%' 17 | BLOCK_END_STRING = '%}' 18 | VARIABLE_START_STRING = '{{' 19 | VARIABLE_END_STRING = '}}' 20 | COMMENT_START_STRING = '{#' 21 | COMMENT_END_STRING = '#}' 22 | LINE_STATEMENT_PREFIX = None 23 | LINE_COMMENT_PREFIX = None 24 | TRIM_BLOCKS = False 25 | LSTRIP_BLOCKS = False 26 | NEWLINE_SEQUENCE = '\n' 27 | KEEP_TRAILING_NEWLINE = False 28 | 29 | 30 | # default filters, tests and namespace 31 | from jinja2.filters import FILTERS as DEFAULT_FILTERS 32 | from jinja2.tests import TESTS as DEFAULT_TESTS 33 | DEFAULT_NAMESPACE = { 34 | 'range': range_type, 35 | 'dict': dict, 36 | 'lipsum': generate_lorem_ipsum, 37 | 'cycler': Cycler, 38 | 'joiner': Joiner 39 | } 40 | 41 | 42 | # export all constants 43 | __all__ = tuple(x for x in locals().keys() if x.isupper()) 44 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/defaults.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/defaults.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/environment.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/environment.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/filters.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/filters.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/lexer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/lexer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/loaders.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/loaders.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/nodes.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/nodes.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/optimizer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/optimizer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/parser.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/parser.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/runtime.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/runtime.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/tests.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/tests.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jinja2/visitor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jinja2/visitor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsl/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | """ 3 | JSL 4 | === 5 | A Python DSL for describing JSON schemas. 6 | See http://jsl.rtfd.org/ for documentation. 7 | :copyright: (c) 2016 Anton Romanovich 8 | :license: BSD 9 | """ 10 | 11 | __title__ = 'JSL' 12 | __author__ = 'Anton Romanovich' 13 | __license__ = 'BSD' 14 | __copyright__ = 'Copyright 2016 Anton Romanovich' 15 | __version__ = '0.2.4' 16 | __version_info__ = tuple(int(i) for i in __version__.split('.')) 17 | 18 | 19 | from .document import Document, ALL_OF, INLINE, ANY_OF, ONE_OF 20 | from .fields import * 21 | from .roles import * 22 | from .exceptions import SchemaGenerationException 23 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsl/fields/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | from .base import * 3 | from .compound import * 4 | from .primitive import * 5 | 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsl/fields/util.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | import re 3 | import sre_constants 4 | 5 | from ..roles import Resolvable 6 | 7 | 8 | def validate_regex(regex): 9 | """ 10 | :param str regex: A regular expression to validate. 11 | :raises: ValueError 12 | """ 13 | try: 14 | re.compile(regex) 15 | except sre_constants.error as e: 16 | raise ValueError('Invalid regular expression: {0}'.format(e)) 17 | 18 | 19 | def validate(value_or_var, validator): 20 | if isinstance(value_or_var, Resolvable): 21 | for value in value_or_var.iter_possible_values(): 22 | validator(value) 23 | else: 24 | validator(value_or_var) -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsl/registry.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | from ._compat import itervalues 3 | 4 | 5 | _documents_registry = {} 6 | 7 | 8 | def get_document(name, module=None): 9 | if module: 10 | name = '{0}.{1}'.format(module, name) 11 | return _documents_registry[name] 12 | 13 | 14 | def put_document(name, document_cls, module=None): 15 | if module: 16 | name = '{0}.{1}'.format(module, name) 17 | _documents_registry[name] = document_cls 18 | 19 | 20 | def remove_document(name, module=None): 21 | if module: 22 | name = '{0}.{1}'.format(module, name) 23 | del _documents_registry[name] 24 | 25 | 26 | def iter_documents(): 27 | return itervalues(_documents_registry) 28 | 29 | 30 | def clear(): 31 | _documents_registry.clear() -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/__init__.py: -------------------------------------------------------------------------------- 1 | from .jsonpath import * 2 | from .parser import parse 3 | 4 | __version__ = '1.3.0' 5 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/bin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/bin/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/jsonpath.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/jsonpath.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/lexer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/lexer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/parser.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonpath_rw/parser.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | An implementation of JSON Schema for Python 3 | 4 | The main functionality is provided by the validator classes for each of the 5 | supported JSON Schema versions. 6 | 7 | Most commonly, :func:`validate` is the quickest way to simply validate a given 8 | instance under a schema, and will create a validator for you. 9 | 10 | """ 11 | 12 | from jsonschema.exceptions import ( 13 | ErrorTree, FormatError, RefResolutionError, SchemaError, ValidationError 14 | ) 15 | from jsonschema._format import ( 16 | FormatChecker, draft3_format_checker, draft4_format_checker, 17 | ) 18 | from jsonschema.validators import ( 19 | Draft3Validator, Draft4Validator, RefResolver, validate 20 | ) 21 | 22 | from jsonschema._version import __version__ 23 | 24 | # flake8: noqa 25 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/__main__.py: -------------------------------------------------------------------------------- 1 | from jsonschema.cli import main 2 | main() 3 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/_format.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/_format.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/_utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/_utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/_validators.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/_validators.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/_version.py: -------------------------------------------------------------------------------- 1 | 2 | # This file is automatically generated by setup.py. 3 | __version__ = '2.5.1' 4 | __sha__ = 'g3f459b7' 5 | __revision__ = 'g3f459b7' 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/_version.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/_version.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/tests/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/tests/compat.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | 4 | if sys.version_info[:2] < (2, 7): # pragma: no cover 5 | import unittest2 as unittest 6 | else: 7 | import unittest 8 | 9 | try: 10 | from unittest import mock 11 | except ImportError: 12 | import mock 13 | 14 | 15 | # flake8: noqa 16 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/jsonschema/validators.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/jsonschema/validators.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/mako/__init__.py: -------------------------------------------------------------------------------- 1 | # mako/__init__.py 2 | # Copyright (C) 2006-2016 the Mako authors and contributors 3 | # 4 | # This module is part of Mako and is released under 5 | # the MIT License: http://www.opensource.org/licenses/mit-license.php 6 | 7 | 8 | __version__ = '1.0.4' 9 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/mako/ext/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/mako/ext/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/mako/ext/preprocessors.py: -------------------------------------------------------------------------------- 1 | # ext/preprocessors.py 2 | # Copyright (C) 2006-2016 the Mako authors and contributors 3 | # 4 | # This module is part of Mako and is released under 5 | # the MIT License: http://www.opensource.org/licenses/mit-license.php 6 | 7 | """preprocessing functions, used with the 'preprocessor' 8 | argument on Template, TemplateLookup""" 9 | 10 | import re 11 | 12 | 13 | def convert_comments(text): 14 | """preprocess old style comments. 15 | 16 | example: 17 | 18 | from mako.ext.preprocessors import convert_comments 19 | t = Template(..., preprocessor=convert_comments)""" 20 | return re.sub(r'(?<=\n)\s*#[^#]', "##", text) 21 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/markupsafe/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/_compat.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | markupsafe._compat 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Compatibility module for different Python versions. 7 | 8 | :copyright: (c) 2013 by Armin Ronacher. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | import sys 12 | 13 | PY2 = sys.version_info[0] == 2 14 | 15 | if not PY2: 16 | text_type = str 17 | string_types = (str,) 18 | unichr = chr 19 | int_types = (int,) 20 | iteritems = lambda x: iter(x.items()) 21 | else: 22 | text_type = unicode 23 | string_types = (str, unicode) 24 | unichr = unichr 25 | int_types = (int, long) 26 | iteritems = lambda x: x.iteritems() 27 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/_compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/markupsafe/_compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/_native.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | markupsafe._native 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Native Python implementation the C module is not compiled. 7 | 8 | :copyright: (c) 2010 by Armin Ronacher. 9 | :license: BSD, see LICENSE for more details. 10 | """ 11 | from markupsafe import Markup 12 | from markupsafe._compat import text_type 13 | 14 | 15 | def escape(s): 16 | """Convert the characters &, <, >, ' and " in string s to HTML-safe 17 | sequences. Use this if you need to display text that might contain 18 | such characters in HTML. Marks return value as markup string. 19 | """ 20 | if hasattr(s, '__html__'): 21 | return s.__html__() 22 | return Markup(text_type(s) 23 | .replace('&', '&') 24 | .replace('>', '>') 25 | .replace('<', '<') 26 | .replace("'", ''') 27 | .replace('"', '"') 28 | ) 29 | 30 | 31 | def escape_silent(s): 32 | """Like :func:`escape` but converts `None` into an empty 33 | markup string. 34 | """ 35 | if s is None: 36 | return Markup() 37 | return escape(s) 38 | 39 | 40 | def soft_unicode(s): 41 | """Make a string unicode if it isn't already. That way a markup 42 | string is not converted back to unicode. 43 | """ 44 | if not isinstance(s, text_type): 45 | s = text_type(s) 46 | return s 47 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/_native.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/markupsafe/_native.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/markupsafe/_speedups.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/markupsafe/_speedups.so -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/modinput_wrapper/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/modinput_wrapper/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/munch/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/munch/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/munch/python3_compat.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | _PY2 = (sys.version_info < (3,0)) 4 | 5 | identity = lambda x : x 6 | 7 | # u('string') replaces the forwards-incompatible u'string' 8 | if _PY2: 9 | import codecs 10 | def u(string): 11 | return codecs.unicode_escape_decode(string)[0] 12 | else: 13 | u = identity 14 | 15 | # dict.iteritems(), dict.iterkeys() is also incompatible 16 | if _PY2: 17 | iteritems = dict.iteritems 18 | iterkeys = dict.iterkeys 19 | else: 20 | iteritems = dict.items 21 | iterkeys = dict.keys 22 | 23 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/munch/python3_compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/munch/python3_compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/ply/__init__.py: -------------------------------------------------------------------------------- 1 | # PLY package 2 | # Author: David Beazley (dave@dabeaz.com) 3 | 4 | __version__ = '3.9' 5 | __all__ = ['lex','yacc'] 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/ply/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/ply/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/ply/lex.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/ply/lex.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/ply/yacc.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/ply/yacc.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/_internal_utils.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | requests._internal_utils 5 | ~~~~~~~~~~~~~~ 6 | 7 | Provides utility functions that are consumed internally by Requests 8 | which depend on extremely few external helpers (such as compat) 9 | """ 10 | 11 | from .compat import is_py2, builtin_str, str 12 | 13 | 14 | def to_native_string(string, encoding='ascii'): 15 | """Given a string object, regardless of type, returns a representation of 16 | that string in the native string type, encoding and decoding where 17 | necessary. This assumes ASCII unless told otherwise. 18 | """ 19 | if isinstance(string, builtin_str): 20 | out = string 21 | else: 22 | if is_py2: 23 | out = string.encode(encoding) 24 | else: 25 | out = string.decode(encoding) 26 | 27 | return out 28 | 29 | 30 | def unicode_is_ascii(u_string): 31 | """Determine if unicode string only contains ASCII characters. 32 | 33 | :param str u_string: unicode string to check. Must be unicode 34 | and not Python 2 `str`. 35 | :rtype: bool 36 | """ 37 | assert isinstance(u_string, str) 38 | try: 39 | u_string.encode('ascii') 40 | return True 41 | except UnicodeEncodeError: 42 | return False 43 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/_internal_utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/_internal_utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/adapters.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/adapters.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/api.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/api.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/auth.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/auth.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/certs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | 4 | """ 5 | requests.certs 6 | ~~~~~~~~~~~~~~ 7 | 8 | This module returns the preferred default CA certificate bundle. 9 | 10 | If you are packaging Requests, e.g., for a Linux distribution or a managed 11 | environment, you can change the definition of where() to return a separately 12 | packaged CA bundle. 13 | """ 14 | import os.path 15 | 16 | try: 17 | from certifi import where 18 | except ImportError: 19 | def where(): 20 | """Return the preferred certificate bundle.""" 21 | # vendored bundle inside Requests 22 | return os.path.join(os.path.dirname(__file__), 'cacert.pem') 23 | 24 | if __name__ == '__main__': 25 | print(where()) 26 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/certs.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/certs.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/cookies.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/cookies.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/hooks.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | requests.hooks 5 | ~~~~~~~~~~~~~~ 6 | 7 | This module provides the capabilities for the Requests hooks system. 8 | 9 | Available hooks: 10 | 11 | ``response``: 12 | The response generated from a Request. 13 | """ 14 | HOOKS = ['response'] 15 | 16 | 17 | def default_hooks(): 18 | return dict((event, []) for event in HOOKS) 19 | 20 | # TODO: response is the only one 21 | 22 | 23 | def dispatch_hook(key, hooks, hook_data, **kwargs): 24 | """Dispatches a hook dictionary on a given piece of data.""" 25 | hooks = hooks or dict() 26 | hooks = hooks.get(key) 27 | if hooks: 28 | if hasattr(hooks, '__call__'): 29 | hooks = [hooks] 30 | for hook in hooks: 31 | _hook_data = hook(hook_data, **kwargs) 32 | if _hook_data is not None: 33 | hook_data = _hook_data 34 | return hook_data 35 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/hooks.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/hooks.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/models.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/models.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/__init__.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Debian and other distributions "unbundle" requests' vendored dependencies, and 3 | rewrite all imports to use the global versions of ``urllib3`` and ``chardet``. 4 | The problem with this is that not only requests itself imports those 5 | dependencies, but third-party code outside of the distros' control too. 6 | 7 | In reaction to these problems, the distro maintainers replaced 8 | ``requests.packages`` with a magical "stub module" that imports the correct 9 | modules. The implementations were varying in quality and all had severe 10 | problems. For example, a symlink (or hardlink) that links the correct modules 11 | into place introduces problems regarding object identity, since you now have 12 | two modules in `sys.modules` with the same API, but different identities:: 13 | 14 | requests.packages.urllib3 is not urllib3 15 | 16 | With version ``2.5.2``, requests started to maintain its own stub, so that 17 | distro-specific breakage would be reduced to a minimum, even though the whole 18 | issue is not requests' fault in the first place. See 19 | https://github.com/kennethreitz/requests/pull/2375 for the corresponding pull 20 | request. 21 | ''' 22 | 23 | from __future__ import absolute_import 24 | import sys 25 | 26 | try: 27 | from . import urllib3 28 | except ImportError: 29 | import urllib3 30 | sys.modules['%s.urllib3' % __name__] = urllib3 31 | 32 | try: 33 | from . import chardet 34 | except ImportError: 35 | import chardet 36 | sys.modules['%s.chardet' % __name__] = chardet 37 | 38 | try: 39 | from . import idna 40 | except ImportError: 41 | import idna 42 | sys.modules['%s.idna' % __name__] = idna 43 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/chardet/__init__.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # This library is free software; you can redistribute it and/or 3 | # modify it under the terms of the GNU Lesser General Public 4 | # License as published by the Free Software Foundation; either 5 | # version 2.1 of the License, or (at your option) any later version. 6 | # 7 | # This library is distributed in the hope that it will be useful, 8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10 | # Lesser General Public License for more details. 11 | # 12 | # You should have received a copy of the GNU Lesser General Public 13 | # License along with this library; if not, write to the Free Software 14 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 15 | # 02110-1301 USA 16 | ######################### END LICENSE BLOCK ######################### 17 | 18 | __version__ = "2.3.0" 19 | from sys import version_info 20 | 21 | 22 | def detect(aBuf): 23 | if ((version_info < (3, 0) and isinstance(aBuf, unicode)) or 24 | (version_info >= (3, 0) and not isinstance(aBuf, bytes))): 25 | raise ValueError('Expected a bytes object, not a unicode object') 26 | 27 | from . import universaldetector 28 | u = universaldetector.UniversalDetector() 29 | u.reset() 30 | u.feed(aBuf) 31 | u.close() 32 | return u.result 33 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/chardet/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/chardet/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/chardet/compat.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # Contributor(s): 3 | # Ian Cordasco - port to Python 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) any later version. 9 | # 10 | # This library is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public 16 | # License along with this library; if not, write to the Free Software 17 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 18 | # 02110-1301 USA 19 | ######################### END LICENSE BLOCK ######################### 20 | 21 | import sys 22 | 23 | 24 | if sys.version_info < (3, 0): 25 | base_str = (str, unicode) 26 | else: 27 | base_str = (bytes, str) 28 | 29 | 30 | def wrap_ord(a): 31 | if sys.version_info < (3, 0) and isinstance(a, base_str): 32 | return ord(a) 33 | else: 34 | return a 35 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/chardet/constants.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # The Original Code is Mozilla Universal charset detector code. 3 | # 4 | # The Initial Developer of the Original Code is 5 | # Netscape Communications Corporation. 6 | # Portions created by the Initial Developer are Copyright (C) 2001 7 | # the Initial Developer. All Rights Reserved. 8 | # 9 | # Contributor(s): 10 | # Mark Pilgrim - port to Python 11 | # Shy Shalom - original C code 12 | # 13 | # This library is free software; you can redistribute it and/or 14 | # modify it under the terms of the GNU Lesser General Public 15 | # License as published by the Free Software Foundation; either 16 | # version 2.1 of the License, or (at your option) any later version. 17 | # 18 | # This library is distributed in the hope that it will be useful, 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | # Lesser General Public License for more details. 22 | # 23 | # You should have received a copy of the GNU Lesser General Public 24 | # License along with this library; if not, write to the Free Software 25 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 26 | # 02110-1301 USA 27 | ######################### END LICENSE BLOCK ######################### 28 | 29 | _debug = 0 30 | 31 | eDetecting = 0 32 | eFoundIt = 1 33 | eNotMe = 2 34 | 35 | eStart = 0 36 | eError = 1 37 | eItsMe = 2 38 | 39 | SHORTCUT_THRESHOLD = 0.95 40 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/__init__.py: -------------------------------------------------------------------------------- 1 | from .core import * 2 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/compat.py: -------------------------------------------------------------------------------- 1 | from .core import * 2 | from .codec import * 3 | 4 | def ToASCII(label): 5 | return encode(label) 6 | 7 | def ToUnicode(label): 8 | return decode(label) 9 | 10 | def nameprep(s): 11 | raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol") 12 | 13 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/core.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/core.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/idnadata.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/idnadata.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/intranges.py: -------------------------------------------------------------------------------- 1 | """ 2 | Given a list of integers, made up of (hopefully) a small number of long runs 3 | of consecutive integers, compute a representation of the form 4 | ((start1, end1), (start2, end2) ...). Then answer the question "was x present 5 | in the original list?" in time O(log(# runs)). 6 | """ 7 | 8 | import bisect 9 | 10 | def intranges_from_list(list_): 11 | """Represent a list of integers as a sequence of ranges: 12 | ((start_0, end_0), (start_1, end_1), ...), such that the original 13 | integers are exactly those x such that start_i <= x < end_i for some i. 14 | """ 15 | 16 | sorted_list = sorted(list_) 17 | ranges = [] 18 | last_write = -1 19 | for i in range(len(sorted_list)): 20 | if i+1 < len(sorted_list): 21 | if sorted_list[i] == sorted_list[i+1]-1: 22 | continue 23 | current_range = sorted_list[last_write+1:i+1] 24 | range_tuple = (current_range[0], current_range[-1] + 1) 25 | ranges.append(range_tuple) 26 | last_write = i 27 | 28 | return tuple(ranges) 29 | 30 | 31 | def intranges_contain(int_, ranges): 32 | """Determine if `int_` falls into one of the ranges in `ranges`.""" 33 | tuple_ = (int_, int_) 34 | pos = bisect.bisect_left(ranges, tuple_) 35 | # we could be immediately ahead of a tuple (start, end) 36 | # with start < int_ <= end 37 | if pos > 0: 38 | left, right = ranges[pos-1] 39 | if left <= int_ < right: 40 | return True 41 | # or we could be immediately behind a tuple (int_, end) 42 | if pos < len(ranges): 43 | left, _ = ranges[pos] 44 | if left == int_: 45 | return True 46 | return False 47 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/intranges.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/idna/intranges.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/_collections.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/_collections.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/connection.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/connection.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/connectionpool.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/connectionpool.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/pyopenssl.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/pyopenssl.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/socks.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/contrib/socks.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/fields.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/fields.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/filepost.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/filepost.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from . import ssl_match_hostname 4 | 5 | __all__ = ('ssl_match_hostname', ) 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/backports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/backports/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/backports/makefile.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | backports.makefile 4 | ~~~~~~~~~~~~~~~~~~ 5 | 6 | Backports the Python 3 ``socket.makefile`` method for use with anything that 7 | wants to create a "fake" socket object. 8 | """ 9 | import io 10 | 11 | from socket import SocketIO 12 | 13 | 14 | def backport_makefile(self, mode="r", buffering=None, encoding=None, 15 | errors=None, newline=None): 16 | """ 17 | Backport of ``socket.makefile`` from Python 3.5. 18 | """ 19 | if not set(mode) <= set(["r", "w", "b"]): 20 | raise ValueError( 21 | "invalid mode %r (only r, w, b allowed)" % (mode,) 22 | ) 23 | writing = "w" in mode 24 | reading = "r" in mode or not writing 25 | assert reading or writing 26 | binary = "b" in mode 27 | rawmode = "" 28 | if reading: 29 | rawmode += "r" 30 | if writing: 31 | rawmode += "w" 32 | raw = SocketIO(self, rawmode) 33 | self._makefile_refs += 1 34 | if buffering is None: 35 | buffering = -1 36 | if buffering < 0: 37 | buffering = io.DEFAULT_BUFFER_SIZE 38 | if buffering == 0: 39 | if not binary: 40 | raise ValueError("unbuffered streams must be binary") 41 | return raw 42 | if reading and writing: 43 | buffer = io.BufferedRWPair(raw, raw, buffering) 44 | elif reading: 45 | buffer = io.BufferedReader(raw, buffering) 46 | else: 47 | assert writing 48 | buffer = io.BufferedWriter(raw, buffering) 49 | if binary: 50 | return buffer 51 | text = io.TextIOWrapper(buffer, encoding, errors, newline) 52 | text.mode = mode 53 | return text 54 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ordered_dict.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ordered_dict.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/six.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/six.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | try: 4 | # Our match_hostname function is the same as 3.5's, so we only want to 5 | # import the match_hostname function if it's at least that good. 6 | if sys.version_info < (3, 5): 7 | raise ImportError("Fallback to vendored code") 8 | 9 | from ssl import CertificateError, match_hostname 10 | except ImportError: 11 | try: 12 | # Backport of the function from a pypi module 13 | from backports.ssl_match_hostname import CertificateError, match_hostname 14 | except ImportError: 15 | # Our vendored copy 16 | from ._implementation import CertificateError, match_hostname 17 | 18 | # Not needed, but documenting what we provide. 19 | __all__ = ('CertificateError', 'match_hostname') 20 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/poolmanager.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/poolmanager.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/request.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/request.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/response.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/response.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | # For backwards compatibility, provide imports that used to be here. 3 | from .connection import is_connection_dropped 4 | from .request import make_headers 5 | from .response import is_fp_closed 6 | from .ssl_ import ( 7 | SSLContext, 8 | HAS_SNI, 9 | IS_PYOPENSSL, 10 | assert_fingerprint, 11 | resolve_cert_reqs, 12 | resolve_ssl_version, 13 | ssl_wrap_socket, 14 | ) 15 | from .timeout import ( 16 | current_time, 17 | Timeout, 18 | ) 19 | 20 | from .retry import Retry 21 | from .url import ( 22 | get_host, 23 | parse_url, 24 | split_first, 25 | Url, 26 | ) 27 | 28 | __all__ = ( 29 | 'HAS_SNI', 30 | 'IS_PYOPENSSL', 31 | 'SSLContext', 32 | 'Retry', 33 | 'Timeout', 34 | 'Url', 35 | 'assert_fingerprint', 36 | 'current_time', 37 | 'is_connection_dropped', 38 | 'is_fp_closed', 39 | 'get_host', 40 | 'parse_url', 41 | 'make_headers', 42 | 'resolve_cert_reqs', 43 | 'resolve_ssl_version', 44 | 'split_first', 45 | 'ssl_wrap_socket', 46 | ) 47 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/connection.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/connection.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/request.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/request.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/response.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/response.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/retry.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/retry.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/ssl_.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/ssl_.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/timeout.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/timeout.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/url.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/packages/urllib3/util/url.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/sessions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/sessions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/status_codes.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/status_codes.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/structures.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/structures.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/requests/utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/requests/utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/six.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/six.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/socks.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/socks.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/acl.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/acl.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/api_documenter.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/api_documenter.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/compression.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/compression.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/conf_manager.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/conf_manager.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/credentials.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/credentials.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/file_monitor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/file_monitor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/hec_config.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/hec_config.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/ip_math.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/ip_math.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/log.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/log.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/metadata.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/metadata.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Splunk, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the 'License'): you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | 15 | ''' 16 | Splunk modular input. 17 | ''' 18 | 19 | from .checkpointer import CheckpointerException 20 | from .checkpointer import FileCheckpointer 21 | from .checkpointer import KVStoreCheckpointer 22 | from .event import EventException 23 | from .event import HECEvent 24 | from .event import XMLEvent 25 | from .event_writer import ClassicEventWriter 26 | from .event_writer import HECEventWriter 27 | from .modular_input import ModularInput 28 | from .modular_input import ModularInputException 29 | from ..packages.splunklib.modularinput.argument import Argument 30 | 31 | __all__ = ['EventException', 32 | 'XMLEvent', 33 | 'HECEvent', 34 | 'ClassicEventWriter', 35 | 'HECEventWriter', 36 | 'CheckpointerException', 37 | 'KVStoreCheckpointer', 38 | 'FileCheckpointer', 39 | 'Argument', 40 | 'ModularInputException', 41 | 'ModularInput'] 42 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/checkpointer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/checkpointer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/event.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/event.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/event_writer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/event_writer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/modular_input.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/modular_input/modular_input.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/net_utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/net_utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/orphan_process_monitor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/orphan_process_monitor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Splunk, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the 'License'): you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | 15 | 16 | from __future__ import absolute_import 17 | 18 | import sys 19 | 20 | try: 21 | from . import requests 22 | except ImportError: 23 | import requests 24 | 25 | sys.modules['%s.requests' % __name__] = requests 26 | 27 | try: 28 | from . import splunklib 29 | except ImportError: 30 | import splunklib 31 | 32 | sys.modules['%s.splunklib' % __name__] = splunklib 33 | 34 | try: 35 | from . import sortedcontainers 36 | except ImportError: 37 | import sortedcontainers 38 | 39 | sys.modules['%s.sortedcontainers' % __name__] = sortedcontainers 40 | 41 | try: 42 | from . import schematics 43 | except ImportError: 44 | import schematics 45 | 46 | sys.modules['%s.schematics' % __name__] = schematics 47 | 48 | try: 49 | from . import simpleyaml 50 | except ImportError: 51 | import simpleyaml 52 | 53 | sys.modules['%s.simpleyaml' % __name__] = simpleyaml 54 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2016 Kenneth Reitz 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/adapters.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/adapters.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/api.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/api.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/auth.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/auth.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/certs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | 4 | """ 5 | certs.py 6 | ~~~~~~~~ 7 | 8 | This module returns the preferred default CA certificate bundle. 9 | 10 | If you are packaging Requests, e.g., for a Linux distribution or a managed 11 | environment, you can change the definition of where() to return a separately 12 | packaged CA bundle. 13 | """ 14 | import os.path 15 | 16 | try: 17 | from certifi import where 18 | except ImportError: 19 | def where(): 20 | """Return the preferred certificate bundle.""" 21 | # vendored bundle inside Requests 22 | return os.path.join(os.path.dirname(__file__), 'cacert.pem') 23 | 24 | if __name__ == '__main__': 25 | print(where()) 26 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/certs.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/certs.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/compat.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | pythoncompat 5 | """ 6 | 7 | from .packages import chardet 8 | 9 | import sys 10 | 11 | # ------- 12 | # Pythons 13 | # ------- 14 | 15 | # Syntax sugar. 16 | _ver = sys.version_info 17 | 18 | #: Python 2.x? 19 | is_py2 = (_ver[0] == 2) 20 | 21 | #: Python 3.x? 22 | is_py3 = (_ver[0] == 3) 23 | 24 | try: 25 | import simplejson as json 26 | except (ImportError, SyntaxError): 27 | # simplejson does not support Python 3.2, it throws a SyntaxError 28 | # because of u'...' Unicode literals. 29 | import json 30 | 31 | # --------- 32 | # Specifics 33 | # --------- 34 | 35 | if is_py2: 36 | from urllib import quote, unquote, quote_plus, unquote_plus, urlencode, getproxies, proxy_bypass 37 | from urlparse import urlparse, urlunparse, urljoin, urlsplit, urldefrag 38 | from urllib2 import parse_http_list 39 | import cookielib 40 | from Cookie import Morsel 41 | from StringIO import StringIO 42 | from .packages.urllib3.packages.ordered_dict import OrderedDict 43 | 44 | builtin_str = str 45 | bytes = str 46 | str = unicode 47 | basestring = basestring 48 | numeric_types = (int, long, float) 49 | 50 | elif is_py3: 51 | from urllib.parse import urlparse, urlunparse, urljoin, urlsplit, urlencode, quote, unquote, quote_plus, unquote_plus, urldefrag 52 | from urllib.request import parse_http_list, getproxies, proxy_bypass 53 | from http import cookiejar as cookielib 54 | from http.cookies import Morsel 55 | from io import StringIO 56 | from collections import OrderedDict 57 | 58 | builtin_str = str 59 | str = str 60 | bytes = bytes 61 | basestring = (str, bytes) 62 | numeric_types = (int, float) 63 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/cookies.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/cookies.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/hooks.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | """ 4 | requests.hooks 5 | ~~~~~~~~~~~~~~ 6 | 7 | This module provides the capabilities for the Requests hooks system. 8 | 9 | Available hooks: 10 | 11 | ``response``: 12 | The response generated from a Request. 13 | 14 | """ 15 | HOOKS = ['response'] 16 | 17 | def default_hooks(): 18 | return dict((event, []) for event in HOOKS) 19 | 20 | # TODO: response is the only one 21 | 22 | 23 | def dispatch_hook(key, hooks, hook_data, **kwargs): 24 | """Dispatches a hook dictionary on a given piece of data.""" 25 | hooks = hooks or dict() 26 | hooks = hooks.get(key) 27 | if hooks: 28 | if hasattr(hooks, '__call__'): 29 | hooks = [hooks] 30 | for hook in hooks: 31 | _hook_data = hook(hook_data, **kwargs) 32 | if _hook_data is not None: 33 | hook_data = _hook_data 34 | return hook_data 35 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/hooks.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/hooks.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/models.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/models.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/__init__.py: -------------------------------------------------------------------------------- 1 | ''' 2 | Debian and other distributions "unbundle" requests' vendored dependencies, and 3 | rewrite all imports to use the global versions of ``urllib3`` and ``chardet``. 4 | The problem with this is that not only requests itself imports those 5 | dependencies, but third-party code outside of the distros' control too. 6 | 7 | In reaction to these problems, the distro maintainers replaced 8 | ``requests.packages`` with a magical "stub module" that imports the correct 9 | modules. The implementations were varying in quality and all had severe 10 | problems. For example, a symlink (or hardlink) that links the correct modules 11 | into place introduces problems regarding object identity, since you now have 12 | two modules in `sys.modules` with the same API, but different identities:: 13 | 14 | requests.packages.urllib3 is not urllib3 15 | 16 | With version ``2.5.2``, requests started to maintain its own stub, so that 17 | distro-specific breakage would be reduced to a minimum, even though the whole 18 | issue is not requests' fault in the first place. See 19 | https://github.com/kennethreitz/requests/pull/2375 for the corresponding pull 20 | request. 21 | ''' 22 | 23 | from __future__ import absolute_import 24 | import sys 25 | 26 | try: 27 | from . import urllib3 28 | except ImportError: 29 | import urllib3 30 | sys.modules['%s.urllib3' % __name__] = urllib3 31 | 32 | try: 33 | from . import chardet 34 | except ImportError: 35 | import chardet 36 | sys.modules['%s.chardet' % __name__] = chardet 37 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/chardet/__init__.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # This library is free software; you can redistribute it and/or 3 | # modify it under the terms of the GNU Lesser General Public 4 | # License as published by the Free Software Foundation; either 5 | # version 2.1 of the License, or (at your option) any later version. 6 | # 7 | # This library is distributed in the hope that it will be useful, 8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10 | # Lesser General Public License for more details. 11 | # 12 | # You should have received a copy of the GNU Lesser General Public 13 | # License along with this library; if not, write to the Free Software 14 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 15 | # 02110-1301 USA 16 | ######################### END LICENSE BLOCK ######################### 17 | 18 | __version__ = "2.3.0" 19 | from sys import version_info 20 | 21 | 22 | def detect(aBuf): 23 | if ((version_info < (3, 0) and isinstance(aBuf, unicode)) or 24 | (version_info >= (3, 0) and not isinstance(aBuf, bytes))): 25 | raise ValueError('Expected a bytes object, not a unicode object') 26 | 27 | from . import universaldetector 28 | u = universaldetector.UniversalDetector() 29 | u.reset() 30 | u.feed(aBuf) 31 | u.close() 32 | return u.result 33 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/chardet/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/chardet/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/chardet/compat.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # Contributor(s): 3 | # Ian Cordasco - port to Python 4 | # 5 | # This library is free software; you can redistribute it and/or 6 | # modify it under the terms of the GNU Lesser General Public 7 | # License as published by the Free Software Foundation; either 8 | # version 2.1 of the License, or (at your option) any later version. 9 | # 10 | # This library is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public 16 | # License along with this library; if not, write to the Free Software 17 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 18 | # 02110-1301 USA 19 | ######################### END LICENSE BLOCK ######################### 20 | 21 | import sys 22 | 23 | 24 | if sys.version_info < (3, 0): 25 | base_str = (str, unicode) 26 | else: 27 | base_str = (bytes, str) 28 | 29 | 30 | def wrap_ord(a): 31 | if sys.version_info < (3, 0) and isinstance(a, base_str): 32 | return ord(a) 33 | else: 34 | return a 35 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/chardet/constants.py: -------------------------------------------------------------------------------- 1 | ######################## BEGIN LICENSE BLOCK ######################## 2 | # The Original Code is Mozilla Universal charset detector code. 3 | # 4 | # The Initial Developer of the Original Code is 5 | # Netscape Communications Corporation. 6 | # Portions created by the Initial Developer are Copyright (C) 2001 7 | # the Initial Developer. All Rights Reserved. 8 | # 9 | # Contributor(s): 10 | # Mark Pilgrim - port to Python 11 | # Shy Shalom - original C code 12 | # 13 | # This library is free software; you can redistribute it and/or 14 | # modify it under the terms of the GNU Lesser General Public 15 | # License as published by the Free Software Foundation; either 16 | # version 2.1 of the License, or (at your option) any later version. 17 | # 18 | # This library is distributed in the hope that it will be useful, 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 | # Lesser General Public License for more details. 22 | # 23 | # You should have received a copy of the GNU Lesser General Public 24 | # License along with this library; if not, write to the Free Software 25 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 26 | # 02110-1301 USA 27 | ######################### END LICENSE BLOCK ######################### 28 | 29 | _debug = 0 30 | 31 | eDetecting = 0 32 | eFoundIt = 1 33 | eNotMe = 2 34 | 35 | eStart = 0 36 | eError = 1 37 | eItsMe = 2 38 | 39 | SHORTCUT_THRESHOLD = 0.95 40 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/_collections.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/_collections.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/connection.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/connection.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/connectionpool.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/connectionpool.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/pyopenssl.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/contrib/pyopenssl.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/fields.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/fields.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/filepost.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/filepost.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | from . import ssl_match_hostname 4 | 5 | __all__ = ('ssl_match_hostname', ) 6 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/ordered_dict.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/ordered_dict.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/six.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/six.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py: -------------------------------------------------------------------------------- 1 | try: 2 | # Python 3.2+ 3 | from ssl import CertificateError, match_hostname 4 | except ImportError: 5 | try: 6 | # Backport of the function from a pypi module 7 | from backports.ssl_match_hostname import CertificateError, match_hostname 8 | except ImportError: 9 | # Our vendored copy 10 | from ._implementation import CertificateError, match_hostname 11 | 12 | # Not needed, but documenting what we provide. 13 | __all__ = ('CertificateError', 'match_hostname') 14 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/poolmanager.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/poolmanager.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/request.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/request.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/response.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/response.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | # For backwards compatibility, provide imports that used to be here. 3 | from .connection import is_connection_dropped 4 | from .request import make_headers 5 | from .response import is_fp_closed 6 | from .ssl_ import ( 7 | SSLContext, 8 | HAS_SNI, 9 | assert_fingerprint, 10 | resolve_cert_reqs, 11 | resolve_ssl_version, 12 | ssl_wrap_socket, 13 | ) 14 | from .timeout import ( 15 | current_time, 16 | Timeout, 17 | ) 18 | 19 | from .retry import Retry 20 | from .url import ( 21 | get_host, 22 | parse_url, 23 | split_first, 24 | Url, 25 | ) 26 | 27 | __all__ = ( 28 | 'HAS_SNI', 29 | 'SSLContext', 30 | 'Retry', 31 | 'Timeout', 32 | 'Url', 33 | 'assert_fingerprint', 34 | 'current_time', 35 | 'is_connection_dropped', 36 | 'is_fp_closed', 37 | 'get_host', 38 | 'parse_url', 39 | 'make_headers', 40 | 'resolve_cert_reqs', 41 | 'resolve_ssl_version', 42 | 'split_first', 43 | 'ssl_wrap_socket', 44 | ) 45 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/connection.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/connection.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/request.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/request.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/response.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/response.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/retry.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/retry.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/ssl_.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/ssl_.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/timeout.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/timeout.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/url.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/packages/urllib3/util/url.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/sessions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/sessions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/status_codes.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/status_codes.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/structures.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/structures.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/requests/utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/LICENSE: -------------------------------------------------------------------------------- 1 | (The BSD License) 2 | 3 | Copyright (c) 2013–2016 Schematics Authors; see AUTHORS for details 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without modification, 7 | are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, 10 | this list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright 13 | notice, this list of conditions and the following disclaimer in the 14 | documentation and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of Schematics nor the names of its contributors may be 17 | used to endorse or promote products derived from this software without 18 | specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 21 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 22 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 24 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 25 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 26 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 27 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 29 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import absolute_import 3 | 4 | __version__ = '2.0.0.a1' 5 | 6 | from .models import Model, ModelMeta 7 | from . import types 8 | 9 | types.compound.Model = Model 10 | types.compound.ModelMeta = ModelMeta 11 | 12 | __all__ = ['Model'] 13 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/common.py: -------------------------------------------------------------------------------- 1 | # pylint: skip-file 2 | 3 | from __future__ import unicode_literals, absolute_import 4 | 5 | import encodings.ascii 6 | import encodings.utf_8 7 | import encodings.unicode_escape 8 | 9 | from .compat import * 10 | from .compat import __all__ as compat_exports 11 | from .util import module_exports, package_exports, Constant 12 | 13 | 14 | NATIVE = Constant('NATIVE', 0) 15 | PRIMITIVE = Constant('PRIMITIVE', 1) 16 | 17 | DROP = Constant('DROP', 0) 18 | NONEMPTY = Constant('NONEMPTY', 1) 19 | NOT_NONE = Constant('NOT_NONE', 2) 20 | DEFAULT = Constant('DEFAULT', 10) 21 | ALL = Constant('ALL', 99) 22 | 23 | 24 | __all__ = module_exports(__name__) + compat_exports + ['module_exports', 'package_exports'] 25 | 26 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/common.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/common.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/compat.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/compat.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/contrib/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/contrib/mongo.py: -------------------------------------------------------------------------------- 1 | """This module contains fields that depend on importing `bson`. `bson` is 2 | a part of the pymongo distribution. 3 | """ 4 | 5 | from __future__ import unicode_literals, absolute_import 6 | 7 | import bson 8 | 9 | from ..common import * # pylint: disable=redefined-builtin 10 | from ..types import BaseType 11 | from ..exceptions import ConversionError 12 | 13 | 14 | class ObjectIdType(BaseType): 15 | 16 | """An field wrapper around MongoDB ObjectIds. It is correct to say they're 17 | bson fields, but I am unaware of bson being used outside MongoDB. 18 | 19 | `auto_fill` is disabled by default for ObjectIdType's as they are 20 | typically obtained after a successful save to Mongo. 21 | """ 22 | 23 | MESSAGES = { 24 | 'convert': "Couldn't interpret value as an ObjectId.", 25 | } 26 | 27 | def __init__(self, auto_fill=False, **kwargs): 28 | self.auto_fill = auto_fill 29 | super(ObjectIdType, self).__init__(**kwargs) 30 | 31 | def to_native(self, value, context=None): 32 | if not isinstance(value, bson.objectid.ObjectId): 33 | try: 34 | value = bson.objectid.ObjectId(str(value)) 35 | except bson.objectid.InvalidId: 36 | raise ConversionError(self.messages['convert']) 37 | return value 38 | 39 | def to_primitive(self, value, context=None): 40 | return str(value) 41 | 42 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/datastructures.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/datastructures.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/exceptions.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/exceptions.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/models.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/models.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/transforms.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/transforms.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/__init__.py: -------------------------------------------------------------------------------- 1 | from ..common import * 2 | 3 | from .base import * 4 | from .compound import * 5 | from .net import * 6 | from .serializable import * 7 | from .union import * 8 | 9 | __all__ = package_exports(__name__) 10 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/base.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/base.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/compound.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/compound.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/net.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/net.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/serializable.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/serializable.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/union.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/types/union.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/undefined.py: -------------------------------------------------------------------------------- 1 | class UndefinedType(object): 2 | 3 | _instance = None 4 | 5 | def __str__(self): 6 | return 'Undefined' 7 | 8 | def __repr__(self): 9 | return 'Undefined' 10 | 11 | def __eq__(self, other): 12 | return self is other 13 | 14 | def __ne__(self, other): 15 | return self is not other 16 | 17 | def __bool__(self): 18 | return False 19 | 20 | __nonzero__ = __bool__ 21 | 22 | def __lt__(self, other): 23 | self._cmp_err(other, '<') 24 | 25 | def __gt__(self, other): 26 | self._cmp_err(other, '>') 27 | 28 | def __le__(self, other): 29 | self._cmp_err(other, '<=') 30 | 31 | def __ge__(self, other): 32 | self._cmp_err(other, '>=') 33 | 34 | def _cmp_err(self, other, op): 35 | raise TypeError("unorderable types: {0}() {1} {2}()".format( 36 | self.__class__.__name__, op, other.__class__.__name__)) 37 | 38 | def __new__(cls, *args, **kwargs): 39 | if cls._instance is None: 40 | cls._instance = object.__new__(cls) 41 | elif cls is not UndefinedType: 42 | raise TypeError("type 'UndefinedType' is not an acceptable base type") 43 | return cls._instance 44 | 45 | def __init__(self): 46 | pass 47 | 48 | def __setattr__(self, name, value): 49 | raise TypeError("'UndefinedType' object does not support attribute assignment") 50 | 51 | 52 | Undefined = UndefinedType() 53 | 54 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/undefined.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/undefined.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/util.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/util.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/validate.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/schematics/validate.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Kirill Simonov and Reuven V. Gonzales 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | 21 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/composer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/composer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/constructor.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/constructor.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/cyaml.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/cyaml.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/dumper.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/dumper.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/emitter.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/emitter.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/error.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/error.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/events.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/events.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/loader.py: -------------------------------------------------------------------------------- 1 | 2 | __all__ = ['BaseLoader', 'SafeLoader', 'Loader'] 3 | 4 | from .reader import * 5 | from .scanner import * 6 | from .parser import * 7 | from .composer import * 8 | from .constructor import * 9 | from .resolver import * 10 | 11 | class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): 12 | 13 | def __init__(self, stream): 14 | Reader.__init__(self, stream) 15 | Scanner.__init__(self) 16 | Parser.__init__(self) 17 | Composer.__init__(self) 18 | BaseConstructor.__init__(self) 19 | BaseResolver.__init__(self) 20 | 21 | class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): 22 | 23 | def __init__(self, stream): 24 | Reader.__init__(self, stream) 25 | Scanner.__init__(self) 26 | Parser.__init__(self) 27 | Composer.__init__(self) 28 | SafeConstructor.__init__(self) 29 | Resolver.__init__(self) 30 | 31 | class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 32 | 33 | def __init__(self, stream): 34 | Reader.__init__(self, stream) 35 | Scanner.__init__(self) 36 | Parser.__init__(self) 37 | Composer.__init__(self) 38 | Constructor.__init__(self) 39 | Resolver.__init__(self) 40 | 41 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/loader.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/loader.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/nodes.py: -------------------------------------------------------------------------------- 1 | 2 | class Node(object): 3 | def __init__(self, tag, value, start_mark, end_mark): 4 | self.tag = tag 5 | self.value = value 6 | self.start_mark = start_mark 7 | self.end_mark = end_mark 8 | def __repr__(self): 9 | value = self.value 10 | #if isinstance(value, list): 11 | # if len(value) == 0: 12 | # value = '' 13 | # elif len(value) == 1: 14 | # value = '<1 item>' 15 | # else: 16 | # value = '<%d items>' % len(value) 17 | #else: 18 | # if len(value) > 75: 19 | # value = repr(value[:70]+u' ... ') 20 | # else: 21 | # value = repr(value) 22 | value = repr(value) 23 | return '%s(tag=%r, value=%s)' % (self.__class__.__name__, self.tag, value) 24 | 25 | class ScalarNode(Node): 26 | id = 'scalar' 27 | def __init__(self, tag, value, 28 | start_mark=None, end_mark=None, style=None): 29 | self.tag = tag 30 | self.value = value 31 | self.start_mark = start_mark 32 | self.end_mark = end_mark 33 | self.style = style 34 | 35 | class CollectionNode(Node): 36 | def __init__(self, tag, value, 37 | start_mark=None, end_mark=None, flow_style=None): 38 | self.tag = tag 39 | self.value = value 40 | self.start_mark = start_mark 41 | self.end_mark = end_mark 42 | self.flow_style = flow_style 43 | 44 | class SequenceNode(CollectionNode): 45 | id = 'sequence' 46 | 47 | class MappingNode(CollectionNode): 48 | id = 'mapping' 49 | 50 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/nodes.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/nodes.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/parser.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/parser.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/reader.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/reader.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/representer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/representer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/resolver.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/resolver.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/scanner.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/scanner.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/serializer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/serializer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/tokens.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/simpleyaml/tokens.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014-2016 Grant Jenks 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | 15 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sorteddict.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sorteddict.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sortedlist.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sortedlist.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sortedset.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/sortedcontainers/sortedset.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011-2015 Splunk, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"): you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | 15 | """Python library for Splunk.""" 16 | 17 | __version_info__ = (1, 6, 0) 18 | __version__ = ".".join(map(str, __version_info__)) 19 | 20 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/binding.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/binding.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/data.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/data.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/__init__.py: -------------------------------------------------------------------------------- 1 | """The following imports allow these classes to be imported via 2 | the splunklib.modularinput package like so: 3 | 4 | from splunklib.modularinput import * 5 | """ 6 | from .argument import Argument 7 | from .event import Event 8 | from .event_writer import EventWriter 9 | from .input_definition import InputDefinition 10 | from .scheme import Scheme 11 | from .script import Script 12 | from .validation_definition import ValidationDefinition -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/argument.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/argument.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/event.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/event.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/event_writer.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/event_writer.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/input_definition.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/input_definition.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/scheme.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/scheme.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/script.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/script.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/validation_definition.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/packages/splunklib/modularinput/validation_definition.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/pattern.py: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Splunk, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the 'License'): you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | 15 | ''' 16 | This module provides some common used patterns. 17 | ''' 18 | 19 | __all__ = ['Singleton'] 20 | 21 | 22 | class Singleton(type): 23 | ''' 24 | Singleton meta class 25 | 26 | Usage: 27 | 28 | >>> class Test(object): 29 | >>> __metaclass__ = Singleton 30 | >>> 31 | >>> def __init__(self): 32 | >>> pass 33 | ''' 34 | 35 | def __init__(cls, name, bases, attrs): 36 | super(Singleton, cls).__init__(name, bases, attrs) 37 | cls._instance = None 38 | 39 | def __call__(cls, *args, **kwargs): 40 | if cls._instance is None: 41 | cls._instance = super(Singleton, cls).__call__(*args, **kwargs) 42 | return cls._instance 43 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/pattern.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/pattern.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/server_info.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/server_info.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/splunk_rest_client.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/splunk_rest_client.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/splunkenv.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/splunkenv.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/time_parser.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/time_parser.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/timer_queue.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/timer_queue.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/user_access.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/user_access.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/solnlib/utils.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/solnlib/utils.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/sortedcontainers/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/sortedcontainers/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sorteddict.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sorteddict.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sortedlist.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sortedlist.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sortedset.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/sortedcontainers/sortedset.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/__init__.py -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/rest_migration.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/rest_migration.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunk_aoblib/utility.py: -------------------------------------------------------------------------------- 1 | # encoding = utf-8 2 | 3 | import logging 4 | import sys 5 | 6 | def get_stderr_stream_logger(logger_name=None, log_level=logging.INFO): 7 | if logger_name is None: 8 | logger_name = 'aob_default_logger' 9 | logger = logging.getLogger(logger_name) 10 | formatter = logging.Formatter('%(asctime)s - %(name)s - [%(levelname)s] - %(message)s') 11 | stderr_handler = logging.StreamHandler(stream=sys.stderr) 12 | stderr_handler.setLevel(logging.DEBUG) 13 | stderr_handler.setFormatter(formatter) 14 | logger.addHandler(stderr_handler) 15 | logger.setLevel(log_level) 16 | return logger 17 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunklib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011-2015 Splunk, Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"): you may 4 | # not use this file except in compliance with the License. You may obtain 5 | # a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 | # License for the specific language governing permissions and limitations 13 | # under the License. 14 | 15 | """Python library for Splunk.""" 16 | 17 | __version_info__ = (1, 6, 0) 18 | __version__ = ".".join(map(str, __version_info__)) 19 | 20 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunklib/modularinput/__init__.py: -------------------------------------------------------------------------------- 1 | """The following imports allow these classes to be imported via 2 | the splunklib.modularinput package like so: 3 | 4 | from splunklib.modularinput import * 5 | """ 6 | from .argument import Argument 7 | from .event import Event 8 | from .event_writer import EventWriter 9 | from .input_definition import InputDefinition 10 | from .scheme import Scheme 11 | from .script import Script 12 | from .validation_definition import ValidationDefinition 13 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | __version__ = '3.0.1' 3 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/configuration.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/configuration.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/schema.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/global_config/schema.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Custom REST Handler in Splunk add-on. 3 | """ 4 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/admin_external.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/admin_external.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/credentials.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/credentials.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/eai.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/eai.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/__init__.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/field.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/field.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/validator.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/endpoint/validator.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/entity.py: -------------------------------------------------------------------------------- 1 | 2 | from __future__ import absolute_import 3 | 4 | from .eai import RestEAI 5 | 6 | __all__ = ['RestEntity'] 7 | 8 | 9 | class RestEntity(object): 10 | 11 | def __init__(self, name, content, model, user, app, acl=None): 12 | self.name = name 13 | self.content = content 14 | self.model = model 15 | self._eai = RestEAI(self.model, user, app, acl) 16 | 17 | @property 18 | def eai(self): 19 | return self._eai 20 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/entity.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/entity.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/error.py: -------------------------------------------------------------------------------- 1 | """ 2 | Error Handling. 3 | """ 4 | 5 | from __future__ import absolute_import 6 | 7 | __all__ = ['STATUS_CODES', 'RestError'] 8 | 9 | 10 | # HTTP status codes 11 | STATUS_CODES = { 12 | 400: 'Bad Request', 13 | 401: 'Unauthorized', 14 | 402: 'Payment Required', 15 | 403: 'Forbidden', 16 | 404: 'Not Found', 17 | 405: 'Method Not Allowed', 18 | 406: 'Not Acceptable', 19 | 407: 'Proxy Authentication Required', 20 | 408: 'Request Timeout', 21 | 409: 'Conflict', 22 | 411: 'Length Required', 23 | 500: 'Internal Server Error', 24 | 503: 'Service Unavailable' 25 | } 26 | 27 | 28 | class RestError(Exception): 29 | """ 30 | REST Error. 31 | """ 32 | 33 | def __init__(self, status, message): 34 | self.status = status 35 | self.reason = STATUS_CODES.get( 36 | status, 37 | 'Unknown Error', 38 | ) 39 | self.message = message 40 | err_msg = 'REST Error [%(status)s]: %(reason)s -- %(message)s' % { 41 | 'status': self.status, 42 | 'reason': self.reason, 43 | 'message': self.message 44 | } 45 | super(RestError, self).__init__(err_msg) 46 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/error.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/error.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/handler.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/handler.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/schema.py: -------------------------------------------------------------------------------- 1 | """ 2 | REST Schema 3 | """ 4 | 5 | from __future__ import absolute_import 6 | 7 | from abc import abstractproperty 8 | 9 | __all__ = [ 10 | 'RestSchemaError', 11 | 'RestSchema', 12 | ] 13 | 14 | 15 | class RestSchemaError(Exception): 16 | pass 17 | 18 | 19 | class RestSchema(object): 20 | """ 21 | REST Scheme. 22 | """ 23 | 24 | def __init__(self, *args, **kwargs): 25 | pass 26 | 27 | @staticmethod 28 | def endpoint_name(name, namespace): 29 | return '{}_{}'.format(namespace, name) 30 | 31 | @abstractproperty 32 | def product(self): 33 | pass 34 | 35 | @abstractproperty 36 | def namespace(self): 37 | pass 38 | 39 | @abstractproperty 40 | def version(self): 41 | pass 42 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/schema.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/schema.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/util.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | import os.path 4 | 5 | from .error import RestError 6 | 7 | 8 | __all__ = [ 9 | 'get_base_app_name', 10 | 'remove_http_proxy_env_vars', 11 | ] 12 | 13 | 14 | def get_base_app_name(): 15 | """ 16 | Base App name, which this script belongs to. 17 | """ 18 | import __main__ 19 | main_name = __main__.__file__ 20 | absolute_path = os.path.normpath(main_name) 21 | parts = absolute_path.split(os.path.sep) 22 | parts.reverse() 23 | for key in ("apps", "slave-apps", "master-apps"): 24 | try: 25 | idx = parts.index(key) 26 | if parts[idx + 1] == "etc": 27 | return parts[idx - 1] 28 | except (ValueError, IndexError): 29 | pass 30 | raise RestError( 31 | status=500, 32 | message='Cannot get app name from file: %s' % main_name 33 | ) 34 | 35 | 36 | def remove_http_proxy_env_vars(): 37 | for k in ("http_proxy", "https_proxy"): 38 | if k in os.environ: 39 | del os.environ[k] 40 | elif k.upper() in os.environ: 41 | del os.environ[k.upper()] 42 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/util.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc/splunktaucclib/rest_handler/util.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc_declare.py: -------------------------------------------------------------------------------- 1 | # encode = utf-8 2 | 3 | """ 4 | This module is used to filter and reload PATH. 5 | This file is genrated by Splunk add-on builder 6 | """ 7 | 8 | import os 9 | import sys 10 | import re 11 | 12 | ta_name = 'TA-tweettioc' 13 | ta_lib_name = 'ta_tweettioc' 14 | pattern = re.compile(r"[\\/]etc[\\/]apps[\\/][^\\/]+[\\/]bin[\\/]?$") 15 | new_paths = [path for path in sys.path if not pattern.search(path) or ta_name in path] 16 | new_paths.insert(0, os.path.sep.join([os.path.dirname(__file__), ta_lib_name])) 17 | sys.path = new_paths -------------------------------------------------------------------------------- /TA-tweettioc/bin/ta_tweettioc_declare.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/bin/ta_tweettioc_declare.pyc -------------------------------------------------------------------------------- /TA-tweettioc/bin/tweettioc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | """ 3 | This file is generate by AoB. 4 | Please do not change it. 5 | """ 6 | import os 7 | import re 8 | 9 | #If the ta-folder is a symblink, the following code can not handle it 10 | ta_name = os.path.basename(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 11 | ta_lib_name = re.sub("[^\w]+", "_", ta_name.lower()) 12 | __import__(ta_lib_name + "_declare") 13 | 14 | import cloudconnectlib.splunktacollectorlib.cloud_connect_mod_input as mod_input 15 | 16 | if __name__ == "__main__": 17 | mod_input.run() 18 | -------------------------------------------------------------------------------- /TA-tweettioc/bin/tweettioc_back.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | """ 3 | This file is generate by AoB. 4 | Please do not change it. 5 | """ 6 | import os 7 | import re 8 | 9 | #If the ta-folder is a symblink, the following code can not handle it 10 | ta_name = os.path.basename(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 11 | ta_lib_name = re.sub("[^\w]+", "_", ta_name.lower()) 12 | __import__(ta_lib_name + "_declare") 13 | 14 | import cloudconnectlib.splunktacollectorlib.cloud_connect_mod_input as mod_input 15 | 16 | if __name__ == "__main__": 17 | mod_input.run() 18 | -------------------------------------------------------------------------------- /TA-tweettioc/default/addon_builder.conf: -------------------------------------------------------------------------------- 1 | 2 | [base] 3 | builder_version = 2.2.0 4 | builder_build = 12 5 | is_edited = 1 6 | 7 | -------------------------------------------------------------------------------- /TA-tweettioc/default/app.conf: -------------------------------------------------------------------------------- 1 | # this add-on is powered by splunk Add-on builder 2 | [install] 3 | state_change_requires_restart = true 4 | is_configured = false 5 | state = enabled 6 | build = 2 7 | install_source_checksum = a61c265de0920734d1459f095ff10aeb1d8926b6 8 | 9 | [launcher] 10 | author = FatihSirin 11 | version = 1.0.0 12 | description = tweettioc.com 13 | 14 | [ui] 15 | is_visible = 1 16 | label = Tweettioc 17 | docs_section_override = AddOns:released 18 | 19 | [package] 20 | id = TA-tweettioc 21 | 22 | [triggers] 23 | reload.addon_builder = simple 24 | reload.ta_tweettioc_account = simple 25 | reload.ta_tweettioc_settings = simple 26 | reload.passwords = simple 27 | -------------------------------------------------------------------------------- /TA-tweettioc/default/data/ui/nav/default.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TA-tweettioc/default/indexes.conf: -------------------------------------------------------------------------------- 1 | [twitter] 2 | coldPath = $SPLUNK_DB/twitter/colddb 3 | homePath = $SPLUNK_DB/twitter/db 4 | thawedPath = $SPLUNK_DB/twitter/thaweddb -------------------------------------------------------------------------------- /TA-tweettioc/default/inputs.conf: -------------------------------------------------------------------------------- 1 | [tweettioc://tweettioc] 2 | disabled = 0 3 | index = twitter 4 | interval = 88000 5 | sourcetype = tweettioc 6 | 7 | 8 | [tweettioc_back://tweetioc_back] 9 | index = twitter 10 | interval = 3124138248 11 | disabled = 0 12 | sourcetype = tweettioc 13 | 14 | -------------------------------------------------------------------------------- /TA-tweettioc/default/props.conf: -------------------------------------------------------------------------------- 1 | [source::...ta-tweettioc*.log*] 2 | SHOULD_LINEMERGE = true 3 | sourcetype = ta:tweettioc:log 4 | 5 | [source::...ta_tweettioc*.log*] 6 | SHOULD_LINEMERGE = true 7 | sourcetype = ta:tweettioc:log 8 | 9 | [tweettioc] 10 | KV_MODE = json 11 | SHOULD_LINEMERGE = 0 12 | pulldown_type = 1 13 | FIELDALIAS-ip = ip{} as ip 14 | FIELDALIAS-domain = domain{} as domain 15 | FIELDALIAS-mail = mail{} as mail 16 | FIELDALIAS-reference = reference{} as reference 17 | FIELDALIAS-md5 = md5{} as md5 18 | FIELDALIAS-sha1 = sha1{} as sha1 19 | FIELDALIAS-sha256 = sha256{} as sha256 20 | FIELDALIAS-url = url{} as url 21 | FIELDALIAS-tweet_date = tweet.date.$date as tweet_date 22 | FIELDALIAS-favorites = tweet.favorites as favorites 23 | FIELDALIAS-hashtags = tweet.hashtags{} as hashtags 24 | FIELDALIAS-link = tweet.link as link 25 | FIELDALIAS-mentions = tweet.mentions{} as mentions 26 | FIELDALIAS-retweets = tweet.retweets as retweets 27 | FIELDALIAS-tweet = tweet.tweet as tweet 28 | FIELDALIAS-user = tweet.user as user 29 | FIELDALIAS-timestamp = tweet.timestamp as timestamp 30 | FIELDALIAS-id = tweet.id as id -------------------------------------------------------------------------------- /TA-tweettioc/default/restmap.conf: -------------------------------------------------------------------------------- 1 | 2 | [admin:TA_tweettioc] 3 | match = / 4 | members = TA_tweettioc_settings, TA_tweettioc_tweettioc_back, TA_tweettioc_tweettioc 5 | 6 | [admin_external:TA_tweettioc_settings] 7 | handlertype = python 8 | handlerfile = TA_tweettioc_rh_settings.py 9 | handleractions = edit, list 10 | 11 | [admin_external:TA_tweettioc_tweettioc_back] 12 | handlertype = python 13 | handlerfile = TA_tweettioc_rh_tweettioc_back.py 14 | handleractions = edit, list, remove, create 15 | 16 | [admin_external:TA_tweettioc_tweettioc] 17 | handlertype = python 18 | handlerfile = TA_tweettioc_rh_tweettioc.py 19 | handleractions = edit, list, remove, create 20 | -------------------------------------------------------------------------------- /TA-tweettioc/default/savedsearches.conf: -------------------------------------------------------------------------------- 1 |  2 | [Twitter IOC Create Lookup File] 3 | action.email.useNSSubject = 1 4 | alert.track = 0 5 | cron_schedule = 0 1 * * * 6 | description = Twitter IOC Create Lookup File as tweettioc.csv 7 | dispatch.earliest_time = 0 8 | display.general.type = statistics 9 | display.page.search.tab = statistics 10 | display.visualizations.show = 0 11 | enableSched = 1 12 | request.ui_dispatch_app = TA-tweettioc 13 | request.ui_dispatch_view = search 14 | search = index=twitter \ 15 | | eval date=strftime(timestamp,"%F") \ 16 | | fields date domain ip mail md5 sha1 sha256 url tweet user link\ 17 | | table date domain ip mail md5 sha1 sha256 url tweet user link _raw\ 18 | | outputlookup tweettioc.csv 19 | -------------------------------------------------------------------------------- /TA-tweettioc/default/ta_tweettioc_settings.conf: -------------------------------------------------------------------------------- 1 | [logging] 2 | 3 | -------------------------------------------------------------------------------- /TA-tweettioc/default/web.conf: -------------------------------------------------------------------------------- 1 | 2 | [expose:TA_tweettioc_settings] 3 | pattern = TA_tweettioc_settings 4 | methods = POST, GET 5 | 6 | [expose:TA_tweettioc_settings_specified] 7 | pattern = TA_tweettioc_settings/* 8 | methods = POST, GET, DELETE 9 | 10 | [expose:TA_tweettioc_tweettioc_back] 11 | pattern = TA_tweettioc_tweettioc_back 12 | methods = POST, GET 13 | 14 | [expose:TA_tweettioc_tweettioc_back_specified] 15 | pattern = TA_tweettioc_tweettioc_back/* 16 | methods = POST, GET, DELETE 17 | 18 | [expose:TA_tweettioc_tweettioc] 19 | pattern = TA_tweettioc_tweettioc 20 | methods = POST, GET 21 | 22 | [expose:TA_tweettioc_tweettioc_specified] 23 | pattern = TA_tweettioc_tweettioc/* 24 | methods = POST, GET, DELETE 25 | 26 | [expose:_splunkd_data] 27 | pattern = data/* 28 | methods = GET 29 | -------------------------------------------------------------------------------- /TA-tweettioc/metadata/default.meta: -------------------------------------------------------------------------------- 1 | 2 | [] 3 | access = read : [ * ], write : [ admin ] 4 | export = system 5 | 6 | [views] 7 | access = read : [ * ], write : [ admin ] 8 | export = none 9 | -------------------------------------------------------------------------------- /TA-tweettioc/static/appIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/static/appIcon.png -------------------------------------------------------------------------------- /TA-tweettioc/static/appIconAlt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/static/appIconAlt.png -------------------------------------------------------------------------------- /TA-tweettioc/static/appIconAlt_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/static/appIconAlt_2x.png -------------------------------------------------------------------------------- /TA-tweettioc/static/appIcon_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/TA-tweettioc/static/appIcon_2x.png -------------------------------------------------------------------------------- /img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/img/1.png -------------------------------------------------------------------------------- /img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/img/2.png -------------------------------------------------------------------------------- /img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatihsirin/Tweettioc-Splunk-App/13420081b4d4059179213d96a0d40f018cd639a2/img/3.png --------------------------------------------------------------------------------