chore(security): resolve OSSF Scorecard alerts#96
Conversation
- Drop top-level write permissions across all workflows - Restrict 'security-events: write', 'contents: write', and 'pull-requests: write' strictly to the jobs that need them - Upgrade 'security-audit.yml' to use 'uvx pip-audit' to resolve Pinned-Dependencies alert
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
Cache: Disabled due to Reviews > Disable Cache setting Disabled knowledge base sources:
📝 WalkthroughSummary by CodeRabbit릴리스 노트
Walkthrough워크플로우 수준 권한을 작업 수준으로 이동시키고(SARIF/PR 권한 재할당), SBOM 아티팩트 처리 및 릴리스 업로드를 신규 작업으로 분리했으며, pip-audit 호출을 uvx 기반 실행으로 변경했습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant SB as "sbom job"
participant AS as "Artifact Storage\n(GHA artifacts)"
participant RS as "release-sbom job"
participant GR as "GitHub Releases API"
rect rgba(200,200,255,0.5)
SB->>AS: sbom 생성 후 아티팩트 업로드 (`bandscope-sbom`, `bandscope-supply-chain-inventory`)
end
rect rgba(200,255,200,0.5)
RS->>AS: 의존성으로 `sbom` 성공 후 아티팩트 다운로드
RS->>GR: 아티팩트 첨부를 위해 Release API에 업로드 (요구: contents: write)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 분 Possibly related PRs
시
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
- Drop top-level write permissions across all workflows - Restrict 'security-events: write', 'contents: write', and 'pull-requests: write' strictly to the jobs that need them - Upgrade 'security-audit.yml' to use 'uvx pip-audit' to resolve Pinned-Dependencies alert
Summary