GitHub 稽核日誌的 CloudWatch 管道組態 - Amazon CloudWatch

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

GitHub 稽核日誌的 CloudWatch 管道組態

注意

重要:GitHub Enterprise 帳戶需要使用此連接器。不支援 GitHub Personal 或 Organization 帳戶。

使用個人存取字符或 GitHub 應用程式身分驗證,從 GitHub 組織或企業收集稽核日誌資料。

使用下列參數設定 GitHub 稽核日誌來源:

source: github_auditlog: scope: "ORGANIZATION" organization: "<example-org-name>" authentication: personal_access_token: "${{aws_secrets:<secret-name>:token}}"
Parameters
scope (必要)

要收集的稽核日誌範圍。必須是「組織」或「企業」。

organization (範圍為 ORGANIZATION 時為必要)

GitHub 組織名稱。

enterprise (範圍為 ENTERPRISE 時為必要)

GitHub 企業名稱。

authentication.personal_access_token (PAT 驗證需要)

GitHub API 身分驗證的個人存取字符。