getvulns/README.md

38 lines
1 KiB
Markdown
Raw Permalink Normal View History

2019-09-09 15:14:49 +02:00
# 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
1. Access the Cisco API console at: [https://apiconsole.cisco.com](https://apiconsole.cisco.com)
2. Login with your CCO credentials
3. Register your application and obtain your client credentials.
4. Once you register your application and obtain your client ID and client secret you need to add these to your environment variables like so:
```bash
$ export CLIENT_ID="0lkajsdklsajdlkj"
2019-09-09 15:17:53 +02:00
$ export CLIENT_SECRET="02lk3rlncxk5l6l"
2019-09-09 15:14:49 +02:00
```
# Usage
```bash
$ ./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
```bash
$ go get -u -v
$ go build || go run main.go
```
# Screenshot
![1](assets/img/screenshot.png)