def get_all_plugins(self):
index = ElasticConfig.INDEX_VULTASKS["index"]
doc_type = ElasticConfig.INDEX_VULTASKS["type"]
scroll = "2m"
size = 30
body = {"query" : {"match_all": {}}}
data = helpers.scan(client=self.es, query=body, index=index, doc_type=doc_type, scroll=scroll, size=size)
return data
#search assets
评论列表
文章目录