Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -132,6 +133,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -177,6 +179,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -229,6 +232,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -278,6 +282,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -332,6 +337,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down Expand Up @@ -381,6 +387,7 @@ jobs:
- '!.github/workflows/check-c-abi.yaml'
- '!.github/workflows/labeler.yml'
- '!.github/workflows/publish-rust.yaml'
- '!.github/workflows/security-suite.yml'
- '!.github/workflows/store-c-abi-baseline.yaml'
- '!.github/workflows/test.yaml'
- '!.github/workflows/trigger-breaking-change-alert.yaml'
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/security-suite.yml
Comment thread
gmanal marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: security suite

on:
push:
branches:
- "main"
- "release/*"
- "pull-request/[0-9]+"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
security-suite:
# Pulse needs nv-gha-runners + Vault/nvcr vars; skip on forks.
if: github.repository == 'NVIDIA/cuvs'
# The caller must grant every permission the reusable workflow declares, including
# scans this repo does not enable — GitHub validates the grant before evaluating
# each scan's condition.
permissions:
actions: read
contents: read
id-token: write # OIDC -> Vault -> nvcr.io image pull
security-events: write # publish redacted SARIF to code scanning
uses: NVIDIA/security-workflows/.github/workflows/security-suite.yml@711025b090f2aa728da576700750b195d1e816dc # v0.3.0
with:
enable-secret-scan: true
enable-sast-scan: true
secret-runs-on: linux-amd64-cpu4
# Set the policy explicitly so enforcement can't drift with upstream defaults.
# unverified — fail on verified/live secrets; warn on unverified [default]
# strict — fail on any finding (verified or unverified)
# all — warn only; never fail the job on findings
secret-failure-policy: unverified
sast-languages: '["actions","java-kotlin","python","rust"]'
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# SPDX-License-Identifier: Apache-2.0

repos:
# Runs first so a leaked credential blocks the commit before any formatter runs.
- repo: https://github.com/NVIDIA/security-workflows
Comment thread
gmanal marked this conversation as resolved.
rev: v0.3.0
hooks:
- id: secret-scan-trufflehog
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
Expand Down
Loading