Skip to content

ci: add multi-source dependency vulnerability scanning - #165

Merged
Kirrrusha merged 6 commits into
mainfrom
vuln-exception
Sep 21, 2026
Merged

Kirrrusha merged 6 commits into
mainfrom
vuln-exception

Conversation

@Kirrrusha

Copy link
Copy Markdown
Collaborator

Что сделано

Добавлен отдельный CI workflow для проверки уязвимостей зависимостей:

  • pnpm audit, OSV-Scanner и Trivy сканируют package.json и pnpm-lock.yaml;
  • для PR выполняется сравнение с базовой веткой: блокируются только новые или ухудшенные HIGH/CRITICAL;
  • для main, scheduled и ручных запусков блокируются все неподтверждённые HIGH/CRITICAL;
  • GitHub Dependency Review блокирует новые уязвимые зависимости в PR;
  • результаты дедуплицируются по CVE/GHSA/OSV aliases и попадают в Job Summary, SARIF и artifact security-vulnerability-reports;
  • добавлен реестр временных исключений с обязательным владельцем, причиной, issue и сроком действия до 30 дней;
  • все actions в новом workflow закреплены полными commit SHA.

Проверки

  • Prettier
  • проверка синтаксиса Node.js-скрипта
  • валидация YAML workflow
  • синтетический тест policy для PR с уже существующей HIGH-уязвимостью

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

PR tester build for a81fa0e has been published:

Artifact folder: https://github.com/cloud-ru-tech/cloudhood/tree/artifacts/pull-requests/165

Commit: a81fa0ea74da7502fad8da3e90b48e76b4ab2b11

github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
@Kirrrusha
Kirrrusha force-pushed the vuln-exception branch 2 times, most recently from f0b17d6 to 1b83b2f Compare September 21, 2026 15:30
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 21, 2026
@Kirrrusha
Kirrrusha merged commit 0776e86 into main Sep 21, 2026
12 checks passed
@Kirrrusha
Kirrrusha deleted the vuln-exception branch September 21, 2026 20:00
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.

3 participants