snapt / nova-cli
Command line helper for Nova ADC.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3|^8.0
- guzzlehttp/guzzle: ^6.5.5|^7.3
- illuminate/http: ^8.0
- laminas/laminas-text: ^2.8
- nunomaduro/laravel-console-menu: ^3.2
Requires (Dev)
- laravel-zero/framework: ^8.8
- mockery/mockery: ^1.4.3
- pestphp/pest: ^1.3
README
This is the official Snapt Nova command line helper
Nova is an any-cloud, multi-location, centralized platform for deploying, controlling, and monitoring load balancers and web app firewalls at scale.
The nova-cli helper provides easy access to our open API, and includes the following features:
adcs:list
- List all ADCs on your accountadcs:stats
- Get detailed statistics for a single ADCnodes:create
- Add a new Nova Nodenodes:delete
- Delete a Nova Nodenodes:list
- List all the Nova Nodes on your accountwaf:list
- List all the WAF Profiles on your accountwaf:ruleset
- List or alter the IP based rulesets for your WAF
Installation
Run the below to install nova-cli globally. You can then run "nova-cli"
composer global require snapt/nova-cli
Save your API token from Nova like so:
echo "YOUR_API_TOKEN" > ~/.nova-api-key
Usage
You can run "nova-cli" for all the available commands, and view the requirements by adding "-h" as shown in the example below:
❯ ./nova-cli waf:ruleset -h
Description:
Interact with the rulesets in a WAF profile
Usage:
waf:ruleset <profile_id> <action> [<list> [<ip>]]
Arguments:
profile_id the WAF profile ID
action list|add|remove
list allowed|blocked for when adding or removing an IP to a list
ip the IP/cidr to add or remove if action is add|remove
Snapt Nova
To sign up for a free Nova account go to https://nova.snapt.net
Usage
nova-cli is free to use for any Snapt Nova users or clients.