Skip to main content

Python client for Tenable Web Application Scanning (WAS) API

Project description

tenable-was

A Python client library for interacting with Tenable's Web Application Scanning (WAS) APIs, simplifying tasks like searching configurations, scans, and exporting scan reports.

Installation

Install via pip:

pip install tenable-was

Usage

Set up API Keys

Before using, set your Tenable access keys:

import tenable_was

tenable_was.accessKey = "YOUR_ACCESS_KEY"
tenable_was.secretKey = "YOUR_SECRET_KEY"

Search Configurations

Retrieve configurations excluding specific folders:

from tenable_was import search_configs

search_configs(limit=10)

Search Scans

Find completed scans for a specific configuration:

from tenable_was import search_scans

search_scans(config_id="your-config-id", limit=10)

Export Scan Reports

Generate and download a scan report:

from tenable_was import export_scan

report = export_scan(scan_id="your-scan-id")
print(report)

Requirements

  • Python 3.11+
  • Requests 2.32.3+

Author

Building with uv

uv build

Publishing with uv

uv publish

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

tenable_was-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

tenable_was-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tenable_was-0.1.0.tar.gz.

File metadata

  • Download URL: tenable_was-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.4

File hashes

Hashes for tenable_was-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e6954f9684d2e908437396e7544458cce2261460bd1f7f448a6e7fba3f936837
MD5 1dd1b8fcf697d41a9ff057c5dba877ca
BLAKE2b-256 3efcf18572a978a45e36e43ed3af6fb8265c844f65ec02119cacbd396fc07aab

See more details on using hashes here.

File details

Details for the file tenable_was-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tenable_was-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 529df686dea4971968251db93e50c9f293262bad46d6f91313548df5102725a7
MD5 7b6f87cfa6d2e01ac3e7f4c6a3ea57de
BLAKE2b-256 7dc089925a24b7e4e8c51d0d63c29778d9104ad67556b54595b1beaf0a2646b8

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