Skip to content

Updates to the billing and usage CLI#61

Merged
markdboyd merged 5 commits intozjr/usage-cmd-tweaksfrom
mb/billing-cli-updates
Mar 25, 2026
Merged

Updates to the billing and usage CLI#61
markdboyd merged 5 commits intozjr/usage-cmd-tweaksfrom
mb/billing-cli-updates

Conversation

@markdboyd
Copy link
Copy Markdown
Contributor

Changes proposed in this pull request:

  • Update .gitignore
  • Write report output directly to stdout
  • Add basic README

Things to check

  • For any logging statements, is there any chance that they could be logging sensitive data?
  • Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to INFO and debugging statements are written with log.debug or similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.

Security considerations

None

@markdboyd markdboyd requested review from a team as code owners March 24, 2026 21:03
Copy link
Copy Markdown
Contributor

@zjrgov zjrgov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay, thank you!

Comment thread cmd/usage/README.md Outdated
Comment thread cmd/usage/main.go
Comment on lines +212 to +213
enc := json.NewEncoder(out)
if err := enc.Encode(report); err != nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo nice; hadn't seen that yet

Comment thread cmd/usage/README.md Outdated
markdboyd and others added 2 commits March 25, 2026 11:24
Co-authored-by: Zachary Rollyson <zachary.rollyson@gsa.gov>
Signed-off-by: Mark Boyd <markdavidboyd@gmail.com>
Co-authored-by: Zachary Rollyson <zachary.rollyson@gsa.gov>
Signed-off-by: Mark Boyd <markdavidboyd@gmail.com>
@markdboyd markdboyd merged commit 7b6ea87 into zjr/usage-cmd-tweaks Mar 25, 2026
1 check was pending
@markdboyd markdboyd deleted the mb/billing-cli-updates branch March 25, 2026 18:31
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