Skip to main content

CLI for the CloudSecure AWS Security Assessment Platform

Project description

CloudSecure

CLI for the CloudSecure AWS Security Assessment Platform — run security assessments, check status, and download reports from the command line.

Installation

pip install cloudsecure
# or
pipx install cloudsecure

Requires Python 3.9+ and AWS credentials configured (aws configure).

Quick Start

# Start a security assessment (scans everything)
cloudsecure assess \
  --account-id 123456789012 \
  --role-arn arn:aws:iam::123456789012:role/CloudSecureAssessmentRole \
  --external-id your-external-id

# Scan only specific services (iam, s3, network, encryption, cloudtrail, ec2, rds, vpc)
cloudsecure assess \
  --account-id 123456789012 \
  --role-arn arn:aws:iam::123456789012:role/CloudSecureAssessmentRole \
  --external-id your-external-id \
  --scope iam --scope s3

# List all assessments
cloudsecure status

# Check a specific assessment
cloudsecure status <ASSESSMENT_ID>

# Download report and open in browser
cloudsecure report <ASSESSMENT_ID> --format html --open

Configuration

The CLI auto-discovers the API endpoint by querying CloudFormation stack outputs. You can also set it explicitly:

export CLOUDSECURE_API_ENDPOINT=https://abc123.execute-api.eu-west-1.amazonaws.com/prod

Options --profile, --region, and --env control which AWS profile and CloudSecure environment to use:

cloudsecure --profile my-profile --region eu-west-1 --env prod status

Prerequisites

  • Python 3.9+
  • AWS credentials with access to the CloudSecure API Gateway
  • CloudSecure backend deployed — see the full repository for infrastructure deployment instructions

License

Apache-2.0

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

cloudsecure-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

cloudsecure-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file cloudsecure-0.2.0.tar.gz.

File metadata

  • Download URL: cloudsecure-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cloudsecure-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b82849ddb60f4a970e29cd280af2635e694cbb89cffee60a06d2a70bd6dcc3c
MD5 9f3155ca44527c9c3409081370349cf0
BLAKE2b-256 da8aab957ee6cbcfe5c43a4626d98480a70d7a325bd20257b7557da1ef7f9aad

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudsecure-0.2.0.tar.gz:

Publisher: publish-cli.yml on carlosinfantes/cloudsecure

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cloudsecure-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cloudsecure-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cloudsecure-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6523d32599b4b50e81dbfdd6906282bffcc6c72762c58d73ccdc361f1fe75ea4
MD5 d2bf2b1eebcf56021f0ddd85ad643fa4
BLAKE2b-256 4849a7d86ba5c307e6cc0a1b64733f92d6c187e51a2ba4a000e8a453d08f1812

See more details on using hashes here.

Provenance

The following attestation bundles were made for cloudsecure-0.2.0-py3-none-any.whl:

Publisher: publish-cli.yml on carlosinfantes/cloudsecure

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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