Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build scan command output in table format #172

Merged
merged 5 commits into from
Sep 15, 2024

Conversation

dortam888
Copy link
Contributor

@dortam888 dortam888 commented Sep 10, 2024

  • The pull request is targeting the dev branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

Fix build scan command to always have violation context as the build scan API is running on build watches and intend to return violations. Also dropped all build hasViolationContext functions.
Additionally, Dropped additional printing in the table format that made the command print the vulnerability table twice.

…ys runs on watches) the command will print violations alone at default and will append vulnerabilities with --vuln flag
…the function to change the violation context
@dortam888 dortam888 added the bug Something isn't working label Sep 10, 2024
@dortam888 dortam888 changed the title Fix build scan command that didn't print without flags. Fix build scan command output in table format Sep 10, 2024
@dortam888 dortam888 added the safe to test Approve running integration tests on a pull request label Sep 10, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 10, 2024
@dortam888 dortam888 requested a review from attiasas September 11, 2024 07:12
Copy link
Contributor

@attiasas attiasas left a comment

Choose a reason for hiding this comment

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

LGTM

@attiasas attiasas added the safe to test Approve running integration tests on a pull request label Sep 15, 2024
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Sep 15, 2024
Copy link

👍 Frogbot scanned this pull request and did not find any new security issues.


@attiasas attiasas merged commit 1bcec51 into jfrog:dev Sep 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants