Skip to content

Configure Mend Bolt for GitHub#12

Closed
mend-bolt-for-github[bot] wants to merge 1 commit intomasterfrom
whitesource/configure
Closed

Configure Mend Bolt for GitHub#12
mend-bolt-for-github[bot] wants to merge 1 commit intomasterfrom
whitesource/configure

Conversation

@mend-bolt-for-github
Copy link
Copy Markdown

@mend-bolt-for-github mend-bolt-for-github Bot commented Feb 5, 2026

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 automate dependency vulnerability detection.

  • Added .whitesource configuration file with security scanning settings
  • Configured check runs to fail on detection of vulnerable dependencies
  • Enabled issue reporting for dependencies with minimum severity level of LOW
  • Set diff display mode for vulnerability visibility
  • Enabled Mend branding in check names
  • Empty baseBranches array defaults to standard branch configuration

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Walkthrough

This PR introduces automated security scanning and dependency vulnerability management by adding a WhiteSource (Mend) configuration file. The setup enables continuous monitoring of project dependencies for security vulnerabilities, with check runs configured to fail when vulnerable dependencies are detected. The configuration uses diff display mode for clear visibility of changes and sets up issue reporting for dependencies with a minimum severity threshold of LOW, ensuring comprehensive security coverage. Mend branding is enabled in check names for clear identification of security scan results.

Changes

File(s) Summary
.whitesource Added WhiteSource (Mend) configuration file to enable automated security scanning with check runs that fail on vulnerable dependencies, issue reporting for LOW+ severity vulnerabilities, diff display mode, and Mend branding enabled.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant App as Application
    participant ConfigLoader as Config Loader
    participant Scanner as Code Scanner
    participant CheckRun as Check Run Service
    participant IssueFilter as Issue Filter

    App->>ConfigLoader: Load configuration
    activate ConfigLoader
    ConfigLoader->>ConfigLoader: Parse JSON config
    Note over ConfigLoader: scanSettings: baseBranches[]<br/>checkRunSettings: failure mode<br/>issueSettings: LOW severity
    ConfigLoader-->>App: Return config object
    deactivate ConfigLoader

    App->>Scanner: Initialize with scanSettings
    activate Scanner
    Scanner->>Scanner: Configure base branches
    Scanner-->>App: Scanner ready
    deactivate Scanner

    App->>CheckRun: Initialize with checkRunSettings
    activate CheckRun
    CheckRun->>CheckRun: Set conclusion level to failure
    CheckRun->>CheckRun: Set display mode to diff
    CheckRun->>CheckRun: Enable Mend check names
    CheckRun-->>App: CheckRun ready
    deactivate CheckRun

    App->>IssueFilter: Initialize with issueSettings
    activate IssueFilter
    IssueFilter->>IssueFilter: Set min severity to LOW
    IssueFilter->>IssueFilter: Set type to DEPENDENCY
    IssueFilter-->>App: IssueFilter ready
    deactivate IssueFilter

    Note over App,IssueFilter: System configured and ready to scan
Loading

▶️AI Code Reviews for VS Code, Cursor, Windsurf
Install the extension

Note for Windsurf Please 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 below

Emoji Descriptions:

  • ⚠️ Potential Issue - May require further investigation.
  • 🔒 Security Vulnerability - Fix to ensure system safety.
  • 💻 Code Improvement - Suggestions to enhance code quality.
  • 🔨 Refactor Suggestion - Recommendations for restructuring code.
  • ℹ️ Others - General comments and information.

Interact with the Bot:

  • Send a message or request using the format:
    @entelligenceai + *your message*
Example: @entelligenceai Can you suggest improvements for this code?
  • Help the Bot learn by providing feedback on its responses.
    @entelligenceai + *feedback*
Example: @entelligenceai Do not comment on `save_auth` function !

Also you can trigger various commands with the bot by doing
@entelligenceai command

The current supported commands are

  1. config - shows the current config
  2. retrigger_review - retriggers the review

More commands to be added soon.

@mend-bolt-for-github mend-bolt-for-github Bot deleted the whitesource/configure branch March 1, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants