Skip to content

Configure Mend Bolt for GitHub#11

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

Configure Mend Bolt for GitHub#11
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 Dec 13, 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 vulnerable dependencies with diff display mode
  • Enabled issue reporting for all dependency vulnerabilities with minimum severity level of LOW
  • Activated Mend branding for check names
  • Scanning applies to default branch settings (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 PR introduces security scanning capabilities to the repository by adding WhiteSource (now Mend) configuration. The setup enables automated vulnerability detection for project dependencies with comprehensive security checks. The configuration is designed to fail builds when vulnerable dependencies are detected, ensuring security issues are caught early in the development process. Issue reporting is configured to track all dependency vulnerabilities with a minimum severity threshold of LOW, providing broad coverage of potential security risks. The implementation uses Mend branding for check names and applies scanning to default branch settings.

Changes

File(s) Summary
.whitesource Added WhiteSource/Mend configuration file for automated security scanning with check runs configured to fail on vulnerable dependencies, issue reporting enabled for all vulnerabilities with minimum severity level of LOW, Mend branding enabled, and diff display mode activated.

Sequence Diagram

This diagram shows the interactions between components:

sequenceDiagram
    participant Config as Configuration File
    participant Scanner as Scan Service
    participant CheckRun as Check Run Service
    participant IssueTracker as Issue Tracker

    Note over Config: New configuration loaded:<br/>scanSettings, checkRunSettings,<br/>issueSettings

    Scanner->>Config: Load scanSettings
    Config-->>Scanner: baseBranches: []
    
    Scanner->>Scanner: Execute scan on configured branches
    Scanner->>CheckRun: Send scan results
    
    CheckRun->>Config: Load checkRunSettings
    Config-->>CheckRun: displayMode: "diff"<br/>useMendCheckNames: true<br/>conclusionLevel: "failure"
    
    CheckRun->>CheckRun: Format results in diff mode<br/>using Mend check names
    
    CheckRun->>IssueTracker: Forward findings
    
    IssueTracker->>Config: Load issueSettings
    Config-->>IssueTracker: minSeverityLevel: "LOW"<br/>issueType: "DEPENDENCY"
    
    IssueTracker->>IssueTracker: Filter issues by severity (LOW+)<br/>and type (DEPENDENCY)
    
    alt Vulnerabilities found
        IssueTracker->>CheckRun: Report filtered issues
        CheckRun->>CheckRun: Set conclusion to "failure"
    else No vulnerabilities
        IssueTracker->>CheckRun: No issues to report
        CheckRun->>CheckRun: Set conclusion to "success"
    end
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 February 5, 2026 20:09
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