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

Function _file_entry

webapp_modern.py:2151–2157  ·  view source on GitHub ↗
(fpath: str)

Source from the content-addressed store, hash-verified

2149
2150
2151def _ni_save_memory():
2152 try:
2153 tmp = _ni_store_path() + '.tmp'
2154 with open(tmp, 'w') as f:
2155 json.dump(_ni_alert_memory, f)
2156 os.replace(tmp, _ni_store_path())
2157 except Exception as exc:
2158 logger.debug(f"[net-integrity] alert-memory save failed: {exc}")
2159
2160# Verdict severity. A check's verdict is CLEAN (0), a real posture/deviation finding

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected