MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _recent_items

Function _recent_items

webapp_modern.py:2193–2203  ·  view source on GitHub ↗
(paths: List[str], limit: int = 5)

Source from the content-addressed store, hash-verified

2191
2192
2193def _ni_rank(v):
2194 v = (v or 'unknown')
2195 if v in _NI_CLEAN:
2196 return 0
2197 if v in _NI_CRITICAL:
2198 return 2
2199 return 1
2200
2201
2202def _net_integrity_check_once():
2203 """Run the fast core checks (DNS/ARP/DHCP + RA-Guard posture) plus, when extended
2204 monitoring is on, the next round-robin batch of the passive Watch scanners. Update
2205 per-check state and alert on any check that worsens. Returns the overall verdict."""
2206 import network_diagnostics as nd

Callers 1

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected