1 KiB
1 KiB
getvulns 🚨
Utility to fetch and list current security advisories of network vendor products and os versions.
To be able to use this utility you need to go to
- Access the Cisco API console at: https://apiconsole.cisco.com
- Login with your CCO credentials
- Register your application and obtain your client credentials.
- Once you register your application and obtain your client ID and client secret you need to add these to your environment variables like so:
$ export CLIENT_ID="0lkajsdklsajdlkj"
$ export CLIENT_SECRET="02lk3rlncxk5l6l"
Usage
$ ./getvulns -h
Usage of ./getvulns:
-ios string
fetch Security Advisories for IOS version
-iosxe string
fetch Security Advisories for IOS-XE version
-product string
fetch Security Advisories Cisco Products, ex Cisco Adaptive Security Appliance
-v be verbose
$
Building
$ go get -u -v
$ go build || go run main.go