Skip to main content

A lightweight version of OpenKAT.

Project description

Openkat

An experimental sandbox environment to easily experiment with (some) functionality of openkat. This version of openkat runs all services in a single process and replaces services such as Bytes, Rabbitmq and Celery with an in-memory implementation. As a consequence, the current version does not guarantee persistence beyond the lifetime of the process. It speaks for itself that this library should not be used in a production environment. To properly deploy an openkat instance, please refer to the official documentation on Github.

Overview

Features

These features of openkat are currently present in this package

  • The Rocky interface: UI around reporting on Findings
  • The Octopoes models: for modelling the Objects Of Interest (OOIs)
  • The Boefjes/Normalizers: the python scripts that find OOIs (excluding the containerized versions)
  • The Scheduler: dispatching Boefjes and Normalizers automatically

Benefits

The benefits and extra features of this package are:

  • Lightweight: a single process for the app, reducing overhead of the official services and installation times
  • A default superuser and development organization
  • OTP disabled to optimize for restarting the service even after an update
  • Adding plugins by creating plugins in a custom plugins folder

Missing Features

However, some features are excluded from this version on purpose:

  • Audit trailing using Bytes
  • Miscellaneous functionality in the interface, such as specifying a depth of an OOI tree and custom images in the KATalogus
  • Deletion Propagation: you have to manually delete every single OOI
  • ScanProfile inheritance: you have to manually add scan profiles to observed OOIs
  • Valid times: you cannot browse the OOI history through time

Coming Features

Some missing features are still to be added:

  • Bits
  • Object persistence beyond server lifetime

Installation

$ pip install py-openkat

Usage

To start the instance, run

$ python -m openkat

and navigate to http://localhost:8000. Login with email super@user.com and password superuser. You can start adding your objects now (see the official documentation). Note: restarting the service clears your object database.

Dependencies

To use the Dockerized boefjes, you must have Docker installed on your machine.

Contributing

Dependencies:

  • poetry
  • yarn

To setup a development environment, run

$ make init

To build, run

$ make build

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

py-openkat-1.2.1.tar.gz (11.2 MB view details)

Uploaded Source

Built Distribution

py_openkat-1.2.1-py3-none-any.whl (11.5 MB view details)

Uploaded Python 3

File details

Details for the file py-openkat-1.2.1.tar.gz.

File metadata

  • Download URL: py-openkat-1.2.1.tar.gz
  • Upload date:
  • Size: 11.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.5 Linux/5.15.0-46-generic

File hashes

Hashes for py-openkat-1.2.1.tar.gz
Algorithm Hash digest
SHA256 26c7504177f6b747ae33af8a5b910c272b19b873ece3333abc844ba4eba00cab
MD5 68236f35b089e0837db2212af96f096a
BLAKE2b-256 a30dda3492ebc9116f86f93eb96613994bec82a507864e85236f9cd3088ef9e8

See more details on using hashes here.

File details

Details for the file py_openkat-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: py_openkat-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.5 Linux/5.15.0-46-generic

File hashes

Hashes for py_openkat-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee68739641f835d6654f97c8c43115c6188fddabde68bf2f013c679bcf244e81
MD5 27e48fa3a20e6ddc12635efafea6f050
BLAKE2b-256 b0bd4f6d4c0421a6b4bf6e357e6e568735f95246cd0f8c084ef8e446f913df8a

See more details on using hashes here.

Supported by

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