Configure Mend Bolt for GitHub#15
Conversation
EntelligenceAI PR SummaryThis PR adds a Mend (WhiteSource) security scanning configuration file to automate dependency vulnerability detection and reporting.
Confidence Score: 5/5 - Safe to MergeSafe to merge — this PR introduces a Key Findings:
Files requiring special attention
|
WalkthroughThis PR introduces a Mend (WhiteSource) security scanning configuration file to enable automated dependency vulnerability scanning. The configuration sets up check run failures on detected vulnerabilities, enables diff display mode, and configures issue reporting for all severity levels starting from LOW. Changes
Sequence DiagramThis diagram shows the interactions between components: sequenceDiagram
participant Repo as "GitHub Repository"
participant Mend as "Mend Scanning Service"
participant CI as "GitHub Check Runs"
participant Issues as "Issue Tracker"
Note over Repo: mendupdater.json config added
Note over Repo: scanSettings, checkRunSettings,<br/>issueSettings defined
Repo->>Mend: Trigger scan on PR / base branch
activate Mend
Mend->>Repo: Read mendupdater.json config
Repo-->>Mend: scanSettings { baseBranches: [] }<br/>checkRunSettings { displayMode: "diff",<br/>useMendCheckNames: true }<br/>issueSettings { minSeverity: LOW,<br/>issueType: DEPENDENCY }
Mend->>Mend: Run dependency scan
alt Vulnerable dependencies found
Mend->>CI: Create Check Run (Mend check name)<br/>conclusion: "failure"
Note right of CI: Display mode: diff<br/>(only show new issues)
CI-->>Mend: Check run created
Mend->>Issues: Report issues<br/>minSeverity >= LOW, type: DEPENDENCY
Issues-->>Mend: Issues logged
else No vulnerabilities found
Mend->>CI: Create Check Run<br/>conclusion: "success"
CI-->>Mend: Check run created
end
deactivate Mend
Mend-->>Repo: Scan complete
|
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.