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

Method get_rules

ui/opensnitch/firewall/__init__.py:168–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 return self.chains.get()
167
168 def get_rules(self):
169 return self.rules.get()
170
171 def rule_to_json(self, rule):
172 return Rules.to_json(rule)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected