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

Method get_attack_logs

attack_logger.py:145–186  ·  view source on GitHub ↗

Retrieve attack logs with optional filtering. Args: ip: Filter by target IP (optional) attack_type: Filter by attack type (optional) status: Filter by status (optional) limit: Maximum number of logs to retrieve day

(self, ip=None, attack_type=None, status=None, limit=100, days=7)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

warningMethod · 0.80
errorMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected