Skip to content

Scottman625/security-scanner-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

🛡️ AI Security Scanner (GitHub Actions)

使用 OpenAI API 自動檢測代碼中的安全漏洞,並自動生成 SARIF 報告!

🚀 如何使用?

.github/workflows/security_scan.yml 添加:

name: Security Scan
on: [pull_request, push]

jobs:
  security_check:
    runs-on: ubuntu-latest
    permissions:
      security-events: write

    steps:
      - name: 使用 AI Security Scanner 進行安全掃描
        uses: scottman625/security-scanner-action@v1
        with:
          open_ai_key: ${{ secrets.OPEN_AI_KEY }}
          target_branch: "master"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published