Iac Reportのロゴ

Iac Report

コミュニティ
senaykt
iac-report

Lightweight report engine. Reads all skill results, deduplicates, prioritizes, and outputs findings as terminal table + CSV + HTML. No remediation.

概要

公開者senaykt
リポジトリiac-security-scan-skills
スキル名iac-report
スター
48
フォーク
6
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    senayktがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Iac Report」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/senaykt/iac-security-scan-skills/tree/main/.agents/skills/iac-report
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/senaykt/iac-security-scan-skills.git /tmp/iac-security-scan-skills
mkdir -p .claude/skills
cp -r /tmp/iac-security-scan-skills/.agents/skills/iac-report .claude/skills/iac-report
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIac Reportを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にIac Reportを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Iac Reportは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

iac-report

CONSTRAINT — NO REMEDIATION

Do NOT generate remediation advice, fix suggestions, code changes, or "how to fix" guidance. Report what is wrong and where — never how to fix it.

OBJECTIVE

Read all iac-scan/*-results.md files. Deduplicate, prioritize, and output:

  1. Terminal — print a findings table to stdout
  2. CSV — write iac-scan/findings.csv
  3. HTML — write iac-scan/report.html (self-contained, single file)

INPUT

Read these files from iac-scan/ (skip any that don't exist):

  • analysis.md
  • iam-results.md
  • network-results.md
  • storage-results.md
  • secrets-results.md
  • logging-monitoring-results.md
  • serverless-results.md
  • attack-chain-results.md

Extract every finding. Each finding must have: ID, title, severity, confidence, domain, file, line, risk summary.

DEDUPLICATION

If two findings from different skills describe the same issue on the same resource, keep one:

  • Same resource + overlapping rule → merge, keep higher severity, combine evidence.
  • Same attack path described differently → merge.
  • Different aspects of the same resource (e.g., IAM overprivilege + missing logging) → keep both, mark as related.

PRIORITIZATION

Sort findings by priority score:

score = severity_weight × 0.35 + exploitability_weight × 0.30 + blast_weight × 0.20 + confidence × 15
SeverityWeightExploitabilityWeightBlast radiusWeight
Critical100direct100account100
High75near75service70
Medium50far40resource_set40
Low25theoretical10single15
Info5

Confidence (0.0–1.0) is multiplied by 15 and added directly. Low-confidence findings naturally rank lower.

Assign priority tiers after scoring:

  • P0 (≥85): fix immediately
  • P1 (70–84): fix this sprint
  • P2 (50–69): fix this quarter
  • P3 (25–49): track and plan
  • P4 (<25): accept or backlog

OUTPUT 1 — TERMINAL TABLE

Print a summary table to stdout:

╔══════════════════════════════════════════════════════════════════════════════════╗
║  IaC Security Scan Results                                                     ║
║  Repository: {path}  |  Date: {date}  |  Findings: {N}                         ║
╠══════════════════════════════════════════════════════════════════════════════════╣

  CRITICAL: {n}    HIGH: {n}    MEDIUM: {n}    LOW: {n}    INFO: {n}

╔════╦══════════╦════════╦══════╦═══════════════════════════════╦═════════════════╗
║ P  ║ Severity ║ Conf.  ║ Dom  ║ Title                         ║ Location        ║
╠════╬══════════╬════════╬══════╬═══════════════════════════════╬═════════════════╣
║ P0 ║ CRITICAL ║ 0.95   ║ IAM  ║ Admin wildcard on Lambda role ║ iam.tf:42       ║
║ P0 ║ CRITICAL ║ 0.92   ║ NET  ║ RDS publicly accessible       ║ rds.tf:18       ║
║ P1 ║ HIGH     ║ 0.88   ║ SEC  ║ AWS key in user data          ║ ec2.tf:95       ║
║ ...║          ║        ║      ║                               ║                 ║
╚════╩══════════╩════════╩══════╩═══════════════════════════════╩═════════════════╝

  Full report: iac-scan/report.html
  CSV export:  iac-scan/findings.csv

Domain abbreviations: IAM, NET, STR, SEC, LOG, SLS, CHN (attack chain), RPT (compound).

OUTPUT 2 — CSV

Write iac-scan/findings.csv with these columns:

priority,severity,confidence,domain,id,title,resource,file,line,risk,environment,related_ids
  • One row per finding, sorted by priority score descending.
  • Quote fields containing commas.
  • UTF-8 with BOM for Excel compatibility.

OUTPUT 3 — HTML REPORT

Write iac-scan/report.html — a single self-contained HTML file. All CSS inline, no external dependencies.

Structure

  1. Header — repository name, scan date, total findings count
  2. Severity bar — colored horizontal bar showing Critical/High/Medium/Low/Info distribution
  3. Findings table — sortable by any column, filterable by severity/domain
    • Priority tier (P0–P4)
    • Severity (colored badge)
    • Confidence (0.0–1.0)
    • Domain
    • Title
    • File:line (clickable if relative path)
    • Risk summary (1–2 sentences)
    • Environment (prod/staging/dev/unknown)
    • Related finding IDs
  4. Cross-domain risks — if attack chain results exist, list compound risks as cards:
    • Chain title
    • Severity
    • Steps: Resource A → Resource B → Resource C
    • Participating finding IDs
  5. Positive controls — bullet list of good practices detected
  6. Footer — "Generated by IaC Security Scanner. No remediation advice included."

Design requirements

  • Clean, professional, readable
  • Works in light and dark mode (use prefers-color-scheme)
  • Responsive — readable on mobile
  • Severity colors: Critical=#dc2626, High=#ea580c, Medium=#d97706, Low=#2563eb, Info=#6b7280
  • Sort/filter via vanilla JS (no frameworks)
  • Print-friendly: @media print rules for clean printout

COMPOUND FINDINGS

When findings from different skills converge on the same resource, create a compound finding:

  • Title: combines the risk factors (e.g., "Internet-exposed Lambda with admin IAM and no logging")
  • Severity: highest among components
  • Evidence: combined from all component findings
  • Domain: RPT
  • Component finding IDs listed in related_ids

Only create compound findings for these patterns:

  • Internet-exposed + overprivileged + unmonitored
  • Leaked credential + exposed workload + data access
  • Public API + no auth + dangerous IAM + no WAF

ARCHITECTURE DIAGRAM

If iac-scan/analysis.md contains enough architecture data (VPCs, subnets, resources), generate iac-scan/architecture-diagram.html:

  • Self-contained HTML with inline SVG
  • Layered view: Internet → VPC → Subnets → Resources
  • Attack paths as red dashed lines
  • Findings as severity-colored dots on affected resources

Confidence label in header:

  • Architecture Diagram — all resources visible in IaC
  • Inferred Architecture Diagram — some gaps from modules/remote state
  • Estimated Architecture Diagram — significant inference

Subtitle: "Generated from static IaC analysis. Runtime state may differ."

If the project has fewer than 5 resources, skip the diagram.

LIMITATIONS

  • Report quality depends on upstream skill outputs
  • Deduplication is heuristic — some duplicates may persist
  • No runtime correlation — IaC-only analysis
  • Architecture diagram is best-effort from static analysis

よくある質問

AIスキル「Iac Report」では何ができますか?

Lightweight report engine. Reads all skill results, deduplicates, prioritizes, and outputs findings as terminal table + CSV + HTML. No remediation.

TypingMindでIac Reportを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Iac Reportはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIac Reportをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/senaykt/iac-security-scan-skills/tree/main/.agents/skills/iac-reportを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Iac Reportを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Iac Reportで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIac Reportを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Iac Report」は無料ですか?

はい。senayktがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇