Skip to content

Commit 07fb32f

Browse files
Merge branch 'main' into synthetics-embeddable-schema-registration
2 parents c99589f + 5e811f1 commit 07fb32f

2,114 files changed

Lines changed: 70992 additions & 20399 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.agents/skills/kibana-api/SKILL.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: kibana-api
3+
description: Shared utilities for interacting with a local Kibana instance. Provides auto-detection of Kibana URL and auth, and a kibana_curl wrapper.
4+
user-invocable: false
5+
---
6+
7+
# Kibana API Utilities
8+
9+
This skill provides shared shell utilities for other skills that need to call Kibana APIs.
10+
11+
## Usage
12+
13+
Source `scripts/kibana_api_common.sh` from any skill script:
14+
15+
```bash
16+
REPO_ROOT="$(git rev-parse --show-toplevel)"
17+
source "$REPO_ROOT/scripts/kibana_api_common.sh"
18+
```
19+
20+
After sourcing, the following are available:
21+
22+
- **`KIBANA_URL`** — Detected base URL (e.g., `http://localhost:5601`)
23+
- **`KIBANA_AUTH`** — Detected credentials (e.g., `elastic:changeme`)
24+
- **`kibana_curl [curl args...]`** — curl wrapper with auth, `kbn-xsrf`, `x-elastic-internal-origin`, and TLS flags pre-configured
25+
26+
## Auto-Detection
27+
28+
Tries these permutations automatically:
29+
- URLs: `http://localhost:5601`, `https://localhost:5601`
30+
- Auth: `elastic:changeme`, `elastic_serverless:changeme`
31+
32+
Override with environment variables `KIBANA_URL` and/or `KIBANA_AUTH` before sourcing.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ Tests then import `apiTest` from the local fixtures: `import { apiTest } from '.
9999
- `start-server` has no Playwright config to inspect, so pass `--config-dir <name>` when your tests require a custom server config.
100100
- Debug: `SCOUT_LOG_LEVEL=debug`
101101

102+
## CI enablement
103+
104+
- Scout tests run in CI only for modules listed under `plugins.enabled` / `packages.enabled` in `.buildkite/scout_ci_config.yml`.
105+
- `node scripts/scout.js generate` registers the module under `enabled` so the new configs run in CI.
106+
102107
## References
103108

104109
Open only what you need:

.agent/skills/scout-api-testing/references/scout-api-auth.md renamed to .agents/skills/scout-api-testing/references/scout-api-auth.md

File renamed without changes.

.agent/skills/scout-api-testing/references/scout-api-services.md renamed to .agents/skills/scout-api-testing/references/scout-api-services.md

File renamed without changes.
File renamed without changes.

.agent/skills/scout-best-practices-reviewer/references/scout-best-practices.md renamed to .agents/skills/scout-best-practices-reviewer/references/scout-best-practices.md

File renamed without changes.

.agent/skills/scout-create-scaffold/SKILL.md renamed to .agents/skills/scout-create-scaffold/SKILL.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ Notes:
6363

6464
- Update `.meta` manifests when adding/moving configs or tests:
6565
- `node scripts/scout.js update-test-config-manifests`
66-
- CI plumbing:
67-
- Add the plugin/package to `.buildkite/scout_ci_config.yml` (the generator warns about this).
6866
- Custom server config sets:
6967
- If you create/use `test/scout_<configSet>`, you typically also need a matching server config under `src/platform/packages/shared/kbn-scout/src/servers/configs/custom/<configSet>`.
7068
- `start-server` requires `--config-dir <configSet>` when using a custom server config set.
File renamed without changes.

.agent/skills/scout-migrate-from-ftr/references/migration-workflow.md renamed to .agents/skills/scout-migrate-from-ftr/references/migration-workflow.md

File renamed without changes.

0 commit comments

Comments
 (0)