Skip to content

Conversation

@Deekshit014
Copy link

What does this PR do?

This Pull Request resolves Issue #460.

It implements a new optional command-line flag, --disable-appendices, for the cloudsplaining scan command.

When the flag is used, it prevents the HTML report from rendering the Guidance and Appendices tabs, allowing users to generate a streamlined report without supplementary documentation.

Technical Changes:

  • Modified cloudsplaining/command/scan.py and cloudsplaining/output/report.py to accept and propagate the new boolean flag.
  • Updated cloudsplaining/output/template.html to expose the flag to the global JavaScript context, allowing the Vue.js application to conditionally hide the tabs and content.

What gif best describes this PR or how it makes you feel?

Completion checklist

  • Additions and changes have unit tests
  • The pull request has been appropriately labeled using the provided PR labels
  • GitHub actions automation is passing (make test, make lint, make security-test, make test-js)
  • If the UI contents or JavaScript files have been modified, generate a new example report:
    • Local testing confirmed correct behavior (tabs hidden with flag, visible without).
# Generate the updated Javascript bundle
make build-js

# Generate the example report
make generate-report

@salesforce-cla
Copy link

salesforce-cla bot commented Oct 9, 2025

Thanks for the contribution! Before we can merge this, we need @Deekshit014 to sign the Salesforce Inc. Contributor License Agreement.

@gruebel
Copy link
Collaborator

gruebel commented Oct 9, 2025

Done via #475

@gruebel gruebel closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants