Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FEAT]: Support managing Dependabot malware alerts

Đang mở
#3,333 2 bình luận 7 reaction 0 người được giao Xem trên GitHub

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github, go, terraform
Lĩnh vực
devops, infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách xem xét resource github_repository_dependabot_security_updates hiện có và xác nhận liệu GitHub có cung cấp endpoint được hỗ trợ ở cấp repository cho cảnh báo malware hay không. Để hoàn tất, cần có đường dẫn đọc/ghi khả dụng cho thiết lập đã bật, cùng với hành vi của resource có thể quản lý và phát hiện drift đối với ví dụ HCL.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Status: Blocked Status: Triage Type: Feature
Describe the need

GitHub allows enabling Dependabot malware alerts on a per-repository basis (Settings > Advanced Security > Dependabot malware alerts). This setting controls whether Dependabot flags dependencies that contain known malware, separate from general vulnerability alerts.

Currently there is no Terraform resource or attribute to manage this setting. It can only be toggled through the GitHub UI.

A new resource (similar to github_repository_dependabot_security_updates) would allow teams to enforce this setting via IaC:

resource "github_repository_dependabot_malware_alerts" "example" {
  repository = github_repository.my_repo.name
  enabled    = true
}
Why this matters
  • Organizations managing security settings as Infrastructure as Code have no way to enforce or detect drift on this setting
  • The GitHub REST API does not expose a per-repository endpoint to read or write malware alert status, so even workarounds using null_resource + API calls are not possible
  • As supply chain attacks targeting dependency managers become more common, malware detection is increasingly important to manage at scale
Workaround

None. The setting can only be managed through the GitHub UI. There is no REST API endpoint to read or write it at the repository level.

SDK Version

N/A

API Version

N/A

Relevant log output
N/A
Code of Conduct
  • I agree to follow this project's Code of Conduct
Ngôn ngữ chính
Go
Star
1.2k
Fork
1.1k
Merge trung bình
9 giờ 41 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của integrations/terraform-provider-github

Tất cả issue của integrations/terraform-provider-github

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.