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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b82849ddb60f4a970e29cd280af2635e694cbb89cffee60a06d2a70bd6dcc3c
|
|
| MD5 |
9f3155ca44527c9c3409081370349cf0
|
|
| BLAKE2b-256 |
da8aab957ee6cbcfe5c43a4626d98480a70d7a325bd20257b7557da1ef7f9aad
|
Provenance
The following attestation bundles were made for cloudsecure-0.2.0.tar.gz:
Publisher:
publish-cli.yml on carlosinfantes/cloudsecure
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudsecure-0.2.0.tar.gz -
Subject digest:
5b82849ddb60f4a970e29cd280af2635e694cbb89cffee60a06d2a70bd6dcc3c - Sigstore transparency entry: 1039385476
- Sigstore integration time:
-
Permalink:
carlosinfantes/cloudsecure@7e468d8514733bf8275c99f097850d6713175bfb -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/carlosinfantes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@7e468d8514733bf8275c99f097850d6713175bfb -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6523d32599b4b50e81dbfdd6906282bffcc6c72762c58d73ccdc361f1fe75ea4
|
|
| MD5 |
d2bf2b1eebcf56021f0ddd85ad643fa4
|
|
| BLAKE2b-256 |
4849a7d86ba5c307e6cc0a1b64733f92d6c187e51a2ba4a000e8a453d08f1812
|
Provenance
The following attestation bundles were made for cloudsecure-0.2.0-py3-none-any.whl:
Publisher:
publish-cli.yml on carlosinfantes/cloudsecure
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudsecure-0.2.0-py3-none-any.whl -
Subject digest:
6523d32599b4b50e81dbfdd6906282bffcc6c72762c58d73ccdc361f1fe75ea4 - Sigstore transparency entry: 1039385560
- Sigstore integration time:
-
Permalink:
carlosinfantes/cloudsecure@7e468d8514733bf8275c99f097850d6713175bfb -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/carlosinfantes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-cli.yml@7e468d8514733bf8275c99f097850d6713175bfb -
Trigger Event:
push
-
Statement type: