SYMBOL INDEX (1840 symbols across 132 files) FILE: minemeld/chassis.py class Chassis (line 38) | class Chassis(object): method __init__ (line 47) | def __init__(self, fabricclass, fabricconfig, mgmtbusconfig): method _dynamic_load (line 76) | def _dynamic_load(self, classname): method get_ft (line 82) | def get_ft(self, ftname): method configure (line 85) | def configure(self, config): method request_mgmtbus_channel (line 120) | def request_mgmtbus_channel(self, ft): method request_rpc_channel (line 123) | def request_rpc_channel(self, ftname, ft, allowed_methods=None): method request_pub_channel (line 128) | def request_pub_channel(self, ftname): method request_sub_channel (line 131) | def request_sub_channel(self, ftname, ft, subname, allowed_methods=None): method send_rpc (line 136) | def send_rpc(self, sftname, dftname, method, params, block, timeout): method _log_actor (line 140) | def _log_actor(self): method log (line 152) | def log(self, timestamp, nodename, log_type, value): method _status_actor (line 160) | def _status_actor(self): method publish_status (line 171) | def publish_status(self, timestamp, nodename, status): method fabric_failed (line 178) | def fabric_failed(self): method mgmtbus_failed (line 181) | def mgmtbus_failed(self): method mgmtbus_start (line 185) | def mgmtbus_start(self): method fts_init (line 190) | def fts_init(self): method stop (line 196) | def stop(self): method start (line 223) | def start(self): FILE: minemeld/collectd.py class CollectdClient (line 27) | class CollectdClient(object): method __init__ (line 33) | def __init__(self, path): method _open_socket (line 37) | def _open_socket(self): method _readline (line 46) | def _readline(self): method _send_cmd (line 56) | def _send_cmd(self, command): method flush (line 73) | def flush(self, identifier=None, timeout=None): method putval (line 84) | def putval(self, identifier, value, timestamp='N', FILE: minemeld/comm/__init__.py function factory (line 6) | def factory(commclass, config): function cleanup (line 13) | def cleanup(commclass, config): FILE: minemeld/comm/zmqredis.py class RedisPubChannel (line 40) | class RedisPubChannel(object): method __init__ (line 41) | def __init__(self, topic, connection_pool): method connect (line 50) | def connect(self): method disconnect (line 58) | def disconnect(self): method lagger (line 64) | def lagger(self): method gc (line 79) | def gc(self, lagger): method publish (line 99) | def publish(self, method, params=None): class ZMQRpcFanoutClientChannel (line 137) | class ZMQRpcFanoutClientChannel(object): method __init__ (line 138) | def __init__(self, fanout): method run (line 146) | def run(self): method send_rpc (line 187) | def send_rpc(self, method, params=None, num_results=0, and_discard=Fal... method connect (line 232) | def connect(self, context): method disconnect (line 244) | def disconnect(self): class ZMQRpcServerChannel (line 255) | class ZMQRpcServerChannel(object): method __init__ (line 256) | def __init__(self, name, obj, allowed_methods=None, method _send_result (line 271) | def _send_result(self, reply_to, id_, result=None, error=None): method run (line 293) | def run(self): method connect (line 345) | def connect(self, context): method disconnect (line 371) | def disconnect(self): class ZMQPubChannel (line 377) | class ZMQPubChannel(object): method __init__ (line 378) | def __init__(self, topic): method publish (line 384) | def publish(self, method, params=None): method connect (line 409) | def connect(self, context): method disconnect (line 418) | def disconnect(self): class ZMQSubChannel (line 426) | class ZMQSubChannel(object): method __init__ (line 427) | def __init__(self, name, obj, allowed_methods=None, method run (line 442) | def run(self): method connect (line 482) | def connect(self, context): method disconnect (line 492) | def disconnect(self): class RedisSubChannel (line 498) | class RedisSubChannel(object): method __init__ (line 499) | def __init__(self, topic, connection_pool, object_, method _callback (line 513) | def _callback(self, msg): method connect (line 547) | def connect(self): method disconnect (line 561) | def disconnect(self): class ZMQRedis (line 565) | class ZMQRedis(object): method __init__ (line 566) | def __init__(self, config): method add_failure_listener (line 588) | def add_failure_listener(self, listener): method request_rpc_server_channel (line 591) | def request_rpc_server_channel(self, name, obj=None, allowed_methods=N... method request_rpc_fanout_client_channel (line 607) | def request_rpc_fanout_client_channel(self, topic): method request_pub_channel (line 612) | def request_pub_channel(self, topic, multi_write=False): method request_sub_channel (line 627) | def request_sub_channel(self, topic, obj=None, allowed_methods=None, method send_rpc (line 652) | def send_rpc(self, dest, method, params, method _ioloop (line 702) | def _ioloop(self, executor): method _sub_ioloop (line 705) | def _sub_ioloop(self, schannel): method _ioloop_failure (line 743) | def _ioloop_failure(self, g): method start (line 757) | def start(self, start_dispatching=True): method start_dispatching (line 781) | def start_dispatching(self): method stop (line 802) | def stop(self): method cleanup (line 850) | def cleanup(config): FILE: minemeld/extensions/manager.py function _egg_link_path (line 65) | def _egg_link_path(dist): function _read_metadata (line 73) | def _read_metadata(metadata_str): function _read_entry_points (line 77) | def _read_entry_points(ep_contents): function _activated_extensions (line 87) | def _activated_extensions(): function _load_metadata_from_wheel (line 150) | def _load_metadata_from_wheel(extpath, extname=None): function _load_metadata_from_dir (line 203) | def _load_metadata_from_dir(extpath): function _is_activated (line 219) | def _is_activated(installed_extension, activated): function get_metadata_from_wheel (line 237) | def get_metadata_from_wheel(wheelpath, wheelname=None): function installed_extensions (line 241) | def installed_extensions(installation_dir): function activated_extensions (line 276) | def activated_extensions(): function extensions (line 280) | def extensions(installation_dir): function freeze (line 309) | def freeze(installation_dir): function load_frozen_paths (line 329) | def load_frozen_paths(freeze_file): FILE: minemeld/fabric.py class Fabric (line 32) | class Fabric(object): method __init__ (line 40) | def __init__(self, chassis, config, comm_class): method request_rpc_channel (line 48) | def request_rpc_channel(self, ftname, node, allowed_methods): method request_pub_channel (line 58) | def request_pub_channel(self, ftname): method request_sub_channel (line 66) | def request_sub_channel(self, ftname, node, subname, allowed_methods): method send_rpc (line 78) | def send_rpc(self, sftname, dftname, method, params, method _comm_failure (line 99) | def _comm_failure(self): method start (line 102) | def start(self): method start_dispatching (line 107) | def start_dispatching(self): method stop (line 110) | def stop(self): function factory (line 115) | def factory(classname, chassis, config): FILE: minemeld/flask/__init__.py function create_app (line 27) | def create_app(): FILE: minemeld/flask/aaa.py function disable_prevent_write (line 33) | def disable_prevent_write(locker): function enable_prevent_write (line 42) | def enable_prevent_write(locker, timeout=900): class MMBlueprint (line 58) | class MMBlueprint(Blueprint): method __init__ (line 59) | def __init__(self, *args, **kwargs): method _audit (line 69) | def _audit(self, f, audit_required): method _login_required (line 104) | def _login_required(self, f, login_required, read_write, feeds): method _write_prevented (line 129) | def _write_prevented(self, f, read_write): method route (line 139) | def route(self, rule, **options): class MMAnonynmousUser (line 156) | class MMAnonynmousUser(object): method __init__ (line 157) | def __init__(self): method get_id (line 160) | def get_id(self): method is_authenticated (line 163) | def is_authenticated(self): method is_active (line 166) | def is_active(self): method is_anonymous (line 169) | def is_anonymous(self): method is_read_write (line 172) | def is_read_write(self): method check_feed (line 175) | def check_feed(self, feedname): class MMAuthenticatedUser (line 189) | class MMAuthenticatedUser(object): method __init__ (line 190) | def __init__(self, _id=None): method get_id (line 193) | def get_id(self): method is_authenticated (line 196) | def is_authenticated(self): method is_active (line 199) | def is_active(self): method is_anonymous (line 202) | def is_anonymous(self): class MMAuthenticatedAdminUser (line 206) | class MMAuthenticatedAdminUser(MMAuthenticatedUser): method __init__ (line 207) | def __init__(self, _id): method is_read_write (line 210) | def is_read_write(self): method check_feed (line 226) | def check_feed(self, feedname): class MMAuthenticatedFeedUser (line 230) | class MMAuthenticatedFeedUser(MMAuthenticatedUser): method __init__ (line 231) | def __init__(self, _id): method is_read_write (line 234) | def is_read_write(self): method check_feed (line 238) | def check_feed(self, feedname): function authenticated_user_factory (line 260) | def authenticated_user_factory(_id): function request_loader (line 279) | def request_loader(request): function user_loader (line 308) | def user_loader(_id): function check_feeds_user (line 312) | def check_feeds_user(username, password): function check_admin_user (line 319) | def check_admin_user(username, password): function unauthorized (line 327) | def unauthorized(): function init_app (line 331) | def init_app(app): FILE: minemeld/flask/aaaapi.py function get_current_user (line 63) | def get_current_user(): function get_users (line 71) | def get_users(subsystem): function set_user_password (line 92) | def set_user_password(subsystem, username): function set_user_attributes (line 114) | def set_user_attributes(subsystem, username): function delete_user (line 141) | def delete_user(subsystem, username): function get_feeds (line 161) | def get_feeds(): function set_feed_attributes (line 173) | def set_feed_attributes(feedname): function delete_feed (line 189) | def delete_feed(feedname): function get_tags (line 197) | def get_tags(): FILE: minemeld/flask/cbfeed.py class CbFeed (line 5) | class CbFeed(object): method __init__ (line 6) | def __init__(self, feedinfo, reports): method dump (line 10) | def dump(self): class CbFeedInfo (line 14) | class CbFeedInfo(object): method __init__ (line 15) | def __init__(self, **kwargs): method dump (line 31) | def dump(self): method iterate (line 34) | def iterate(self): class CbReport (line 44) | class CbReport(object): method __init__ (line 45) | def __init__(self, **kwargs): method dump (line 66) | def dump(self): method iterate (line 69) | def iterate(self): class MinemeldIcon (line 79) | class MinemeldIcon(object): FILE: minemeld/flask/config.py function get (line 40) | def get(key, default=None): function store (line 63) | def store(file, value): function lock (line 69) | def lock(): class APIConfigDict (line 73) | class APIConfigDict(object): method __init__ (line 74) | def __init__(self, attribute, level=50): method set (line 78) | def set(self, key, value): method delete (line 83) | def delete(self, key): method value (line 88) | def value(self): function _load_config (line 92) | def _load_config(config_path): function _load_auth_dbs (line 133) | def _load_auth_dbs(config_path): function _config_monitor (line 164) | def _config_monitor(config_path): function init (line 192) | def init(): FILE: minemeld/flask/configapi.py class VersionMismatchError (line 47) | class VersionMismatchError(Exception): class MMConfigVersion (line 51) | class MMConfigVersion(object): method __init__ (line 52) | def __init__(self, version=None): method __str__ (line 63) | def __str__(self): method __repr__ (line 66) | def __repr__(self): method __eq__ (line 69) | def __eq__(self, other): method __ne__ (line 72) | def __ne__(self, other): method __iadd__ (line 75) | def __iadd__(self, y): function _lock (line 80) | def _lock(resource): function _lock_timeout (line 92) | def _lock_timeout(resource, timeout=30): function _unlock (line 106) | def _unlock(resource, value): function _redlock (line 119) | def _redlock(f): function _set_stanza (line 141) | def _set_stanza(stanza, value, version, config_key=REDIS_KEY_CONFIG): function _get_stanza (line 157) | def _get_stanza(stanza, config_key=REDIS_KEY_CONFIG): function _load_running_config (line 174) | def _load_running_config(): function _load_committed_config (line 178) | def _load_committed_config(): function _load_config_from_file (line 182) | def _load_config_from_file(rcpath): function _commit_config (line 235) | def _commit_config(version): function _config_full (line 298) | def _config_full(): function _config_info (line 311) | def _config_info(): function _create_node (line 331) | def _create_node(nodebody): function _delete_node (line 356) | def _delete_node(nodenum, version): function _set_node (line 373) | def _set_node(nodenum, nodebody): function get_running_config (line 390) | def get_running_config(): function get_committed_config (line 395) | def get_committed_config(): function reload_running_config (line 401) | def reload_running_config(): function commit (line 420) | def commit(): function get_config_info (line 445) | def get_config_info(): function get_config_full (line 455) | def get_config_full(): function get_fabric (line 466) | def get_fabric(): function get_mgmtbus (line 479) | def get_mgmtbus(): function create_node (line 492) | def create_node(): function get_node (line 509) | def get_node(nodenum): function set_node (line 528) | def set_node(nodenum): function delete_node (line 551) | def delete_node(nodenum): function _init_config (line 572) | def _init_config(): function init_app (line 586) | def init_app(app): FILE: minemeld/flask/configdataapi.py function _safe_remove (line 43) | def _safe_remove(path, g=None): class _CDataYaml (line 50) | class _CDataYaml(object): method __init__ (line 51) | def __init__(self, cpath, datafilename): method read (line 55) | def read(self): method create (line 79) | def create(self): method append (line 104) | def append(self): class _CDataLocalDB (line 143) | class _CDataLocalDB(object): method __init__ (line 144) | def __init__(self, cpath, datafilename): method read (line 149) | def read(self): method create (line 177) | def create(self): method _parse_text_data (line 180) | def _parse_text_data(self, data): method append (line 252) | def append(self): class _CDataUploadOnly (line 313) | class _CDataUploadOnly(object): method __init__ (line 314) | def __init__(self, extension, cpath, datafilename): method read (line 319) | def read(self): method create (line 330) | def create(self): class _CDataCertificate (line 356) | class _CDataCertificate(_CDataUploadOnly): method __init__ (line 357) | def __init__(self, cpath, datafilename): class _CDataPrivateKey (line 365) | class _CDataPrivateKey(_CDataUploadOnly): method __init__ (line 366) | def __init__(self, cpath, datafilename): function get_config_data (line 376) | def get_config_data(datafilename): function save_config_data (line 394) | def save_config_data(datafilename): function append_config_data (line 421) | def append_config_data(datafilename): FILE: minemeld/flask/events.py class StatusEventsSubscriber (line 16) | class StatusEventsSubscriber(object): method __init__ (line 20) | def __init__(self, connection_pool): method _retry_wrap (line 25) | def _retry_wrap(self): method _listen (line 36) | def _listen(self): method start (line 54) | def start(self): class EventsReceiver (line 60) | class EventsReceiver(object): method __init__ (line 61) | def __init__(self): method _signal_receiver (line 67) | def _signal_receiver(self, sender, data): method _generator (line 74) | def _generator(self): method __iter__ (line 88) | def __iter__(self): method next (line 91) | def next(self): method close (line 96) | def close(self): function get_EventsGenerator (line 100) | def get_EventsGenerator(): function teardown (line 112) | def teardown(exception): function init_app (line 119) | def init_app(app, redis_url): FILE: minemeld/flask/extensionsapi.py function _get_extensions (line 49) | def _get_extensions(): function _build_activate_args (line 57) | def _build_activate_args(ext_path): function _build_deactivate_args (line 82) | def _build_deactivate_args(extension_name): function _find_running_job (line 96) | def _find_running_job(extension, jobs): function _load_frozen_paths (line 107) | def _load_frozen_paths(): function _update_freeze_file (line 125) | def _update_freeze_file(): function _extensions_changed (line 141) | def _extensions_changed(activated_path, deactivated_path, g): function _safe_remove (line 159) | def _safe_remove(path, g=None): function list_extensions (line 167) | def list_extensions(): function activate_extension (line 185) | def activate_extension(extension): function deactivate_extension (line 241) | def deactivate_extension(extension): function uninstall_extension (line 297) | def uninstall_extension(extension): function upload_extension (line 349) | def upload_extension(): function get_git_refs (line 407) | def get_git_refs(): function install_from_git (line 452) | def install_from_git(): function init_app (line 505) | def init_app(app): FILE: minemeld/flask/feedredis.py function _translate_ip_ranges (line 47) | def _translate_ip_ranges(indicator, value=None): function _extract_cidrs (line 60) | def _extract_cidrs(indicator): function _buffer (line 71) | def _buffer(): function generate_panosurl_feed (line 80) | def generate_panosurl_feed(feed, start, num, desc, value, **kwargs): function generate_plain_feed (line 139) | def generate_plain_feed(feed, start, num, desc, value, **kwargs): function generate_json_feed (line 182) | def generate_json_feed(feed, start, num, desc, value, **kwargs): function generate_csv_feed (line 245) | def generate_csv_feed(feed, start, num, desc, value, **kwargs): function generate_mwg_feed (line 353) | def generate_mwg_feed(feed, start, num, desc, value, **kwargs): function generate_bluecoat_feed (line 410) | def generate_bluecoat_feed(feed, start, num, desc, value, **kwargs): function generate_carbon_black (line 451) | def generate_carbon_black(feed, start, num, desc, value, **kwargs): function get_feed_content (line 556) | def get_feed_content(feed): FILE: minemeld/flask/jobs.py class JobsManager (line 51) | class JobsManager(object): method __init__ (line 52) | def __init__(self, connection_pool): method _safe_rmtree (line 56) | def _safe_rmtree(self, path): method _safe_remove (line 59) | def _safe_remove(self, path): method _get_job_status (line 65) | def _get_job_status(self, jobpid, jobhash): method _collect_job (line 85) | def _collect_job(self, jobdata): method _job_monitor_glet (line 95) | def _job_monitor_glet(self, job_group, jobid, description, args, data): method _job_timeout_glet (line 166) | def _job_timeout_glet(self, job_group, jobid, timeout): method delete_job (line 189) | def delete_job(self, job_group, jobid): method get_jobs (line 206) | def get_jobs(self, job_group): method exec_job (line 235) | def exec_job(self, job_group, description, args, data=None, callback=N... function get_JobsManager (line 254) | def get_JobsManager(): function teardown (line 262) | def teardown(exception): function init_app (line 277) | def init_app(app): FILE: minemeld/flask/jobsapi.py function get_jobs (line 32) | def get_jobs(job_group): function get_job (line 39) | def get_job(job_group, jobid): function get_job_log (line 48) | def get_job_log(job_group, jobid): FILE: minemeld/flask/logger.py class MMLogger (line 11) | class MMLogger(object): method __init__ (line 12) | def __init__(self): method init_app (line 18) | def init_app(self, app): method _init_logger (line 23) | def _init_logger(self, logger): method debug (line 34) | def debug(self, *args, **kwargs): method info (line 40) | def info(self, *args, **kwargs): method warning (line 46) | def warning(self, *args, **kwargs): method error (line 52) | def error(self, *args, **kwargs): method critical (line 58) | def critical(self, *args, **kwargs): method exception (line 64) | def exception(self, *args, **kwargs): method audit (line 70) | def audit(self, user_id, action_name, params, msg=None): FILE: minemeld/flask/loginapi.py function login (line 29) | def login(): function logout (line 47) | def logout(): FILE: minemeld/flask/logsapi.py function get_minemeld_engine_log (line 29) | def get_minemeld_engine_log(): function get_minemeld_web_log (line 38) | def get_minemeld_web_log(): FILE: minemeld/flask/metricsapi.py function _list_metrics (line 41) | def _list_metrics(prefix=None): function _fetch_metric (line 50) | def _fetch_metric(cc, metric, type_=None, function get_metrics (line 95) | def get_metrics(): function get_node_type_metrics (line 100) | def get_node_type_metrics(nodetype): function get_global_metrics (line 140) | def get_global_metrics(): function get_node_metrics (line 183) | def get_node_metrics(node): function get_metric (line 224) | def get_metric(node, metric): FILE: minemeld/flask/mmrpc.py class _MMMasterConnection (line 20) | class _MMMasterConnection(object): method __init__ (line 21) | def __init__(self): method _open_channel (line 28) | def _open_channel(self): method _send_cmd (line 38) | def _send_cmd(self, method, params={}): method status (line 48) | def status(self): method stop (line 51) | def stop(self): class _MMRpcClient (line 57) | class _MMRpcClient(object): method __init__ (line 58) | def __init__(self): method _open_channel (line 65) | def _open_channel(self): method send_raw_cmd (line 75) | def send_raw_cmd(self, target, method, params={}, timeout=10): method send_cmd (line 80) | def send_cmd(self, target, method, params={}, timeout=10): method stop (line 85) | def stop(self): function get_mmmaster (line 91) | def get_mmmaster(): function get_mmrpcclient (line 102) | def get_mmrpcclient(): function teardown (line 113) | def teardown(exception): function init_app (line 125) | def init_app(app): FILE: minemeld/flask/prototypeapi.py function _prototype_paths (line 43) | def _prototype_paths(): function _local_library_path (line 78) | def _local_library_path(prototypename): function list_prototypes (line 116) | def list_prototypes(): function get_prototype (line 148) | def get_prototype(prototypename): function add_local_prototype (line 213) | def add_local_prototype(prototypename): function delete_local_prototype (line 285) | def delete_local_prototype(prototypename): function reset_prototype_paths (line 326) | def reset_prototype_paths(): FILE: minemeld/flask/redisclient.py function get_SR (line 21) | def get_SR(): function teardown (line 29) | def teardown(exception): function init_app (line 44) | def init_app(app): FILE: minemeld/flask/session.py class RedisSession (line 31) | class RedisSession(werkzeug.datastructures.CallbackDict, flask.sessions.... method __init__ (line 32) | def __init__(self, initial=None, sid=None, new=False): class RedisSessionInterface (line 41) | class RedisSessionInterface(flask.sessions.SessionInterface): method __init__ (line 45) | def __init__(self, redis_=None, prefix='mm-session:'): method generate_sid (line 57) | def generate_sid(self): method get_redis_expiration_time (line 60) | def get_redis_expiration_time(self, app, session): method open_session (line 63) | def open_session(self, app, request): method save_session (line 82) | def save_session(self, app, session, response): function init_app (line 112) | def init_app(app, redis_url): FILE: minemeld/flask/sns.py class Sns (line 19) | class Sns(object): method __init__ (line 20) | def __init__(self, path): method get_status (line 26) | def get_status(self): method _init_uuid (line 29) | def _init_uuid(self): method _send_message (line 69) | def _send_message(self, kvmessage): method _hello_world (line 86) | def _hello_world(self): method make_wish (line 89) | def make_wish(self, message): method send_stats (line 93) | def send_stats(self, stats): function init_app (line 98) | def init_app(): FILE: minemeld/flask/statusapi.py class _PubSubWrapper (line 45) | class _PubSubWrapper(object): method __init__ (line 46) | def __init__(self, subscription, pattern=False): method _listen (line 58) | def _listen(self): method _msg_generator (line 63) | def _msg_generator(self): method __iter__ (line 80) | def __iter__(self): method next (line 83) | def next(self): method close (line 86) | def close(self): function get_query_events (line 97) | def get_query_events(quuid): function get_status_events (line 112) | def get_status_events(): function get_system_status (line 120) | def get_system_status(): function get_system_info (line 136) | def get_system_info(): function get_minemeld_status (line 145) | def get_minemeld_status(): function get_minemeld_running_config (line 161) | def get_minemeld_running_config(): function hup_node (line 174) | def hup_node(nodename): function signal_node (line 191) | def signal_node(nodename, signalname): function _clean_local_backup (line 219) | def _clean_local_backup(local_backup_file, g): function generate_local_backup (line 237) | def generate_local_backup(): function get_local_backup (line 288) | def get_local_backup(jobid): function import_local_backup (line 298) | def import_local_backup(): function _cleanup_after_restore (line 360) | def _cleanup_after_restore(backup_file, locker, g): function restore_local_backup (line 366) | def restore_local_backup(backup_id): function sns_wish (line 467) | def sns_wish(): FILE: minemeld/flask/supervisorapi.py function _restart_engine (line 38) | def _restart_engine(): function service_status (line 79) | def service_status(): function start_minemeld_engine (line 109) | def start_minemeld_engine(): function stop_minemeld_engine (line 116) | def stop_minemeld_engine(): function restart_minemeld_engine (line 123) | def restart_minemeld_engine(): function hup_minemeld_web (line 137) | def hup_minemeld_web(): FILE: minemeld/flask/supervisorclient.py function get_Supervisor (line 14) | def get_Supervisor(): function teardown (line 35) | def teardown(exception): function init_app (line 41) | def init_app(app): FILE: minemeld/flask/taxiicollmgmt.py function taxii_collection_mgmt_service (line 40) | def taxii_collection_mgmt_service(): FILE: minemeld/flask/taxiidiscovery.py function taxii_discovery_service (line 55) | def taxii_discovery_service(): FILE: minemeld/flask/taxiipoll.py function _oldest_indicator_timestamp (line 46) | def _oldest_indicator_timestamp(feed): function _indicators_feed (line 59) | def _indicators_feed(feed, excbegtime, incendtime): function data_feed_11 (line 97) | def data_feed_11(rmsgid, cname, excbegtime, incendtime): function taxii_poll_service (line 146) | def taxii_poll_service(): FILE: minemeld/flask/taxiiutils.py function taxii_make_response (line 24) | def taxii_make_response(m11): function taxii_make_response_10 (line 34) | def taxii_make_response_10(m10): function taxii_check (line 44) | def taxii_check(f): function get_taxii_feeds (line 69) | def get_taxii_feeds(): FILE: minemeld/flask/tracedapi.py function traced_query (line 35) | def traced_query(): function traced_kill_query (line 79) | def traced_kill_query(query_uuid): function traced_purge_all (line 93) | def traced_purge_all(): FILE: minemeld/flask/utils.py class DirSnapshot (line 23) | class DirSnapshot(object): method __init__ (line 24) | def __init__(self, path, regex=None): method _init_snapshot (line 27) | def _init_snapshot(self, path, regex): method __eq__ (line 42) | def __eq__(self, other): method __ne__ (line 45) | def __ne__(self, other): function running_config_path (line 49) | def running_config_path(): function committed_config_path (line 58) | def committed_config_path(): function running_config (line 67) | def running_config(): function committed_config (line 74) | def committed_config(): function safe_remove (line 81) | def safe_remove(path): FILE: minemeld/flask/validateapi.py function _return_validation_error (line 30) | def _return_validation_error(msg): function validate_syslogminerrule (line 37) | def validate_syslogminerrule(): FILE: minemeld/ft/__init__.py function factory (line 4) | def factory(classname, name, chassis, config): class ft_states (line 14) | class ft_states(object): FILE: minemeld/ft/actorbase.py class ActorBaseFT (line 15) | class ActorBaseFT(BaseFT): method __init__ (line 16) | def __init__(self, *args, **kwargs): method command_rebuild (line 23) | def command_rebuild(self): method checkpoint (line 27) | def checkpoint(self, **kwargs): method update (line 31) | def update(self, **kwargs): method withdraw (line 35) | def withdraw(self, **kwargs): method _actor_loop (line 38) | def _actor_loop(self): method start (line 60) | def start(self): method stop (line 68) | def stop(self): FILE: minemeld/ft/anomali.py class Intelligence (line 38) | class Intelligence(basepoller.BasePollerFT): method __init__ (line 39) | def __init__(self, name, chassis, config): method configure (line 44) | def configure(self): method _load_side_config (line 74) | def _load_side_config(self): method _calc_age_out (line 91) | def _calc_age_out(self, indicator, attributes): method _process_item (line 107) | def _process_item(self, item): method _build_iterator (line 166) | def _build_iterator(self, now): method hup (line 240) | def hup(self, source=None): method gc (line 246) | def gc(name, config=None): FILE: minemeld/ft/auscert.py class MaliciousURLFeed (line 26) | class MaliciousURLFeed(http.HttpFT): method configure (line 27) | def configure(self): method _load_side_config (line 40) | def _load_side_config(self): method _build_iterator (line 53) | def _build_iterator(self, now): method hup (line 99) | def hup(self, source=None): FILE: minemeld/ft/autofocus.py class ExportList (line 33) | class ExportList(basepoller.BasePollerFT): method configure (line 34) | def configure(self): method _load_side_config (line 52) | def _load_side_config(self): method _process_item (line 67) | def _process_item(self, row): method _check_for_ip (line 76) | def _check_for_ip(self, indicator): method _type_of_indicator (line 123) | def _type_of_indicator(self, indicator): method _build_iterator (line 133) | def _build_iterator(self, now): method hup (line 155) | def hup(self, source=None): method gc (line 161) | def gc(name, config=None): FILE: minemeld/ft/azure.py function _build_IPv4 (line 44) | def _build_IPv4(nodename, region, iprange): function _build_IP (line 66) | def _build_IP(nodename, address_prefix, **keywords): class AzureXML (line 92) | class AzureXML(basepoller.BasePollerFT): method configure (line 93) | def configure(self): method _process_item (line 99) | def _process_item(self, item): method _build_request (line 103) | def _build_request(self, now): method _build_iterator (line 111) | def _build_iterator(self, now): class AzureJSON (line 176) | class AzureJSON(basepoller.BasePollerFT): method configure (line 177) | def configure(self): method _process_item (line 185) | def _process_item(self, item): method _build_iterator (line 189) | def _build_iterator(self, now): FILE: minemeld/ft/bambenek.py class Miner (line 15) | class Miner(csv.CSVFT): FILE: minemeld/ft/base.py class _Filters (line 37) | class _Filters(object): method __init__ (line 44) | def __init__(self, filters): method apply (line 65) | def apply(self, origin=None, method=None, indicator=None, value=None): function _counting (line 116) | def _counting(statsname): class BaseFT (line 132) | class BaseFT(object): method __init__ (line 192) | def __init__(self, name, chassis, config): method state (line 220) | def state(self): method state (line 224) | def state(self, value): method read_checkpoint (line 231) | def read_checkpoint(self): method create_checkpoint (line 301) | def create_checkpoint(self, value): method remove_checkpoint (line 324) | def remove_checkpoint(self): method _saved_state_restore (line 331) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 334) | def _saved_state_create(self): method configure (line 337) | def configure(self): method connect (line 348) | def connect(self, inputs, output): method apply_infilters (line 383) | def apply_infilters(self, origin, method, indicator, value): method apply_outfilters (line 391) | def apply_outfilters(self, origin, method, indicator, value): method do_rpc (line 399) | def do_rpc(self, dftname, method, block=True, timeout=30, **kwargs): method emit_update (line 404) | def emit_update(self, indicator, value): method emit_withdraw (line 432) | def emit_withdraw(self, indicator, value=None): method emit_checkpoint (line 460) | def emit_checkpoint(self, value): method update (line 470) | def update(self, source=None, indicator=None, value=None): method filtered_update (line 516) | def filtered_update(self, source=None, indicator=None, value=None): method withdraw (line 520) | def withdraw(self, source=None, indicator=None, value=None): method filtered_withdraw (line 560) | def filtered_withdraw(self, source=None, indicator=None, value=None): method checkpoint (line 564) | def checkpoint(self, source=None, value=None): method _full_trace_timeout (line 591) | def _full_trace_timeout(self, timeout): method enable_full_trace (line 598) | def enable_full_trace(self, timeout=600): method publish_status (line 613) | def publish_status(self, force=False): method _internal_publish_status (line 619) | def _internal_publish_status(self): method mgmtbus_state_info (line 628) | def mgmtbus_state_info(self): method mgmtbus_initialize (line 635) | def mgmtbus_initialize(self): method mgmtbus_rebuild (line 641) | def mgmtbus_rebuild(self): method mgmtbus_reset (line 648) | def mgmtbus_reset(self): method mgmtbus_status (line 655) | def mgmtbus_status(self): method mgmtbus_checkpoint (line 675) | def mgmtbus_checkpoint(self, value=None): method mgmtbus_hup (line 686) | def mgmtbus_hup(self, source=None): method mgmtbus_signal (line 689) | def mgmtbus_signal(self, source=None, signal=None, **kwargs): method initialize (line 696) | def initialize(self): method rebuild (line 699) | def rebuild(self): method reset (line 702) | def reset(self): method get_state (line 705) | def get_state(self): method get (line 708) | def get(self, source=None, indicator=None): method get_all (line 711) | def get_all(self, source=None): method get_range (line 714) | def get_range(self, source=None, index=None, from_key=None, to_key=None): method length (line 718) | def length(self, source=None): method hup (line 721) | def hup(self, source=None): method trace (line 724) | def trace(self, action, indicator, **kwargs): method start (line 745) | def start(self): method stop (line 754) | def stop(self): method gc (line 770) | def gc(name, config=None): FILE: minemeld/ft/basepoller.py class _BaseBPTable (line 43) | class _BaseBPTable(object): method __init__ (line 44) | def __init__(self, table): method get (line 47) | def get(self, indicator, itype=None): method delete (line 50) | def delete(self, indicator, itype=None): method put (line 53) | def put(self, indicator, value): method query (line 56) | def query(self, *args, **kwargs): method length (line 59) | def length(self): method close (line 62) | def close(self): method __del__ (line 65) | def __del__(self): class _BPTable_v0 (line 69) | class _BPTable_v0(_BaseBPTable): method __init__ (line 70) | def __init__(self, table): class _BPTable_v1 (line 78) | class _BPTable_v1(_BaseBPTable): method __init__ (line 79) | def __init__(self, table, type_in_key): method get (line 96) | def get(self, indicator, itype=None): method delete (line 102) | def delete(self, indicator, itype=None): method put (line 108) | def put(self, indicator, value): method query (line 115) | def query(self, *args, **kwargs): method _type_key_query (line 124) | def _type_key_query(self, *args, **kwargs): method _type_key_query_with_value (line 128) | def _type_key_query_with_value(self, *args, **kwargs): method _type_key (line 132) | def _type_key(self, indicator, itype): method _type_key_indicator (line 138) | def _type_key_indicator(self, key): function _bptable_factory (line 142) | def _bptable_factory(name, truncate=False, type_in_key=False): class IndicatorStatus (line 167) | class IndicatorStatus(object): method __init__ (line 183) | def __init__(self, indicator, attributes, itable, now, in_feed_thresho... class BasePollerFT (line 201) | class BasePollerFT(base.BaseFT): method __init__ (line 300) | def __init__(self, name, chassis, config): method configure (line 323) | def configure(self): method _saved_state_restore (line 351) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 358) | def _saved_state_create(self): method _saved_state_reset (line 364) | def _saved_state_reset(self): method _initialize_table (line 368) | def _initialize_table(self, truncate=False): method initialize (line 375) | def initialize(self): method rebuild (line 378) | def rebuild(self): method reset (line 384) | def reset(self): method state (line 389) | def state(self, value): method _controlled_emit_update (line 397) | def _controlled_emit_update(self, indicator, value): method _controlled_emit_withdraw (line 404) | def _controlled_emit_withdraw(self, indicator, value): method _age_out (line 411) | def _age_out(self): method _flush (line 444) | def _flush(self): method _sudden_death (line 472) | def _sudden_death(self): method _collect_garbage (line 491) | def _collect_garbage(self): method _compare_attributes (line 508) | def _compare_attributes(self, oa, na): method _update_attributes (line 522) | def _update_attributes(self, current, _new, current_run, new_run): method _aggregate_iterator (line 532) | def _aggregate_iterator(self, iterator): method _aggregate_process_item (line 568) | def _aggregate_process_item(self, item): method _polling_loop (line 571) | def _polling_loop(self): method _rebuild (line 718) | def _rebuild(self): method _poll (line 728) | def _poll(self): method _actor_loop (line 769) | def _actor_loop(self): method _poll_loop (line 815) | def _poll_loop(self): method _age_out_loop (line 863) | def _age_out_loop(self): method _calc_age_out (line 881) | def _calc_age_out(self, indicator, attributes): method _huppable_wait (line 895) | def _huppable_wait(self, deltat): method mgmtbus_status (line 909) | def mgmtbus_status(self): method mgmtbus_signal (line 920) | def mgmtbus_signal(self, source=None, signal=None, **kwargs): method sub_state (line 936) | def sub_state(self): method sub_state (line 940) | def sub_state(self, value): method hup (line 950) | def hup(self, source=None): method length (line 954) | def length(self, source=None): method start (line 957) | def start(self): method stop (line 975) | def stop(self): method gc (line 990) | def gc(name, config=None): FILE: minemeld/ft/cif.py class Feed (line 32) | class Feed(basepoller.BasePollerFT): method configure (line 33) | def configure(self): method _load_side_config (line 55) | def _load_side_config(self): method _process_item (line 77) | def _process_item(self, item): method _build_iterator (line 118) | def _build_iterator(self, now): method hup (line 162) | def hup(self, source=None): method gc (line 168) | def gc(name, config=None): FILE: minemeld/ft/ciscoise.py class ErsSgt (line 24) | class ErsSgt(basepoller.BasePollerFT): method configure (line 25) | def configure(self): method _load_side_config (line 52) | def _load_side_config(self): method _process_item (line 74) | def _process_item(self, item): method _build_iterator (line 77) | def _build_iterator(self, now): method hup (line 96) | def hup(self, source=None): method gc (line 102) | def gc(name, config=None): FILE: minemeld/ft/cofense.py class Triage (line 42) | class Triage(basepoller.BasePollerFT): method configure (line 43) | def configure(self): method _load_side_config (line 78) | def _load_side_config(self): method _process_item (line 107) | def _process_item(self, item): method _build_iterator (line 144) | def _build_iterator(self, now): method _check_number_of_pages (line 161) | def _check_number_of_pages(self, dt_poll_start): method _iterate_over_pages (line 169) | def _iterate_over_pages(self, start_date, num_of_pages): method _perform_api_call (line 177) | def _perform_api_call(self, start_date, page=None): method hup (line 199) | def hup(self, source=None): method gc (line 205) | def gc(name, config=None): FILE: minemeld/ft/condition/BoolExprLexer.py function serializedATN (line 12) | def serializedATN(): class BoolExprLexer (line 59) | class BoolExprLexer(Lexer): method __init__ (line 100) | def __init__(self, input=None, output=sys.stdout): FILE: minemeld/ft/condition/BoolExprListener.py class BoolExprListener (line 8) | class BoolExprListener(ParseTreeListener): method enterBooleanExpression (line 11) | def enterBooleanExpression(self, ctx): method exitBooleanExpression (line 15) | def exitBooleanExpression(self, ctx): method enterExpression (line 20) | def enterExpression(self, ctx): method exitExpression (line 24) | def exitExpression(self, ctx): method enterFunctionExpression (line 29) | def enterFunctionExpression(self, ctx): method exitFunctionExpression (line 33) | def exitFunctionExpression(self, ctx): method enterNoArgs (line 38) | def enterNoArgs(self, ctx): method exitNoArgs (line 42) | def exitNoArgs(self, ctx): method enterOneOrMoreArgs (line 47) | def enterOneOrMoreArgs(self, ctx): method exitOneOrMoreArgs (line 51) | def exitOneOrMoreArgs(self, ctx): method enterComparator (line 56) | def enterComparator(self, ctx): method exitComparator (line 60) | def exitComparator(self, ctx): method enterValue (line 65) | def enterValue(self, ctx): method exitValue (line 69) | def exitValue(self, ctx): FILE: minemeld/ft/condition/BoolExprParser.py function serializedATN (line 11) | def serializedATN(): class BoolExprParser (line 33) | class BoolExprParser ( Parser ): method __init__ (line 82) | def __init__(self, input, output=sys.stdout): class BooleanExpressionContext (line 90) | class BooleanExpressionContext(ParserRuleContext): method __init__ (line 92) | def __init__(self, parser, parent=None, invokingState=-1): method expression (line 96) | def expression(self): method comparator (line 100) | def comparator(self): method value (line 104) | def value(self): method getRuleIndex (line 108) | def getRuleIndex(self): method enterRule (line 111) | def enterRule(self, listener): method exitRule (line 115) | def exitRule(self, listener): method booleanExpression (line 122) | def booleanExpression(self): class ExpressionContext (line 142) | class ExpressionContext(ParserRuleContext): method __init__ (line 144) | def __init__(self, parser, parent=None, invokingState=-1): method JAVASCRIPTIDENTIFIER (line 148) | def JAVASCRIPTIDENTIFIER(self): method functionExpression (line 151) | def functionExpression(self): method getRuleIndex (line 155) | def getRuleIndex(self): method enterRule (line 158) | def enterRule(self, listener): method exitRule (line 162) | def exitRule(self, listener): method expression (line 169) | def expression(self): class FunctionExpressionContext (line 198) | class FunctionExpressionContext(ParserRuleContext): method __init__ (line 200) | def __init__(self, parser, parent=None, invokingState=-1): method JAVASCRIPTIDENTIFIER (line 204) | def JAVASCRIPTIDENTIFIER(self): method noArgs (line 207) | def noArgs(self): method oneOrMoreArgs (line 211) | def oneOrMoreArgs(self): method getRuleIndex (line 215) | def getRuleIndex(self): method enterRule (line 218) | def enterRule(self, listener): method exitRule (line 222) | def exitRule(self, listener): method functionExpression (line 229) | def functionExpression(self): class NoArgsContext (line 259) | class NoArgsContext(ParserRuleContext): method __init__ (line 261) | def __init__(self, parser, parent=None, invokingState=-1): method getRuleIndex (line 266) | def getRuleIndex(self): method enterRule (line 269) | def enterRule(self, listener): method exitRule (line 273) | def exitRule(self, listener): method noArgs (line 280) | def noArgs(self): class OneOrMoreArgsContext (line 298) | class OneOrMoreArgsContext(ParserRuleContext): method __init__ (line 300) | def __init__(self, parser, parent=None, invokingState=-1): method expression (line 304) | def expression(self, i=None): method value (line 311) | def value(self, i=None): method getRuleIndex (line 318) | def getRuleIndex(self): method enterRule (line 321) | def enterRule(self, listener): method exitRule (line 325) | def exitRule(self, listener): method oneOrMoreArgs (line 332) | def oneOrMoreArgs(self): class ComparatorContext (line 377) | class ComparatorContext(ParserRuleContext): method __init__ (line 379) | def __init__(self, parser, parent=None, invokingState=-1): method getRuleIndex (line 384) | def getRuleIndex(self): method enterRule (line 387) | def enterRule(self, listener): method exitRule (line 391) | def exitRule(self, listener): method comparator (line 398) | def comparator(self): class ValueContext (line 420) | class ValueContext(ParserRuleContext): method __init__ (line 422) | def __init__(self, parser, parent=None, invokingState=-1): method STRING (line 426) | def STRING(self): method NUMBER (line 429) | def NUMBER(self): method getRuleIndex (line 432) | def getRuleIndex(self): method enterRule (line 435) | def enterRule(self, listener): method exitRule (line 439) | def exitRule(self, listener): method value (line 446) | def value(self): FILE: minemeld/ft/condition/interface.py class _BECompiler (line 28) | class _BECompiler(BoolExprListener): method exitExpression (line 29) | def exitExpression(self, ctx): method exitComparator (line 32) | def exitComparator(self, ctx): method exitValue (line 47) | def exitValue(self, ctx): class Condition (line 60) | class Condition(object): method __init__ (line 61) | def __init__(self, s): method _parse_boolexpr (line 64) | def _parse_boolexpr(self, s): method eval (line 78) | def eval(self, i): FILE: minemeld/ft/csv.py class CSVFT (line 37) | class CSVFT(basepoller.BasePollerFT): method configure (line 76) | def configure(self): method _load_side_config (line 111) | def _load_side_config(self): method _process_item (line 130) | def _process_item(self, item): method _build_request (line 136) | def _build_request(self, now): method _build_iterator (line 149) | def _build_iterator(self, now): method _gzipped_line_splitter (line 194) | def _gzipped_line_splitter(self, response): method hup (line 221) | def hup(self, source=None): method gc (line 227) | def gc(name, config=None): FILE: minemeld/ft/dag.py class DevicePusher (line 42) | class DevicePusher(gevent.Greenlet): method __init__ (line 43) | def __init__(self, device, prefix, watermark, attributes, persistent): method put (line 64) | def put(self, op, address, value): method _get_registered_ip_tags (line 68) | def _get_registered_ip_tags(self, ip): method _get_all_registered_ips (line 85) | def _get_all_registered_ips(self): method _dag_message (line 105) | def _dag_message(self, type_, addresses): method _user_id (line 138) | def _user_id(self, cmd=None): method _tags_from_value (line 159) | def _tags_from_value(self, value): method _push (line 203) | def _push(self, op, address, value): method _init_resync (line 217) | def _init_resync(self): method _run (line 281) | def _run(self): class DagPusher (line 299) | class DagPusher(actorbase.ActorBaseFT): method __init__ (line 300) | def __init__(self, name, chassis, config): method configure (line 314) | def configure(self): method _initialize_table (line 336) | def _initialize_table(self, truncate=False): method initialize (line 340) | def initialize(self): method rebuild (line 343) | def rebuild(self): method reset (line 347) | def reset(self): method _validate_ip (line 350) | def _validate_ip(self, indicator, value): method filtered_update (line 391) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 427) | def filtered_withdraw(self, source=None, indicator=None, value=None): method _age_out_run (line 448) | def _age_out_run(self): method _spawn_device_pusher (line 484) | def _spawn_device_pusher(self, device): method _device_pusher_died (line 501) | def _device_pusher_died(self, g): method _load_device_list (line 527) | def _load_device_list(self): method _huppable_wait (line 553) | def _huppable_wait(self, wait_time): method _device_list_monitor (line 559) | def _device_list_monitor(self): method mgmtbus_status (line 585) | def mgmtbus_status(self): method length (line 592) | def length(self, source=None): method start (line 595) | def start(self): method stop (line 609) | def stop(self): method hup (line 625) | def hup(self, source=None): method gc (line 630) | def gc(name, config=None): FILE: minemeld/ft/dag_ng.py function _api_wrapper (line 53) | def _api_wrapper(x): class DevicePusher (line 78) | class DevicePusher(gevent.Greenlet): method __init__ (line 79) | def __init__(self, device, prefix, watermark, attributes, persistent): method _valid_device_version (line 101) | def _valid_device_version(self): method _set_canary (line 126) | def _set_canary(self): method _test_canary (line 137) | def _test_canary(self): method put (line 175) | def put(self, op, address, value): method _get_all_registered_ips (line 180) | def _get_all_registered_ips(self): method _dag_message (line 242) | def _dag_message(self, type_, addresses, method _user_id (line 288) | def _user_id(self, cmd=None): method _tags_from_value (line 309) | def _tags_from_value(self, value): method _push (line 357) | def _push(self, op, addresses): method _init_resync (line 371) | def _init_resync(self): method _run (line 438) | def _run(self): class DagPusher (line 501) | class DagPusher(actorbase.ActorBaseFT): method __init__ (line 502) | def __init__(self, name, chassis, config): method configure (line 516) | def configure(self): method _initialize_table (line 538) | def _initialize_table(self, truncate=False): method initialize (line 542) | def initialize(self): method rebuild (line 545) | def rebuild(self): method reset (line 549) | def reset(self): method _validate_ip (line 552) | def _validate_ip(self, indicator, value): method filtered_update (line 593) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 629) | def filtered_withdraw(self, source=None, indicator=None, value=None): method _age_out_run (line 650) | def _age_out_run(self): method _spawn_device_pusher (line 686) | def _spawn_device_pusher(self, device): method _device_pusher_died (line 703) | def _device_pusher_died(self, g): method _load_device_list (line 736) | def _load_device_list(self): method _huppable_wait (line 762) | def _huppable_wait(self, wait_time): method _device_list_monitor (line 768) | def _device_list_monitor(self): method mgmtbus_status (line 794) | def mgmtbus_status(self): method length (line 801) | def length(self, source=None): method start (line 804) | def start(self): method stop (line 818) | def stop(self): method hup (line 834) | def hup(self, source=None): method gc (line 839) | def gc(name, config=None): FILE: minemeld/ft/google.py class GoogleSPF (line 31) | class GoogleSPF(basepoller.BasePollerFT): method configure (line 32) | def configure(self): method _process_item (line 42) | def _process_item(self, item): method _resolve_spf (line 46) | def _resolve_spf(self, dig, name): method _build_IPv4 (line 73) | def _build_IPv4(self, netblock, ipnetwork): method _build_IPv6 (line 91) | def _build_IPv6(self, netblock, ipnetwork): method _build_iterator (line 109) | def _build_iterator(self, now): class GoogleNetBlocks (line 142) | class GoogleNetBlocks(GoogleSPF): class GoogleCloudNetBlocks (line 148) | class GoogleCloudNetBlocks(GoogleSPF): FILE: minemeld/ft/http.py class HttpFT (line 32) | class HttpFT(basepoller.BasePollerFT): method configure (line 100) | def configure(self): method _process_item (line 145) | def _process_item(self, line): method _build_iterator (line 178) | def _build_iterator(self, now): FILE: minemeld/ft/ipop.py class MWUpdate (line 32) | class MWUpdate(object): method __init__ (line 33) | def __init__(self, start, end, uuids): method indicator (line 42) | def indicator(self): method __repr__ (line 45) | def __repr__(self): method __hash__ (line 48) | def __hash__(self): method __eq__ (line 51) | def __eq__(self, other): class AggregateIPv4FT (line 56) | class AggregateIPv4FT(actorbase.ActorBaseFT): method __init__ (line 57) | def __init__(self, name, chassis, config): method configure (line 62) | def configure(self): method _initialize_tables (line 68) | def _initialize_tables(self, truncate=False): method initialize (line 77) | def initialize(self): method rebuild (line 80) | def rebuild(self): method reset (line 83) | def reset(self): method _indicator_key (line 86) | def _indicator_key(self, indicator, source): method _calc_indicator_value (line 89) | def _calc_indicator_value(self, uuids, additional_uuid=None, additiona... method _merge_values (line 118) | def _merge_values(self, origin, ov, nv): method _add_indicator (line 129) | def _add_indicator(self, origin, indicator, value): method _calc_ipranges (line 151) | def _calc_ipranges(self, start, end): method _range_from_indicator (line 227) | def _range_from_indicator(self, indicator): method _endpoints_from_range (line 249) | def _endpoints_from_range(self, start, end): method filtered_update (line 283) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 351) | def filtered_withdraw(self, source=None, indicator=None, value=None): method _send_indicators (line 420) | def _send_indicators(self, source=None, from_key=None, to_key=None): method get (line 435) | def get(self, source=None, indicator=None): method get_all (line 448) | def get_all(self, source=None): method get_range (line 452) | def get_range(self, source=None, index=None, from_key=None, to_key=None): method length (line 468) | def length(self, source=None): method stop (line 471) | def stop(self): method gc (line 483) | def gc(name, config=None): FILE: minemeld/ft/json.py class SimpleJSON (line 31) | class SimpleJSON(basepoller.BasePollerFT): method configure (line 75) | def configure(self): method _load_side_config (line 123) | def _load_side_config(self): method hup (line 139) | def hup(self, source=None): method gc (line 145) | def gc(name, config=None): method _process_item (line 194) | def _process_item(self, item): method _build_iterator (line 221) | def _build_iterator(self, now): FILE: minemeld/ft/local.py class YamlFT (line 27) | class YamlFT(basepoller.BasePollerFT): method __init__ (line 28) | def __init__(self, name, chassis, config): method configure (line 33) | def configure(self): method _flush (line 44) | def _flush(self): method _process_item (line 48) | def _process_item(self, item): method _load_yaml (line 57) | def _load_yaml(self): method _build_iterator (line 70) | def _build_iterator(self, now): method gc (line 100) | def gc(name, config=None): class YamlIPv4FT (line 124) | class YamlIPv4FT(YamlFT): method _process_item (line 125) | def _process_item(self, item): class YamlURLFT (line 131) | class YamlURLFT(YamlFT): method _process_item (line 132) | def _process_item(self, item): class YamlDomainFT (line 138) | class YamlDomainFT(YamlFT): method _process_item (line 139) | def _process_item(self, item): class YamlIPv6FT (line 145) | class YamlIPv6FT(YamlFT): method _process_item (line 146) | def _process_item(self, item): FILE: minemeld/ft/localdb.py function dbconnection (line 33) | def dbconnection(path): class Miner (line 41) | class Miner(basepoller.BasePollerFT): method __init__ (line 42) | def __init__(self, name, chassis, config): method configure (line 47) | def configure(self): method _collect_garbage (line 66) | def _collect_garbage(self): method _calc_age_out (line 90) | def _calc_age_out(self, indicator, attributes): method _process_item (line 96) | def _process_item(self, item): method _updates_iterator (line 108) | def _updates_iterator(self, last_successful_run): method _build_iterator (line 113) | def _build_iterator(self, now): method hup (line 123) | def hup(self, source=None): method gc (line 127) | def gc(name, config=None): FILE: minemeld/ft/logstash.py class LogstashOutput (line 28) | class LogstashOutput(actorbase.ActorBaseFT): method __init__ (line 29) | def __init__(self, name, chassis, config): method configure (line 34) | def configure(self): method connect (line 40) | def connect(self, inputs, output): method _connect_logstash (line 44) | def _connect_logstash(self): method initialize (line 53) | def initialize(self): method rebuild (line 56) | def rebuild(self): method reset (line 59) | def reset(self): method _send_logstash (line 62) | def _send_logstash(self, message, source=None, indicator=None, value=N... method filtered_update (line 103) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 112) | def filtered_withdraw(self, source=None, indicator=None, value=None): method length (line 120) | def length(self, source=None): FILE: minemeld/ft/mm.py class JSONSEQMiner (line 32) | class JSONSEQMiner(basepoller.BasePollerFT): method configure (line 48) | def configure(self): method _load_side_config (line 68) | def _load_side_config(self): method _process_item (line 84) | def _process_item(self, item): method _json_seq_iterator (line 87) | def _json_seq_iterator(self, r): method _build_iterator (line 95) | def _build_iterator(self, now): method hup (line 125) | def hup(self, source=None): FILE: minemeld/ft/o365.py function _build_IPv4 (line 43) | def _build_IPv4(source, address): function _build_IPv6 (line 53) | def _build_IPv6(source, address): function _build_URL (line 63) | def _build_URL(source, url): function _xpath_lower_case (line 73) | def _xpath_lower_case(context, a): class O365XML (line 77) | class O365XML(basepoller.BasePollerFT): method configure (line 78) | def configure(self): method _process_item (line 92) | def _process_item(self, item): method _build_request (line 96) | def _build_request(self, now): method _o365_iterator (line 104) | def _o365_iterator(self, now): method _build_iterator (line 174) | def _build_iterator(self, now): method _extract_products (line 187) | def _extract_products(self, rtree): class O365API (line 205) | class O365API(basepoller.BasePollerFT): method __init__ (line 206) | def __init__(self, name, chassis, config): method configure (line 212) | def configure(self): method _load_side_config (line 232) | def _load_side_config(self): method _saved_state_restore (line 246) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 257) | def _saved_state_create(self): method _saved_state_reset (line 265) | def _saved_state_reset(self): method _check_version (line 271) | def _check_version(self): method _process_item (line 308) | def _process_item(self, item): method _analyze_item (line 311) | def _analyze_item(self, item): method _iterator (line 346) | def _iterator(self, array, latest_version): method _build_iterator (line 372) | def _build_iterator(self, now): method hup (line 413) | def hup(self, source=None): FILE: minemeld/ft/op.py class AggregateFT (line 27) | class AggregateFT(actorbase.ActorBaseFT): method __init__ (line 30) | def __init__(self, name, chassis, config): method configure (line 36) | def configure(self): method _initialize_table (line 42) | def _initialize_table(self, truncate=False): method initialize (line 45) | def initialize(self): method rebuild (line 48) | def rebuild(self): method reset (line 51) | def reset(self): method _indicator_key (line 54) | def _indicator_key(self, indicator, source): method _is_whitelist (line 57) | def _is_whitelist(self, s): method _emit_update_indicator (line 63) | def _emit_update_indicator(self, indicator): method _merge_values (line 84) | def _merge_values(self, source, ov, nv): method _add_indicator (line 94) | def _add_indicator(self, source, indicator, value): method filtered_update (line 111) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 141) | def filtered_withdraw(self, source=None, indicator=None, value=None): method get (line 183) | def get(self, source=None, indicator=None): method get_all (line 198) | def get_all(self, source=None): method get_range (line 201) | def get_range(self, source=None, index=None, from_key=None, to_key=None): method length (line 233) | def length(self, source=None): method stop (line 236) | def stop(self): method gc (line 248) | def gc(name, config=None): FILE: minemeld/ft/panos.py class CheckpointSet (line 31) | class CheckpointSet(Exception): class InterruptablePanForest (line 34) | class InterruptablePanForest(minemeld.packages.panforest.PanForest): method __init__ (line 35) | def __init__(self, wobject, xapi=None, log_type=None, filter=None, method sleep (line 46) | def sleep(self, t): function _age_out_in_usecs (line 52) | def _age_out_in_usecs(val): function _sleeper (line 66) | def _sleeper(slot, maxretries): class PanOSLogsAPIFT (line 74) | class PanOSLogsAPIFT(base.BaseFT): method __init__ (line 75) | def __init__(self, name, chassis, config): method configure (line 88) | def configure(self): method _initialize_tables (line 104) | def _initialize_tables(self, truncate=False): method initialize (line 113) | def initialize(self): method rebuild (line 116) | def rebuild(self): method reset (line 120) | def reset(self): method emit_checkpoint (line 123) | def emit_checkpoint(self, value): method _age_out_loop (line 127) | def _age_out_loop(self, fieldidx): method _run (line 149) | def _run(self): method length (line 216) | def length(self, source=None): method start (line 219) | def start(self): method stop (line 232) | def stop(self): FILE: minemeld/ft/phishme.py class Intelligence (line 40) | class Intelligence(basepoller.BasePollerFT): method __init__ (line 41) | def __init__(self, name, chassis, config): method configure (line 46) | def configure(self): method _load_side_config (line 88) | def _load_side_config(self): method _saved_state_restore (line 105) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 110) | def _saved_state_create(self): method _saved_state_reset (line 116) | def _saved_state_reset(self): method _update_attributes (line 120) | def _update_attributes(self, current, _new, current_run, new_run): method _convert_block (line 159) | def _convert_block(self, block): method _process_item (line 198) | def _process_item(self, item): method _build_iterator (line 224) | def _build_iterator(self, now): method _threathq_backfill (line 240) | def _threathq_backfill(self, now): method _threathq_update (line 301) | def _threathq_update(self, now): method _group_changes_in_pages (line 362) | def _group_changes_in_pages(self, ichanges): method _retrieve_threats (line 392) | def _retrieve_threats(self, pages): method _filter_changes (line 436) | def _filter_changes(self, change): method hup (line 457) | def hup(self, source=None): method gc (line 463) | def gc(name, config=None): FILE: minemeld/ft/proofpoint.py class ETIntelligence (line 72) | class ETIntelligence(basepoller.BasePollerFT): method __init__ (line 75) | def __init__(self, name, chassis, config): method configure (line 80) | def configure(self): method _load_side_config (line 99) | def _load_side_config(self): method _process_row (line 120) | def _process_row(self, row): method _process_item (line 181) | def _process_item(self, item): method _build_iterator (line 184) | def _build_iterator(self, now): method hup (line 255) | def hup(self, source=None): method gc (line 261) | def gc(name, config=None): class EmergingThreatsIP (line 280) | class EmergingThreatsIP(ETIntelligence): method _process_item (line 283) | def _process_item(self, row): class EmergingThreatsDomain (line 308) | class EmergingThreatsDomain(ETIntelligence): method _process_item (line 311) | def _process_item(self, row): FILE: minemeld/ft/recordedfuture.py class IPRiskList (line 29) | class IPRiskList(csv.CSVFT): method configure (line 30) | def configure(self): method _load_side_config (line 46) | def _load_side_config(self): method _process_item (line 59) | def _process_item(self, row): method _build_iterator (line 115) | def _build_iterator(self, now): method _build_request (line 123) | def _build_request(self, now): method hup (line 135) | def hup(self, source=None): method gc (line 141) | def gc(name, config=None): class DomainRiskList (line 160) | class DomainRiskList(csv.CSVFT): method configure (line 161) | def configure(self): method _load_side_config (line 177) | def _load_side_config(self): method _process_item (line 190) | def _process_item(self, row): method _build_iterator (line 229) | def _build_iterator(self, now): method _build_request (line 237) | def _build_request(self, now): method hup (line 249) | def hup(self, source=None): method gc (line 255) | def gc(name, config=None): class MasterRiskList (line 274) | class MasterRiskList(csv.CSVFT): method configure (line 275) | def configure(self): method _load_side_config (line 294) | def _load_side_config(self): method _process_item (line 319) | def _process_item(self, row): method _check_hash_type (line 386) | def _check_hash_type(entity): method _build_iterator (line 396) | def _build_iterator(self, now): method _build_request (line 443) | def _build_request(self, now): method hup (line 471) | def hup(self, source=None): method gc (line 477) | def gc(name, config=None): FILE: minemeld/ft/redis.py class RedisSet (line 28) | class RedisSet(actorbase.ActorBaseFT): method __init__ (line 29) | def __init__(self, name, chassis, config): method configure (line 38) | def configure(self): method connect (line 51) | def connect(self, inputs, output): method read_checkpoint (line 55) | def read_checkpoint(self): method create_checkpoint (line 107) | def create_checkpoint(self, value): method remove_checkpoint (line 123) | def remove_checkpoint(self): method _connect_redis (line 127) | def _connect_redis(self): method initialize (line 135) | def initialize(self): method rebuild (line 138) | def rebuild(self): method reset (line 143) | def reset(self): method _add_indicator (line 148) | def _add_indicator(self, score, indicator, value): method _delete_indicator (line 164) | def _delete_indicator(self, indicator): method filtered_update (line 176) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 189) | def filtered_withdraw(self, source=None, indicator=None, value=None): method length (line 192) | def length(self, source=None): method gc (line 196) | def gc(name, config=None): FILE: minemeld/ft/st.py class ST (line 43) | class ST(object): method __init__ (line 44) | def __init__(self, name, epsize, truncate=False, method _split_interval (line 64) | def _split_interval(self, start, end, lower, upper): method _segment_key (line 78) | def _segment_key(self, start, end, uuid_=None, level=None): method _split_segment_key (line 99) | def _split_segment_key(self, key): method _endpoint_key (line 103) | def _endpoint_key(self, endpoint, level=None, type_=None, uuid_=None): method _split_endpoint_key (line 122) | def _split_endpoint_key(self, k): method close (line 127) | def close(self): method put (line 130) | def put(self, uuid_, start, end, level=0): method delete (line 161) | def delete(self, uuid_, start, end, level=0): method cover (line 189) | def cover(self, value): method query_endpoints (line 221) | def query_endpoints(self, start=None, stop=None, reverse=False, FILE: minemeld/ft/syslog.py class SyslogMatcher (line 49) | class SyslogMatcher(actorbase.ActorBaseFT): method __init__ (line 50) | def __init__(self, name, chassis, config): method configure (line 57) | def configure(self): method _initialize_tables (line 69) | def _initialize_tables(self, truncate=False): method initialize (line 81) | def initialize(self): method rebuild (line 84) | def rebuild(self): method reset (line 87) | def reset(self): method filtered_update (line 91) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 124) | def filtered_withdraw(self, source=None, indicator=None, value=None): method _handle_ip (line 148) | def _handle_ip(self, ip, source=True, message=None): method _handle_url (line 192) | def _handle_url(self, url, message=None): method _handle_syslog_message (line 217) | def _handle_syslog_message(self, message): method _amqp_callback (line 230) | def _amqp_callback(self, msg): method _amqp_consumer (line 244) | def _amqp_consumer(self): method _connect_logstash (line 283) | def _connect_logstash(self): method _send_logstash (line 295) | def _send_logstash(self, message=None, indicator=None, method mgmtbus_status (line 340) | def mgmtbus_status(self): method length (line 345) | def length(self, source=None): method start (line 349) | def start(self): method stop (line 357) | def stop(self): method gc (line 368) | def gc(name, config=None): class SyslogMiner (line 375) | class SyslogMiner(base.BaseFT): method __init__ (line 376) | def __init__(self, name, chassis, config): method configure (line 392) | def configure(self): method _initialize_table (line 431) | def _initialize_table(self, truncate=False): method initialize (line 436) | def initialize(self): method rebuild (line 439) | def rebuild(self): method reset (line 445) | def reset(self): method _compile_rule (line 448) | def _compile_rule(self, name, f): method _load_side_config (line 493) | def _load_side_config(self): method state (line 521) | def state(self, value): method _command_rebuild (line 527) | def _command_rebuild(self): method _command_age_out (line 536) | def _command_age_out(self): method _calc_age_out (line 562) | def _calc_age_out(self, indicator, attributes): method _apply_rule (line 576) | def _apply_rule(self, f, message): method _handle_syslog_message (line 614) | def _handle_syslog_message(self, message): method _actor_loop (line 658) | def _actor_loop(self): method _age_out_loop (line 697) | def _age_out_loop(self): method _amqp_callback (line 710) | def _amqp_callback(self, msg): method _amqp_consumer (line 726) | def _amqp_consumer(self): method length (line 773) | def length(self, source=None): method start (line 776) | def start(self): method stop (line 789) | def stop(self): method hup (line 806) | def hup(self, source=None): method gc (line 811) | def gc(name, config=None): FILE: minemeld/ft/table.py class InvalidTableException (line 96) | class InvalidTableException(Exception): class Table (line 100) | class Table(object): method __init__ (line 101) | def __init__(self, name, truncate=False, bloom_filter_bits=0): method _init_db (line 122) | def _init_db(self): method _read_metadata (line 135) | def _read_metadata(self): method _get (line 184) | def _get(self, key): method __del__ (line 192) | def __del__(self): method get_custom_metadata (line 195) | def get_custom_metadata(self): method set_custom_metadata (line 201) | def set_custom_metadata(self, metadata=None): method close (line 209) | def close(self): method exists (line 219) | def exists(self, key): method get (line 226) | def get(self, key): method delete (line 238) | def delete(self, key): method _indicator_key (line 255) | def _indicator_key(self, key): method _indicator_key_version (line 258) | def _indicator_key_version(self, key): method _index_key (line 261) | def _index_key(self, idxid, value, lastidxid=None): method _last_global_id_key (line 279) | def _last_global_id_key(self, idxid): method create_index (line 282) | def create_index(self, attribute): method put (line 300) | def put(self, key, value): method query (line 347) | def query(self, index=None, from_key=None, to_key=None, method _query_by_indicator (line 374) | def _query_by_indicator(self, from_key=None, to_key=None, method _query_by_index (line 405) | def _query_by_index(self, index, from_key=None, to_key=None, method _compact_loop (line 466) | def _compact_loop(self): method _upgrade_from_s0 (line 491) | def _upgrade_from_s0(self): FILE: minemeld/ft/taxii.py function set_id_namespace (line 84) | def set_id_namespace(uri, name): class TaxiiClient (line 90) | class TaxiiClient(basepoller.BasePollerFT): method __init__ (line 91) | def __init__(self, name, chassis, config): method configure (line 99) | def configure(self): method _load_side_config (line 177) | def _load_side_config(self): method _saved_state_restore (line 204) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 209) | def _saved_state_create(self): method _saved_state_reset (line 215) | def _saved_state_reset(self): method _build_taxii_client (line 219) | def _build_taxii_client(self): method _call_taxii_service (line 271) | def _call_taxii_service(self, service_url, tc, request): method _discover_services (line 287) | def _discover_services(self, tc): method _check_collections (line 316) | def _check_collections(self, tc): method _poll_fulfillment_request (line 373) | def _poll_fulfillment_request(self, tc, result_id, result_part_number): method _poll_collection (line 387) | def _poll_collection(self, tc, begin=None, end=None): method _incremental_poll_collection (line 483) | def _incremental_poll_collection(self, taxii_client, begin, end): method _handle_content_blocks (line 507) | def _handle_content_blocks(self, content_blocks, objects): method _decode_observable (line 586) | def _decode_observable(self, o): method _decode_object_properties (line 631) | def _decode_object_properties(self, op, odict=None): method _decode_ttp (line 1014) | def _decode_ttp(self, t): method _process_item (line 1031) | def _process_item(self, item): method _build_iterator (line 1111) | def _build_iterator(self, now): method _flush (line 1155) | def _flush(self): method hup (line 1159) | def hup(self, source=None): method gc (line 1165) | def gc(name, config=None): function _stix_ip_observable (line 1217) | def _stix_ip_observable(namespace, indicator, value): function _stix_email_addr_observable (line 1258) | def _stix_email_addr_observable(namespace, indicator, value): function _stix_domain_observable (line 1280) | def _stix_domain_observable(namespace, indicator, value): function _stix_url_observable (line 1299) | def _stix_url_observable(namespace, indicator, value): function _stix_hash_observable (line 1319) | def _stix_hash_observable(namespace, indicator, value): class DataFeed (line 1373) | class DataFeed(actorbase.ActorBaseFT): method __init__ (line 1374) | def __init__(self, name, chassis, config): method configure (line 1384) | def configure(self): method connect (line 1425) | def connect(self, inputs, output): method read_checkpoint (line 1429) | def read_checkpoint(self): method create_checkpoint (line 1433) | def create_checkpoint(self, value): method remove_checkpoint (line 1437) | def remove_checkpoint(self): method _connect_redis (line 1441) | def _connect_redis(self): method _read_oldest_indicator (line 1449) | def _read_oldest_indicator(self): method initialize (line 1460) | def initialize(self): method rebuild (line 1463) | def rebuild(self): method reset (line 1468) | def reset(self): method _add_indicator (line 1473) | def _add_indicator(self, score, indicator, value): method _delete_indicator (line 1618) | def _delete_indicator(self, indicator_id): method _age_out_run (line 1629) | def _age_out_run(self): method filtered_update (line 1657) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 1663) | def filtered_withdraw(self, source=None, indicator=None, value=None): method length (line 1667) | def length(self, source=None): method start (line 1670) | def start(self): method stop (line 1675) | def stop(self): method gc (line 1687) | def gc(name, config=None): FILE: minemeld/ft/taxii2.py class Taxii2Client (line 49) | class Taxii2Client(basepoller.BasePollerFT): method __init__ (line 50) | def __init__(self, name, chassis, config): method configure (line 57) | def configure(self): method _load_side_config (line 101) | def _load_side_config(self): method _saved_state_restore (line 154) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 159) | def _saved_state_create(self): method _saved_state_reset (line 165) | def _saved_state_reset(self): method _set_accept_header (line 169) | def _set_accept_header(self, session): method _build_taxii2_client (line 195) | def _build_taxii2_client(self): method _get_api_root (line 212) | def _get_api_root(self): method _is_uuid (line 234) | def _is_uuid(self, val, ver): method _get_collection (line 246) | def _get_collection(self): method _clean_indicator (line 272) | def _clean_indicator(self, sub_pattern_value): method _detect_and_map_type (line 281) | def _detect_and_map_type(self, i_type, sub_pattern_type): method _convert_stix2_obj_to_mm_obj (line 289) | def _convert_stix2_obj_to_mm_obj(self, obj, rels, ttps): method _explore (line 349) | def _explore(self, root, types): method _poll_taxii21_server (line 361) | def _poll_taxii21_server(self): method _poll_taxii20_server (line 409) | def _poll_taxii20_server(self): method _poll_and_filter_collection (line 471) | def _poll_and_filter_collection(self, begin=None, end=None): method _incremental_poll_collection (line 517) | def _incremental_poll_collection(self, begin, end): method _process_item (line 537) | def _process_item(self, item): method _manage_time (line 540) | def _manage_time(self, now): method _check_args (line 560) | def _check_args(self): method _build_iterator (line 586) | def _build_iterator(self, now): method _flush (line 599) | def _flush(self): method hup (line 603) | def hup(self, source=None): method gc (line 609) | def gc(name, config=None): FILE: minemeld/ft/test.py class TestMiner (line 15) | class TestMiner(base.BaseFT): method __init__ (line 16) | def __init__(self, name, chassis, config): method configure (line 21) | def configure(self): method initialize (line 27) | def initialize(self): method rebuild (line 30) | def rebuild(self): method reset (line 33) | def reset(self): method _run (line 36) | def _run(self): method length (line 63) | def length(self, source=None): method start (line 66) | def start(self): method stop (line 74) | def stop(self): class TestFeed (line 83) | class TestFeed(base.BaseFT): method __init__ (line 84) | def __init__(self, name, chassis, config): method configure (line 87) | def configure(self): method read_checkpoint (line 92) | def read_checkpoint(self): method create_checkpoint (line 95) | def create_checkpoint(self, value): method initialize (line 98) | def initialize(self): method rebuild (line 101) | def rebuild(self): method reset (line 104) | def reset(self): method filtered_update (line 108) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 115) | def filtered_withdraw(self, source=None, indicator=None, value=None): method length (line 118) | def length(self, source=None): class FaultyConfig (line 122) | class FaultyConfig(base.BaseFT): method configure (line 123) | def configure(self): method initialize (line 128) | def initialize(self): method rebuild (line 131) | def rebuild(self): method reset (line 134) | def reset(self): method length (line 137) | def length(self, source=None): class FaultyInit (line 141) | class FaultyInit(base.BaseFT): method __init__ (line 142) | def __init__(self, name, chassis, config): method configure (line 145) | def configure(self): method initialize (line 148) | def initialize(self): method rebuild (line 151) | def rebuild(self): method reset (line 154) | def reset(self): method length (line 157) | def length(self, source=None): FILE: minemeld/ft/threatconnect.py class ThreatConnect (line 40) | class ThreatConnect(object): method __init__ (line 51) | def __init__(self, api_secret, api_key, api_url, api_base_uri, owner): method prepare_get (line 58) | def prepare_get(self, uri): method __call__ (line 64) | def __call__(self, r): method _detect_ip_version (line 69) | def _detect_ip_version(self, ip_addr): method _detect_sha_version (line 84) | def _detect_sha_version(self, hash): method group_indicator_processing (line 90) | def group_indicator_processing(self, item, group_type, group_id, f_see... method general_processing (line 111) | def general_processing(self, item, indicator_map, f_seen, l_seen): method ip_processing (line 131) | def ip_processing(self, item, indicator_list, f_seen, l_seen): method _paginate_request (line 147) | def _paginate_request(self, entry_point, entity, from_timestamp=None): method indicator_iterator (line 181) | def indicator_iterator(self, last_tc_run): method groups_iterator (line 199) | def groups_iterator(self, groups): class TCMiner (line 207) | class TCMiner(BasePollerFT): method configure (line 217) | def configure(self): method _load_side_config (line 240) | def _load_side_config(self): method _saved_state_restore (line 256) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 261) | def _saved_state_create(self): method _saved_state_reset (line 266) | def _saved_state_reset(self): method hup (line 270) | def hup(self, source=None): method gc (line 276) | def gc(name, config=None): class IndicatorsMiner (line 294) | class IndicatorsMiner(TCMiner): method configure (line 297) | def configure(self): method _build_iterator (line 301) | def _build_iterator(self, now): method _process_item (line 314) | def _process_item(self, item): class GroupsMiner (line 330) | class GroupsMiner(TCMiner): method configure (line 333) | def configure(self): method _build_iterator (line 342) | def _build_iterator(self, now): method _process_item (line 351) | def _process_item(self, item): FILE: minemeld/ft/threatq.py class Export (line 31) | class Export(basepoller.BasePollerFT): method configure (line 58) | def configure(self): method _load_side_config (line 72) | def _load_side_config(self): method _process_item (line 87) | def _process_item(self, line): method _build_iterator (line 147) | def _build_iterator(self, now): method hup (line 175) | def hup(self, source=None): method gc (line 181) | def gc(name, config=None): FILE: minemeld/ft/tmt.py class DTIAPI (line 33) | class DTIAPI(basepoller.BasePollerFT): method __init__ (line 37) | def __init__(self, name, chassis, config): method configure (line 42) | def configure(self): method _load_side_config (line 78) | def _load_side_config(self): method _process_row (line 91) | def _process_row(self, row): method _process_item (line 112) | def _process_item(self, item): method _tmerge (line 122) | def _tmerge(self, indicator, value): method _build_iterator (line 140) | def _build_iterator(self, now): method hup (line 204) | def hup(self, source=None): method gc (line 210) | def gc(name, config=None): FILE: minemeld/ft/utils.py function utc_millisec (line 30) | def utc_millisec(): function dt_to_millisec (line 34) | def dt_to_millisec(dt): function interval_in_sec (line 41) | def interval_in_sec(val): function age_out_in_millisec (line 59) | def age_out_in_millisec(val): function _merge_atomic_values (line 74) | def _merge_atomic_values(op, v1, v2): function _merge_array (line 80) | def _merge_array(v1, v2): class RWLock (line 99) | class RWLock(object): method __init__ (line 100) | def __init__(self): method lock (line 110) | def lock(self): method unlock (line 120) | def unlock(self): method rlock (line 130) | def rlock(self): method runlock (line 143) | def runlock(self): method __enter__ (line 152) | def __enter__(self): method __exit__ (line 155) | def __exit__(self, type, value, traceback): function parse_age_out (line 162) | def parse_age_out(s, age_out_bases=None, default_base=None): class GThrottled (line 200) | class GThrottled(object): method __init__ (line 201) | def __init__(self, f, wait): method later (line 212) | def later(self): method __call__ (line 218) | def __call__(self, *args, **kwargs): method cancel (line 241) | def cancel(self): FILE: minemeld/ft/visa.py class VTI (line 42) | class VTI(json.SimpleJSON): method configure (line 49) | def configure(self): method _process_item (line 59) | def _process_item(self, item): method _build_iterator (line 111) | def _build_iterator(self, now): method _detect_ip_version (line 168) | def _detect_ip_version(self, ip_addr): method _detect_sha_version (line 183) | def _detect_sha_version(self, hash_value): method _saved_state_restore (line 189) | def _saved_state_restore(self, saved_state): method _saved_state_create (line 194) | def _saved_state_create(self): method _saved_state_reset (line 199) | def _saved_state_reset(self): FILE: minemeld/ft/vt.py class Notifications (line 32) | class Notifications(json.SimpleJSON): method __init__ (line 33) | def __init__(self, name, chassis, config): method configure (line 38) | def configure(self): method _load_side_config (line 54) | def _load_side_config(self): method _process_item (line 68) | def _process_item(self, item): method _build_iterator (line 81) | def _build_iterator(self, now): method hup (line 90) | def hup(self, source=None): method gc (line 96) | def gc(name, config=None): FILE: minemeld/ft/xmpp.py class XMPPOutput (line 34) | class XMPPOutput(base.BaseFT): method __init__ (line 35) | def __init__(self, name, chassis, config): method configure (line 49) | def configure(self): method _load_side_config (line 65) | def _load_side_config(self): method connect (line 85) | def connect(self, inputs, output): method initialize (line 89) | def initialize(self): method rebuild (line 92) | def rebuild(self): method reset (line 95) | def reset(self): method _read_sequence_number (line 98) | def _read_sequence_number(self): method _write_sequence_number (line 108) | def _write_sequence_number(self): method filtered_update (line 116) | def filtered_update(self, source=None, indicator=None, value=None): method filtered_withdraw (line 120) | def filtered_withdraw(self, source=None, indicator=None, value=None): method _xmpp_publish (line 123) | def _xmpp_publish(self, cmd, data=None): method _xmpp_session_start (line 146) | def _xmpp_session_start(self, event): method _xmpp_disconnected (line 157) | def _xmpp_disconnected(self, event): method _start_xmpp_client (line 161) | def _start_xmpp_client(self): method _publisher (line 201) | def _publisher(self): method _run (line 225) | def _run(self): method length (line 255) | def length(self, source=None): method hup (line 258) | def hup(self, source=None): method mgmtbus_checkpoint (line 263) | def mgmtbus_checkpoint(self, value=None): method start (line 267) | def start(self): method stop (line 275) | def stop(self): class XMPPMiner (line 285) | class XMPPMiner(op.AggregateFT): method __init__ (line 286) | def __init__(self, name, chassis, config): method configure (line 294) | def configure(self): method _load_side_config (line 310) | def _load_side_config(self): method _xmpp_session_start (line 330) | def _xmpp_session_start(self, event): method _xmpp_publish (line 341) | def _xmpp_publish(self, msg): method _start_xmpp_client (line 419) | def _start_xmpp_client(self): method _run (line 459) | def _run(self): method start (line 489) | def start(self): method stop (line 496) | def stop(self): method hup (line 504) | def hup(self, source=None): FILE: minemeld/loader.py function _conflicts (line 27) | def _conflicts(requirements, installed): function _initialize_entry_point_group (line 46) | def _initialize_entry_point_group(entrypoint_group): function bump_workingset (line 81) | def bump_workingset(): function list (line 88) | def list(entrypoint_group): function map (line 96) | def map(entrypoint_group): function load (line 104) | def load(entrypoint_group, entrypoint_name): FILE: minemeld/mgmtbus.py class MgmtbusMaster (line 63) | class MgmtbusMaster(object): method __init__ (line 72) | def __init__(self, ftlist, config, comm_class, comm_config, num_chassis): method rpc_status (line 115) | def rpc_status(self): method rpc_chassis_ready (line 120) | def rpc_chassis_ready(self, chassis_id=None): method wait_for_chassis (line 133) | def wait_for_chassis(self, timeout=60): method start_chassis (line 142) | def start_chassis(self): method _send_cmd (line 149) | def _send_cmd(self, command, to_slaves=True, params=None, and_discard=... method _send_cmd_and_wait (line 178) | def _send_cmd_and_wait(self, command, to_slaves=True, timeout=60): method _send_node_cmd (line 193) | def _send_node_cmd(self, nodename, command, params=None): method init_graph (line 218) | def init_graph(self, config): method checkpoint_graph (line 237) | def checkpoint_graph(self, max_tries=60): method _send_collectd_metrics (line 309) | def _send_collectd_metrics(self, answers, interval): method _merge_status (line 361) | def _merge_status(self, nodename, status): method _status_loop (line 387) | def _status_loop(self): method status (line 422) | def status(self, timestamp, **kwargs): method start_status_monitor (line 442) | def start_status_monitor(self): method stop_status_monitor (line 451) | def stop_status_monitor(self): method start (line 459) | def start(self): method stop (line 462) | def stop(self): class MgmtbusSlaveHub (line 466) | class MgmtbusSlaveHub(object): method __init__ (line 477) | def __init__(self, config, comm_class, comm_config): method request_log_channel (line 484) | def request_log_channel(self): method send_status (line 491) | def send_status(self, params): method request_chassis_rpc_channel (line 499) | def request_chassis_rpc_channel(self, chassis): method request_channel (line 510) | def request_channel(self, node): method add_failure_listener (line 541) | def add_failure_listener(self, f): method send_master_rpc (line 544) | def send_master_rpc(self, command, params=None, timeout=None): method start (line 552) | def start(self): method stop (line 556) | def stop(self): function master_factory (line 560) | def master_factory(config, comm_class, comm_config, nodes, num_chassis): function slave_hub_factory (line 584) | def slave_hub_factory(config, comm_class, comm_config): FILE: minemeld/packages/gdns/dig.py class Dig (line 11) | class Dig(object): method __init__ (line 78) | def __init__(self, hub=None, **kwargs): method __repr__ (line 89) | def __repr__(self): method _on_fork (line 95) | def _on_fork(self): method close (line 102) | def close(self): method query (line 108) | def query(self, name, dnsclass, type_): method parse_txt_reply (line 127) | def parse_txt_reply(self, reply): FILE: minemeld/packages/gdns/dnshelper.c function PyObject (line 20) | static PyObject* function gevent_append_addr (line 44) | static int function PyObject (line 59) | static PyObject* function PyObject (line 91) | static PyObject * function gevent_make_sockaddr (line 132) | static int FILE: minemeld/packages/gevent_openssl/SSL.py class Connection (line 15) | class Connection(object): method __init__ (line 21) | def __init__(self, context, sock): method __getattr__ (line 26) | def __getattr__(self, attr): method __iowait (line 29) | def __iowait(self, io_func, *args, **kwargs): method accept (line 40) | def accept(self): method do_handshake (line 44) | def do_handshake(self): method connect (line 51) | def connect(self, *args, **kwargs): method send (line 54) | def send(self, data, flags=0): method sendall (line 57) | def sendall(self, data, flags=0): method __send (line 66) | def __send(self, send_method, data, flags=0): method recv (line 76) | def recv(self, bufsiz, flags=0): method shutdown (line 91) | def shutdown(self): FILE: minemeld/packages/gevent_openssl/__init__.py function monkey_patch (line 30) | def monkey_patch(): FILE: minemeld/packages/ise/ers.py class IseErsRequest (line 44) | class IseErsRequest: method __init__ (line 45) | def __init__(self, name=None): method raise_for_status (line 59) | def raise_for_status(self): class IseErsError (line 67) | class IseErsError(Exception): class IseErs (line 71) | class IseErs: method __init__ (line 72) | def __init__(self, method _request (line 94) | def _request(self, method _set_attributes (line 114) | def _set_attributes(self, r): method sgts_ips_map (line 153) | def sgts_ips_map(self): method sgt (line 202) | def sgt(self, method sgmapping (line 250) | def sgmapping(self, FILE: minemeld/packages/panforest/forest.py class PanForestError (line 30) | class PanForestError(Exception): method __init__ (line 31) | def __init__(self, msg): method __str__ (line 34) | def __str__(self): class PanForest (line 40) | class PanForest(object): method __init__ (line 41) | def __init__(self, method __iter__ (line 55) | def __iter__(self): method sleep (line 58) | def sleep(self, t): method follow (line 61) | def follow(self): method tail (line 145) | def tail(self, lines): method _log_get (line 160) | def _log_get(self, nlogs=None, skip=None, filter=None): method _sleeper (line 180) | def _sleeper(self): method _xml_python (line 195) | def _xml_python(elem, path=None): method _log_count (line 204) | def _log_count(self, obj): method _log_seqno (line 218) | def _log_seqno(self, obj): method _log_entry (line 228) | def _log_entry(obj, key): method _filter (line 234) | def _filter(self, seqno): FILE: minemeld/run/cacert_merge.py function create_default_context (line 26) | def create_default_context(cafile, cadata): function main (line 40) | def main(): function verify_cafile (line 136) | def verify_cafile(cafile=None, cadata=None): FILE: minemeld/run/config.py class MineMeldConfigChange (line 71) | class MineMeldConfigChange(_ConfigChange): method __new__ (line 72) | def __new__(_cls, nodename, nodeclass, change, detail=None): class MineMeldConfig (line 82) | class MineMeldConfig(_Config): method as_nset (line 83) | def as_nset(self): method compute_changes (line 94) | def compute_changes(self, oconfig): method from_dict (line 177) | def from_dict(cls, dconfig=None): function _load_node_prototype (line 220) | def _load_node_prototype(protoname, paths): function _load_config_from_file (line 254) | def _load_config_from_file(f): function _load_and_validate_config_from_file (line 264) | def _load_and_validate_config_from_file(path): function _destroy_node (line 295) | def _destroy_node(change, installed_nodes=None, installed_nodes_gcs=None): function _destroy_old_nodes (line 343) | def _destroy_old_nodes(config): function _load_config_from_dir (line 372) | def _load_config_from_dir(path): function _detect_cycles (line 426) | def _detect_cycles(nodes): function resolve_prototypes (line 466) | def resolve_prototypes(config): function validate_config (line 521) | def validate_config(config): function load_config (line 565) | def load_config(config_path): FILE: minemeld/run/console.py function _send_cmd (line 34) | def _send_cmd(ctx, target, command, params=None, source=True): function _print_json (line 47) | def _print_json(obj): function cli (line 60) | def cli(ctx, verbose, comm_class): function length (line 91) | def length(ctx, target): function hup (line 103) | def hup(ctx, target): function status (line 116) | def status(ctx, target): function mm_signal (line 131) | def mm_signal(ctx, signal, target): function query (line 147) | def query(ctx, query, from_counter, from_timestamp, num_lines, query_uuid): function main (line 170) | def main(): FILE: minemeld/run/extgit.py function _parse_args (line 25) | def _parse_args(): function main (line 61) | def main(): FILE: minemeld/run/freeze.py function _parse_args (line 23) | def _parse_args(): function main (line 49) | def main(): FILE: minemeld/run/launcher.py function _run_chassis (line 41) | def _run_chassis(fabricconfig, mgmtbusconfig, fts): function _check_disk_space (line 77) | def _check_disk_space(num_nodes): function _parse_args (line 99) | def _parse_args(): function _setup_environment (line 139) | def _setup_environment(config): function main (line 150) | def main(): FILE: minemeld/run/restore.py class BFile (line 24) | class BFile(object): method __init__ (line 25) | def __init__(self, zip_path, type_, extracted_path=None, target_path=N... method __repr__ (line 31) | def __repr__(self): function _parse_args (line 40) | def _parse_args(): class ContextManagerStack (line 87) | class ContextManagerStack(object): method __init__ (line 88) | def __init__(self): method enter (line 91) | def enter(self, cm): method __enter__ (line 97) | def __enter__(self): method __exit__ (line 100) | def __exit__(self, *exc_info): function handle_minemeld_engine (line 107) | def handle_minemeld_engine(supervisor_url): function extract_file (line 181) | def extract_file(backup_id, bfile, efile, configuration_path, prototypes... function backup_file (line 223) | def backup_file(old_file_path): function restore_file (line 245) | def restore_file(f): function _list_of_configuration_files (line 259) | def _list_of_configuration_files(bfile, flist): function _list_of_prototypes_files (line 280) | def _list_of_prototypes_files(bfile, flist): function _list_of_certificates_files (line 295) | def _list_of_certificates_files(bfile, flist): function _list_of_feeds_aaa_files (line 311) | def _list_of_feeds_aaa_files(faaf, bfile, flist): function _reload_candidate_config (line 319) | def _reload_candidate_config(supervisor_url): function main (line 358) | def main(): FILE: minemeld/startupplanner.py class CheckpointNodes (line 13) | class CheckpointNodes(object): method __init__ (line 14) | def __init__(self): function _build_graph (line 19) | def _build_graph(config): function _plan_subgraph (line 34) | def _plan_subgraph(sg, config, state_info): function plan (line 164) | def plan(config, state_info): FILE: minemeld/supervisord/listener.py function _handle_event (line 13) | def _handle_event(SR, engine_process_name, hdrs, payload): function main (line 43) | def main(): FILE: minemeld/traced/main.py function _parse_args (line 42) | def _parse_args(): function _ioloop_failure (line 65) | def _ioloop_failure(event): function main (line 70) | def main(): FILE: minemeld/traced/purge.py function _parse_args (line 16) | def _parse_args(): function stop_minemeld_traced (line 40) | def stop_minemeld_traced(supervisor_url): function start_minemeld_traced (line 91) | def start_minemeld_traced(supervisor_url): function main (line 105) | def main(): FILE: minemeld/traced/queryprocessor.py class Query (line 41) | class Query(gevent.Greenlet): method __init__ (line 42) | def __init__(self, store, query, timestamp, counter, method _parse_query (line 62) | def _parse_query(self, query): method _check_query (line 107) | def _check_query(self, log): method _core_run (line 114) | def _core_run(self): method _run (line 153) | def _run(self): class QueryProcessor (line 163) | class QueryProcessor(object): method __init__ (line 164) | def __init__(self, comm, store, config=None): method _query_finished (line 183) | def _query_finished(self, gquery): method query (line 199) | def query(self, uuid, query, timestamp=None, counter=None, num_lines=N... method kill_query (line 244) | def kill_query(self, uuid): method stop (line 255) | def stop(self): FILE: minemeld/traced/storage.py class TableNotFound (line 40) | class TableNotFound(Exception): class Table (line 44) | class Table(object): method __init__ (line 45) | def __init__(self, name, create_if_missing=True): method add_reference (line 85) | def add_reference(self, refid): method remove_reference (line 88) | def remove_reference(self, refid): method ref_count (line 101) | def ref_count(self): method put (line 104) | def put(self, key, value): method backwards_iterator (line 115) | def backwards_iterator(self, timestamp, counter): method close (line 124) | def close(self): method oldest_table (line 129) | def oldest_table(): function _lock_current_tables (line 151) | def _lock_current_tables(): class Store (line 169) | class Store(object): method __init__ (line 170) | def __init__(self, config=None): method _open_table (line 186) | def _open_table(self, name, create_if_missing): method _close_table (line 192) | def _close_table(self, table): method _add_table (line 196) | def _add_table(self, name, priority, create_if_missing=True): method _get_table (line 218) | def _get_table(self, day, ref, create_if_missing=True): method _process_queue_element (line 234) | def _process_queue_element(self, name, ftable, create_if_missing): method _process_queue (line 269) | def _process_queue(self): method _release (line 298) | def _release(self, table, ref): method write (line 303) | def write(self, timestamp, log): method iterate_backwards (line 321) | def iterate_backwards(self, ref, timestamp, counter): method release_all (line 385) | def release_all(self, ref): method stop (line 396) | def stop(self): FILE: minemeld/traced/writer.py class DiskSpaceMonitor (line 29) | class DiskSpaceMonitor(gevent.Greenlet): method __init__ (line 30) | def __init__(self, threshold, low_disk): method _run (line 36) | def _run(self): class Writer (line 55) | class Writer(object): method __init__ (line 56) | def __init__(self, comm, store, topic, config): method log (line 76) | def log(self, timestamp, **kwargs): method stop (line 85) | def stop(self): FILE: tests/comm_mock.py class MockComm (line 19) | class MockComm(object): method __init__ (line 20) | def __init__(self, config): method request_sub_channel (line 26) | def request_sub_channel(self, topic, obj=None, allowed_methods=None, n... method request_rpc_server_channel (line 34) | def request_rpc_server_channel(self, name, obj=None, allowed_methods=[], function comm_factory (line 44) | def comm_factory(config): FILE: tests/integration/basic/test.py function get_full_config (line 21) | def get_full_config(mmurl, username, password): function delete_node (line 32) | def delete_node(nodeid, version, mmurl, username, password): function create_node (line 42) | def create_node(version, nodename, prototype, inputs, output, mmurl, use... function commit_and_restart (line 63) | def commit_and_restart(mmurl, username, password): function delete_config (line 87) | def delete_config(mmurl, username, password): function create_config (line 110) | def create_config(mmurl, username, password): function wait_for_restart (line 194) | def wait_for_restart(mmurl, username, password): function push_indicators (line 218) | def push_indicators(mmurl, username, password): function remove_timestamps (line 307) | def remove_timestamps(s): function check_feeds (line 315) | def check_feeds(mmurl): function main (line 352) | def main(): FILE: tests/panos_mock.py class PanXapiMock (line 27) | class PanXapiMock(object): method __init__ (line 28) | def __init__(self, **kwargs): method _parse_answer (line 34) | def _parse_answer(self, cmd, arg, counter): method get (line 53) | def get(self, **kwargs): method show (line 63) | def show(self, **kwargs): method op (line 73) | def op(self, **kwargs): method user_id (line 83) | def user_id(self, **kwargs): function factory (line 91) | def factory(**kwargs): FILE: tests/st_profile.py function queries (line 27) | def queries(st): FILE: tests/test_comm_amqp.py class MineMeldCommAMQP (line 23) | class MineMeldCommAMQP(unittest.TestCase): method test_01_rpc (line 24) | def test_01_rpc(self): method test_02_pubsub (line 40) | def test_02_pubsub(self): method test_03_rpc_fanout (line 61) | def test_03_rpc_fanout(self): FILE: tests/test_flask_aaa.py function _authorization_header (line 53) | def _authorization_header(username, password): class MineMeldFlaskAAATests (line 57) | class MineMeldFlaskAAATests(unittest.TestCase): method setUp (line 58) | def setUp(self): method tearDown (line 71) | def tearDown(self): method _taxii_discovery_request (line 77) | def _taxii_discovery_request(self, username=None, password=None): method _taxii_collection_request (line 93) | def _taxii_collection_request(self, username=None, password=None): method _taxii_poll_request (line 109) | def _taxii_poll_request(self, collection, username=None, password=None): method _num_collections (line 125) | def _num_collections(self, resp): method test_feeds_auth_disabled (line 140) | def test_feeds_auth_disabled(self, mmmastermock, configmock, configini... method test_feeds_single_tag (line 186) | def test_feeds_single_tag(self, mmmastermock, configmock, configinitmo... method test_feeds_two_tags (line 245) | def test_feeds_two_tags(self, mmmastermock, configmock, configinitmock): method test_feeds_two_and_two (line 304) | def test_feeds_two_and_two(self, mmmastermock, configmock, configinitm... method test_feeds_any (line 363) | def test_feeds_any(self, mmmastermock, configmock, configinitmock): method test_feeds_anonymous (line 422) | def test_feeds_anonymous(self, mmmastermock, configmock, configinitmock): method test_feeds_anonymous_2 (line 481) | def test_feeds_anonymous_2(self, mmmastermock, configmock, configinitm... method test_feeds_no_tags (line 540) | def test_feeds_no_tags(self, mmmastermock, configmock, configinitmock): method test_feeds_no_user_tags (line 595) | def test_feeds_no_user_tags(self, mmmastermock, configmock, configinit... method test_feeds_malformed (line 651) | def test_feeds_malformed(self, mmmastermock, configmock, configinitmock): method test_taxii_auth_disabled (line 705) | def test_taxii_auth_disabled(self, gtfmock1, gtfmock2, configmock, con... method test_taxii_services_tag (line 777) | def test_taxii_services_tag(self, gtfmock1, gtfmock2, configmock, conf... method test_taxii_anonymous (line 854) | def test_taxii_anonymous(self, gtfmock1, gtfmock2, configmock, configi... method test_taxii_any (line 932) | def test_taxii_any(self, gtfmock1, gtfmock2, configmock, configinitmock): method test_taxii_any_anonymous (line 1010) | def test_taxii_any_anonymous(self, gtfmock1, gtfmock2, configmock, con... method test_taxiipoll_single_tag (line 1088) | def test_taxiipoll_single_tag(self, gtfmock, configmock, configinitmock): method test_taxiipolll_two_tags (line 1141) | def test_taxiipolll_two_tags(self, gtfmock, configmock, configinitmock): method test_taxiipoll_two_and_two (line 1194) | def test_taxiipoll_two_and_two(self, gtfmock, configmock, configinitmo... method test_taxiipoll_any (line 1247) | def test_taxiipoll_any(self, gtfmock, configmock, configinitmock): method test_taxiipoll_anonymous (line 1300) | def test_taxiipoll_anonymous(self, gtfmock, configmock, configinitmock): method test_taxiipoll_anonymous_2 (line 1353) | def test_taxiipoll_anonymous_2(self, gtfmock, configmock, configinitmo... FILE: tests/test_ft_autofocus.py function logical_millisec (line 43) | def logical_millisec(*args): function gevent_event_mock_factory (line 47) | def gevent_event_mock_factory(): class MineMeldAutofocusFTTests (line 54) | class MineMeldAutofocusFTTests(unittest.TestCase): method setUp (line 55) | def setUp(self): method tearDown (line 61) | def tearDown(self): method test_type_of_indicators (line 72) | def test_type_of_indicators(self, um_mock, sleep_mock, event_mock, FILE: tests/test_ft_base.py class MineMeldFTBaseTests (line 28) | class MineMeldFTBaseTests(unittest.TestCase): method test_init (line 31) | def test_init(self, configure_mock): method test_connect_io (line 47) | def test_connect_io(self): method test_rpc (line 96) | def test_rpc(self): method test_emit (line 141) | def test_emit(self): method test_emit_filtered (line 195) | def test_emit_filtered(self): method test_full_trace (line 267) | def test_full_trace(self): FILE: tests/test_ft_basepoller.py function logical_millisec (line 42) | def logical_millisec(*args): function gevent_event_mock_factory (line 46) | def gevent_event_mock_factory(): class DeltaFeed (line 53) | class DeltaFeed(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 54) | def __init__(self, name, chassis): method _build_iterator (line 70) | def _build_iterator(self, now): method _process_item (line 79) | def _process_item(self, item): class RollingFeed (line 83) | class RollingFeed(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 84) | def __init__(self, name, chassis): method _build_iterator (line 100) | def _build_iterator(self, now): method _process_item (line 109) | def _process_item(self, item): class RollingFeedFirst (line 113) | class RollingFeedFirst(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 114) | def __init__(self, name, chassis): method _build_iterator (line 133) | def _build_iterator(self, now): method _process_item (line 142) | def _process_item(self, item): class RollingFeedFirst2 (line 146) | class RollingFeedFirst2(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 147) | def __init__(self, name, chassis): method _build_iterator (line 166) | def _build_iterator(self, now): method _process_item (line 175) | def _process_item(self, item): class PermanentFeed (line 179) | class PermanentFeed(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 180) | def __init__(self, name, chassis): method _build_iterator (line 196) | def _build_iterator(self, now): method _process_item (line 205) | def _process_item(self, item): class SuperPermanentFeed (line 209) | class SuperPermanentFeed(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 210) | def __init__(self, name, chassis): method _build_iterator (line 227) | def _build_iterator(self, now): method _process_item (line 236) | def _process_item(self, item): class PermanentFeedWithType (line 240) | class PermanentFeedWithType(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 241) | def __init__(self, name, chassis): method _build_iterator (line 258) | def _build_iterator(self, now): method _process_item (line 267) | def _process_item(self, item): class PermanentFeedWithTypeAggregated (line 272) | class PermanentFeedWithTypeAggregated(minemeld.ft.basepoller.BasePollerFT): method __init__ (line 273) | def __init__(self, name, chassis): method _build_iterator (line 291) | def _build_iterator(self, now): method _process_item (line 300) | def _process_item(self, item): class DeltaFeedWithTypeAggregatedFaulty (line 305) | class DeltaFeedWithTypeAggregatedFaulty(minemeld.ft.basepoller.BasePolle... method __init__ (line 306) | def __init__(self, name, chassis): method _iterator (line 328) | def _iterator(self, iterator): method _build_iterator (line 333) | def _build_iterator(self, now): method _process_item (line 351) | def _process_item(self, item): class MineMeldFTBasePollerTests (line 356) | class MineMeldFTBasePollerTests(unittest.TestCase): method setUp (line 357) | def setUp(self): method tearDown (line 363) | def tearDown(self): method test_delta_feed (line 374) | def test_delta_feed(self, um_mock, event_mock, sleep_mock, spawnl_mock... method test_rolling_feed (line 456) | def test_rolling_feed(self, um_mock, event_mock, sleep_mock, method test_rolling_feed_first (line 542) | def test_rolling_feed_first(self, um_mock, event_mock, sleep_mock, method test_rolling_feed_first2 (line 634) | def test_rolling_feed_first2(self, um_mock, event_mock, sleep_mock, method test_permanent_feed (line 771) | def test_permanent_feed(self, um_mock, event_mock, method test_superpermanent_feed (line 857) | def test_superpermanent_feed(self, um_mock, event_mock, method test_drop_old_ops (line 928) | def test_drop_old_ops(self, um_mock, event_mock, sleep_mock, spawnl_mo... method test_permanentwithtype_feed (line 977) | def test_permanentwithtype_feed(self, um_mock, event_mock, method test_bptable_1 (line 1063) | def test_bptable_1(self, um_mock, event_mock, method test_bptable_2 (line 1086) | def test_bptable_2(self, um_mock, event_mock, method test_bptable_3 (line 1103) | def test_bptable_3(self, um_mock, event_mock, method test_bptable_4 (line 1118) | def test_bptable_4(self, um_mock, event_mock, method test_bptable_5 (line 1133) | def test_bptable_5(self, um_mock, event_mock, method test_bptable_6 (line 1147) | def test_bptable_6(self, um_mock, event_mock, method test_bptable_7 (line 1162) | def test_bptable_7(self, um_mock, event_mock, method test_bptable_8 (line 1178) | def test_bptable_8(self, um_mock, event_mock, method test_permanentwithtype_feed_agg (line 1197) | def test_permanentwithtype_feed_agg(self, um_mock, event_mock, method test_permanentwithtype_feed_agg2 (line 1283) | def test_permanentwithtype_feed_agg2(self, um_mock, event_mock, FILE: tests/test_ft_boolexpr.py class ExprBuilder (line 33) | class ExprBuilder(minemeld.ft.condition.BoolExprListener): method __init__ (line 34) | def __init__(self): method exitExpression (line 39) | def exitExpression(self, ctx): method exitComparator (line 42) | def exitComparator(self, ctx): method exitValue (line 57) | def exitValue(self, ctx): function _parse_string (line 70) | def _parse_string(s): function _eval_expression (line 85) | def _eval_expression(eb, i): class MineMeldFTBaseTests (line 99) | class MineMeldFTBaseTests(unittest.TestCase): method test_simple (line 100) | def test_simple(self): method test_func (line 106) | def test_func(self): method test_eval (line 113) | def test_eval(self): FILE: tests/test_ft_dag.py function logical_millisec (line 50) | def logical_millisec(*args): function gevent_event_mock_factory (line 54) | def gevent_event_mock_factory(): function device_pusher_mock_factory (line 61) | def device_pusher_mock_factory(device, prefix, watermark, attributes, pe... class MineMeldFTDagPusherTests (line 71) | class MineMeldFTDagPusherTests(unittest.TestCase): method setUp (line 72) | def setUp(self): method tearDown (line 83) | def tearDown(self): method test_device_list_load (line 102) | def test_device_list_load(self, dp_mock, timegm_mock, event_mock, hw_m... method test_uw (line 212) | def test_uw(self, dp_mock, timegm_mock, event_mock, method test_uinvalid (line 300) | def test_uinvalid(self, dp_mock, timegm_mock, event_mock, method test_unicast1 (line 366) | def test_unicast1(self, dp_mock, timegm_mock, event_mock, method test_unicast2 (line 454) | def test_unicast2(self, dp_mock, timegm_mock, event_mock, method test_devicepusher_dag_message (line 536) | def test_devicepusher_dag_message(self, panxapi_mock): method test_devicepusher_tags_from_value (line 555) | def test_devicepusher_tags_from_value(self, panxapi_mock): method test_devicepusher_get_all_registered_ips (line 574) | def test_devicepusher_get_all_registered_ips(self, panxapi_mock): method test_devicepusher_push (line 588) | def test_devicepusher_push(self, panxapi_mock): method test_devicepusher_init_resync (line 604) | def test_devicepusher_init_resync(self, panxapi_mock): FILE: tests/test_ft_ipop.py function check_for_rpc (line 43) | def check_for_rpc(call_args_list, check_list, all_here=False): class MineMeldFTIPOpTests (line 96) | class MineMeldFTIPOpTests(unittest.TestCase): method setUp (line 97) | def setUp(self): method tearDown (line 108) | def tearDown(self): method test_calc_ipranges (line 119) | def test_calc_ipranges(self): method test_uwl (line 262) | def test_uwl(self): method test_uwl2 (line 339) | def test_uwl2(self): method test_uwl3 (line 423) | def test_uwl3(self): method test_overlap_by_one (line 536) | def test_overlap_by_one(self): method test_overlap_by_lastrange (line 610) | def test_overlap_by_lastrange(self): method test_3overlaps (line 680) | def test_3overlaps(self): method test_2overlaps (line 784) | def test_2overlaps(self): method test_attr_override (line 882) | def test_attr_override(self): method test_uw (line 943) | def test_uw(self): method test_2uw (line 1009) | def test_2uw(self): method test_uw_wrongtype (line 1086) | def test_uw_wrongtype(self): method test_updated_indicator (line 1153) | def test_updated_indicator(self): method test_stress_1 (line 1223) | def test_stress_1(self): method test_stress_2 (line 1294) | def test_stress_2(self): FILE: tests/test_ft_local.py function logical_millisec (line 45) | def logical_millisec(*args): function gevent_event_mock_factory (line 49) | def gevent_event_mock_factory(): class MineMeldYamlFTTests (line 56) | class MineMeldYamlFTTests(unittest.TestCase): method setUp (line 57) | def setUp(self): method tearDown (line 68) | def tearDown(self): method test_yaml (line 84) | def test_yaml(self, um_mock, sleep_mock, event_mock, FILE: tests/test_ft_logstash.py class MineMeldFTLogstashOutputTests (line 29) | class MineMeldFTLogstashOutputTests(unittest.TestCase): method test_uw (line 30) | def test_uw(self): FILE: tests/test_ft_op.py function check_for_rpc (line 41) | def check_for_rpc(call_args_list, check_list, all_here=False, offset=0): class MineMeldFTOpTests (line 95) | class MineMeldFTOpTests(unittest.TestCase): method setUp (line 96) | def setUp(self): method tearDown (line 102) | def tearDown(self): method test_aggregate_2u (line 108) | def test_aggregate_2u(self): method test_aggregate_uwl (line 154) | def test_aggregate_uwl(self): method test_aggregate_2uw (line 200) | def test_aggregate_2uw(self): method test_aggregate_2u2w (line 245) | def test_aggregate_2u2w(self): method test_aggregate_u2w_difftypes (line 302) | def test_aggregate_u2w_difftypes(self): method test_aggregate_uwlwl (line 360) | def test_aggregate_uwlwl(self): method test_infilters (line 420) | def test_infilters(self): method test_infilters_2u (line 471) | def test_infilters_2u(self): method test_attr_override (line 531) | def test_attr_override(self): method test_get_all (line 593) | def test_get_all(self): method test_get_range (line 673) | def test_get_range(self): FILE: tests/test_ft_redis.py class MineMeldFTRedisTests (line 33) | class MineMeldFTRedisTests(unittest.TestCase): method setUp (line 34) | def setUp(self): method tearDown (line 38) | def tearDown(self): method test_init (line 42) | def test_init(self): method test_connect_io (line 57) | def test_connect_io(self): method test_uw (line 108) | def test_uw(self): method test_stats (line 145) | def test_stats(self): method test_store_value (line 186) | def test_store_value(self): method test_store_value_overflow (line 227) | def test_store_value_overflow(self): FILE: tests/test_ft_st.py class MineMeldFTSTTests (line 35) | class MineMeldFTSTTests(unittest.TestCase): method setUp (line 36) | def setUp(self): method tearDown (line 42) | def tearDown(self): method test_add_delete (line 48) | def test_add_delete(self): method test_query_endpoints_forward (line 58) | def test_query_endpoints_forward(self): method test_query_endpoints_reverse (line 79) | def test_query_endpoints_reverse(self): method test_basic_cover (line 100) | def test_basic_cover(self): method test_cover_overlap (line 120) | def test_cover_overlap(self): method test_cover_overlap2 (line 166) | def test_cover_overlap2(self): method _random_map (line 188) | def _random_map(self, nbits=10, nintervals=1000): method test_random_map_fast (line 226) | def test_random_map_fast(self): method test_random_map_fast2 (line 230) | def test_random_map_fast2(self): method test_255 (line 233) | def test_255(self): method test_stress_0 (line 242) | def test_stress_0(self): method test_stress_1 (line 277) | def test_stress_1(self): FILE: tests/test_ft_syslog.py function check_for_rpc (line 36) | def check_for_rpc(call_args_list, check_list, all_here=False): class MineMeldFTSyslogMatcherests (line 89) | class MineMeldFTSyslogMatcherests(unittest.TestCase): method setUp (line 90) | def setUp(self): method tearDown (line 106) | def tearDown(self): method test_handle_ip_01 (line 123) | def test_handle_ip_01(self, spawnl_mock): method test_handle_ip_02 (line 183) | def test_handle_ip_02(self, spawnl_mock): method test_handle_ip_03 (line 240) | def test_handle_ip_03(self, spawnl_mock): method test_handle_url_01 (line 283) | def test_handle_url_01(self, spawnl_mock): method test_handle_url_02 (line 343) | def test_handle_url_02(self, spawnl_mock): method test_logstash_url (line 402) | def test_logstash_url(self, socket_socket, spawnl_mock): method test_logstash_ip (line 453) | def test_logstash_ip(self, socket_socket, spawnl_mock): method test_logstash_event_tags (line 501) | def test_logstash_event_tags(self, socket_socket, spawnl_mock): FILE: tests/test_ft_table.py class MineMeldFTTableTests (line 34) | class MineMeldFTTableTests(unittest.TestCase): method setUp (line 35) | def setUp(self): method tearDown (line 41) | def tearDown(self): method test_truncate (line 47) | def test_truncate(self): method test_insert (line 62) | def test_insert(self): method test_index_query (line 74) | def test_index_query(self): method test_index_query_2 (line 94) | def test_index_query_2(self): method test_index_query_3 (line 119) | def test_index_query_3(self): method test_query (line 148) | def test_query(self): method test_exists (line 164) | def test_exists(self): method test_not_exists (line 181) | def test_not_exists(self): method test_update (line 195) | def test_update(self): method test_random (line 214) | def test_random(self): method test_write (line 292) | def test_write(self): FILE: tests/test_ft_taxii.py class MockTaxiiContentBlock (line 47) | class MockTaxiiContentBlock(object): method __init__ (line 48) | def __init__(self, stix_xml): class MineMeldFTTaxiiTests (line 57) | class MineMeldFTTaxiiTests(unittest.TestCase): method test_taxiiclient_parse (line 59) | def test_taxiiclient_parse(self, glet_mock): method test_datafeed_init (line 133) | def test_datafeed_init(self, glet_mock, SR_mock): method test_datafeed_update_ip (line 150) | def test_datafeed_update_ip(self, glet_mock, SR_mock): method test_datafeed_update_domain (line 319) | def test_datafeed_update_domain(self, glet_mock, SR_mock): method test_datafeed_update_url (line 376) | def test_datafeed_update_url(self, glet_mock, SR_mock): method test_datafeed_unicode_url (line 433) | def test_datafeed_unicode_url(self, glet_mock, SR_mock): method test_datafeed_overflow (line 490) | def test_datafeed_overflow(self, glet_mock, SR_mock): method test_datafeed_update_hash (line 567) | def test_datafeed_update_hash(self, glet_mock, SR_mock): FILE: tests/test_run_config.py class MineMeldRunConfigTests (line 33) | class MineMeldRunConfigTests(unittest.TestCase): method test_defaults_from_file (line 34) | def test_defaults_from_file(self): method test_prototype_1 (line 46) | def test_prototype_1(self): method test_validate_config_1 (line 57) | def test_validate_config_1(self): method test_validate_config_2 (line 75) | def test_validate_config_2(self): method test_validate_config_3 (line 93) | def test_validate_config_3(self): method test_validate_config_4 (line 120) | def test_validate_config_4(self): FILE: tests/test_startupplanner.py class MineMeldStartupPlanner (line 31) | class MineMeldStartupPlanner(unittest.TestCase): method test_subgraphs_1 (line 32) | def test_subgraphs_1(self): method test_new_miner (line 106) | def test_new_miner(self): method test_removed_output (line 162) | def test_removed_output(self): method test_added_chain (line 219) | def test_added_chain(self): method test_invalid_chain_1 (line 293) | def test_invalid_chain_1(self): method test_invalid_node_1 (line 381) | def test_invalid_node_1(self): method test_invalid_node_2 (line 431) | def test_invalid_node_2(self): method test_invalid_node_3 (line 481) | def test_invalid_node_3(self): method test_existing_source_added (line 553) | def test_existing_source_added(self): method test_non_existing_source_added (line 614) | def test_non_existing_source_added(self): method test_non_source_existing_input_added (line 672) | def test_non_source_existing_input_added(self): FILE: tests/test_traced_queryprocessor.py class MineMeldTracedStorage (line 46) | class MineMeldTracedStorage(unittest.TestCase): method setUp (line 47) | def setUp(self): method tearDown (line 51) | def tearDown(self): method test_query_1 (line 57) | def test_query_1(self, glet_mock, SR_mock): method test_query_pos (line 91) | def test_query_pos(self, glet_mock, SR_mock): method test_query_and (line 126) | def test_query_and(self, glet_mock, SR_mock): method test_query_fs1 (line 164) | def test_query_fs1(self, glet_mock, SR_mock): method test_query_fs2 (line 211) | def test_query_fs2(self, glet_mock, SR_mock): method test_query_fs3 (line 258) | def test_query_fs3(self, glet_mock, SR_mock): method test_query_fs4 (line 305) | def test_query_fs4(self, glet_mock, SR_mock): method test_query_fs5 (line 352) | def test_query_fs5(self, glet_mock, SR_mock): method test_query_wcard (line 399) | def test_query_wcard(self, glet_mock, SR_mock): method test_query_empty (line 446) | def test_query_empty(self, glet_mock, SR_mock): method test_queryprocessor_1 (line 477) | def test_queryprocessor_1(self, query_mock): method test_queryprocessor_2 (line 517) | def test_queryprocessor_2(self, query_mock): method test_queryprocessor_3 (line 558) | def test_queryprocessor_3(self, query_mock): method test_queryprocessor_4 (line 593) | def test_queryprocessor_4(self, query_mock): method test_queryprocessor_5 (line 623) | def test_queryprocessor_5(self, query_mock): FILE: tests/test_traced_storage.py class MineMeldTracedStorage (line 38) | class MineMeldTracedStorage(unittest.TestCase): method setUp (line 39) | def setUp(self): method tearDown (line 47) | def tearDown(self): method test_table_constructor (line 55) | def test_table_constructor(self): method test_table_write (line 73) | def test_table_write(self): method test_table_references (line 90) | def test_table_references(self): method test_table_oldest (line 109) | def test_table_oldest(self): method test_store_simple (line 128) | def test_store_simple(self): method test_store_write (line 134) | def test_store_write(self, table_mock): method test_store_iterate_backwards (line 163) | def test_store_iterate_backwards(self, table_mock): method test_store_iterate_backwards_2 (line 198) | def test_store_iterate_backwards_2(self, table_mock): method test_store_iterate_backwards_empty (line 224) | def test_store_iterate_backwards_empty(self, table_mock): method test_stress_1 (line 243) | def test_stress_1(self): FILE: tests/test_traced_writer.py class MineMeldTracedStorage (line 36) | class MineMeldTracedStorage(unittest.TestCase): method test_writer (line 37) | def test_writer(self): FILE: tests/traced_mock.py function _get_clock (line 30) | def _get_clock(): class MockTable (line 38) | class MockTable(object): method __init__ (line 39) | def __init__(self, name, create_if_missing=True): method add_reference (line 51) | def add_reference(self, refid): method remove_reference (line 54) | def remove_reference(self, refid): method ref_count (line 61) | def ref_count(self): method put (line 64) | def put(self, key, value): method backwards_iterator (line 72) | def backwards_iterator(self, timestamp, counter): method close (line 78) | def close(self): method oldest_table (line 82) | def oldest_table(): function table_factory (line 90) | def table_factory(name, create_if_missing=True): function table_cleanup (line 102) | def table_cleanup(): class MockStore (line 106) | class MockStore(object): method __init__ (line 107) | def __init__(self, config=None): method write (line 117) | def write(self, timestamp, log): method iterate_backwards (line 125) | def iterate_backwards(self, ref, timestamp, counter): method release_all (line 135) | def release_all(self, ref): function store_factory (line 138) | def store_factory(config=None): class MockQuery (line 143) | class MockQuery(gevent.Greenlet): method __init__ (line 144) | def __init__(self, store, query, timestamp, counter, method kill (line 158) | def kill(self): method _run (line 162) | def _run(self): class MockEQuery (line 167) | class MockEQuery(gevent.Greenlet): method __init__ (line 168) | def __init__(self, store, query, timestamp, counter, method kill (line 182) | def kill(self): method _run (line 186) | def _run(self): function query_factory (line 191) | def query_factory(store, query, timestamp, counter, function query_cleanup (line 205) | def query_cleanup():