Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FEAT]: Support managing Dependabot malware alerts

オープン
#3,333 コメント 2 件 リアクション 7 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github, go, terraform

調査の方向性

まず既存の github_repository_dependabot_security_updates リソースを確認し、GitHub がリポジトリレベルのマルウェアアラート用にサポートされているエンドポイントを公開しているか確認します。完了条件は、有効化された設定に対する実用的な読み取り/書き込みパスと、HCL の例を管理し、ドリフトを検出できるリソース動作があることです。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Go
スター
1.2k
フォーク
1.1k
平均マージ
9時間 41分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

integrations/terraform-provider-github のほかの issue

integrations/terraform-provider-github の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。