test: unskip schedule_now after kibana public route

Open Beginner friendly
#617 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
cli, testing

Research direction

Start in codegen/functional/kb.ts at skippedFilesStack and verify that Kibana includes the public POST /api/risk_score/engine/schedule_now route after elastic/kibana#289375 or its 9.5 backport. Update the CLI CI pin if needed, remove the skip, and regenerate; done means security_entity_analytics_api_schedule_risk_engine_now.yml is no longer skipped while the existing cleanup and configure steps remain covered.

Written by the indexing model from the issue text.

Description

Leftover from #593 / #615. security_entity_analytics_api_schedule_risk_engine_now.yml stays in skippedFilesStack because the CLI calls POST /api/risk_score/engine/schedule_now and 9.5.3 only registers /internal/risk_score/engine/schedule_now.

Unblock:

  • elastic/kibana#289375 merges (registers the public path)
  • CLI CI pin moves to a Kibana that includes that change, or a 9.5 backport

Then drop the skip in codegen/functional/kb.ts and regenerate. Cleanup and configure already run after #615.

Related: elastic/schemas-js#90, elastic/elastic-client-generator-js#284 (configure PUT is already in the CLI via @elastic/schemas 0.7.3).

Dominant language
TypeScript
Stars
43
Forks
24
Avg merge
1d 7h
Merged PRs (30d)
55

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/cli

All issues in elastic/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.