Skip to content

Configure Mend Bolt for GitHub#10

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

Configure Mend Bolt for GitHub#10
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 Nov 22, 2025

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.

  • Added .whitesource configuration file with security scanning settings
  • Configured check runs to fail on detection of vulnerable dependencies
  • Set minimum severity threshold to LOW for issue reporting
  • Enabled diff display mode for scan results
  • Enabled Mend branding for check names
  • Uses default branch settings for scanning scope (empty baseBranches array)

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

Entelligence AI Vulnerability Scanner

Status: No security vulnerabilities found

Your code passed our comprehensive security analysis.

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

Walkthrough

This 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

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 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
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 December 13, 2025 07:59
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