-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
77 lines (70 loc) · 3.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#_MIT License
#_
#_Copyright (c) 2017 Dan Persons (dpersonsdev@gmail.com)
#_
#_Permission is hereby granted, free of charge, to any person obtaining a copy
#_of this software and associated documentation files (the "Software"), to deal
#_in the Software without restriction, including without limitation the rights
#_to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#_copies of the Software, and to permit persons to whom the Software is
#_furnished to do so, subject to the following conditions:
#_
#_The above copyright notice and this permission notice shall be included in all
#_copies or substantial portions of the Software.
#_
#_THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#_IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#_FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#_AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#_LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#_OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#_SOFTWARE.
"""
Siemstress
----------
Siemstress is a very basic Security Information and Event Management system (SIEM). It comes with 3 CLI tools: siemstress parses events into a database, siemquery is used to query the database, and siemtrigger triggers SIEM events based on database analysis.
Links
`````
* `Releases <https://github.com/dogoncouch/siemstress/releases/>`_
* `Usage <https://github.com/dogoncouch/siemstress/blob/master/README.md>`_
* `Changelog <https://github.com/dogoncouch/siemstress/blob/master/CHANGELOG.md>`_
* `Development source <https://github.com/dogoncouch/siemstress/>`_
"""
from setuptools import setup
from os.path import join
from sys import prefix
from siemstress import __version__
ourdata = [(join(prefix, 'share/man/man1'),
['doc/siemparse.1', 'doc/siemquery.1', 'doc/siemtrigger.1',
'doc/siemmanage.1']),
(join(prefix, 'share/man/man7'), ['doc/siemstress.7']),
(join(prefix, '/etc/siemstress'),
['config/db.conf', 'config/sections.conf']),
(join(prefix, 'share/doc/siemstress'), ['README.md', 'LICENSE',
'CHANGELOG.md', 'config/example_rules.json',
'config/example_helpers.json'])]
setup(name = 'siemstress', version = str(__version__),
description = 'A very basic Security Information and Event Management system (SIEM)',
long_description = __doc__,
author = 'Dan Persons', author_email = 'dpersonsdev@gmail.com',
url = 'https://github.com/dogoncouch/siemstress',
download_url = 'https://github.com/dogoncouch/siemstress/archive/v' + str(__version__) + '.tar.gz',
keywords = ['log', 'syslog', 'analysis', 'forensics', 'security',
'cli', 'secops', 'sysadmin', 'forensic-analysis',
'log-analysis', 'log-analyzer', 'log-viewer', 'log-analytics',
'log-management', 'log-collector', 'log-monitoring'],
packages = ['siemstress'],
entry_points = \
{ 'console_scripts': [ 'siemparse = siemstress.parsecore:main',
'siemquery = siemstress.querycore:main',
'siemtrigger = siemstress.triggercore:main',
'siemmanage = siemstress.managecore:main' ]},
data_files = ourdata,
classifiers = ["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 2",
"Topic :: System :: Monitoring"])