Continuing from previous, try taxii server.
--gunicorn settings
pip install gunicorn
Install gunicorn.
You can also find the base script at ʻopentaxii / http.py`.
from .middleware import create_app
from .config import ServerConfig
from .server import TAXIIServer
from .utils import configure_logging
config = ServerConfig()
configure_logging(config.get('logging', {'': 'info'}))
server = TAXIIServer(config)
app = create_app(server)
app.debug = False
As you can see from the above
ʻOpentaxii / config.py loads the
defaults.yml confirmed in 1. ʻOpentaxii / server.py
will start the service as a server.
Logs are managed at ʻopentaxii / utils.py`.
You can start it with gunicorn opentaxii.http: app --bind 0.0.0.0:9000
.
After that, I would like you to use each method for automatic startup.
Next time, I would like to confirm the posts to the collection.
OpenTAXII http://www.opentaxii.org/en/stable/
EclecticIQ/OpenTAXII https://github.com/EclecticIQ/OpenTAXII
Recommended Posts