fix(Cortex Node): Fix issue that not all Analyzers got returned (#3606)

* Updated Cortex analyzer search url to fetch all

* Updated Cortex credentials

* Nodelinter fixes

* More fixes
This commit is contained in:
Jonathan Bennetts
2022-06-29 07:42:35 +01:00
committed by GitHub
parent 522b31a47b
commit 6e595c7276
4 changed files with 249 additions and 237 deletions

View File

@@ -55,7 +55,7 @@ export class Cortex implements INodeType {
name: 'cortex',
icon: 'file:cortex.svg',
group: ['transform'],
subtitle: '={{$parameter["resource"]+ ": " + $parameter["operation"]}}',
subtitle: '={{$parameter["operation"]+ ": " + $parameter["resource"]}}',
version: 1,
description: 'Apply the Cortex analyzer/responder on the given entity',
defaults: {
@@ -112,7 +112,7 @@ export class Cortex implements INodeType {
const requestResult = await cortexApiRequest.call(
this,
'POST',
`/analyzer/_search`,
`/analyzer/_search?range=all`,
);
const returnData: INodePropertyOptions[] = [];