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.4.tar.gz (20.8 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.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cwatch-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ae2bda9771dc0bb8c9979dafe688503d5325c7de6b062470f570793216681a96
MD5 3bab38661a7ad404376d5577f2d86c2b
BLAKE2b-256 9049175335866d709d05d02a4fc7350fec3366d193d2321f8b47167920eef26d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cwatch-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 56a2a15574fc90bf27d042d3a16fd45bca1abcfe668f5cb67dde6cc7d92c9db8
MD5 7c0b80655a368da18b55e127aca8782d
BLAKE2b-256 67944e5f5a09bec5916155d3d1b341e36339d7a8c67d36e53a0fbb45009faaa6

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