Add a `sarif-out` input for code scanning
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, javascript
- Lĩnh vực
- devtools
Hướng nghiên cứu
Start with src/action.js, src/sarif.js, and test/sarif.test.js to trace how findings are read and how the action handles inputs. Implement the sarif-out flow across the listed files, then run npm test -- test/sarif.test.js. Done means the output validates as SARIF 2.1.0, contains a rule and result for each finding, preserves file paths and lines, and the README documents the upload step.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Annotations disappear once a pull request is merged. A SARIF file uploaded to GitHub code scanning keeps findings in the Security tab and gives the team a history.
Scope
action.ymlsrc/action.jssrc/sarif.jstest/sarif.test.jsREADME.md
Acceptance criteria
-
sarif-outwrites a SARIF 2.1.0 file with one rule per finding rule and one result per finding. - Locations use the file path and line already in the finding.
- The file validates against the SARIF schema.
- The README shows the upload step with
github/codeql-action/upload-sarif.
Verification
npm test -- test/sarif.test.js
Complexity
Large (1-2 days)
Part of Stellar Wave. Comment to claim this issue before starting.
- Ngôn ngữ chính
- JavaScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 7 giờ 28 phút
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codepacct/codepact-action
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codepacct/codepact-action#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
codepacct/codepact-action#67 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
codepacct/codepact-action#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
codepacct/codepact-action#65 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tests wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
codepacct/codepact-action#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codepacct/codepact-action
Issue tương tự
-
bug security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IbrahimHafez1/loadwise#251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
erkamyaman/unslop-anything#421 ·
Maintainer thường phản hồi trong vòng 1 ngày