Continuous monitoring of authorized targets for the Klyrek ecosystem
Project description
klyrek-monitor
Continuous monitoring of authorized targets, built on periodic re-scans rather than a
scheduler daemon — Klyrek doesn't ship a task queue, so "continuous" here means "run
klyrek crawl again later (via your own cron/CI schedule) and diff the result against the
last one."
snapshot—save_snapshot(result, path)/load_snapshot(path)round-trip a fullScanResultto/from JSON on disk, so a scan from last week can be compared against today's.diff—compute_diff(old, new)compares two scans of the same target: new/removed endpoints, new/removed/version-changed technologies, and new/resolved findings.report—render_diff_markdown(diff)turns aScanDiffinto a readable change summary (or a one-line "no changes" message).
from pathlib import Path
from klyrek_monitor.diff import compute_diff
from klyrek_monitor.report import render_diff_markdown
from klyrek_monitor.snapshot import load_snapshot, save_snapshot
previous = load_snapshot(Path("last_scan.json"))
diff = compute_diff(previous, current_result)
print(render_diff_markdown(diff))
save_snapshot(current_result, Path("last_scan.json"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file klyrek_monitor-0.1.0.tar.gz.
File metadata
- Download URL: klyrek_monitor-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aad68059368a465c7b8cd43a7cb8e0f81cb2d8c1c1d46df915b2e01b032d3abc
|
|
| MD5 |
50f3bf5076af27a8d9612ddcfecbbd7c
|
|
| BLAKE2b-256 |
fa3120c1c432e497d0db2c21bf5bf8f0b9a14bd4d79e9f54886e3fde8dd472ad
|
File details
Details for the file klyrek_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: klyrek_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8825de8453dc63d465c98c2ad7a0bb963be7d6ff7a74c53a08c53c5c5be1a0
|
|
| MD5 |
300b14e9c25908cdadfa0a1ef11edbcf
|
|
| BLAKE2b-256 |
287448445911821f44530329ec32f5ba99decc1997568f112fc9f867b8340064
|