Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertcsapo/cisco-meraki-fw-ap-rules-api
Python script that list/update your Cisco Meraki AP (Wireless) Firewall rules
https://github.com/robertcsapo/cisco-meraki-fw-ap-rules-api
cisco cisco-meraki-ap csv firewall meraki python rest-api ssid template wireless
Last synced: 1 day ago
JSON representation
Python script that list/update your Cisco Meraki AP (Wireless) Firewall rules
- Host: GitHub
- URL: https://github.com/robertcsapo/cisco-meraki-fw-ap-rules-api
- Owner: robertcsapo
- License: mit
- Created: 2017-02-24T21:15:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T16:02:59.000Z (over 3 years ago)
- Last Synced: 2024-08-03T01:14:04.369Z (3 months ago)
- Topics: cisco, cisco-meraki-ap, csv, firewall, meraki, python, rest-api, ssid, template, wireless
- Language: Python
- Homepage:
- Size: 4.01 MB
- Stars: 9
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-merakiapis - cisco-meraki-fw-ap-rules-api - Python script that list/update your Cisco Meraki AP (Wireless) Firewall rules. (Administration / Contents)
README
# Cisco Meraki Firewall AP Rules API
Python script that list/update your Cisco Meraki AP (Wireless) Firewall rules![](https://raw.githubusercontent.com/robertcsapo/cisco-meraki-fw-ap-rules-api/master/demo.gif)
# Features
- List your current firewall rules on a SSID
- Override your current firewall rules through user input (csv format)
- Import csv file (sample.fw.csv)
- List all your SSIDs (associated with your API key)
- Docker support
- https://hub.docker.com/r/robertcsapo/cisco-meraki-fw-ap-rules-api/
- Support for Docker Secrets Management (MERAKI_TOKEN as ENV)
- https://blog.docker.com/2017/02/docker-secrets-management/
- Debug# Help
```
Cisco Meraki AP Firewall Rules API - Help sectionoptional arguments:
-h, --help show this help message and exit
--token TOKEN Meraki token (if not using ENV)
--list-networks List all the Network id and Org id associated with your
API token
--network NETWORK Network id (Wireless/Templates)
--ssid SSID SSID id (0-14)
--csv CSV Import rules from CSV file
--yes Assume Yes to all queries and do not prompt
--debug Debug JSON Payload or when listing networks
```# Docker support
# Run
### Interactive
```
docker run --rm -it robertcsapo/cisco-meraki-fw-ap-rules-api:latest --token --network --ssid <0-14>
```
### CSV import
```
docker run --rm -it -v $PWD:/data/export/ robertcsapo/cisco-meraki-fw-ap-rules-api:latest --token --network --ssid <0-14> --csv /data/export/sample.fw.csv
```
### CSV import with non-interactive
```
docker run --rm -it -v $PWD:/data/export/ robertcsapo/cisco-meraki-fw-ap-rules-api:latest --token --network --ssid <0-14> --yes --csv /data/export/sample.fw.csv
```
## Build
```
docker build -t robertcsapo/cisco-meraki-fw-ap-rules-api:latest .
```
# License
MIT