feat: Update toolmap and validation for Wazuh MCP Server v4.2.1 compa… #108
ci.yml
on: push
Validate Policies
9s
Docker Build
Annotations
11 errors and 20 warnings
|
Security Audit
Process completed with exit code 1.
|
|
Lint:
runtime/autopilot-service/index.js#L1177
'stalledRedispatchCounts' was used before it was defined
|
|
Lint:
runtime/autopilot-service/index.js#L689
Redundant use of `await` on a return value
|
|
Lint:
runtime/autopilot-service/index.js#L608
Redundant use of `await` on a return value
|
|
Lint:
runtime/autopilot-service/index.js#L351
'responsePlans' was used before it was defined
|
|
Lint:
runtime/autopilot-service/index.js#L348
'entityCaseIndex' was used before it was defined
|
|
Lint:
runtime/autopilot-service/index.js#L345
'executingPlans' was used before it was defined
|
|
Lint:
runtime/autopilot-service/index.js#L256
'MAX_METRIC_KEYS' was used before it was defined
|
|
Lint:
runtime/autopilot-service/execution.test.js#L405
["authorization"] is better written in dot notation
|
|
Lint:
runtime/autopilot-service/agent-actions.test.js#L71
Empty block statement
|
|
Lint:
runtime/autopilot-service/agent-actions.test.js#L10
'beforeEach' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Validate Policies
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 will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
Validate Policies
Policy files contain placeholder values. Configure before production use.
|
|
Validate Policies:
policies/toolmap.yaml#L867
867:81 [line-length] line too long (82 > 80 characters)
|
|
Validate Policies:
policies/toolmap.yaml#L8
8:81 [line-length] line too long (83 > 80 characters)
|
|
Validate Policies:
policies/policy.yaml#L164
164:81 [line-length] line too long (81 > 80 characters)
|
|
Validate Policies:
policies/policy.yaml#L50
50:81 [line-length] line too long (89 > 80 characters)
|
|
Validate Policies:
policies/policy.yaml#L49
49:81 [line-length] line too long (86 > 80 characters)
|
|
Security Audit
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. 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/
|
|
Lint
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. 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/
|
|
Lint:
runtime/autopilot-service/index.js#L1249
This line has a length of 123. Maximum allowed is 120
|
|
Lint:
runtime/autopilot-service/index.js#L1229
This line has a length of 129. Maximum allowed is 120
|
|
Lint:
runtime/autopilot-service/index.js#L1127
Async function 'updateCase' has no 'await' expression
|
|
Lint:
runtime/autopilot-service/index.js#L1043
Async function 'createCase' has no 'await' expression
|
|
Lint:
runtime/autopilot-service/index.js#L457
Async function 'getDlqPath' has no 'await' expression
|
|
Lint:
runtime/autopilot-service/index.js#L447
Unexpected empty arrow function
|
|
Lint:
runtime/autopilot-service/execution.test.js#L137
Unexpected empty arrow function
|
|
Lint:
runtime/autopilot-service/execution.test.js#L128
Unexpected empty arrow function
|
|
Lint:
runtime/autopilot-service/body-parsing.test.js#L106
Unexpected empty arrow function
|
|
Lint:
runtime/autopilot-service/body-parsing.test.js#L34
Unexpected empty arrow function
|
|
Test
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/
|