Skip to content

removed format column#23

Merged
colinmoynes merged 1 commit intomainfrom
fix/repo-vuln-summary-format
Apr 8, 2026
Merged

removed format column#23
colinmoynes merged 1 commit intomainfrom
fix/repo-vuln-summary-format

Conversation

@colinmoynes
Copy link
Copy Markdown
Collaborator

@colinmoynes colinmoynes commented Apr 8, 2026

This pull request simplifies the vulnerability summary output by removing the format field (e.g., package type like deb, rpm, etc.) from both the table and the JSON output. This change affects the display in the CLI, the structure of the JSON report, and the corresponding documentation.

Summary of most important changes:

Table and Output Display:

  • Removed the Format column from the summary table in the CLI output, making the table less cluttered and easier to read. [1] [2] [3]

JSON Output and Data Structure:

  • Removed the format field from the JSON output for each package, simplifying the data structure. [1] [2]

Documentation:

  • Updated the example output in README.md to reflect the removal of the Format column and field. [1] [2]## 📄 Summary

Briefly describe the purpose of this pull request. What problem does it solve or feature does it add?

🔍 Related Issues

Link to any related GitHub issues (e.g., Fixes #12, Closes #34):

🧪 Type of Change

Please check the relevant type tag for this PR title:

  • [FIX] Bug fix
  • [NEW] New thing
  • [REFACTOR] Internal changes such as code restructuring or optimization that does not alter functionality
  • [DOC] Documentation-only changes
  • [CHORE] Maintenance, cleanup, or CI configuration

🧪 How Has This Been Tested?

Describe how you tested your changes. Include CI runs, local tests, manual verification, or screenshots if applicable.

📸 Screenshots (if applicable)

If UI or logs are affected, include before/after screenshots or output.

✅ Checklist

  • I’ve read and followed the CONTRIBUTING.md.
  • I’ve added or updated documentation as needed.
  • I’ve verified the change is tested and works as intended.
  • CI/CD checks pass and do not break existing functionality.
  • My code follows the style guidelines of this project.

@colinmoynes colinmoynes self-assigned this Apr 8, 2026
Copilot AI review requested due to automatic review settings April 8, 2026 12:13
@colinmoynes colinmoynes merged commit ab8c920 into main Apr 8, 2026
2 checks passed
@colinmoynes colinmoynes deleted the fix/repo-vuln-summary-format branch April 8, 2026 12:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the vulnerability summary outputs by removing the package format attribute (e.g., deb, rpm) from both the CLI table view and the JSON report, and updates the related documentation examples accordingly.

Changes:

  • Removed format from each package entry in the JSON output structure.
  • Removed the Format column from the Rich table output in the CLI.
  • Updated Scripts/Vulnerabilities/README.md example outputs to reflect the new table/JSON shape.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Scripts/Vulnerabilities/repo-vuln-summary.py Drops format from the generated report payload and CLI table rendering.
Scripts/Vulnerabilities/README.md Updates example table and JSON output to match the new schema (with one remaining mismatch noted in comments).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -80,14 +80,14 @@ python repo-vuln-summary.py --owner <org-slug> --repo <repo-slug> --output json
✓ Processed 7 vulnerability scans in 4.2s

Cloudsmith Repository Vulnerability Overview: my-repo
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

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

The table example title in this README doesn't match the actual CLI output. The script prints a Rich table titled Vulnerability Report: {repo} (see Table(title=...) in repo-vuln-summary.py), but the example shows Cloudsmith Repository Vulnerability Overview: my-repo. Please update the example title (or the code) so the documented output matches what the tool renders.

Suggested change
Cloudsmith Repository Vulnerability Overview: my-repo
Vulnerability Report: my-repo

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants