django-taxii-services
Please Note:
This library is no longer maintained. If you need an open source TAXII 1.X implementation, please see this list of other libraries.
- Source:
- Documentation:
- Information:
- Download:
Overview
django-taxii-services is an installable Django app that enables application developers to rapidly create TAXII Applications that cover any aspect of TAXII 1.0 and TAXII 1.1. Key aspects of django-taxii-services include:
Reusable - You can install it
Extensible - You can extend (almost) any aspect of django-taxii-services to perform your custom application logic
Complete - Covers 100% of TAXII 1.0 and TAXII 1.1 (this is more of a goal, at the moment)
Easy - Always a subjective term, but django-taxii-services aims to be easy to use.
If you see anything you’d like to ask a question on, please open an issue on GitHub or contact the TAXII Team at taxii@mitre.org.
Using django-taxii-services
Create your own Django project, install django-taxii-services, and modify your settings.py to add taxii_services (e.g.,):
INSTALLED_APPS = (
...
'taxii_services',
)
MIDDLEWARE_CLASSES = (
...
'taxii_services.middleware.StatusMessageExceptionMiddleware'
)
# Add a logger if you'd like
LOGGING = {
...
'loggers': {
...
'taxii_services': {
'handlers': ['normal','stdout'],
'level': LOG_LEVEL,
'propagate': True,
},
}
}
Some Key Features
(This section is kind of a brain dump and should eventually be moved to readthedocs when it matures)
exceptions.StatusMessageException / middleware.StatusMessageExceptionMiddleware - These, when used together, allow developers to raise a StatusMessageException() anywhere and have the server automagically create a StatusMessage in response (might be a TAXII 1.0 or 1.1 Status Message depending on the request). If you have taxii_services.middleware.StatusMessageExceptionMiddleware in your MIDDLEWARAE_CLASSES, you can just raise taxii_services.exceptions.StatusMessageException( ... ) from anywhere and have django-taxii-services send back a StatusMessage.
Register your own message handler - use taxii_services.management.register_message_handler()
Some convenience methods:
taxii_services.register_admins - Register some/all admins to the Django admin interface
taxii_services.register_message_handlers - Register some/all built-in message handlers
Dependencies
TODO: Document the dependencies
Feedback
Please provide feedback and/or comments on open issues to taxii@mitre.org.
License
For license information, see the LICENSE.txt file.
Metadata
Release files for taxii-services 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taxii_services-0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for taxii_services-0.6-py2.py3-none-any.whl |
Release files / taxii_services-0.6-py2.py3-none-any.whl
| Download URL | taxii_services-0.6-py2.py3-none-any.whl |
|---|---|
| Size | 76.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c83452e1b95beb78db11f1e7da37a3deabdd079e57cc97a6da05807649272e21
|
|
BLAKE2b-256 checksum How to use checksums |
962251c21d60b228fd8aab9d04c0ebcf94b1e21799de831ae495dd4a7f248449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|
Security for taxii-services 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.