Skip to main content

Splunk SecureApp OpenTelemetry Extension

OpenTelemetry Python extension for integrating Splunk SecureApp with OpenTelemetry. This extension monitors runtime dependencies and reports them via OpenTelemetry logs.

Installation

# Install from PyPI
pip install secureapp-python-agent

# Install with OpenTelemetry instrumentation
pip install secureapp-python-agent splunk-opentelemetry

# Run your application with automatic instrumentation
opentelemetry-instrument python your_app.py

Configuration

The extension can be configured using environment variables:

Environment Variable Default Description
SPLUNK_SECUREAPP_AGENT_ENABLED true Enable or disable the agent completely
OTEL_LOGS_EXPORTER otlp Log exporter type: otlp, console, or none
SPLUNK_SECUREAPP_DEPENDENCY_INITIAL_DELAY 60.0 Initial delay (seconds) before dependency tracking starts
SPLUNK_SECUREAPP_DEPENDENCY_SCAN_INTERVAL 86400 Interval (seconds) between dependency scans (24 hours)
`SPLUNK_SECUREAPP_LOG_LEVEL_INFO NOTSET Standard Python Log Levels

Features

Runtime Dependency Monitoring

The extension monitors third-party Python packages loaded at runtime and reports them through OpenTelemetry logs with:

  • Package name and version
  • Import timestamp
  • Standard library exclusion for performance optimization
  • Low overhead (<10MB memory, <100ms startup impact)

OpenTelemetry Integration

  • Sends dependency data as structured logs via configurable exporters
  • Compatible with the OpenTelemetry Collector and Splunk Observability backends
  • Lightweight implementation with optimized performance

Compatibility

OpenTelemetry Versions

Requires OpenTelemetry API, SDK, and OTLP exporter versions >=1.45.2,<2. Upgrade older OpenTelemetry packages when updating SecureApp. See release notes for details.

Python Versions

Supported Python versions:

  • Python 3.10
  • Python 3.11
  • Python 3.12
  • Python 3.13
  • Python 3.14

Performance Considerations

The SecureApp agent is designed with minimal performance impact:

  • Startup overhead: <100ms
  • Memory overhead: <10MB
  • Optimizations:
    • Lazy imports for better startup performance
    • Standard library detection to avoid unnecessary scanning
    • Configurable scan intervals
    • Efficient batch processing for telemetry data

Metadata

Release files for secureapp-python-agent 26.11.0

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

Built distribution (wheel)

Table of built distributions (wheels) for secureapp-python-agent 26.11.0
File Interpreter ABI Platform Actions
secureapp_python_agent-26.11.0-py3-none-any.whl Python 3 none any Details for secureapp_python_agent-26.11.0-py3-none-any.whl

Release files / secureapp_python_agent-26.11.0-py3-none-any.whl

Download URL secureapp_python_agent-26.11.0-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57fa75905cc49ad3b23de070c4626dd6458abcace6f039b9b2c2d5772df65875
BLAKE2b-256 checksum
How to use checksums
67011a830d1d4735c712a131f7038e2ba67d53677ec81cbaf68faf73e7b91442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for secureapp-python-agent 26.11.0

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.

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