Added Splunk task and some more interesting libraries to requirements.txt.
This commit is contained in:
parent
4da46438cc
commit
c7b276056c
4 changed files with 38 additions and 10 deletions
19
linspector/tasks/splunk.py
Normal file
19
linspector/tasks/splunk.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2023 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE (MIT license)
|
||||
"""
|
||||
from linspector.core.task import Task
|
||||
|
||||
|
||||
def create(configuration, environment, log):
|
||||
return SplunkTask(configuration, environment, log)
|
||||
|
||||
|
||||
# TODO: check for all required configuration options and set defaults if needed.
|
||||
class SplunkTask(Task):
|
||||
def __init__(self, configuration, environment, log):
|
||||
super().__init__(configuration, environment, log)
|
||||
self.__configuration = configuration
|
||||
self.__environment = environment
|
||||
self.__log = log
|
||||
Loading…
Add table
Add a link
Reference in a new issue