Skip to main content

il-audit — Intelligence Layer audit & analytics

Cross-app BigQuery audit logging for intelligence-layer-ingest, intelligence-layer-chat, and related services.

Full documentation: documentation/README.md

Install

pip install -e ../intelligence-layer-audit   # local
"il-audit>=1.0.0",                           # PyPI

See PUBLISHING.md for releases.

Quick start

from il_audit import emit, AuditContext, taxonomy as T

emit(T.AUTH_LOGIN_SUCCEEDED,
     context=AuditContext(app="ingest", actor_uid=uid, actor_email=email),
     status="succeeded", action="login")

Walkthrough: documentation/guides/getting-started.md. Target: auth_events.

Guides

Guide Topic
getting-started First emit, verify in BQ
integration Backend: middleware, jobs, domain emits
frontend-audit Browser: audit_beacon.js, data-il-audit-*
cost-rates cost_rates catalog
chat-phase2 Chat instrumentation

Reference

Doc Topic
bigquery-tables All tables, samples, console links
event-taxonomy Event types → tables
configuration IL_* env vars
architecture Data flow
cost-attribution Tokens, USD, correlation

Dataset: intelligence_layer_logs. Analytics views: analytics-views.md · sql/analytics_views.sql.

Ingest reference consumer: ingest audit-logging.

Metadata

Release files for il-audit 1.0.36

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for il-audit 1.0.36
File Size Uploaded Provenance Actions
il_audit-1.0.36.tar.gz 69.8 kB Without provenance Details for il_audit-1.0.36.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for il-audit 1.0.36
File Interpreter ABI Platform Actions
il_audit-1.0.36-py3-none-any.whl Python 3 none any Details for il_audit-1.0.36-py3-none-any.whl

Total release size: 143.5 kB

Release files / il_audit-1.0.36.tar.gz

Download URL il_audit-1.0.36.tar.gz
Size 69.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2fddf96623e52fdad1f05d87f496af83f47cc013c7755dc7642f02b5cae0a40b
BLAKE2b-256 checksum
How to use checksums
3c7444e0bdd79320634a14aeffd3c5e7355a020a6670a527a2716b431e797109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / il_audit-1.0.36-py3-none-any.whl

Download URL il_audit-1.0.36-py3-none-any.whl
Size 73.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
222a8c361b3cd1943791a79e8108efac44f4213b89473c61659fe221f39b2e37
BLAKE2b-256 checksum
How to use checksums
4e5bcf48524e801d55d4224d153dd06b674c4d8da98c97ad40f70a63f655bc28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for il-audit 1.0.36

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.36 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page