Skip to main content

Monitors and generates a report for changes in reports from Cyberbro

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

cwatch

A simple tool to regurarly run queries against cyberbro and generate a report.

Configuration

Create a directory where you like to store your configuration and database. Create a configuration file named cwatch.toml in that directory, an example is available in the file _example-config.toml _.

Configuration Sections

[iocs]

  • domains - List of domains and IP addresses to monitor

[cyberbro]

  • url - URL to your cyberbro instance
  • engines - List of threat intelligence engines to query

[cwatch]

  • header - Report title (e.g., "Report for example.com")
  • footer - Optional footer text for reports
  • DB_FILE - SQLite database filename (default: "cwatch.db")
Filtering Options
  • ignore_engines - List of engines to completely ignore in diff comparison
  • ignore_engines_partly - List of [engine, field] pairs to ignore specific fields within engines
Output Control
  • quiet - Set to true to suppress "Checking for changes for: [host]" messages (recommended for 100+ hosts)
  • verbose - Set to true to show debug information about filtering

Output Format

cwatch provides a consistent, two-part output format:

  1. Human-readable summaries - Markdown-formatted change descriptions for each target as they're processed
  2. Detailed JSON diffs - Complete technical details in an appendix at the end of the report

New targets show "Initial data collected" on first run, then changes are detected on subsequent runs.

Install

Run the following in the directory where you have placed cwatch.toml.

uv venv
uv pip install cwatch

Usage

Run cwatch:

uv run cwatch

Designed to be run from cron.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cwatch-0.3.3.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cwatch-0.3.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file cwatch-0.3.3.tar.gz.

File metadata

  • Download URL: cwatch-0.3.3.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for cwatch-0.3.3.tar.gz
Algorithm Hash digest
SHA256 6605ef13d5797d8f75195fb350ced55c34cdda60388d35100439199f1746012f
MD5 b9e62e65bac10dcc8bfc79022a9c3880
BLAKE2b-256 6bef18130ed4aa511d84a9b9e2908c427f23d97d262a41d71ed36d0d417e52c2

See more details on using hashes here.

File details

Details for the file cwatch-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: cwatch-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for cwatch-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7209dd98d3f01492698268d15c68ec4cab963f9a0da956940dc1ba1df62378a9
MD5 c68c961446cd768184692e2d1113e673
BLAKE2b-256 baa5a8cfa946916c5059b6621a7abf71fc38e9701931db98b7c405d70be91d6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page