Configure Mend Bolt for GitHub#13
Closed
mend-bolt-for-github[bot] wants to merge 1 commit intomasterfrom
Closed
Conversation
WalkthroughThis pull request introduces automated security scanning and dependency vulnerability management by adding a WhiteSource (Mend) configuration file. The configuration enables continuous monitoring of project dependencies for security vulnerabilities and will automatically fail check runs when vulnerable dependencies are detected. Issue reporting is configured to flag dependencies with a minimum severity level of LOW or higher, ensuring comprehensive security coverage. The diff display mode provides clear visibility into vulnerability changes, and Mend branding is enabled for check names to maintain consistent identification across the CI/CD pipeline. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Config as Configuration Store
participant Scanner as Scan Orchestrator
participant CheckRun as Check Run Service
participant IssueFilter as Issue Filter Service
participant Repo as Repository
Scanner->>Config: Load scan settings
Config-->>Scanner: baseBranches: []
Scanner->>Repo: Scan repository branches
Repo-->>Scanner: Scan results
Scanner->>IssueFilter: Filter issues
IssueFilter->>Config: Get issue settings
Config-->>IssueFilter: minSeverityLevel: LOW<br/>issueType: DEPENDENCY
IssueFilter-->>Scanner: Filtered issues
Scanner->>CheckRun: Create check run
CheckRun->>Config: Get check run settings
Config-->>CheckRun: vulnerableCheckRunConclusionLevel: failure<br/>displayMode: diff<br/>useMendCheckNames: true
CheckRun->>Repo: Post check run with diff display
alt Issues found with severity >= LOW
CheckRun->>Repo: Set status to failure
else No issues found
CheckRun->>Repo: Set status to success
end
|
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
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.
Welcome to Mend Bolt for GitHub (formerly WhiteSource). This is an onboarding PR to help you understand and configure settings before Mend starts scanning your repository for security vulnerabilities.
🚦 Mend Bolt for GitHub will start scanning your repository only once you merge this Pull Request. To disable Mend Bolt for GitHub, simply close this Pull Request.
What to Expect
This PR contains a '.whitesource' configuration file which can be customized to your needs. If no changes were applied to this file, Mend Bolt for GitHub will use the default configuration.
Before merging this PR, Make sure the Issues tab is enabled. Once you merge this PR, Mend Bolt for GitHub will scan your repository and create a GitHub Issue for every vulnerability detected in your repository.
If you do not want a GitHub Issue to be created for each detected vulnerability, you can edit the '.whitesource' file and set the 'minSeverityLevel' parameter to 'NONE'.
❓ Got questions? Check out Mend Bolt for GitHub docs.
If you need any further assistance then you can also request help here.
EntelligenceAI PR Summary
This PR adds automated security scanning and dependency vulnerability detection using WhiteSource (Mend) configuration.
.whitesourceconfiguration file for security scanningConfidence Score: 5/5 - Safe to Merge