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.5.tar.gz (22.1 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.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cwatch-0.3.5.tar.gz
Algorithm Hash digest
SHA256 e5b9a0bbe10f2eaba77307d19fa71ddbd0b26e04a4edc58fec345224928a3605
MD5 2b1ad77fce6aad269f158bbf76c6b9b2
BLAKE2b-256 3acca701558fe2767b719cc4edcaebdd26fb3f3674a146c8531373dd8fe7657c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cwatch-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bcbf24f63cc62bffd21e5ac252f13fc7165089d9630c0ce1a43c305557ddf7db
MD5 78b651e46b0c70def13d9e91c9e868ee
BLAKE2b-256 216795e52e5dc30e867b35d6158bd16a18c7e46fde7a7381e57328216f686dbd

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