A Python 3 integration using Falsk-ask to integrate with Deep Security Web API's, Alexa, and awscli.
NOTE: This is a very initial commit and not recommended for use in production environment yet.
Create a virtualenv to install Flask-ask
$ virtualenv -p python3 --no-site-packages AlexaLab
$ . AlexaLab/bin/activate
OBS:. Before to go to the next steps make sure Flask-ask and Alexa Skill it’s working properly. You will need an Alexa Dot or Tap to complete this first step.
Install DSP3 inside the virtualenv AlexaLab
- Check if the virtualenv have these following requirements installed:
suds-py3 >= 1.2.0.0
requests >= 2.9.1
OBS:. If not, install using pip install.
- Install DSP3 inside virtualenv
$ pip install -i https://testpypi.python.org/pypi dsp3
- Install awscli inside the virtualenv AlexaLab
$ pip install awscli
Files Name | Description |
---|---|
sec_in_cloud.py | The main code to be used by the Flask-ask web service |
templates.yaml | YAML file for speech templates |
SecDashCloud.json | Cloud Formation JSON code to deploy a demo environment |
deploy_ds | Deployment script for Deep Security Agent |
OBS:. There are comments in each file for the code lines that you will need to update with your own information.
- Create security process to keep the credentials for Deep Security and the .pem for AWS account.
- Create some authentication when you asked the application. This could be an integration with Google Authenticator.
OBS:. This is an Open Source project that can anyone help to develop new call or features to help everyone that would like to use voice control for security automation.