{
"info": {
"author": "OASIS Cyber Threat Intelligence Technical Committee",
"author_email": "cti-users@lists.oasis-open.org",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Security"
],
"description": "|Build_Status| |Coverage| |Version|\r\n\r\n=========\r\nmedallion\r\n=========\r\n\r\nNOTE: This is an `OASIS TC Open Repository `_.\r\nSee the `Governance`_ section for more information.\r\n\r\n*Medallion* is a minimal implementation of a TAXII 2.0 Server in Python.\r\n\r\nFor more information, see `the\r\ndocumentation `__ on\r\nReadTheDocs.\r\n\r\n**WARNING:** *medallion* was designed as a prototype and reference\r\nimplementation of TAXII 2.0, and is not intended for production use.\r\n\r\n*medallion* has been designed to be a simple front-end REST server providing\r\naccess to the endpoints defined in that specification.\r\nIt uses the python framework - `Flask `_. *medallion*\r\ndepends on back-end \"plugins\" which handle the persistence of the TAXII data and\r\nmetadata. The TAXII specification is agnostic to what type of data a TAXII\r\nserver stores, but this will usually be STIX 2 content.\r\n\r\nTwo back-end plugins are provided with *medallion*: the Memory back-end and the\r\nMongoDB back-end. The Memory back-end persists data \"in memory\". It is\r\ninitialized using a json file that contains TAXII data and metadata.\r\nIt is possible to save the current state of the in memory store, but this\r\nback-end is really intended only for testing purposes. The MongoDB backend is\r\nsomewhat more robust and makes use of a MongoDB server, installed independently.\r\nThe MongoDB back-end can only be used if the pymongo python package is\r\ninstalled. An error message will result if it is used without that package.\r\n\r\n\r\nInstallation\r\n============\r\n\r\nThe easiest way to install *medallion* is with pip::\r\n\r\n $ pip install medallion\r\n\r\n\r\nUsage\r\n=====\r\n\r\nAs a script\r\n-----------\r\n\r\nMedallion provides a command-line interface to start the TAXII Server::\r\n\r\n usage: medallion [-h] [--host HOST] [--port PORT] [--debug-mode]\r\n [--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}]\r\n CONFIG_PATH\r\n\r\n medallion v0.4.0\r\n\r\n positional arguments:\r\n CONFIG_PATH The location of the JSON configuration file to use.\r\n\r\n optional arguments:\r\n -h, --help show this help message and exit\r\n\r\n --host HOST The host to listen on.\r\n\r\n --port PORT The port of the web server.\r\n\r\n --debug-mode If set, start application in debug mode.\r\n\r\n --log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}\r\n The logging output level for medallion.\r\n\r\nTo run *medallion*::\r\n\r\n $ python medallion/scripts/run.py \r\n\r\nThe contains:\r\n\r\n- configuration information for the backend plugin\r\n- a simple user name/password dictionary\r\n\r\nTo use the Memory back-end plug, include the following in the :\r\n\r\n.. code:: python\r\n\r\n {\r\n \"backend\": {\r\n \"module\": \"medallion.backends.memory_backend\",\r\n \"module_class\": \"MemoryBackend\",\r\n \"filename\": \r\n }\r\n }\r\n\r\nTo use the Mongo DB back-end plug, include the following in the :\r\n\r\n.. code:: python\r\n\r\n {\r\n \"backend\": {\r\n \"module\": \"medallion.backends.mongodb_backend\",\r\n \"module_class\": \"MongoBackend\",\r\n \"uri\": # e.g., \"mongodb://localhost:27017/\"\r\n }\r\n }\r\n\r\n*Note: A Mongo DB should be available at some URL when using the Mongo DB back-end*\r\n\r\nA description of the Mongo DB structure expected by the mongo db backend code is\r\ndescribed in `the documentation\r\n`_.\r\n\r\nAs required by the TAXII specification, *medallion* supports HTTP Basic\r\nauthorization. However, the user names and passwords are currently stored in\r\nthe in plain text.\r\n\r\nHere is an example:\r\n\r\n.. code:: python\r\n\r\n {\r\n \"users\": {\r\n \"admin\": \"Password0\",\r\n \"user1\": \"Password1\",\r\n \"user2\": \"Password2\"\r\n }\r\n }\r\n\r\nThe authorization is enabled using the python package\r\n`flask_httpauth `_.\r\nAuthorization could be enhanced by changing the method \"decorated\" using\r\n@auth.get_password in medallion/__init__.py\r\n\r\nWe welcome contributions for other back-end plugins.\r\n\r\nDocker\r\n======\r\n\r\nWe also provide a Docker image to make it easier to run *medallion*::\r\n\r\n $ docker build . -t medallion\r\n\r\nIf operating behind a proxy, add the following option (replacing `` with\r\nyour proxy location and port): ``--build-arg https_proxy=``.\r\n\r\nThen run the image::\r\n\r\n $ docker run --rm -p 5000:5000 -v :/var/taxii medallion\r\n\r\nReplace ```` with the full path to the directory containing your\r\nmedallion configuration.\r\n\r\nGovernance\r\n==========\r\n\r\nThis GitHub public repository (\r\n**https://github.com/oasis-open/cti-taxii-client** ) was created at the request\r\nof the `OASIS Cyber Threat Intelligence (CTI) TC\r\n`__ as an `OASIS TC Open Repository\r\n`__ to support\r\ndevelopment of open source resources related to Technical Committee work.\r\n\r\nWhile this TC Open Repository remains associated with the sponsor TC, its\r\ndevelopment priorities, leadership, intellectual property terms, participation\r\nrules, and other matters of governance are `separate and distinct\r\n`__\r\nfrom the OASIS TC Process and related policies.\r\n\r\nAll contributions made to this TC Open Repository are subject to open source\r\nlicense terms expressed in the `BSD-3-Clause License\r\n`__.\r\nThat license was selected as the declared `\"Applicable License\"\r\n`__ when the\r\nTC Open Repository was created.\r\n\r\nAs documented in `\"Public Participation Invited\r\n`__\",\r\ncontributions to this OASIS TC Open Repository are invited from all parties,\r\nwhether affiliated with OASIS or not. Participants must have a GitHub account,\r\nbut no fees or OASIS membership obligations are required. Participation is\r\nexpected to be consistent with the `OASIS TC Open Repository Guidelines and\r\nProcedures\r\n`__, the open\r\nsource `LICENSE\r\n`__\r\ndesignated for this particular repository, and the requirement for an\r\n`Individual Contributor License Agreement\r\n`__\r\nthat governs intellectual property.\r\n\r\nMaintainers\r\n-----------\r\n\r\nTC Open Repository `Maintainers\r\n`__\r\nare responsible for oversight of this project's community development\r\nactivities, including evaluation of GitHub `pull requests\r\n`__\r\nand `preserving\r\n`__\r\nopen source principles of openness and fairness. Maintainers are recognized and\r\ntrusted experts who serve to implement community goals and consensus design\r\npreferences.\r\n\r\nInitially, the associated TC members have designated one or more persons to\r\nserve as Maintainer(s); subsequently, participating community members may select\r\nadditional or substitute Maintainers, per `consensus agreements\r\n`__.\r\n\r\nCurrent Maintainers of this TC Open Repository\r\n----------------------------------------------\r\n\r\n- `Chris Lenk `__; GitHub ID:\r\n https://github.com/clenk/; WWW: `MITRE\r\n Corporation `__\r\n- `Rich Piazza `__; GitHub ID:\r\n https://github.com/rpiazza/; WWW: `MITRE\r\n Corporation `__\r\n- `Emmanuelle Vargas-Gonzalez `__; GitHub ID:\r\n https://github.com/emmanvg/; WWW: `MITRE\r\n Corporation `__\r\n\r\n\r\nAbout OASIS TC Open Repositories\r\n--------------------------------\r\n\r\n- `TC Open Repositories: Overview and\r\n Resources `__\r\n- `Frequently Asked\r\n Questions `__\r\n- `Open Source\r\n Licenses `__\r\n- `Contributor License Agreements\r\n (CLAs) `__\r\n- `Maintainers' Guidelines and\r\n Agreement `__\r\n\r\nFeedback\r\n--------\r\n\r\nQuestions or comments about this TC Open Repository's activities should be composed\r\nas GitHub issues or comments. If use of an issue/comment is not possible or\r\nappropriate, questions may be directed by email to the Maintainer(s) `listed\r\nabove <#currentMaintainers>`__. Please send general questions about Open\r\nRepository participation to OASIS Staff at repository-admin@oasis-open.org and\r\nany specific CLA-related questions to repository-cla@oasis-open.org.\r\n\r\n.. |Build_Status| image:: https://travis-ci.org/oasis-open/cti-taxii-server.svg?branch=master\r\n :target: https://travis-ci.org/oasis-open/cti-taxii-server\r\n.. |Coverage| image:: https://codecov.io/gh/oasis-open/cti-taxii-server/branch/master/graph/badge.svg\r\n :target: https://codecov.io/gh/oasis-open/cti-taxii-server\r\n.. |Version| image:: https://img.shields.io/pypi/v/medallion.svg?maxAge=3600\r\n :target: https://pypi.python.org/pypi/medallion/\r\n\r\n\r\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/oasis-open/cti-taxii-server",
"keywords": "taxii taxii2 server json cti cyber threat intelligence",
"license": "BSD",
"maintainer": "Emmanuelle Vargas-Gonzalez",
"maintainer_email": "emmanuelle@mitre.org",
"name": "medallion",
"package_url": "https://pypi.org/project/medallion/",
"platform": "",
"project_url": "https://pypi.org/project/medallion/",
"project_urls": {
"Homepage": "https://github.com/oasis-open/cti-taxii-server"
},
"release_url": "https://pypi.org/project/medallion/0.4.0/",
"requires_dist": [
"flask (>=0.12.1)",
"Flask-HTTPAuth",
"pytz",
"six",
"sphinx ; extra == 'docs'",
"pymongo ; extra == 'mongo'",
"coverage ; extra == 'test'",
"pytest ; extra == 'test'",
"pytest-cov ; extra == 'test'",
"tox ; extra == 'test'"
],
"requires_python": "",
"summary": "A TAXII 2.0 Server.",
"version": "0.4.0"
},
"last_serial": 5542673,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "31afcd8c472963a0382fe97bf426825b",
"sha256": "1fba8d01f571f668f1b15ef3740d529a26b474fdd61b81515d1d38c4e604d77a"
},
"downloads": -1,
"filename": "medallion-0.1.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "31afcd8c472963a0382fe97bf426825b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 21988,
"upload_time": "2017-09-14T17:17:59",
"url": "https://files.pythonhosted.org/packages/d9/76/7a1e5927fa7b02e6e1e467ddc2328a28e8a7ad08b55653663120a98b7c9d/medallion-0.1.0-py2.py3-none-any.whl"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "d7155a9bae00a7daf735b8300c91e4d6",
"sha256": "f002c1cb2a3c81d20bb74ff879ff6b30a5025fbd701200521b631c3aa0e35985"
},
"downloads": -1,
"filename": "medallion-0.2.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "d7155a9bae00a7daf735b8300c91e4d6",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 25233,
"upload_time": "2018-03-26T19:19:57",
"url": "https://files.pythonhosted.org/packages/da/a9/f98d168fbfbb92314501180b7086d8cd66b1a847e686c7098f56da6efc8f/medallion-0.2.0-py2.py3-none-any.whl"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "f8e445b3ebb11c0e81e0eae40554d2cf",
"sha256": "0ad3e0168e91a784478146112321a54df91c663f0a3adc6eb53643f6f720b13b"
},
"downloads": -1,
"filename": "medallion-0.2.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f8e445b3ebb11c0e81e0eae40554d2cf",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 24273,
"upload_time": "2018-03-26T20:43:04",
"url": "https://files.pythonhosted.org/packages/8f/c3/b126fb6e4f5b3b84e460dcb47047aad1a50794550341a3795bf32aa4d16a/medallion-0.2.1-py2.py3-none-any.whl"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "21738a85e7fcb074934373bc4bcdfc60",
"sha256": "6c2d9c0f523e5d248780a7cb7ada9edf4557ba0b9e37cc7714c08464070048b9"
},
"downloads": -1,
"filename": "medallion-0.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "21738a85e7fcb074934373bc4bcdfc60",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 28215,
"upload_time": "2018-10-05T17:02:56",
"url": "https://files.pythonhosted.org/packages/19/a3/53adbacf01b9d043d2fd1f006ef7e1ea3e9eca5112cec0248097087fafdd/medallion-0.3.0-py2.py3-none-any.whl"
}
],
"0.3.1": [
{
"comment_text": "",
"digests": {
"md5": "7b687105130cfbb41285069c82b8c44e",
"sha256": "5bb2a7a6ea566c1d3e0fef5750ca35f38a3ed99a7e1cf97535db56fe74f04d5c"
},
"downloads": -1,
"filename": "medallion-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b687105130cfbb41285069c82b8c44e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 28214,
"upload_time": "2018-10-05T17:43:29",
"url": "https://files.pythonhosted.org/packages/d3/89/90ae07cfbabe712df7073e5a8a80df8739b81a9f9844d04a450834f3b5ce/medallion-0.3.1-py2.py3-none-any.whl"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "e5b9f8d0891162805db0cca102dfbd78",
"sha256": "8678a422e8c2ca68f05ddcda8bd868f8146e2b3a1b5ce647d684c2f9ea0f95cd"
},
"downloads": -1,
"filename": "medallion-0.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "e5b9f8d0891162805db0cca102dfbd78",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 25855,
"upload_time": "2019-07-16T20:58:05",
"url": "https://files.pythonhosted.org/packages/b8/49/eb5b1c7d93dc7ea5fe847190d13c55d39f20b8f85cbc03c210a77d1312a5/medallion-0.4.0-py2.py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e5b9f8d0891162805db0cca102dfbd78",
"sha256": "8678a422e8c2ca68f05ddcda8bd868f8146e2b3a1b5ce647d684c2f9ea0f95cd"
},
"downloads": -1,
"filename": "medallion-0.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "e5b9f8d0891162805db0cca102dfbd78",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 25855,
"upload_time": "2019-07-16T20:58:05",
"url": "https://files.pythonhosted.org/packages/b8/49/eb5b1c7d93dc7ea5fe847190d13c55d39f20b8f85cbc03c210a77d1312a5/medallion-0.4.0-py2.py3-none-any.whl"
}
]
}