Skip to main content

Official FastAPI integration for the Zubbl Runtime Intelligence Platform

Project description

Zubbl FastAPI

The official FastAPI integration for the Zubbl Runtime Intelligence Platform.

Zubbl provides real-time runtime visibility, behavioural security and adaptive protection from inside your application.

Features

  • 5 minute integration
  • Automatic endpoint discovery
  • Runtime request telemetry
  • Behavioural security signals
  • Runtime protection policies
  • Live Runtime Viewer integration
  • Runtime Guard heartbeat
  • Zero application code changes beyond initial setup

Requirements

  • Python 3.10+
  • FastAPI 0.110+

Installation

pip install zubbl-fastapi

Quick Start

import os

from fastapi import FastAPI
from zubbl_fastapi import Zubbl

app = FastAPI()

zubbl = Zubbl(
    os.environ["ZUBBL_API_KEY"],
    identify=lambda request: request.state.user.id,
)

zubbl.attach(app)

Start your application.

Your application will automatically appear inside the Zubbl Runtime Viewer.

API keys

Supply ZUBBL_API_KEY through an uncommitted local environment file or your hosting platform managed environment-variable or secret facility. Never paste a real key into application source.

Bootstrap availability

Recoverable bootstrap outages fail open by default: the FastAPI application starts, requests continue, and Runtime Guard retries after 30 seconds. During the outage, request.state.zubbl_skipped_reason is bootstrap_unavailable. Invalid or revoked keys and invalid configuration remain fatal.

Strict applications can set bootstrap_failure="closed". The retry interval can be changed with bootstrap_retry_seconds. This local bootstrap policy is separate from the remotely supplied runtime_fail_mode.

Documentation

https://zubbl.com

Runtime Intelligence

Unlike traditional security tooling, Zubbl observes what happens after authentication.

It continuously builds runtime evidence, behavioural intelligence and protection decisions directly from application behaviour.


Built by Zubbl.

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

zubbl_fastapi-0.1.5.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

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

zubbl_fastapi-0.1.5-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file zubbl_fastapi-0.1.5.tar.gz.

File metadata

  • Download URL: zubbl_fastapi-0.1.5.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for zubbl_fastapi-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1d2c1808d2e4b03741a4b7aebe104e5e984467242e579e483445e93bafd9880c
MD5 d6ad8e35dd7f4c1a89b002029a09ae31
BLAKE2b-256 613c16e8f67d02eb0d3015634554b5fe4ed314a760d6418fbd390417dc5cfe8f

See more details on using hashes here.

File details

Details for the file zubbl_fastapi-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: zubbl_fastapi-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for zubbl_fastapi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 54153df929ab6467027a6679732f125134044c3b57b80620c611fd2e03455f4f
MD5 182271b04ad7e64c47853ec7be14428f
BLAKE2b-256 35eedc79d9b57ce6b22ed80c7a110aaeb7ecf20f2ed217e58a76e75b8ecba244

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