Skip to content

True up the README against the shipped CLI#41

Merged
stxkxs merged 1 commit into
mainfrom
design-state-docs
Jul 2, 2026
Merged

True up the README against the shipped CLI#41
stxkxs merged 1 commit into
mainfrom
design-state-docs

Conversation

@stxkxs

@stxkxs stxkxs commented Jul 2, 2026

Copy link
Copy Markdown
Member

See commit message. remediate orphans documented; sarif output rows, iam fix --profile, storage audit --fix/--out, version output prefix — all re-verified against HEAD.

Doc-vs-code verification pass over the command reference. Every
command, subcommand, and flag spelling in the README was checked
against the cobra registrations in cmd/; the mismatches found all
undersold what the binary supports:

- remediate: the supported-types sentence and the --type flag row
  listed storage and network only; cmd/remediate.go handles a third
  type, orphans (delete-snapshot / deregister-image scripts from a
  saved orphans report). Both now list storage, network, orphans.
- lambda audit, k8s rbac, compliance, drift: the --output flag rows
  claimed table, json; all four commands also emit sarif
  (cmd/lambda.go, cmd/k8s.go, cmd/compliance.go, cmd/drift.go). The
  rows now match the other sarif-capable commands' tables.
- iam fix: flag table was missing --profile (AWS named profile,
  matching the profile used for the scan) — present in cmd/iam.go.
- storage audit: flag table was missing --fix / --out, which the
  command supports symmetrically with network audit (cmd/storage.go).
- --version example: cobra's default version template prefixes the
  output with "cloudgov version ", so the sample output line now shows
  the string the binary actually prints.

Co-authored-by: stxkxsbot <275011021+stxkxsbot@users.noreply.github.com>
@stxkxs stxkxs marked this pull request as ready for review July 2, 2026 02:46
@stxkxs stxkxs merged commit f740985 into main Jul 2, 2026
12 checks passed
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