Configure Mend Bolt for GitHub#10
Conversation
Entelligence AI Vulnerability ScannerStatus: No security vulnerabilities found Your code passed our comprehensive security analysis. |
WalkthroughThis pull request introduces WhiteSource (Mend) security scanning integration to the repository. The configuration enables automated vulnerability detection for project dependencies through a new .whitesource configuration file. The setup configures check runs to fail when vulnerable dependencies are detected, displays differences in scan results, and reports issues for dependencies with a minimum severity level of LOW. Mend branding is enabled for check names, and the configuration uses default branch settings for scanning scope. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Config as Configuration File
participant Loader as Config Loader
participant Scanner as Scan Service
participant CheckRun as Check Run Service
participant IssueTracker as Issue Tracker
Loader->>Config: Load configuration
Config-->>Loader: Return settings object
Loader->>Scanner: Initialize with scanSettings
Note over Scanner: baseBranches: []<br/>(scan all branches)
Loader->>CheckRun: Initialize with checkRunSettings
Note over CheckRun: vulnerableCheckRunConclusionLevel: failure<br/>displayMode: diff<br/>useMendCheckNames: true
Loader->>IssueTracker: Initialize with issueSettings
Note over IssueTracker: minSeverityLevel: LOW<br/>issueType: DEPENDENCY
Scanner->>Scanner: Execute scan on branches
Scanner->>CheckRun: Send scan results
CheckRun->>CheckRun: Apply display mode (diff)
CheckRun->>CheckRun: Evaluate conclusion level
alt Vulnerabilities found
CheckRun->>CheckRun: Set status to failure
CheckRun->>IssueTracker: Filter issues (LOW+ severity, DEPENDENCY type)
IssueTracker->>IssueTracker: Create/update issues
else No vulnerabilities
CheckRun->>CheckRun: Set status to success
end
CheckRun-->>Scanner: Return check run status
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
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 WhiteSource (Mend) security scanning configuration to enable automated dependency vulnerability detection.
.whitesourceconfiguration file with security scanning settings