mirror of
https://github.com/valitydev/atomic-threat-coverage.git
synced 2024-11-06 17:45:23 +00:00
Fixing base agg
This commit is contained in:
parent
d28213cadb
commit
f70227a309
@ -5,6 +5,7 @@
|
||||
# ########################################################################### #
|
||||
|
||||
import json
|
||||
import datetime
|
||||
|
||||
|
||||
class BaseKibanaAgg:
|
||||
@ -16,10 +17,7 @@ class BaseKibanaAgg:
|
||||
self.enabled = str()
|
||||
self.type = str()
|
||||
self.schema = str()
|
||||
self.params = {
|
||||
"field": "",
|
||||
"customLabel": "",
|
||||
}
|
||||
self.params = dict()
|
||||
|
||||
def __call__(self):
|
||||
|
||||
@ -89,6 +87,7 @@ class BaseKibanaDoc:
|
||||
|
||||
def __call__(self):
|
||||
|
||||
self.updated_at = datetime.datetime.today().isoformat() + "Z"
|
||||
return self.__dict__
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user