Skip to content

docs: give each cloud capture cloud its own page - #578

Merged
gsavage merged 5 commits into
mainfrom
refactor-cloud-capture-docs
Nov 27, 2026
Merged

gsavage merged 5 commits into
mainfrom
refactor-cloud-capture-docs

Conversation

@gsavage

@gsavage gsavage commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Why

The Cloud Capture docs held AWS, Azure and Google Cloud content in tabs: two tab sets on the
security page and three on getting started. A reader who cared about one cloud had to pick the right
tab in each set, and a link could not point at one cloud's content. Headings inside a tab also
appeared in the page contents whichever tab was selected, so the AWS-only S3 section looked as if it
applied to every cloud.

What changed

The sidebar group goes from three entries to six:

Entry File Contents
Overview overview As before, with links and cards to each cloud's page
AWS aws (new) Set up, excluding resources, capturing S3 buckets, permissions and security
Azure azure (new) Set up, excluding resources, permissions and security
Google Cloud google_cloud (new) Set up, excluding resources, permissions and security
Settings getting_started (retitled) Scan frequency, environment names, account names, dry run, using the API
Security security (slimmed) The model common to every cloud, and a table comparing the three

Every cloud page uses the same section headings in the same order. No tabs remain.

The first commit is the move, and is cut-and-paste apart from links and joining sentences. The
second removes what the move left repeated: a second copy of the Google Cloud deploy command, and
the 200-line AWS policy, which is now in an accordion under a short summary.

Decisions worth challenging

  • Six flat sidebar entries, not a nested "Cloud providers" group. The group above, "Reporting
    your runtime", already lists its pages by platform, so this follows the tab's existing pattern. A
    nested group would hide the three most-wanted pages behind a click.
  • Set up and security share one page per cloud. Splitting them would give nine pages, and the
    two halves refer to each other constantly. A security reviewer can be sent to
    /administration/cloud_capture/<cloud>#permissions-and-security.
  • The Settings page keeps the URL /administration/cloud_capture/getting_started, with no
    redirect.
    The URL no longer matches the title. In return, existing links to #scan-frequency,
    #environment-names, #account-names and #dry-run keep working; a redirect to a new settings
    URL would have dropped those anchors.
  • Two anchors on that page are gone: #excluding-resources and #capturing-s3-buckets now
    live on the cloud pages. The first is linked from customer-deployment/aws/README.md in
    kosli-dev/cloud-capture, which needs a follow-up change to point at
    /administration/cloud_capture/aws#excluding-resources. Until then that link opens the Settings
    page at the top.
  • The settings API description moved to the Settings page. It sat under the AWS skip tags,
    although every setting uses the same resource.

New text to check

Most of the diff is moved text. These parts are new and deserve a closer read:

  • The comparison table on the Security page
  • The two-bullet summary above the AWS policy accordion
  • The intro paragraph of each cloud page and of the Settings page
  • The "Using the API" section on the Settings page, reworded from the AWS skip tags text

Checks

  • mint broken-links: no broken links
  • python scripts/audit_navigation.py --check: passes
  • pytest tests/: 58 passed, 10 skipped

🤖 Generated with Claude Code

gsavage and others added 2 commits November 26, 2026 15:38
The Cloud Capture pages held AWS, Azure and Google Cloud content in
tabs: two sets on the security page and three on getting started. A
reader who cared about one cloud had to pick the right tab in each set,
a link could not point at one cloud's content, and headings inside a
tab appeared in the page contents whichever tab was selected, so the
AWS-only S3 section looked like it applied to every cloud.

Each cloud now has one page with the same four sections: set up,
excluding resources, permissions and security, and tenant isolation.
The AWS page also holds capturing S3 buckets. The content is moved, not
rewritten.

What is left of getting started is the settings that apply to every
cloud (scan frequency, environment names, account names, dry run), so
it is retitled Settings. It keeps its URL so that existing links to
those sections still work. The description of the settings API, which
sat under the AWS skip tags although every setting uses it, becomes a
section of that page.

The security page keeps the model common to every cloud and gains a
table that compares the three and links to each cloud's detail.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Moving each cloud's content onto one page put passages side by side
that used to sit on different pages.

The Google Cloud page gave the Infrastructure Manager deploy command
twice, once in the set up steps and once under permissions. The second
copy said nothing the steps do not, so it is removed.

The AWS policy statements are about 200 lines of YAML, which pushed the
S3 and tenant isolation sections a long way down the page. They are now
in an accordion, as the Google Cloud Terraform configuration already
is, with a short summary above so that a reader can see what the role
grants without opening it.

The Azure permissions section described the registration form a second
time; it now points at the set up steps.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@gsavage
gsavage requested a review from a team as a code owner November 26, 2026 15:39
@mintlify

mintlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
kosli 🟢 Ready View Preview Nov 26, 2026, 4:01 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@claude

claude Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @gsavage's task in 1m 7s —— View job


Follow-up review: f04fe5d..c23bc41

The only new commit (c23bc41) is a style-only pass adding serial (Oxford) commas across the six cloud-capture pages — no wording, structure, or links changed beyond that punctuation. Nothing in it can introduce a bug or regression.

Status of previous findings:

Finding Location Status
AWS security-table row omitted the broadest grants (tag:GetResources, bucket-level S3 metadata) administration/cloud_capture/security.md (AWS row) ✅ Resolved in 834ab5f — the row now reads "Read-only ECS and Lambda inventory, and bucket-level S3 metadata. If you name S3 buckets, the role can also read objects in those buckets and the tags of every taggable resource in the account," matching aws.md lines 152–153 and 366. Already confirmed in-thread by both gsavage and a prior Claude reply; thread can be marked resolved.
#excluding-resources / #capturing-s3-buckets anchors removed from getting_started.md, used by an external repo administration/cloud_capture/getting_started.md ✅ Acknowledged, no action needed — gsavage confirmed there's a follow-up PR updating the external link and that a customer bookmark on the removed security.md anchors is vanishingly unlikely. No stub headings added, by design.

No new issues found in the changed lines, and no new inline comments were posted.

Note: I don't have gh/GitHub API access in this session to programmatically resolve the review threads — both are already marked resolved in conversation by the PR author and a prior Claude reply; a maintainer may want to click "Resolve conversation" on them.
· Branch: refactor-cloud-capture-docs

The comparison table on the Cloud Capture security page said the AWS
role could read objects only in the S3 buckets the customer names. That
is true of objects, but it left out the two widest grants in the
template: bucket-level metadata for every bucket, which is always
granted, and tag:GetResources, which is granted once any bucket is named
and reads the tags of every taggable resource in the account.

A security reviewer who read only the table would have come away with a
narrower picture than the AWS page gives, so the row now states both.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
mbevc1
mbevc1 previously approved these changes Nov 26, 2026
The card that links to the AWS page listed its services as "Amazon ECS,
AWS Lambda and Amazon S3". The rest of the site mostly uses a serial
comma in lists of three or more, including the neighbouring AWS
reporting tutorial ("ECS, Lambda, and S3"), so the card now matches.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Most of the site puts a comma before the "and" or "or" that ends a list
of three or more, but the Cloud Capture pages mostly did not, so the
group read differently from the pages around it. The lists on all six
pages now carry the comma.

Only prose and tables change. The CloudFormation and Terraform listings
are copies of the published templates, so their comments are left as
they are.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@gsavage
gsavage merged commit 7f78576 into main Nov 27, 2026
6 checks passed
@gsavage
gsavage deleted the refactor-cloud-capture-docs branch November 27, 2026 17:03

This branch was successfully deployed

1 active deployment
staging — c23bc41a Deployed Nov 26, 2026 by mintlify[bot]
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.

2 participants