diff --git a/docs-site/docs/faq/ai-assistant.md b/docs-site/docs/faq/ai-assistant.md index f7d1d387..47c1158d 100644 --- a/docs-site/docs/faq/ai-assistant.md +++ b/docs-site/docs/faq/ai-assistant.md @@ -89,7 +89,7 @@ AI 어시스턴트는 **하이브리드 라우팅**(LIVE)을 사용합니다. **아니요.** AWSops는 **읽기 전용 운영 대시보드 + AI 진단**입니다. 어시스턴트는 AWS 리소스를 생성·수정·삭제·재시작하지 **않습니다**. -- **AWS 리소스 변경과 자율 실행은 영구 동결**(do-not-enable)입니다. +- AWS 리소스 변경과 자율 조치는 AWSops 자체 인프라를 포함해 동결되어 있습니다. 소유자가 승인한 기본값 꺼짐 유지보수 작업 두 가지는 어시스턴트가 실행할 수 없습니다. [설계 원칙 FAQ](./decisions.md) - 어시스턴트는 진단·근본원인분석(RCA)·권장 사항만 제시합니다. 실제 변경은 사용자가 AWS 콘솔/IaC에서 직접 수행합니다. - 단, **외부 데이터** 측면에서는 거버넌스 하에서 외부 관측성을 **읽고**, 외부 기록/티켓/메시지를 **쓸 수** 있습니다. 이는 SSRF 가드·Secrets Manager·DLP/redaction·대상 allowlist·human-gate·flag-OFF 통제를 거치며, **AWS 리소스 변경이 아니라 외부 시스템의 데이터 레코드**입니다. diff --git a/docs-site/docs/faq/decisions.md b/docs-site/docs/faq/decisions.md index 01ecb097..4640fd60 100644 --- a/docs-site/docs/faq/decisions.md +++ b/docs-site/docs/faq/decisions.md @@ -9,22 +9,22 @@ description: AWSops가 왜 이렇게 동작하는지 운영자 관점의 Q&A로 AWSops가 "왜 이렇게 동작하는가"를 결정하는 핵심 설계 원칙을 운영자가 가장 자주 묻는 질문 형태로 정리했습니다. :::info -AWSops의 가장 중요한 원칙은 **읽기 전용(read-only)**입니다. 단, 이 제약은 정확히 **AWS 리소스 변경 + 자율 실행(autonomy)**에 묶여 있습니다. 외부 관측성 **데이터 읽기**와 거버넌스 하 외부 **데이터 기록(쓰기)**은 이 제약에 해당하지 않습니다 — 데이터 연산이지 AWS 리소스 변경이 아니기 때문입니다. +진단과 채팅은 AWS 읽기 전용 권한을 사용합니다. 외부 관측성 데이터 조회와 외부 시스템 기록에는 커넥터 및 목적지별 통제가 적용됩니다. ::: ## 보안 / Security ### AWSops가 AWS 리소스를 직접 변경하거나 자동으로 조치하나요? -**아니요. AWS 리소스 변경과 자율 실행은 영구적으로 동결(do-not-enable)되어 있습니다.** +**AWS 리소스 변경과 자율 조치는 AWSops 자체 인프라를 포함해 동결되어 있습니다. 진단과 채팅은 읽기 전용입니다. 예외는 아래에서 소유자가 승인한 두 작업뿐입니다.** 변경 작업 프레임워크와 실행 substrate(SSM Automation + Change Manager × 워커)의 코드는 다크(dark) 상태로 보존되지만 플래그는 영구 OFF이며, 활성화하지 않습니다. -- EC2 종료, SG 수정, 스케일링, 배포 같은 **AWS 리소스 변경은 어떤 화면·AI 기능으로도 수행되지 않습니다.** +- 화면이나 AI 기능으로 EC2 종료, 보안 그룹 변경, 워크로드 스케일 조정 또는 코드 배포를 실행할 수 없습니다. - 약 160개의 AgentCore MCP Lambda 도구는 모두 read-only입니다. :::info -"동결"의 범위는 **AWS 리소스 한정**입니다. 통제 층과 워커 실행 분기는 비-AWS 외부 데이터 쓰기에 재사용될 수 있으나, AWS 리소스 자동화 substrate 자체는 동결을 유지합니다. +두 예외의 기본값은 모두 꺼짐입니다. `secret_rotation_redeploy_enabled`를 켜면 호스트 Aurora 마스터 시크릿 교체 시 호스트 웹 서비스만 기존 태스크 정의로 재시작할 수 있습니다. `connector_target_sync_enabled`를 켜면 관리자가 지원 데이터소스를 추가할 때 자체 관측성 또는 모니터링 게이트웨이의 카탈로그 대상 하나를 생성하거나 갱신할 수 있습니다. 대상은 같은 스택의 커넥터 Lambda로 제한되며 삭제나 게이트웨이 관리 권한은 없습니다. 이 기능은 계정당 한 스택에서만 활성화할 수 있습니다. [시크릿 교체 시 허용 범위](https://github.com/aws-samples/sample-awsops/blob/dev/terraform/foundation/secret-rotation.tf) · [승인된 커넥터 등록 범위](https://github.com/aws-samples/sample-awsops/blob/dev/docs/decisions/023-connector-target-registration.md) · [등록 런북](https://github.com/aws-samples/sample-awsops/blob/dev/docs/runbooks/connector-target-sync.md) ::: ### Slack·Jira 같은 외부 시스템에 기록을 쓰는 것도 막혀 있나요? @@ -34,7 +34,7 @@ AWSops의 가장 중요한 원칙은 **읽기 전용(read-only)**입니다. 단, 비-AWS-리소스 외부 knowledge/comms write(Slack·Notion·Confluence·Jira·ServiceNow 기록·메시지)는 좁게 허용됩니다. read-only 제약은 AWS 리소스 변경 + 자율에 적용되며, **외부 데이터 통합(read+write)은 제외**됩니다. - 외부 시스템에 리포트·티켓·메시지를 남기는 것은 거버넌스 통제 하에 가능합니다. -- AWS 인프라 자체에 대한 변경 권한은 **어떤 경로로도** 부여되지 않습니다. +- 외부 시스템에 기록하는 권한으로는 모니터링 대상 AWS 인프라를 변경할 수 없습니다. ### 외부에 쓸 때 내부 정보가 유출될 위험은 없나요? diff --git a/docs-site/i18n/en/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md b/docs-site/i18n/en/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md index 62764b7b..c6cc5031 100644 --- a/docs-site/i18n/en/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md +++ b/docs-site/i18n/en/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md @@ -1,12 +1,12 @@ --- title: "v1.8.1 — Alert-Triggered AI Diagnosis + Major Docs Expansion" -description: "Alert pipeline (CloudWatch/Alertmanager/Grafana webhooks → correlation → auto Bedrock diagnosis → Slack), 5 new runbooks, 10 module CLAUDE.md files." +description: "Alert pipeline (CloudWatch/Alertmanager/Grafana webhooks → correlation → auto Bedrock diagnosis → Slack), 5 new runbooks, 10 publicly distributed module CLAUDE.md files." authors: [awsops] tags: [release, alerts, ai, observability, docs] date: 2026-04-23 --- -A new pipeline receives events from external alerting systems and handles **correlation → automatic AI root cause analysis → Slack notification** end-to-end. Alongside it, 5 runbooks, 10 module CLAUDE.md files, and 2 new Web guide pages (KO+EN) significantly expand the project documentation. +A new pipeline receives events from external alerting systems and handles **correlation → automatic AI root cause analysis → Slack notification** end-to-end. Alongside it, 5 runbooks, 10 publicly distributed module CLAUDE.md files, and 2 new Web guide pages (KO+EN) significantly expand the project documentation. {/* truncate */} @@ -125,7 +125,9 @@ Practical troubleshooting/setup guides for operational scenarios: - `deploy-flow.md` — operational manual for the 11-step deployment scripts - `multi-account-setup.md` — Aggregator config, cross-account IAM role, verification -### 10 New Module CLAUDE.md Files +### 10 New Public Module CLAUDE.md Files + +The original release added 11 module guides, bringing the total to 18. The table below covers the 10 publicly distributed additions, for a public total of 17. Each source module now documents its role/rules/key files as Claude context: @@ -189,5 +191,5 @@ The Docusaurus guide now reflects v1.8 features: | Supported alert sources | — | **4 (CloudWatch/Alertmanager/Grafana/Generic)** | NEW | | Slack notifications | — | **Block Kit + thread updates** | NEW | | Runbooks | — | **5** | NEW | -| Module CLAUDE.md | 7 | **17** | +10 | +| Public module CLAUDE.md | 7 | **17** | +10 | | Web guide pages | 39 | **41** | +2 (ai-diagnosis, alerts) | diff --git a/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/ai-assistant.md b/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/ai-assistant.md index 784e6331..d932860d 100644 --- a/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/ai-assistant.md +++ b/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/ai-assistant.md @@ -89,7 +89,7 @@ Yes. Conversations are persisted as threads in **Aurora** (PostgreSQL). The file **No.** AWSops is a **read-only operations dashboard + AI diagnosis**. The assistant does **not** create, modify, delete, or restart AWS resources. -- **AWS-resource mutation and autonomy are permanently frozen** (do-not-enable). +- AWS-resource mutation and autonomous remediation are frozen across all infrastructure, including AWSops itself. The assistant cannot invoke either of the two owner-approved, default-off maintenance operations. [Design principles FAQ](./decisions.md) - The assistant only provides diagnosis, root-cause analysis (RCA), and recommendations. You make any actual change yourself in the AWS Console / IaC. - On the **external-data** side only, governed external observability **reads** and external record/ticket/message **writes** are permitted . These pass through SSRF guard · Secrets Manager · DLP/redaction · destination allowlist · human-gate · flag-OFF controls, and are **data records in external systems, not AWS-resource changes**. diff --git a/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/decisions.md b/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/decisions.md index 97fc6f78..41ffe2b9 100644 --- a/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/decisions.md +++ b/docs-site/i18n/en/docusaurus-plugin-content-docs/current/faq/decisions.md @@ -9,22 +9,22 @@ description: Why AWSops behaves the way it does, framed as operator Q&A — read This page distills the core design principles that determine *why AWSops behaves the way it does*, in the form of the questions operators ask most. :::info -AWSops's single most important principle is **read-only**. That constraint is bound precisely to **AWS-resource mutation + autonomy**. Reading external observability **data** and writing external **data records** under governance fall outside it — they are data operations, not AWS-resource changes. +Diagnosis and chat use read-only AWS access. External observability reads and external records have separate connector and destination controls. ::: ## Security ### Does AWSops change AWS resources directly or remediate automatically? -**No. AWS-resource mutation and autonomous execution are permanently frozen (do-not-enable).** +**AWS-resource mutation and autonomous remediation are frozen, including on infrastructure owned by AWSops. Diagnosis and chat are read-only. The two owner-approved operations below are the only exceptions.** The code for the mutating-action framework and its execution substrate (SSM Automation + Change Manager × workers) is preserved dark, but the flags are permanently OFF and are not enabled. -- **No screen or AI feature performs AWS-resource changes** such as terminating EC2, modifying SGs, scaling, or deploying. +- No screen or AI feature terminates EC2 instances, modifies security groups, scales workloads or deploys code. - All ~160 AgentCore MCP Lambda tools are read-only. :::info -The "freeze" is scoped to **AWS resources only**. The control layer and the worker execution branch may be reused for non-AWS external data writes, but the AWS-resource automation substrate itself stays frozen. +Both exceptions default to off. With `secret_rotation_redeploy_enabled`, rotation of the host Aurora master secret can restart only the host web service with its current task definition. With `connector_target_sync_enabled`, an administrator adding a supported datasource can create or update its one catalogued target on the stack’s external-observability or monitoring gateway, pointing only to that stack’s connector Lambda. This grants no delete or gateway-management authority. Only one stack per account can enable connector registration. [Rotation scope](https://github.com/aws-samples/sample-awsops/blob/dev/terraform/foundation/secret-rotation.tf) · [Approved registration scope](https://github.com/aws-samples/sample-awsops/blob/dev/docs/decisions/023-connector-target-registration.md) · [Registration runbook](https://github.com/aws-samples/sample-awsops/blob/dev/docs/runbooks/connector-target-sync.md) ::: ### Are writes to external systems like Slack or Jira also blocked? @@ -34,7 +34,7 @@ The "freeze" is scoped to **AWS resources only**. The control layer and the work Non-AWS-resource external knowledge/comms writes (records and messages in Slack, Notion, Confluence, Jira, ServiceNow) are narrowly allowed. The read-only constraint applies to AWS-resource mutation + autonomy, and **external data integration (read + write) is excluded** from it. - Leaving reports, tickets, and messages in external systems is possible under governance controls. -- Mutation rights over AWS infrastructure itself are granted **by no path at all**. +- Writing to an external system grants no write access to the monitored AWS infrastructure. ### Is there a risk of leaking internal information when writing externally? diff --git a/docs-site/i18n/ja/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md b/docs-site/i18n/ja/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md index 416f2890..7d71db7d 100644 --- a/docs-site/i18n/ja/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md +++ b/docs-site/i18n/ja/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md @@ -1,12 +1,12 @@ --- title: "v1.8.1 — アラートトリガー AI 診断 + ドキュメント大幅拡充" -description: "アラートパイプライン(CloudWatch/Alertmanager/Grafana ウェブフック → 相関分析 → 自動 Bedrock 診断 → Slack 通知)、ランブック 5 件 + モジュール CLAUDE.md 10 個を追加。" +description: "アラートパイプライン(CloudWatch/Alertmanager/Grafana ウェブフック → 相関分析 → 自動 Bedrock 診断 → Slack 通知)、ランブック 5 件 + 公開モジュール CLAUDE.md 10 個を追加。" authors: [awsops] tags: [release, alerts, ai, observability, docs] date: 2026-04-23 --- -外部アラートシステムのイベントを受信し、**相関分析 → 自動 AI 根本原因分析 → Slack 通知**まで一括処理するパイプラインを追加しました。あわせてランブック 5 件、モジュール CLAUDE.md 10 個、Web ガイド 2 ページ(KO+EN)が追加され、プロジェクトドキュメントが大幅に強化されました。 +外部アラートシステムのイベントを受信し、**相関分析 → 自動 AI 根本原因分析 → Slack 通知**まで一括処理するパイプラインを追加しました。あわせてランブック 5 件、公開モジュール CLAUDE.md 10 個、Web ガイド 2 ページ(KO+EN)が追加され、プロジェクトドキュメントが大幅に強化されました。 {/* truncate */} @@ -125,7 +125,9 @@ UI の **Knowledge Base** タブで過去の類似インシデントを検索で - `deploy-flow.md` — 11 段階デプロイスクリプトの運用マニュアル - `multi-account-setup.md` — Aggregator 設定、クロスアカウント IAM ロール、検証手順 -### モジュール CLAUDE.md 10 個新規 +### 公開モジュール CLAUDE.md 10 個新規 + +当初のリリースではモジュールガイドが 11 件追加され、合計 18 件になりました。以下の表は公開配布版の追加 10 件を集計しており、公開ガイドの合計は 17 件です。 各ソースモジュールの役割/ルール/主要ファイルを Claude コンテキストファイルとして整理: @@ -189,5 +191,5 @@ Docusaurus ガイドに v1.8 の機能を反映しました: | サポートするアラートソース | — | **4 種 (CloudWatch/Alertmanager/Grafana/Generic)** | 新規 | | Slack 通知 | — | **Block Kit + スレッド更新** | 新規 | | ランブック | — | **5 個** | 新規 | -| モジュール CLAUDE.md | 7 個 | **17 個** | +10 | +| 公開モジュール CLAUDE.md | 7 個 | **17 個** | +10 | | Web ガイドページ | 39 | **41** | +2 (ai-diagnosis, alerts) | diff --git a/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/ai-assistant.md b/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/ai-assistant.md index 12f41ce3..7754638a 100644 --- a/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/ai-assistant.md +++ b/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/ai-assistant.md @@ -89,7 +89,7 @@ AI アシスタントは**ハイブリッドルーティング**(LIVE)を使用 **いいえ。** AWSops は**読み取り専用の運用ダッシュボード + AI 診断**です。アシスタントは AWS リソースを作成・修正・削除・再起動**しません**。 -- **AWS リソースの変更と自律実行は恒久凍結**(do-not-enable)です。 +- AWS リソースの変更と自律的な修復は AWSops 自身のインフラを含めて凍結されています。オーナーが承認した二つの保守操作は既定で無効で、アシスタントから呼び出すことはできません。 [設計原則 FAQ](./decisions.md) - アシスタントは診断・根本原因分析(RCA)・推奨事項の提示のみを行います。実際の変更はユーザーが AWS コンソール/IaC で直接実行します。 - ただし、**外部データ**の面では、ガバナンスの下で外部オブザーバビリティを**読み取り**、外部の記録/チケット/メッセージを**書き込む**ことができます。これは SSRF ガード・Secrets Manager・DLP/redaction・宛先 allowlist・human-gate・flag-OFF の統制を経ており、**AWS リソースの変更ではなく外部システムのデータレコード**です。 diff --git a/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/decisions.md b/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/decisions.md index c763b26f..9ff6c087 100644 --- a/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/decisions.md +++ b/docs-site/i18n/ja/docusaurus-plugin-content-docs/current/faq/decisions.md @@ -9,22 +9,22 @@ description: AWSops がなぜこのように動作するのかを運用者視点 AWSops が「なぜこのように動作するのか」を決める中核的な設計原則を、運用者が最もよく尋ねる質問の形式で整理しました。 :::info -AWSops の最も重要な原則は**読み取り専用(read-only)**です。ただし、この制約は正確には **AWS リソースの変更 + 自律実行(autonomy)**に紐づいています。外部オブザーバビリティの**データ読み取り**と、ガバナンス下の外部**データ記録(書き込み)**はこの制約に該当しません — データ演算であり、AWS リソースの変更ではないからです。 +診断とチャットは AWS の読み取り専用権限を使用します。外部の可観測性データの読み取りと外部システムへの記録には、コネクタと宛先ごとの制御が適用されます。 ::: ## セキュリティ / Security ### AWSops は AWS リソースを直接変更したり、自動で対処したりしますか? -**いいえ。AWS リソースの変更と自律実行は恒久的に凍結(do-not-enable)されています。** +**AWS リソースの変更と自律的な修復は、AWSops 自身のインフラを含めて凍結されています。診断とチャットは読み取り専用です。例外はオーナーが承認した次の二つの操作に限られます。** 変更作業フレームワークと実行 substrate(SSM Automation + Change Manager × ワーカー)のコードはダーク(dark)状態で保存されますが、フラグは恒久 OFF であり、有効化しません。 -- EC2 の終了、SG の修正、スケーリング、デプロイのような **AWS リソースの変更は、どの画面・AI 機能でも実行されません。** +- 画面や AI 機能から EC2 の終了、セキュリティグループの変更、ワークロードのスケーリング、コードのデプロイは実行できません。 - 約 160 個の AgentCore MCP Lambda ツールはすべて read-only です。 :::info -「凍結」の範囲は **AWS リソース限定**です。統制層とワーカー実行分岐は非 AWS の外部データ書き込みに再利用され得ますが、AWS リソース自動化 substrate 自体は凍結を維持します。 +二つの例外は既定で無効です。`secret_rotation_redeploy_enabled` は、ホスト Aurora のマスターシークレット更新時にホストのウェブサービスだけを現在のタスク定義で再起動します。`connector_target_sync_enabled` は、管理者が対応データソースを追加した際に、本スタックの外部可観測性またはモニタリングゲートウェイで対応するカタログターゲットを一つ作成または更新できます。接続先は同じスタックのコネクタ Lambda に限定され、削除やゲートウェイ管理の権限は付与しません。登録を有効にするスタックはアカウントにつき一つまでです。 [ローテーション時の権限](https://github.com/aws-samples/sample-awsops/blob/dev/terraform/foundation/secret-rotation.tf) · [承認済みの登録範囲](https://github.com/aws-samples/sample-awsops/blob/dev/docs/decisions/023-connector-target-registration.md) · [登録の運用手順](https://github.com/aws-samples/sample-awsops/blob/dev/docs/runbooks/connector-target-sync.md) ::: ### Slack・Jira のような外部システムへの記録の書き込みも禁止されていますか? @@ -34,7 +34,7 @@ AWSops の最も重要な原則は**読み取り専用(read-only)**です。た **非 AWS リソースの外部 knowledge/comms write**(Slack・Notion・Confluence・Jira・ServiceNow の記録・メッセージ)は狭く許可されています。read-only 制約は AWS リソースの変更 + 自律に適用され、**外部データ統合(read+write)は除外**されます。 - 外部システムにレポート・チケット・メッセージを残すことは、ガバナンス統制の下で可能です。 -- AWS インフラ自体に対する変更権限は、**いかなる経路でも**付与されません。 +- 外部システムへの書き込み権限から、監視対象の AWS インフラを変更する権限は得られません。 ### 外部に書き込むとき、内部情報が漏洩するリスクはありませんか? diff --git a/docs-site/i18n/zh/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md b/docs-site/i18n/zh/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md index b3727b26..5dec1572 100644 --- a/docs-site/i18n/zh/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md +++ b/docs-site/i18n/zh/docusaurus-plugin-content-blog/2026-04-23-v1.8.1.md @@ -1,12 +1,12 @@ --- title: "v1.8.1 — 告警触发 AI 诊断 + 文档大幅扩充" -description: "告警管道(CloudWatch/Alertmanager/Grafana Webhook → 关联分析 → 自动 Bedrock 诊断 → Slack 通知),新增 Runbook 5 篇 + 模块 CLAUDE.md 10 个。" +description: "告警管道(CloudWatch/Alertmanager/Grafana Webhook → 关联分析 → 自动 Bedrock 诊断 → Slack 通知),新增 Runbook 5 篇 + 公开模块 CLAUDE.md 10 个。" authors: [awsops] tags: [release, alerts, ai, observability, docs] date: 2026-04-23 --- -新增了接收外部告警系统事件、一站式完成**关联分析 → 自动 AI 根因分析 → Slack 通知**的管道。同时新增 Runbook 5 篇、模块 CLAUDE.md 10 个、Web 指南 2 个页面(KO+EN),项目文档得到大幅加强。 +新增了接收外部告警系统事件、一站式完成**关联分析 → 自动 AI 根因分析 → Slack 通知**的管道。同时新增 Runbook 5 篇、公开模块 CLAUDE.md 10 个、Web 指南 2 个页面(KO+EN),项目文档得到大幅加强。 {/* truncate */} @@ -125,7 +125,9 @@ curl -X POST https://awsops.example.com/awsops/api/alert-webhook \ - `deploy-flow.md` — 11 步部署脚本运维手册 - `multi-account-setup.md` — Aggregator 配置、跨账户 IAM 角色、验证流程 -### 新增模块 CLAUDE.md 10 个 +### 新增公开模块 CLAUDE.md 10 个 + +最初的版本新增了 11 份模块指南,总数达到 18 份。下表只统计公开发行版新增的 10 份,公开指南共 17 份。 将各源码模块的职责/规则/主要文件整理为 Claude 上下文文件: @@ -189,5 +191,5 @@ curl -X POST https://awsops.example.com/awsops/api/alert-webhook \ | 支持的告警来源 | — | **4 种(CloudWatch/Alertmanager/Grafana/Generic)** | 新增 | | Slack 通知 | — | **Block Kit + 线程更新** | 新增 | | Runbook | — | **5 篇** | 新增 | -| 模块 CLAUDE.md | 7 个 | **17 个** | +10 | +| 公开模块 CLAUDE.md | 7 个 | **17 个** | +10 | | Web 指南页面 | 39 | **41** | +2(ai-diagnosis、alerts) | diff --git a/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/ai-assistant.md b/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/ai-assistant.md index 1a0a848e..eac69817 100644 --- a/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/ai-assistant.md +++ b/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/ai-assistant.md @@ -89,7 +89,7 @@ AI 助手使用**混合路由**(LIVE)。不再是把所有问题都抛给大 **不会。** AWSops 是**只读运维仪表板 + AI 诊断**。助手**不会**创建·修改·删除·重启 AWS 资源。 -- **AWS 资源变更与自主执行已永久冻结**(do-not-enable)。 +- AWS 资源变更和自主修复的冻结规则也适用于 AWSops 自身的基础设施。两项由所有者批准的维护操作默认关闭,助手不能调用它们。 [设计原则 FAQ](./decisions.md) - 助手只提供诊断·根因分析(RCA)·建议。实际变更由用户在 AWS 控制台/IaC 中自行执行。 - 不过在**外部数据**方面,在治理之下可以**读取**外部可观测性数据,并**写入**外部记录/工单/消息。这需经过 SSRF 防护·Secrets Manager·DLP/redaction·目的地 allowlist·human-gate·flag-OFF 管控,属于**外部系统的数据记录,而非 AWS 资源变更**。 diff --git a/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/decisions.md b/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/decisions.md index 6da17471..3120391f 100644 --- a/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/decisions.md +++ b/docs-site/i18n/zh/docusaurus-plugin-content-docs/current/faq/decisions.md @@ -9,22 +9,22 @@ description: 以运维人员视角的 Q&A 形式整理 AWSops 为何如此运作 本页将决定 AWSops "为何如此运作"的核心设计原则整理为运维人员最常问的问题形式。 :::info -AWSops 最重要的原则是**只读(read-only)**。不过,该约束精确绑定于 **AWS 资源变更 + 自主执行(autonomy)**。外部可观测性**数据读取**以及治理之下的外部**数据记录(写入)**不属于该约束——因为它们是数据操作,而非 AWS 资源变更。 +诊断和聊天使用 AWS 只读权限。读取外部可观测性数据以及向外部系统写入记录时,分别应用连接器和目标端的管控措施。 ::: ## 安全 / Security ### AWSops 会直接变更 AWS 资源或自动采取措施吗? -**不会。AWS 资源变更与自主执行已被永久冻结(do-not-enable)。** +**冻结 AWS 资源变更和自主修复的规则也适用于 AWSops 自身的基础设施。诊断和聊天均为只读。唯一的例外是下文所列、经所有者批准的两项操作。** 变更操作框架与执行 substrate(SSM Automation + Change Manager × worker)的代码以暗(dark)状态保留,但 flag 永久 OFF,不会启用。 -- 终止 EC2、修改 SG、扩缩容、部署等 **AWS 资源变更不会通过任何页面·AI 功能执行。** +- 用户界面和 AI 功能均不能终止 EC2 实例、修改安全组、调整工作负载规模或部署代码。 - 约 160 个 AgentCore MCP Lambda 工具全部为 read-only。 :::info -"冻结"的范围**仅限 AWS 资源**。管控层与 worker 执行分支可复用于非 AWS 的外部数据写入,但 AWS 资源自动化 substrate 本身维持冻结。 +两项例外默认关闭。启用 `secret_rotation_redeploy_enabled` 后,仅当宿主 Aurora 主密钥轮换时,才可使用当前任务定义重启宿主 Web 服务。启用 `connector_target_sync_enabled` 后,管理员添加受支持的数据源时,可以在本栈的外部可观测性或监控网关上创建或更新目录中对应的一个目标。目标仅可指向同一栈的连接器 Lambda,此权限不包括删除目标或管理网关。每个账户最多在一个栈中启用注册。 [轮换操作范围](https://github.com/aws-samples/sample-awsops/blob/dev/terraform/foundation/secret-rotation.tf) · [获批的注册范围](https://github.com/aws-samples/sample-awsops/blob/dev/docs/decisions/023-connector-target-registration.md) · [注册运维手册](https://github.com/aws-samples/sample-awsops/blob/dev/docs/runbooks/connector-target-sync.md) ::: ### 向 Slack·Jira 等外部系统写入记录也被禁止吗? @@ -34,7 +34,7 @@ AWSops 最重要的原则是**只读(read-only)**。不过,该约束精确 **非 AWS 资源的外部 knowledge/comms write**(Slack·Notion·Confluence·Jira·ServiceNow 的记录·消息)被狭窄地允许。read-only 约束适用于 AWS 资源变更 + 自主执行,**外部数据集成(read+write)除外**。 - 在外部系统中留下报告·工单·消息,在治理管控之下是可行的。 -- 对 AWS 基础设施本身的变更权限**不会通过任何途径**授予。 +- 向外部系统写入数据的权限不会授予修改受监控 AWS 基础设施的权限。 ### 向外部写入时没有内部信息泄露的风险吗? diff --git a/docs-site/whatsnew/2026-04-23-v1.8.1.md b/docs-site/whatsnew/2026-04-23-v1.8.1.md index 6e603e18..c56aa797 100644 --- a/docs-site/whatsnew/2026-04-23-v1.8.1.md +++ b/docs-site/whatsnew/2026-04-23-v1.8.1.md @@ -1,12 +1,12 @@ --- title: "v1.8.1 — 알림 트리거 AI 진단 + 문서 대폭 확장" -description: "알림 파이프라인 (CloudWatch/Alertmanager/Grafana 웹훅 → 상관 분석 → 자동 Bedrock 진단 → Slack 알림), 런북 5건 + 모듈 CLAUDE.md 10개 추가." +description: "알림 파이프라인 (CloudWatch/Alertmanager/Grafana 웹훅 → 상관 분석 → 자동 Bedrock 진단 → Slack 알림), 런북 5건 + 공개 모듈 CLAUDE.md 10개 추가." authors: [awsops] tags: [release, alerts, ai, observability, docs] date: 2026-04-23 --- -외부 알림 시스템의 이벤트를 수신해 **상관 분석 → 자동 AI 근본 원인 분석 → Slack 알림**까지 한 번에 처리하는 파이프라인을 추가했습니다. 아울러 런북 5건, 모듈 CLAUDE.md 10개, Web 가이드 2페이지(KO+EN)가 함께 추가되어 프로젝트 문서가 대폭 보강되었습니다. +외부 알림 시스템의 이벤트를 수신해 **상관 분석 → 자동 AI 근본 원인 분석 → Slack 알림**까지 한 번에 처리하는 파이프라인을 추가했습니다. 아울러 런북 5건, 공개 모듈 CLAUDE.md 10개, Web 가이드 2페이지(KO+EN)가 함께 추가되어 프로젝트 문서가 대폭 보강되었습니다. {/* truncate */} @@ -125,7 +125,9 @@ UI의 **Knowledge Base** 탭에서 과거 유사 인시던트를 검색할 수 - `deploy-flow.md` — 11단계 배포 스크립트 운영 매뉴얼 - `multi-account-setup.md` — Aggregator 설정, 교차 계정 IAM 역할, 검증 절차 -### 모듈 CLAUDE.md 10개 신규 +### 공개 모듈 CLAUDE.md 10개 신규 + +원래 릴리스에서는 모듈 가이드 11개를 추가해 총 18개가 됐습니다. 아래 표는 공개 배포본에 포함된 신규 10개를 집계하며, 공개 가이드의 합계는 17개입니다. 각 소스 모듈의 역할/규칙/주요 파일을 Claude 컨텍스트 파일로 정리: @@ -189,5 +191,5 @@ Docusaurus 가이드에 v1.8 기능을 반영했습니다: | 지원 알림 소스 | — | **4종 (CloudWatch/Alertmanager/Grafana/Generic)** | 신규 | | Slack 알림 | — | **Block Kit + 스레드 업데이트** | 신규 | | 런북 | — | **5개** | 신규 | -| 모듈 CLAUDE.md | 7개 | **17개** | +10 | +| 공개 모듈 CLAUDE.md | 7개 | **17개** | +10 | | Web 가이드 페이지 | 39 | **41** | +2 (ai-diagnosis, alerts) | diff --git a/docs/README.md b/docs/README.md index e0e0178c..661a3a05 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,9 +1,8 @@ # AWSops documentation -Developer and operator documentation for AWSops v2. The multilingual product guide lives -in [`../docs-site/`](../docs-site/). Architecture decision records (ADRs) and the BASELINE -register are kept in a private upstream repository; documents here cite ADR numbers for -traceability only. +This index covers developer and operator documentation for AWSops v2. The BASELINE register and decisions 001–021 are maintained upstream. A public decision record documents the accepted connector registration exception, its panel review and the dated owner sign-off. [Connector target registration decision](decisions/023-connector-target-registration.md) + +The multilingual product guide describes operator-visible behavior. Its historical release notes count documents distributed in the public sample. Git history preserves the original release inventories. [Product guide](../docs-site/) | Start here | Purpose | |---|---| diff --git a/docs/runbooks/connector-target-sync.md b/docs/runbooks/connector-target-sync.md index f245354e..f050bac0 100644 --- a/docs/runbooks/connector-target-sync.md +++ b/docs/runbooks/connector-target-sync.md @@ -12,9 +12,7 @@ or updates exactly one awsops-owned target, `-mcp-target`, on the kind's c Loki/Tempo/Mimir. The target configuration is the same one the provisioner writes (packaged `catalog.py`). -Scope, IAM and limits are defined by ADR-023 -(`docs/decisions/023-connector-target-registration.md`), the second ADR-005 owner-override exception -after ADR-015. This runbook covers enabling, verifying and stopping it. +ADR-023 defines the current registration scope, IAM limits and prerequisites. The repository owner accepted this second exception on 2026-11-05 after panel review. The original dev merge records its date, sign-off, IAM limits and one-stack scope. The feature defaults to off. [Current ADR-023](../decisions/023-connector-target-registration.md) · [Accepted decision at the original merge](https://github.com/aws-samples/sample-awsops/blob/9299708d122400c5214b5c213a37ddd89ccc3b50/docs/decisions/023-connector-target-registration.md) · [Original pull request](https://github.com/aws-samples/sample-awsops/pull/231) ## Prerequisites diff --git a/web/app/api/datasources/manage/route.ts b/web/app/api/datasources/manage/route.ts index 51f90249..035b73ea 100644 --- a/web/app/api/datasources/manage/route.ts +++ b/web/app/api/datasources/manage/route.ts @@ -108,7 +108,9 @@ export async function POST(request: Request) { const ds = await getDatasource(id); if (ds?.isDefault) await mirrorDefaultCredential(kind, blob); // first of its kind → it is the default warmSchemaCache(id, kind, blob as ConnConfig); // §3.C connect-time introspect (best-effort, after response) - void enqueueConnectorTargetSync(kind, user.sub); // make the kind callable from chat (fire-and-forget like warmSchemaCache; the helper swallows errors, gated) + // The default-off admin-add path is scoped by the 2026-11-05 owner decision in PR #231. + // Its public record is docs/decisions/023-connector-target-registration.md. + void enqueueConnectorTargetSync(kind, user.sub); return json({ id }, 201); } catch (e) { const msg = (e as Error).message || 'create failed'; diff --git a/web/lib/route-resources.ts b/web/lib/route-resources.ts index 4529cda0..5d6332a4 100644 --- a/web/lib/route-resources.ts +++ b/web/lib/route-resources.ts @@ -14,10 +14,10 @@ const ARN = /arn:aws[a-z-]*:([a-z0-9-]+):[\w:/.+=@*-]*/gi; const NETWORK_ID_WORD: Record = { eni: 'eni', sg: 'sg', acl: 'nacl', rtb: 'route table' }; const NETWORK_ID_G = new RegExp(`\\b(${NETWORK_PREFIXES})${ID_TAIL}`, 'gi'); const INSTANCE_ID_G = new RegExp(INSTANCE_ID.source, 'gi'); -/** Token that replaces an EC2 instance ID; no keyword rule matches it. */ -export const INSTANCE_TOKEN = 'ec2-instance'; +/** Replacement word for an EC2 instance ID in a routing query. */ +export const INSTANCE_ROUTING_WORD = 'ec2-instance'; /** Object word for network IDs without a dedicated word (vpc, subnet, vpce, tgw, nat, igw, pcx, vpn, vgw, cgw). */ -export const NETWORK_RESOURCE_TOKEN = 'network-resource'; +export const NETWORK_RESOURCE_WORD = 'network-resource'; // A role/user ARN is itself an IAM principal: keep that word so a question about what it may do stays // an IAM question ("Can arn:aws:sts::…:assumed-role/Admin/x modify sg-…?"). const ARN_PRINCIPAL = /:(?:assumed-role|role|user)\//i; @@ -51,6 +51,6 @@ export function resourceSection(prompt: string): string | undefined { export function stripResources(prompt: string): string { return prompt .replace(ARN, (m, service: string) => ` ${service}${ARN_PRINCIPAL.test(m) ? ' role' : ''} `) - .replace(NETWORK_ID_G, (_m, prefix: string) => ` ${NETWORK_ID_WORD[prefix.toLowerCase()] ?? NETWORK_RESOURCE_TOKEN} `) - .replace(INSTANCE_ID_G, ` ${INSTANCE_TOKEN} `); + .replace(NETWORK_ID_G, (_m, prefix: string) => ` ${NETWORK_ID_WORD[prefix.toLowerCase()] ?? NETWORK_RESOURCE_WORD} `) + .replace(INSTANCE_ID_G, ` ${INSTANCE_ROUTING_WORD} `); } diff --git a/web/lib/route.ts b/web/lib/route.ts index 1491e068..b6517983 100644 --- a/web/lib/route.ts +++ b/web/lib/route.ts @@ -1,5 +1,5 @@ import { sectionByKey, activeSections } from './sections'; -import { resourceSection, stripResources, INSTANCE_TOKEN } from './route-resources'; +import { resourceSection, stripResources, INSTANCE_ROUTING_WORD } from './route-resources'; // Network objects whose names or questions carry security words; the security gateway is IAM-only. // network-resource: the stripResources word for vpc/subnet/… IDs. @@ -21,7 +21,7 @@ const NETWORK_OBJECT_WITH_POLICY = new RegExp( `(?:${NETWORK_OBJECTS.source})(?:\\s*(?:의|에\\s*대한)?\\s*(?:정책|권한|policy|permissions?))?`, 'gi'); // "i-… 보안 점검": the generic word 보안 directly after an instance ID asks about that instance. -const INSTANCE_WITH_GENERIC_SECURITY = new RegExp(`${INSTANCE_TOKEN}\\s*(?:의|에\\s*대한)?\\s*보안`, 'gi'); +const INSTANCE_WITH_GENERIC_SECURITY = new RegExp(`${INSTANCE_ROUTING_WORD}\\s*(?:의|에\\s*대한)?\\s*보안`, 'gi'); /** True when every security-rule match in `text` comes from a network object and its own policy * words: with those blanked out, nothing in `text` matches the security rule any more. */