{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "format_cef\n==========\n\n`format_cef` is a little helper library for producing [ArcSight Common Event\nFormat (CEF)][CEF] compliant messages from structured arguments. You can use it\nlike this:\n\n```python\n>>> from format_cef import format_cef\n>>> format_cef(\n 'acme corp', 'TNT', 1.0, '404 | not found', 'Explosives not found', 10\n oextensions={'deviceAction': 'bang = !'})\n'CEF:0|acme corp|TNT|1.0|404 \\| not found|Explosives not found|10|act=bang \\= !'\n```\n\nNotice how the format `format_cef` takes care of escaping deimiters correctly.\nIt will also ensure that each CEF extension complies to the restrictions\noutlined in the [CEF documentation][CEF].\n\nThis module deliberately remains agnostic as to the log message transport\nprotocol (as does CEF itself). It is also designed to remain stateless so as to\neasy to test and use as a building block in larger systems.\n\nCurrently, the library only implements a subset of the permissable CEF\nextensions that were personally useful. I'm very happy to take PRs to extend\ncoverage to the fully valid CEF extension set.\n\n[CEF]: https://www.protect724.hpe.com/servlet/JiveServlet/downloadBody/1072-102-9-20354/CommonEventFormatv23.pdf\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Osirium/format_cef", "keywords": "cef,logging", "license": "", "maintainer": "", "maintainer_email": "", "name": "format-cef", "package_url": "https://pypi.org/project/format-cef/", "platform": "", "project_url": "https://pypi.org/project/format-cef/", "project_urls": { "Homepage": "https://github.com/Osirium/format_cef" }, "release_url": "https://pypi.org/project/format-cef/0.0.3.post1/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.0.3.post1" }, "last_serial": 4838956, "releases": { "0.0.3.post1": [ { "comment_text": "", "digests": { "md5": "5bfa286627e38463038750964a549b7a", "sha256": "d986eb35416b43e24719631d06924a4c64e4d97af98a2bcc53e8aec185ef4834" }, "downloads": -1, "filename": "format_cef-0.0.3.post1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5bfa286627e38463038750964a549b7a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4895, "upload_time": "2019-02-07T17:29:49", "url": "https://files.pythonhosted.org/packages/d1/5d/4bb227419647b573d9ccf0fbaa3a953fc2e9f1f9cda489778580fcab2a82/format_cef-0.0.3.post1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9226b3668355fc8ee2b0d31453ea372", "sha256": "ed7bcc1048621230075e59f89db04f1208596c8f7919862d44652f0e404526cb" }, "downloads": -1, "filename": "format_cef-0.0.3.post1.tar.gz", "has_sig": false, "md5_digest": "b9226b3668355fc8ee2b0d31453ea372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3689, "upload_time": "2019-02-07T17:29:51", "url": "https://files.pythonhosted.org/packages/c4/57/6e12d786f041c11753187bf641605c777cdd7923f3297d390bec5ee73155/format_cef-0.0.3.post1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bfa286627e38463038750964a549b7a", "sha256": "d986eb35416b43e24719631d06924a4c64e4d97af98a2bcc53e8aec185ef4834" }, "downloads": -1, "filename": "format_cef-0.0.3.post1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5bfa286627e38463038750964a549b7a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4895, "upload_time": "2019-02-07T17:29:49", "url": "https://files.pythonhosted.org/packages/d1/5d/4bb227419647b573d9ccf0fbaa3a953fc2e9f1f9cda489778580fcab2a82/format_cef-0.0.3.post1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9226b3668355fc8ee2b0d31453ea372", "sha256": "ed7bcc1048621230075e59f89db04f1208596c8f7919862d44652f0e404526cb" }, "downloads": -1, "filename": "format_cef-0.0.3.post1.tar.gz", "has_sig": false, "md5_digest": "b9226b3668355fc8ee2b0d31453ea372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3689, "upload_time": "2019-02-07T17:29:51", "url": "https://files.pythonhosted.org/packages/c4/57/6e12d786f041c11753187bf641605c777cdd7923f3297d390bec5ee73155/format_cef-0.0.3.post1.tar.gz" } ] }