This is a Python/Docker/Docker-Compose implementation of a Meraki Scanning API receiver.
- cmxreceiver.py This is the flask cmx receiver. It's necessary to define SECRET (it must match the same secret set on the Meraki dashboard), VALIDATOR (validator taken from Meraki dashboard), PORT (receiver will be listening on this port) environment variables before running the script. The content of the HTTP POSTs is just printed as a part of the output of the script.
- Dockerfile. File to build cmxreceiver docker image. The image can also be found on dockerhub.
- docker-compose.yml. Docker compose file to have a cmx receiver with HTTPs. It uses ngrok image in order to support HTTPS. If you need another solution/docker-image to support HTTPS, modfiy ngrok_cmx section.