Skill: krishnakumarmahadevan-cmd/toolweb-ir-playbook-generator (version 1.0.0)

--- name: Incident Response Playbook Generator API description: Generates customized incident response playbooks tailored to organizational assessment data and security requirements. --- # Overview The Incident Response Playbook Generator API automates the creation of comprehensive, organization-specific incident response playbooks. Security teams and incident response managers use this tool to rapidly produce formal documentation that aligns with their organizational structure, compliance requirements, and threat landscape. This API transforms assessment data—including organizational context, existing security controls, and risk profiles—into a fully structured playbook containing executive summaries, response phases, team roles, communication templates, escalation procedures, legal considerations, and emergency contact lists. Rather than starting from scratch with generic templates, teams receive customized playbooks that reflect their unique operational environment. Ideal users include security operations centers (SOCs), incident response teams, compliance officers, security architects, and organizations preparing for security audits or regulatory assessments. ## Usage **Sample Request:** ```json { "assessmentData": { "organization_name": "TechCorp Inc.", "industry": "Financial Services", "employee_count": 2500, "critical_systems": ["Payment Processing", "Customer Database", "Internal Email"], "compliance_frameworks": ["PCI-DSS", "SOC 2", "GDPR"], "current_ir_maturity": "Intermediate", "primary_threats": ["Ransomware", "Data Exfiltration", "Insider Threats"] }, "sessionId": "sess_abc123def456", "userId": 42, "timestamp": "2024-01-15T10:30:00Z" } ``` **Sample Response:** ```json { "playbook_title": "TechCorp Inc. Incident Response Playbook 2024", "organization_name": "TechCorp Inc.", "executive_summary": "This playbook establishes a comprehensive incident response framework for TechCorp Inc., addressing ransomware, data exfiltration, and insider threats within financial services operations. The plan aligns with PCI-DSS, SOC 2, and GDPR requirements and is tailored for an intermediate maturity security posture.", "phases": [ { "phase_name": "Detection & Analysis", "duration": "0-4 hours", "objectives": ["Confirm incident validity", "Classify severity and type", "Preserve evidence"], "key_actions": ["Enable enhanced logging", "Isolate affected systems", "Notify IR team"] }, { "phase_name": "Containment", "duration": "4-24 hours", "objectives": ["Stop active attack", "Prevent spread", "Preserve forensic data"], "key_actions": ["Segment network", "Reset credentials", "Deploy patches"] }, { "phase_name": "Eradication", "duration": "1-7 days", "objectives": ["Remove attacker presence", "Close vulnerabilities", "Validate remediation"], "key_actions": ["Rebuild systems", "Apply security updates", "Conduct forensics"] }, { "phase_name": "Recovery", "duration": "1-14 days", "objectives": ["Restore normal operations", "Verify system integrity", "Restore data"], "key_actions": ["Bring systems online", "Monitor for recompromise", "Validate backups"] }, { "phase_name": "Post-Incident", "duration": "Ongoing", "objectives": ["Document lessons learned", "Improve processes", "Update security controls"], "key_actions": ["Conduct review meeting", "Update playbook", "Implement improvements"] } ], "roles": [ { "role": "Incident Commander", "responsibility": "Overall coordination and decision authority", "reporting_chain": "Chief Information Security Officer" }, { "role": "Technical Lead", "responsibility": "Technical investigation and remediation direction", "reporting_chain": "Incident Commander" }, { "role": "Communications Lead", "responsibility": "Internal and external stakeholder communication", "reporting_chain": "Incident Commander" }, { "role": "Legal & Compliance", "responsibility": "Regulatory notification and legal guidance", "reporting_chain": "Incident Commander" } ], "communication_templates": [ { "template_name": "Internal Alert", "recipient": "All Staff", "message": "A potential security incident has been detected and is being investigated. IT support may be slower than normal. Do not open suspicious emails or click unknown links." }, { "template_name": "Executive Briefing", "recipient": "C-Suite, Board", "message": "At [TIME], a security incident was detected. Current status: [STATUS]. Estimated impact: [IMPACT]. Expected resolution: [TIMELINE]." }, { "template_name": "Customer Notification", "recipient": "Affected Customers", "message": "We recently identified a security incident that may have affected your data. Here's what happened, what we're doing, and how to protect yourself." } ], "escalation_procedures": "Incidents are classified by severity (Low, Medium, High, Critical) based on impact and affected systems. Low incidents are managed by SOC; Medium and High require Incident Commander activation; Critical incidents trigger executive notification within 15 minutes and external communication within 1 hour per GDPR and PCI-DSS requirements.", "legal_considerations": [ "GDPR: Notify regulators within 72 hours of confirmed data breach involving EU resident personal data", "PCI-DSS: Notify acquiring bank and card brands of confirmed compromise within 30 days", "SOC 2: Maintain audit trail and document all investigation steps for Type II audit review", "Financial Services Compliance: Report material incidents to regulators per industry-specific guidance" ], "contact_list": [ { "role": "CISO", "name": "Sarah Chen", "phone": "+1-555-0101", "email": "[REDACTED_SECRET]", "available_24_7": true }, { "role": "Legal Counsel", "name": "James Mitchell", "phone": "+1-555-0102", "email": "[REDACTED_SECRET]", "available_24_7": false }, { "role": "Forensics Vendor", "name": "ForensicPro LLC", "phone": "+1-800-FORENSIC", "email": "[REDACTED_SECRET]", "available_24_7": true } ], "session_id": "sess_abc123def456", "timestamp": "2024-01-15T10:32:45Z" } ``` ## Endpoints ### POST /api/ir/playbook **Summary:** Generate Playbook **Description:** Generate a customized incident response playbook based on assessment data, organizational context, and security requirements. **Parameters:** | Name | Type | Required | Description | |------|------|----------|-------------| | `assessmentData` | object | Yes | Structured assessment data including organization details, critical systems, compliance frameworks, threat landscape, and current IR maturity level | | `sessionId` | string | Yes | Unique session identifier for tracking and audit purposes | | `userId` | integer | No | User ID of the requester for multi-tenant environments and audit logging | | `timestamp` | string | No | ISO 8601 timestamp indicating when the request was initiated | **Request Body Schema:** `PlaybookRequest` **Response (200 - Success):** Returns a `PlaybookResponse` object containing: - `playbook_title` (string): Formal title of the generated playbook - `organization_name` (string): Name of the organization - `executive_summary` (string): High-level overview of the playbook and organizational context - `phases` (array of objects): Incident response phases (Detection, Containment, Eradication, Recovery, Post-Incident) with duration, objectives, and key actions - `roles` (array of objects): Defined incident response team roles, responsibilities, and reporting chains - `communication_templates` (array of objects): Ready-to-use message templates for internal alerts, executive briefings, and customer notifications - `escalation_procedures` (string): Procedures for classifying incident severity and escalation paths - `legal_considerations` (array of strings): Compliance and regulatory obligations applicable to the organization - `contact_list` (array of objects): Emergency contacts including name, role, phone, email, and 24/7 availability status - `session_id` (string): Echo of the request session ID - `timestamp` (string): ISO 8601 timestamp of response generation **Response (422 - Validation Error):** Returns `HTTPValidationError` containing an array of `ValidationError` objects with: - `loc` (array): Location of the error (field path) - `msg` (string): Error message - `type` (string): Error type (e.g., "value_error", "type_error") --- ### GET /api/ir/health **Summary:** Health Check **Description:** Verify the API service is operational and responsive. **Parameters:** None **Response (200 - Success):** Returns a JSON object indicating service status. --- ### GET / **Summary:** Root Endpoint **Description:** Root service endpoint; may return service metadata or welcome information. **Parameters:** None **Response (200 - Success):** Returns a JSON object with service information. ## Pricing | Plan | Calls/Day | Calls/Month | Price | |------|-----------|-------------|-------| | Free | 5 | 50 | Free | | Developer | 20 | 500 | $39/mo | | Professional | 200 | 5,000 | $99/mo | | Enterprise | 100,000 | 1,000,000 | $299/mo | ## About ToolWeb.in - 200+ security APIs, CISSP & CISM, platforms: Pay-per-run, API Gateway, MCP Server, OpenClaw, RapidAPI, YouTube. - [toolweb.in](https://toolweb.in) - [portal.toolweb.in](https://portal.toolweb.in) - [hub.toolweb.in](https://hub.toolweb.in) - [toolweb.in/openclaw/](https://toolweb.in/openclaw/) - [rapidapi.com/user/mkrishna477](https://rapidapi.com/user/mkrishna477) - [youtube.com/@toolweb-009](https://youtube.com/@toolweb-009) ## References - **Kong Route:** https://api.mkkpro.com/security/ir-playbook-generator - **API Docs:** https://api.mkkpro.com:8118/docs

path: openapi.json
content: {
  "openapi": "3.1.0",
  "info": {
    "title": "Incident Response Playbook Generator API",
    "version": "0.1.0"
  },
  "paths": {
    "/api/ir/playbook": {
      "post": {
        "summary": "Generate Playbook",
        "description": "Generate customized incident response playbook",
        "operationId": "generate_playbook_api_ir_playbook_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaybookRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlaybookResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/api/ir/health": {
      "get": {
        "summary": "Health Check",
        "description": "Health check endpoint",
        "operationId": "health_check_api_ir_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    },
    "/": {
      "get": {
        "summary": "Root",
        "description": "Root endpoint",
        "operationId": "root__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "PlaybookRequest": {
        "properties": {
          "assessmentData": {
            "type": "object",
            "title": "Assessmentdata"
          },
          "sessionId": {
            "type": "string",
            "title": "Sessionid"
          },
          "userId": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Userid"
          },
          "timestamp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timestamp"
          }
        },
        "type": "object",
        "required": [
          "assessmentData",
          "sessionId"
        ],
        "title": "PlaybookRequest"
      },
      "PlaybookResponse": {
        "properties": {
          "playbook_title": {
            "type": "string",
            "title": "Playbook Title"
          },
          "organization_name": {
            "type": "string",
            "title": "Organization Name"
          },
          "executive_summary": {
            "type": "string",
            "title": "Executive Summary"
          },
          "phases": {
            "items": {
              "type": "object"
            },
            "type": "array",
            "title": "Phases"
          },
          "roles": {
            "items": {
              "type": "object"
            },
            "type": "array",
            "title": "Roles"
          },
          "communication_templates": {
            "items": {
              "type": "object"
            },
            "type": "array",
            "title": "Communication Templates"
          },
          "escalation_procedures": {
            "type": "string",
            "title": "Escalation Procedures"
          },
          "legal_considerations": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Legal Considerations"
          },
          "contact_list": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "type": "array",
            "title": "Contact List"
          },
          "session_id": {
            "type": "string",
            "title": "Session Id"
          },
          "timestamp": {
            "type": "string",
            "title": "Timestamp"
          }
        },
        "type": "object",
        "required": [
          "playbook_title",
          "organization_name",
          "executive_summary",
          "phases",
          "roles",
          "communication_templates",
          "escalation_procedures",
          "legal_considerations",
          "contact_list",
          "session_id",
          "timestamp"
        ],
        "title": "PlaybookResponse"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    }
  }
}

Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: clean (LOW)