• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 30402493306
76%
main: 76%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-7656-ce87a7e81cde94a8d19e560a30845cfecc7adca1
DEFAULT BRANCH: main
Ran 28 Jul 2026 10:10PM UTC
Jobs 1
Files 245
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2026 09:53PM UTC coverage: 76.106% (-0.02%) from 76.128%
30402493306

push

github

web-flow
Migrate environment workflow for agentless CSPM setup to /api/fleet/managed_integrations (#7423)

## Summary

- Replaces the deprecated two-step flow (`POST
/api/fleet/agent_policies` with `supports_agentless: true` + `POST
/api/fleet/package_policies`) with a single `POST
/api/fleet/managed_integrations` call
- Adds `tests/fleet_api/managed_integration_api.py` with
`create_managed_integration` and `delete_managed_integration` helpers
- Updates `purge_integrations.py` to call `DELETE
/api/fleet/managed_integrations/{id}` (which handles full cleanup) when
the policy was created via the new API

**Context:** `/api/fleet/agent_policies` and
`/api/fleet/package_policies` are being deprecated for agentless
integrations in 9.5 GA in favor of `/api/fleet/managed_integrations`. A
feature flag to disallow the old path is being monitored and will be
enabled in a future release. See [Slack
thread](https://elastic.slack.com/archives/C02E83LRFMX/p1784631242374389)
for context.

## Test plan

- [x] Run `install_agentless_integrations.py` against a serverless
project and verify CSPM AWS/Azure/GCP integrations are created
successfully via the new endpoint
- [x] Run `purge_integrations.py` and verify the managed integrations
are deleted cleanly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

10205 of 13409 relevant lines covered (76.11%)

15.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
83.06
-0.98% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 30402493306.1 28 Jul 2026 10:10PM UTC 245
76.11
GitHub Action Run
Source Files on build 30402493306
  • Tree
  • List 245
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0184f712 on github
  • Prev Build on gh-readonly-queue/main/pr-7470-f827a26883be2cb5d571c4457a856cbdec9ae404 (#30148708052)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc