Skip to content

docs: REST pass_from_env allowlist, Microsoft login host, RC extras - #2041

Merged
FabioLeitao merged 1 commit into
mainfrom
cursor/technical-documentation-maintenance-4a81
Oct 12, 2026
Merged

FabioLeitao merged 1 commit into
mainfrom
cursor/technical-documentation-maintenance-4a81

Conversation

@cursor

@cursor cursor Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

Align operator docs with already-shipped behavior: REST env-secret pass_from_env still requires explicit allowed_hosts after the loader copies into pass; Power BI/Dataverse token POST is limited to https://login.microsoftonline.com; completão rc_bench_extras reports missing_optional_dependency (not unreachable) when optional NoSQL extras are absent. EN + pt-BR pairs only; no product code change.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / maintenance
  • Other (describe):

Issue linking (required)

No issue closed: docs alignment for already-shipped #2006 / #2007 / #2011 / #2012
  • This PR links the issue with Closes #NNNN or documents No issue closed: above

Docs added/updated

Codepaths covered

Knowledge gaps addressed

🧱 Checklist de Integridade

  • Python: targeted pytest on docs locale/external-link/coauthorship guards (239 passed). Full check-all / Rust clippy not required for this docs-only slice.
  • Rust Core: n/a (docs only)
  • Performance: n/a (docs only)
  • Drift Doc: EN + pt-BR pairs updated together; no README product-pitch change.
  • Léxico: pt-BR locale on the edited pairs; no pt-PT in the edited runbook.
Open in Web View Automation 

Note

Low Risk
Documentation-only updates across paired EN/pt-BR guides; no runtime, auth, or connector behavior changes in this PR.

Overview
This PR updates operator documentation only (EN + pt-BR pairs) so it matches behavior already in the product—no code changes.

REST credential egress (#1977 / #2006): Docs now cover target-level pass_from_env, password_from_env, and user_from_env alongside auth-block env secrets. They state that auth.allowed_hosts is still required while any *_from_env key remains, even after the loader copies values into pass/user. REST env var names must use API_ / REST_API_ / DATA_BOAR_ prefixes; SQL/NoSQL/share pass_from_env (e.g. DEMO_DB_PASSWORD) is explicitly not on that list. USAGE adds a YAML example for Basic auth via user + pass_from_env; troubleshooting and credentials guides point to tests/test_rest_connector_pass_from_env_loader.py.

Power BI / Dataverse (#2007): New sections document that client-secret token POSTs are only allowed to https://login.microsoftonline.com (https, exact host, no userinfo). Sovereign-cloud hosts fail closed with #2007 before POST—separate from REST #1977.

Scan failure reasons: Troubleshooting tables add rows for #2007, missing_optional_dependency (optional extras like nosql/shares—not TCP unreachable), and expand the #1977 row for REST pass_from_env.

Lab completão: Runbooks document host-smoke prepare using scripts/rc_bench_extras.py (list/verify), RC v3 extras sync, and that missing nosql yields missing_optional_dependency (RC sentinel fail, not SKIP).

Mongo/Redis: TECH_GUIDE notes missing .[nosql] records missing_optional_dependency instead of unreachable.

Reviewed by Cursor Bugbot for commit e437fd0. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor
cursor Bot marked this pull request as ready for review October 5, 2026 16:14
Document env-secret egress for REST *_from_env (explicit allowed_hosts
after loader copy into pass) versus SQL/share DEMO_DB_PASSWORD prefixes,
Power BI/Dataverse login.microsoftonline.com-only token POSTs, and
completão rc_bench_extras missing_optional_dependency vs unreachable.
@FabioLeitao
FabioLeitao force-pushed the cursor/technical-documentation-maintenance-4a81 branch from 719caab to e437fd0 Compare October 12, 2026 02:46
@FabioLeitao
FabioLeitao merged commit bb3be9c into main Oct 12, 2026
28 checks passed
@FabioLeitao
FabioLeitao deleted the cursor/technical-documentation-maintenance-4a81 branch October 12, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant