Skip to main content

ThreatFlix UEBA scoring runtime with deterministic-friendly anomaly scoring

Project description

ThreatFlix UEBA Package

Version 0.0.1

This directory contains the first packaged release of the ThreatFlix UEBA scoring runtime.

It contains:

  • threatflix_ueba/: installable Python package
  • app.py: compatibility entrypoint for the local FastAPI service
  • contracts.py: compatibility re-export for local runtime contracts
  • test_contracts.py, test_app.py: runtime contract and scoring tests
  • artifacts/ueba_bundle.joblib: promoted trained UEBA bundle loaded at startup
  • pyproject.toml, requirements.txt, uv.lock, .python-version: local runtime environment metadata

It does not contain offline training or dataset generation code.

Offline ML work now lives under ML/.

Runtime Artifact Contract

The planned runtime artifact is promoted from an approved offline export and contains:

  • fitted Isolation Forest, ECOD, and COPOD detectors
  • normal training score references for empirical-percentile normalization
  • exact ordered 21-feature schema and schema version
  • locked detector weights and deployed anomaly threshold
  • feature baseline statistics for explanations

The accompanying metadata file records the model version, configuration, training dataset summary, and evaluation summary.

The packaged runtime:

  • loads artifacts only at startup
  • never trains, retrains, tunes, or overwrites artifacts
  • validates schema version and feature order before scoring
  • returns normalized detector scores, ensemble anomaly score, behavior score, and feature reasons
  • fails open to deterministic-only behavior when ML is unavailable or incompatible

Package Entry Points

  • importable module: threatflix_ueba
  • FastAPI app: threatflix_ueba.app:app
  • CLI server command: threatflix-ueba-serve

The service only scores sessions supplied from an existing deterministic investigation. It must not create investigations independently.

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

threatflix_ueba-0.0.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

threatflix_ueba-0.0.1-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file threatflix_ueba-0.0.1.tar.gz.

File metadata

  • Download URL: threatflix_ueba-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for threatflix_ueba-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0593a4b4b80d7f49415b64bb4fa590c880dd79ed946aefadbc293879fcb8c271
MD5 44b6e26825ad98d1c802fc47300cad0e
BLAKE2b-256 86361524fb3baf79e2412769d96e4f8d412dc665c821e8d9156ddbd8f4d4e55c

See more details on using hashes here.

File details

Details for the file threatflix_ueba-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for threatflix_ueba-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6092cd6943490b59da21676babe8e61b12ad84cc1f8aa1342d7e6d9db4d4c702
MD5 98135127866d5e11a65d4cc10392d79a
BLAKE2b-256 4683f057057cfb482f879f6d20dd82b8c73d2d5d672182f9d9845945e096a486

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