{
"info": {
"author": "Rich Piazza",
"author_email": "rpiazza@mitre.org",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
],
"description": "|Build_Status| |Coverage| |Version|\n\ncti-stix-slider\n===============\n\nNOTE: This is an `OASIS TC Open\nRepository `_.\nSee the `Governance`_ section for more information.\n\nThe stix-slider is a software tool for 'sliding' STIX 2.0 JSON to STIX\n1.x XML. Due to the differences between STIX 1.x and STIX 2.0, this\nconversion is best-effort only. During the conversion, stix-slider\nprovides information on the assumptions it needs to make to produce\nvalid STIX\n1.x XML, and what information was not able to be converted.\n\nThe stix-slider is a work-in-progress. It should be used to explore\nhow STIX 2.0 content could potentially be represented in STIX 1.x.\nUsing the current version of the slider will provide insight to issues\nthat might need to be mitigated to convert your STIX 2.0 content for\nuse in application that accept only STIX 1.x content.\n\n**It should not be used in a production environment, and should not be\nconsidered final.**\n\nPlease enter any comments on how to improve it into the issue tracker.\n\nFor more information, see `the\ndocumentation `__ on\nReadTheDocs.\n\n\n\nRequirements\n------------\n\n- Python 2.7, or 3.3+\n- `python-stix `_ and its dependencies\n\n .. note::\n\n Make sure to use either the latest version of python-stix\n 1.1.1.x or\n 1.2.0.x, depending on whether you want to support STIX 1.1.1 or\n STIX 1.2.\n\n- `python-stix2 `_ >= 1.0.0\n- `stixmarx `_ >= 1.0.3\n- `stix-validator `_ >= 2.5.0\n\nInstallation\n------------\n\nInstall with pip::\n\n $ pip install stix2-slider\n\nThis will install all necessary dependencies, including the latest\nversion of python-stix.\n\nIf you need to support older STIX 1.1.1 content, install python-stix\n1.1.1.x\nfirst::\n\n $ pip install 'stix<1.2'\n $ pip install stix2-slider\n\nYou can also install the stix-slider from GitHub to get the latest\n(unstable) version::\n\n $ pip install git+https://github.com/oasis-open/cti-stix-slider.git\n\nUsage\n-----\n\nIt is recommended that you ensure that the input STIX 2.0 file is\nvalid before submitting it to the slider.\nUse the `stix2-validator `_.\n\nAs A Script\n~~~~~~~~~~~\n\nThe slider comes with a bundled script which you can use to convert\nSTIX 2.0 content to STIX 1.x content::\n\n usage: stix2_slider [-h] [--no-squirrel-gaps] [--validator-args VALIDATOR_ARGS]\n [-e ENABLE] [-d DISABLE] [-s]\n [--message-log-directory MESSAGE_LOG_DIRECTORY]\n [--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}]\n [--use-namespace USE_NAMESPACE]\n file\n\n stix2-slider v1.0.1\n\n The stix2-slider is a work-in-progress. It should be used to explore how\n existing STIX 2.0 would potentially be represented in STIX 1.x. Using the\n current version of the stix2-slider will provide insight to issues that might need\n to be mitigated so you can use an application that supports only STIX 1.x content.\n\n positional arguments: The input STIX 2.0 document to be 'slid' to STIX 1.x..\n\n optional arguments:\n -h, --help show this help message and exit\n\n --no-squirrel-gaps Do not include STIX 2.0 content that cannot be\n represented directly in STIX 1.x using the description\n property.\n\n --validator-args VALIDATOR_ARGS\n Arguments to pass to stix-validator. Example:\n stix2_slider --validator-args=\"--best-\n practices\"\n\n -e ENABLE, --enable ENABLE\n A comma-separated list of the stix2-slider messages to\n enable. If the --disable option is not used, no other\n messages will be shown. Example: stix2_slider \n --enable 250\n\n -d DISABLE, --disable DISABLE\n A comma-separated list of the stix2-slider messages to\n disable. Example: stix2_slider --disable\n 212,220\n\n -s, --silent If this flag is set. All stix2-slider messages will be\n disabled.\n\n --message-log-directory MESSAGE_LOG_DIRECTORY\n If this flag is set, all stix2-slider messages will be\n saved to file. The name of the file will be the input\n file with extension .log in the specified directory.\n Note, make sure the directory already exists. Example:\n stix2_slider --message-log-directory \"../logs\"\n\n --log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}\n The logging output level.\n\n --use-namespace USE_NAMESPACE\n Override the 'example' namespace with provided one.\n The format is the prefix, namespace uri and optionally\n the schema location separated by a space. Example:\n stix2_slider --use-namespace=\"example\n http://example.com\"\n\n Refer to slider_log_messages.rst for all stix2-slider messages. Use the associated code number\n to --enable or --disable a message. By default, the stix2-slider displays all\n messages. Note: disabling the message does not disable the functionality.\n\nAs A Library\n~~~~~~~~~~~~\n\nYou can also use this library to integrate STIX 'sliding' into your\nown\ntools. You can slide a STIX 2.0 file::\n\n from stix2slider import slide_file\n from stix2slider.options import initialize_options\n\n intialize_options()\n results = slide_file(\"stix_file.json\")\n print(results)\n\nAdditionally, a similar method exists to accept a string as an\nargument::\n\n from stix2slider import slide_string\n from stix2slider.options import initialize_options\n\n intialize_options()\n results = slide_string(\"...\")\n print(results)\n\nTo set options, use set_option_value, found in options.py.\n\nGovernance\n----------\n\nThis GitHub public repository (\n**https://github.com/oasis-open/cti-stix-slider** ) was\nwas created at the request of the\nthe\n`OASIS Cyber Threat Intelligence (CTI)\nTC `__ as an `OASIS TC\nOpen\nRepository `__\nto support development of open source resources related to Technical\nCommittee work.\n\nWhile this TC Open Repository remains associated with the sponsor TC,\nits\ndevelopment priorities, leadership, intellectual property terms,\nparticipation rules, and other matters of governance are `separate and\ndistinct `__\nfrom the OASIS TC Process and related policies.\n\nAll contributions made to this TC Open Repository are subject to open\nsource license terms expressed in the `BSD-3-Clause\nLicense `__.\nThat license was selected as the declared `\"Applicable\nLicense\" `__\nwhen the TC Open Repository was created.\n\nAs documented in `\"Public Participation\nInvited `__\",\ncontributions to this OASIS TC Open Repository are invited from all\nparties, whether affiliated with OASIS or not. Participants must have\na\nGitHub account, but no fees or OASIS membership obligations are\nrequired. Participation is expected to be consistent with the `OASIS\nTC Open Repository Guidelines and\nProcedures `__,\nthe open source\n`LICENSE `__\ndesignated for this particular repository, and the requirement for an\n`Individual Contributor License\nAgreement `__\nthat governs intellectual property.\n\nStatement of Purpose\n~~~~~~~~~~~~~~~~~~~~\n\nStatement of Purpose for this OASIS TC Open Repository (cti-stix-\nslider) as `proposed `_ and `approved\n`_\n`[bis] `_ by the\nTC:\n\nThis GitHub public repository is provided to support version-\ncontrolled development of a Python \"slider\" application which will\nconvert `STIX 2.0 `_\ncontent to `STIX 1.x `_\ncontent.\n\nMaintainers\n~~~~~~~~~~~\n\nTC Open Repository\n`Maintainers `__\nare responsible for oversight of this project's community development\nactivities, including evaluation of GitHub `pull\nrequests `__\nand\n`preserving `__\nopen source principles of openness and fairness. Maintainers are\nrecognized and trusted experts who serve to implement community goals\nand consensus design preferences.\n\nInitially, the associated TC members have designated one or more\npersons\nto serve as Maintainer(s); subsequently, participating community\nmembers\nmay select additional or substitute Maintainers, per `consensus\nagreements `__.\n\n**Current Maintainers of this TC Open Repository**\n\n- `Chris Lenk `__; GitHub ID:\n https://github.com/clenk/; WWW: `MITRE `__\n- `Rich Piazza `__; GitHub ID:\n https://github.com/rpiazza/; WWW: `MITRE\n `__\n\nAbout OASIS TC Open Repositories\n--------------------------------\n\n- `TC Open Repositories: Overview and\n Resources `__\n- `Frequently Asked\n Questions `__\n- `Open Source\n Licenses `__\n- `Contributor License Agreements\n (CLAs) `__\n- `Maintainers' Guidelines and\n Agreement `__\n\nFeedback\n--------\n\nQuestions or comments about this TC Open Repository's activities\nshould be\ncomposed as GitHub issues or comments. If use of an issue/comment is\nnot\npossible or appropriate, questions may be directed by email to the\nMaintainer(s) `listed above <#currentMaintainers>`__. Please send\ngeneral questions about TC Open Repository participation to OASIS\nStaff at\nrepository-admin@oasis-open.org and any specific CLA-related questions\nto repository-cla@oasis-open.org.\n\n.. |Build_Status| image:: https://travis-ci.org/oasis-open/cti-stix-slider.svg?branch=master\n :target: https://travis-ci.org/oasis-open/cti-stix-slider\n.. |Coverage| image:: https://codecov.io/gh/oasis-open/cti-stix-slider/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/oasis-open/cti-stix-slider\n.. |Version| image:: https://img.shields.io/pypi/v/stix2-slider.svg?maxAge=3600\n :target: https://pypi.python.org/pypi/stix2-slider/\n\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://stixproject.github.io/",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "stix2-slider",
"package_url": "https://pypi.org/project/stix2-slider/",
"platform": "",
"project_url": "https://pypi.org/project/stix2-slider/",
"project_urls": {
"Homepage": "http://stixproject.github.io/"
},
"release_url": "https://pypi.org/project/stix2-slider/2.0.0/",
"requires_dist": [
"stix (>=1.1.1.9,<1.2.1.0)",
"stix-validator (>=2.5.0)",
"stixmarx (>=1.0.3)",
"six (>=1.10.0)",
"stix2"
],
"requires_python": "",
"summary": "Utilities to downgrade STIX and CybOX content to 1.X",
"version": "2.0.0"
},
"last_serial": 4692210,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "cc992c1a5a1c016b768f2ea62979f7d4",
"sha256": "4f9d6bac180aa36000fc8fd41ac739fa5f839f75fb9b45251a72df111e4d8a5c"
},
"downloads": -1,
"filename": "stix2_slider-1.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "cc992c1a5a1c016b768f2ea62979f7d4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 70295,
"upload_time": "2018-04-19T17:20:25",
"url": "https://files.pythonhosted.org/packages/53/be/ffa7cf23ba56ad2cc9e0ceb2feb7c2a44920fa2e54de54ebe0b089243000/stix2_slider-1.0.0-py2.py3-none-any.whl"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "115a300c22f5ec413672c9d51a6a6b6e",
"sha256": "c34a21a51cbae71d1c61ec58dcdb7bb49808cca73e1b2c4efdd5724265c2f1b4"
},
"downloads": -1,
"filename": "stix2_slider-1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "115a300c22f5ec413672c9d51a6a6b6e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 72440,
"upload_time": "2018-06-08T18:59:19",
"url": "https://files.pythonhosted.org/packages/ce/5b/161a440fee4c8ded0492b9aebfe13daec05e11048771de45ad000f2eda4f/stix2_slider-1.0.1-py2.py3-none-any.whl"
}
],
"2.0.0": [
{
"comment_text": "",
"digests": {
"md5": "b666f0671319ae961e7186e4de4322b4",
"sha256": "91e6091ea5415451b842fda23cb055a7e3708b10fcd53eba4954bdd34b58193b"
},
"downloads": -1,
"filename": "stix2_slider-2.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b666f0671319ae961e7186e4de4322b4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 55772,
"upload_time": "2019-01-14T00:43:21",
"url": "https://files.pythonhosted.org/packages/a7/c0/5682980244dfb1ee199422e8cea93587c0f29575d57816ef32323121ff9b/stix2_slider-2.0.0-py2.py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b666f0671319ae961e7186e4de4322b4",
"sha256": "91e6091ea5415451b842fda23cb055a7e3708b10fcd53eba4954bdd34b58193b"
},
"downloads": -1,
"filename": "stix2_slider-2.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b666f0671319ae961e7186e4de4322b4",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 55772,
"upload_time": "2019-01-14T00:43:21",
"url": "https://files.pythonhosted.org/packages/a7/c0/5682980244dfb1ee199422e8cea93587c0f29575d57816ef32323121ff9b/stix2_slider-2.0.0-py2.py3-none-any.whl"
}
]
}