Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
868eba5
feat: add blackduck gh workflow
NeethuESim Aug 5, 2026
4ccaac2
fix: blackduck url & token vars
NeethuESim Aug 5, 2026
4827072
Apply remaining changes
Copilot Aug 17, 2026
810d604
fix: detect accuracy value
NeethuESim Aug 17, 2026
b9b3617
fix: token permission
NeethuESim Aug 17, 2026
bd113d7
fix: pin hash
NeethuESim Aug 17, 2026
16ab726
fix: sarif upload via codeql-action
NeethuESim Aug 17, 2026
c884641
fix: uncomment gh token line for pr comments
NeethuESim Aug 17, 2026
1ef3cf6
fix: addres PR comments
NeethuESim Aug 18, 2026
3604972
test: with existing UI version
NeethuESim Aug 18, 2026
d3e6199
test: Blackduck UI report upload
NeethuESim Aug 18, 2026
962822b
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
6b4c6e4
test: change upload report mechanism
NeethuESim Aug 18, 2026
d393cb1
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 18, 2026
b167ca1
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
118e40c
test:report upload
NeethuESim Aug 18, 2026
e95818c
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
e064a7a
test:minimal scan
NeethuESim Aug 18, 2026
581de3e
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 18, 2026
6cccc6a
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
bbb3f15
test: change versions
NeethuESim Aug 18, 2026
4b9f288
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 18, 2026
a45cf6b
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
7f2048c
test: change version
NeethuESim Aug 18, 2026
d68ffa7
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 18, 2026
6cbfeef
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
25e9bc1
test: add diagnostic
NeethuESim Aug 18, 2026
acc0f80
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 18, 2026
da49c2c
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 18, 2026
7a9427b
test: comment out params requiring authorization
NeethuESim Aug 19, 2026
8a6d041
test: pass project name version via args
NeethuESim Aug 19, 2026
c0eace6
test: change project name
NeethuESim Aug 19, 2026
051ca83
test: revert back reporting changes
NeethuESim Aug 19, 2026
ec10260
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 19, 2026
b5c0f16
test: revert report upload changes
NeethuESim Aug 19, 2026
0edbac6
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 19, 2026
f59bac2
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 19, 2026
4254c44
fix: change path
NeethuESim Aug 19, 2026
a1fe1f8
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 19, 2026
d26c2ca
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 19, 2026
027a838
test: add sarif path
NeethuESim Aug 19, 2026
8bdc39e
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 19, 2026
1c23642
Black Duck: Black Duck SCA Policy Badges: Update README.md [skip ci]
github-actions[bot] Aug 19, 2026
f467aea
fix: revert testing changes
NeethuESim Aug 19, 2026
3d160a1
Merge branch 'stesol-580-blackduck-sbom' of https://github.com/arm/mc…
NeethuESim Aug 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions .github/workflows/black-duck-security-scan-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# This workflow uses actions that are not certified by GitHub.
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Black Duck Security Action allows you to integrate Static Analysis Security Testing (SAST) and Software Composition Analysis (SCA) into your CI/CD pipelines.
# For more information about configuring your workflow,
# read our documentation at https://github.com/blackduck-inc/black-duck-security-scan

name: CI Black Duck security scan

on:
push:
branches: [ "main", "secure-build" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "secure-build" ]
schedule:
- cron: '34 5 * * 6'

# Declare default permissions as read only.
permissions: read-all

concurrency:
group: blackduck-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
Comment thread
NeethuESim marked this conversation as resolved.
build:
runs-on: ubuntu-latest
permissions:
contents: write
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
pull-requests: write
security-events: write
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
actions: read
env:
DETECT_PROJECT_NAME: Arm:MCP

steps:
- name: Checkout source
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5

- name: Set repository reference
run: |
ver_to_reference="${{ github.ref_name }}"

# Replace / with - to avoid issues with Black Duck project version names
# ver_to_reference="${ver_to_reference//\//-}"
ver_to_reference="1.0"
echo "DETECT_PROJECT_VERSION_NAME=$ver_to_reference" >> $GITHUB_ENV

# notice - highlighted in the gh actions UI
echo "::notice title=Black Duck target::${{ env.DETECT_PROJECT_NAME }} / $ver_to_reference"

- name: Black Duck SCA scan
id: black-duck-full-scan
if: ${{ github.event_name != 'pull_request' }}
uses: blackduck-inc/black-duck-security-scan@152247222aa9cd38124acd5c0cf60f4db71adc3f # v2.11.0
with:
### ---------- BLACKDUCK SCA SCANNING: REQUIRED FIELDS ----------
blackducksca_url: ${{ vars.BLACKDUCKSCA_URL }}
blackducksca_token: ${{ secrets.BLACKDUCKSCA_TOKEN }}
blackducksca_scan_full: true

### SCANNING: Optional fields
# blackducksca_scan_failure_severities: 'BLOCKER,CRITICAL'
detect_args: "--detect.accuracy.required=NONE"

### FIX PULL REQUEST CREATION
blackducksca_fixpr_enabled: true
github_token: ${{ secrets.GITHUB_TOKEN }}

### SARIF report generation for upload to GitHub Advanced Security
blackducksca_reports_sarif_create: true
blackducksca_reports_sarif_file_path: blackduck-results.sarif
### Set upload to false & then later upload via github/codeql-action/upload-sarif@v4.37.4 to avoid token-permissions issue flagged by scorecard
blackducksca_upload_sarif_report: false

### Mark build status if policy violating issues are found
mark_build_status: 'success'

### To enable Black Duck SCA policy badges
blackducksca_policy_badges_create: true
blackducksca_policy_badges_maxCount: 5

### To upload Bridge diagnostic files
include_diagnostics: true

- name: Upload Black Duck SARIF
if: ${{ github.event_name != 'pull_request' }}
uses: github/codeql-action/upload-sarif@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4
with:
sarif_file: blackduck-results.sarif

- name: Black Duck SCA PR Scan
id: black-duck-pr-scan
if: ${{ github.event_name == 'pull_request' }}
uses: blackduck-inc/black-duck-security-scan@152247222aa9cd38124acd5c0cf60f4db71adc3f # v2.11.0
with:
blackducksca_url: ${{ vars.BLACKDUCKSCA_URL }}
blackducksca_token: ${{ secrets.BLACKDUCKSCA_TOKEN }}
blackducksca_scan_full: false
detect_args: "--detect.accuracy.required=NONE"

### PULL REQUEST COMMENTS
blackducksca_prcomment_enabled: true
github_token: ${{ secrets.GITHUB_TOKEN }}

### Mark build status if policy violating issues are found
mark_build_status: 'success'
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Arm MCP Server
<!-- BADGES START -->
<img src="https://img.shields.io/badge/Black Duck-Monitored-237B46?labelColor=000"><!-- BADGES END -->


An [MCP](https://modelcontextprotocol.io/) server providing AI assistants with tools and knowledge for Arm architecture development, migration, and optimization.

Expand Down
Loading