mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-06 17:35:19 +00:00
64 lines
2.3 KiB
Python
64 lines
2.3 KiB
Python
# Setup module for Sigma toolchain
|
|
# derived from example at https://github.com/pypa/sampleproject/blob/master/setup.py
|
|
from setuptools import setup, find_packages
|
|
# To use a consistent encoding
|
|
from codecs import open
|
|
from os import path
|
|
from pathlib import Path
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
# Get the long description from the README file
|
|
with open(path.join(here, 'LONG_DESCRIPTION.md'), encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
setup(
|
|
name='sigmatools',
|
|
version='0.20',
|
|
description='Tools for the Generic Signature Format for SIEM Systems',
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url='https://github.com/Neo23x0/sigma',
|
|
author='Sigma Project',
|
|
author_email='thomas@patzke.org',
|
|
license='LGPLv3',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Information Technology',
|
|
'Intended Audience :: System Administrators',
|
|
'Topic :: Security',
|
|
'Topic :: Internet :: Log Analysis',
|
|
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Environment :: Console',
|
|
],
|
|
keywords='security monitoring siem logging signatures elasticsearch splunk ids sysmon',
|
|
packages=[
|
|
'sigma',
|
|
'sigma.backends',
|
|
'sigma.config',
|
|
'sigma.parser',
|
|
'sigma.parser.modifiers',
|
|
],
|
|
python_requires='~=3.8',
|
|
install_requires=['PyYAML', 'pymisp', 'progressbar2', 'ruamel.yaml'],
|
|
extras_require={
|
|
'test': ['coverage', 'yamllint'],
|
|
},
|
|
data_files=[
|
|
('etc/sigma', [ str(p) for p in Path('config/').glob('*.yml') ]),
|
|
('etc/sigma/generic', [ str(p) for p in Path('config/generic/').glob('*.yml') ])],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'sigmac = sigma.sigmac:main',
|
|
'merge_sigma = sigma.merge_sigma:main',
|
|
'sigma2misp = sigma.sigma2misp:main',
|
|
'sigma2attack = sigma.sigma2attack:main',
|
|
'sigma_similarity = sigma.sigma_similarity:main',
|
|
'sigma_uuid = sigma.sigma_uuid:main',
|
|
],
|
|
},
|
|
)
|