MCPcopy
hub / github.com/evilsocket/opensnitch / get

Method get

ui/opensnitch/firewall/rules.py:103–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

101 return False, QC.translate("firewall", "rule not found by its ID.")
102
103 def get(self):
104 rules = []
105 for node in self._nodes.get_nodes():
106 node_rules = self.get_by_node(node)
107 rules += node_rules
108
109 return rules
110
111 def delete(self, addr, uuid):
112 node = self._nodes.get_node(addr)

Callers 15

import_Function · 0.45
get_rule_by_uuidMethod · 0.45
get_chainsMethod · 0.45
get_rulesMethod · 0.45
__init__Method · 0.45
_compileMethod · 0.45
runMethod · 0.45
compileMethod · 0.45
download_urlMethod · 0.45
analyzeMethod · 0.45
compileMethod · 0.45
update_popupMethod · 0.45

Calls 2

get_by_nodeMethod · 0.95
get_nodesMethod · 0.80

Tested by

no test coverage detected