Skip to main content

Security scanning tool for dependencies and Infrastructure as Code

Project description

security-use

A security scanning library for Python projects. Provides vulnerability scanning for dependencies and Infrastructure as Code (IaC) files.

Features

  • Dependency Scanning: Detect known vulnerabilities (CVEs) in Python packages
  • IaC Scanning: Find security misconfigurations in Terraform, CloudFormation, and other IaC formats
  • Automated Fixes: Generate and apply fixes for detected issues

Installation

pip install security-use

Usage

Command Line

# Scan dependencies
security-use scan deps /path/to/project

# Scan IaC files
security-use scan iac /path/to/terraform

# Scan everything
security-use scan all /path/to/project

# Auto-fix vulnerable dependencies
security-use fix /path/to/project

Python API

from security_use import scan_dependencies, scan_iac

# Scan dependencies
result = scan_dependencies("/path/to/project")

for vuln in result.vulnerabilities:
    print(f"{vuln.package}: {vuln.severity.value}")

# Scan IaC
result = scan_iac("/path/to/terraform")

for finding in result.iac_findings:
    print(f"{finding.rule_id}: {finding.title}")

License

MIT

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

security_use-0.1.3.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

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

security_use-0.1.3-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file security_use-0.1.3.tar.gz.

File metadata

  • Download URL: security_use-0.1.3.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for security_use-0.1.3.tar.gz
Algorithm Hash digest
SHA256 969c1544bd2886925909684228ab8eb321dc6ecf8994edeac121b02601d2b9d2
MD5 d66757c7bd7d9b6c52f8de0b8dc14642
BLAKE2b-256 a54bf43e87d8edeb50f00813b904743954ef604fcb4d8fb7b5de2dc41e7da27c

See more details on using hashes here.

File details

Details for the file security_use-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: security_use-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.7

File hashes

Hashes for security_use-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 99ac74cfcf8837fd18708aa014add224b6e057186448a0043134cdfb9aa87517
MD5 42d5c30a8db62884273b50e0aad64ac3
BLAKE2b-256 9bf06ac35797b0e3bc41763fc8894464f4f6eb35f9464d2c94580064bcde90a0

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