fix: block_ip missing agent_id causes Wazuh 400 error (refs #25) #119
Annotations
10 errors and 11 warnings
|
Run ESLint:
runtime/autopilot-service/index.js#L1185
'stalledRedispatchCounts' was used before it was defined
|
|
Run ESLint:
runtime/autopilot-service/index.js#L689
Redundant use of `await` on a return value
|
|
Run ESLint:
runtime/autopilot-service/index.js#L608
Redundant use of `await` on a return value
|
|
Run ESLint:
runtime/autopilot-service/index.js#L351
'responsePlans' was used before it was defined
|
|
Run ESLint:
runtime/autopilot-service/index.js#L348
'entityCaseIndex' was used before it was defined
|
|
Run ESLint:
runtime/autopilot-service/index.js#L345
'executingPlans' was used before it was defined
|
|
Run ESLint:
runtime/autopilot-service/index.js#L256
'MAX_METRIC_KEYS' was used before it was defined
|
|
Run ESLint:
runtime/autopilot-service/execution.test.js#L408
["authorization"] is better written in dot notation
|
|
Run ESLint:
runtime/autopilot-service/agent-actions.test.js#L71
Empty block statement
|
|
Run ESLint:
runtime/autopilot-service/agent-actions.test.js#L10
'beforeEach' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run ESLint:
runtime/autopilot-service/index.js#L1286
This line has a length of 123. Maximum allowed is 120
|
|
Run ESLint:
runtime/autopilot-service/index.js#L1237
This line has a length of 129. Maximum allowed is 120
|
|
Run ESLint:
runtime/autopilot-service/index.js#L1128
Async function 'updateCase' has no 'await' expression
|
|
Run ESLint:
runtime/autopilot-service/index.js#L1043
Async function 'createCase' has no 'await' expression
|
|
Run ESLint:
runtime/autopilot-service/index.js#L457
Async function 'getDlqPath' has no 'await' expression
|
|
Run ESLint:
runtime/autopilot-service/index.js#L447
Unexpected empty arrow function
|
|
Run ESLint:
runtime/autopilot-service/execution.test.js#L139
Unexpected empty arrow function
|
|
Run ESLint:
runtime/autopilot-service/execution.test.js#L130
Unexpected empty arrow function
|
|
Run ESLint:
runtime/autopilot-service/body-parsing.test.js#L106
Unexpected empty arrow function
|
|
Run ESLint:
runtime/autopilot-service/body-parsing.test.js#L34
Unexpected empty arrow function
|
Loading