-
Notifications
You must be signed in to change notification settings - Fork 59
feat: add JFrog Xray vulnerability scanning module #410
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
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adds a Terraform module that integrates JFrog Xray vulnerability scanning results into Coder workspace metadata. The module: - Fetches vulnerability scan results from JFrog Xray - Displays vulnerability counts (Critical, High, Medium, Low) on workspace page - Supports flexible image path formats - Works with any workspace type using container images - Provides secure token handling Resolves coder/coder#12838 and addresses #65 Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
Fixes CI formatting checks for the JFrog Xray module.
Adds the required Terraform usage example immediately after the h1 heading to satisfy the README validation requirements.
Fixes remaining formatting issues in the README file.
The check_license argument is not supported by the JFrog Xray Terraform provider, causing test failures. Removing this argument fixes the Terraform validation.
Adds proper null handling for cases where xray scan results are null, which was causing Terraform validation failures. Uses try() function to gracefully handle null values and provide default vulnerability counts.
Fixes terraform formatting issue identified by CI checks.
@jatcod3r can you help me test this if you have s setup ready?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new Terraform module that integrates JFrog Xray vulnerability scanning results into Coder workspace metadata.
Features
Usage
Related Issues
Tested with basic Terraform validation. Full integration testing requires live JFrog instance.