本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
Drupal Core 的 CloudWatch 管道組態
使用基本身分驗證從 Drupal Core 收集稽核日誌。
使用下列參數設定 Drupal 來源:
source: drupal_core: range: "P7D" domain: "<drupal-site-domain>" api_endpoint: "<drupal-api-endpoint>" authentication: basic: username: "${{aws_secrets:<secret-name>:username}}" password: "${{aws_secrets:<secret-name>:password}}"
Parameters
range(選用)-
用於提取歷史日誌。使用 ISO 8601 持續時間格式 (例如
P7D,過去 7 天、PT21H過去 21 小時)。預設值為 0 小時,上限為 90 天。 domain(必要)-
Drupal Core 網站的網域名稱。
api_endpoint(必要)-
Drupal Core 稽核記錄 API 端點的路徑。必須以 開頭
/(例如,/api/v1/audit-logs)。 authentication.basic.username(必要)-
基本身分驗證的使用者名稱。
authentication.basic.password(必要)-
基本身分驗證的密碼。