The command-line interface tool that allows you to interact with the Cosmo API.
With the Cosmo CLI tool you are able to manage your projects, run scans, generate reports or manage your API keys to interface directly with the API. For more info read the docs.
Requires a recent version of Rust.
cargo build --release
Description | Command |
---|---|
Setup the api key | cosmo setup |
List personal projects | cosmo list cosmo ls |
List personal projects (output in json) | cosmo list --output json |
Create a new analysis * | cosmo create --file <FILE> --name <NAME> --type <TYPE> --subtype <SUBTYPE> cosmo new --file <FILE> --name <NAME> --type <TYPE> --subtype <SUBTYPE> |
View project results overview | cosmo overview --id <PROJECT_ID> cosmo show --id <PROJECT_ID> |
View analysis results* | cosmo analysis --id <PROJECT_ID> --analysis <ANALYSIS> |
View analysis results (output in json) | cosmo analysis --id <PROJECT_ID> --analysis <ANALYSIS> --output json |
View paginated analysis results* | cosmo analysis --id <PROJECT_ID> --analysis <ANALYSIS> --page 1 --per-page 10 |
Delete project | cosmo delete --id <PROJECT_ID> cosmo rm --id <PROJECT_ID> |
Create an API key | cosmo apikey --action create |
List API key | cosmo apikey --action list |
Save PDF report | cosmo report --id <PROJECT_ID> |
List organizations | cosmo organization list |
Create an organization | cosmo organization create --name <NAME> --description <DESCRIPTION> |
Delete an organization | cosmo organization delete --id <ORGANIZATION_ID> |
Note: use
cosmo list
to retrieve a <PROJECT_ID>
- hardening
- cve-check
- security-scan
- password-hash
- crypto
- nvram
- kernel
- software-bom
- static-code
- cve-check
- access
- intel-boot-guard
- surface
- secure-boot
- uefi-security-scan
- peim-dxe
- functions
- symbols
- tasks
- capabilities
type | subtype |
---|---|
linux | generic |
linux | yocto |
linux | buildroot |
linux | openwrt |
container | docker |
container | docker-lite |
container | lxc |
uefi | generic |
vxworks | generic |
To contribute to the project please refer to our contribution guidelines.
Copyright (c) Exein SpA. All rights reserved.
Licensed under the Apache License 2.0 license.