Registry / aws / g2cv-casm

g2cv-casm

JSON →
library0.3.2pypypiunverified

G2CV CASM provides continuous attack surface monitoring capabilities for cloud environments. Current version 0.3.2, released monthly.

pip install g2cv-casm
INSTALL
IMPORT
SIG · G2CV-CASM
G
g2cv-casm
awspythonv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CASM
from g2cv_casm import CASM
from g2cv.casm import CASM

Initialize CASM client with API key (set CASM_API_KEY env var) and run a scan.

from g2cv.casm import CASM import os casm = CASM(api_key=os.environ.get('CASM_API_KEY', '')) result = casm.scan(target='example.com') print(result)
g2cv-casm --version
Debug
Known issues
breakingThe 'scan' function signature changed in 0.3.0; now requires 'target' instead of 'domain'.
fix
Update calls from casm.scan(domain='...') to casm.scan(target='...')
affects: <0.3.0
deprecatedThe 'g2cv.casm.CASM' method 'run' deprecated in 0.3.2, use 'scan' instead.
fix
Replace casm.run() with casm.scan()
affects: 0.3.2
gotchaAPI key is required but validation is lazy; error surfaces on first scan call, not instantiation.
fix
Always ensure CASM_API_KEY env var is set before calling scan().
affects: all
Upgrade
Version history
0.3.2latest on PyPI · released Mar 6, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
38
OpenAI (training)
2
Resources
g2cv-casm — pip install g2cv-casm · libregistry