mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-21 07:41:28 +02:00
Three corpora, one miner: web asset roots, the responses endpoint_probe read, and a scanner's proof. `endpoint_responses` is its own table so the nine select(Endpoint) sites do not carry every body; retention deletes those rows with the web asset bodies, and protects each target's newest census run. A passive leaf past the last awaited level joins the deferred tail, so the finding corpus lands before finalize re-mines it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B58eEM68a5qDFTQXPE5aoW
35 lines
747 B
Python
35 lines
747 B
Python
from shared.services.secret_mining.corpora import (
|
|
CORPORA,
|
|
Corpus,
|
|
Document,
|
|
has_documents,
|
|
)
|
|
from shared.services.secret_mining.detectors import Match, Sweep, entropy, find
|
|
from shared.services.secret_mining.inventory import Observation, SecretInventory
|
|
from shared.services.secret_mining.record import context, fingerprint
|
|
from shared.services.secret_mining.run import (
|
|
MineOutcome,
|
|
mine_scan,
|
|
pending_scans,
|
|
stage_mined,
|
|
)
|
|
|
|
__all__ = [
|
|
"CORPORA",
|
|
"Corpus",
|
|
"Document",
|
|
"Match",
|
|
"MineOutcome",
|
|
"Observation",
|
|
"SecretInventory",
|
|
"Sweep",
|
|
"context",
|
|
"entropy",
|
|
"find",
|
|
"fingerprint",
|
|
"has_documents",
|
|
"mine_scan",
|
|
"pending_scans",
|
|
"stage_mined",
|
|
]
|