{"data":{"slug":"github-claude-office-skills-skills-security-monitoring-07da96832d4e","title":"Automate Security Incident Response and Alerting","summary":"Automate security monitoring, threat detection, and incident response workflows using predefined rules and integration with SIEM tools. This skill produces security alerts, incident reports, compliance dashboards, and threat intelligence based on input such as security logs, alert rules, incident data, and compliance requirements.","url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-security-monitoring-07da96832d4e","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-claude-office-skills-skills-security-monitoring-07da96832d4e","markdown_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-security-monitoring-07da96832d4e.md","download_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-security-monitoring-07da96832d4e\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"This skill requires access to a SIEM tool and the ability to process security logs. Before using, ensure that alert rules are configured and compliance requirements are defined.","instructions":"---\nname: Security Monitoring\ndescription: Automate security monitoring, threat detection, incident response, and compliance workflows\nversion: 1.0.0\nauthor: Claude Office Skills\ncategory: security\ntags:\n  - security\n  - monitoring\n  - siem\n  - incident-response\n  - compliance\ndepartment: security\nmodels:\n  - claude-3-opus\n  - claude-3-sonnet\n  - gpt-4\nmcp:\n  server: security-mcp\n  tools:\n    - siem_query\n    - alert_create\n    - incident_manage\n    - compliance_check\ncapabilities:\n  - Threat detection and alerting\n  - Incident response automation\n  - Log analysis and correlation\n  - Compliance monitoring\ninput:\n  - Security logs\n  - Alert rules\n  - Incident data\n  - Compliance requirements\noutput:\n  - Security alerts\n  - Incident reports\n  - Compliance dashboards\n  - Threat intelligence\nlanguages:\n  - en\nrelated_skills:\n  - devops-automation\n  - log-analysis\n  - compliance-audit\n---\n\n# Security Monitoring\n\nComprehensive skill for security monitoring, threat detection, and incident response automation.\n\n## Core Architecture\n\n### Security Monitoring Stack\n\n```\nSECURITY MONITORING ARCHITECTURE:\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                     DATA SOURCES                         \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 Firewall \u2502 Endpoint \u2502 Cloud    \u2502 Network  \u2502 Application\u2502\n\u2502 Logs     \u2502 Logs     \u2502 Logs     \u2502 Traffic  \u2502 Logs       \u2502\n\u2514\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n     \u2502          \u2502          \u2502          \u2502           \u2502\n     \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n                                \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                   LOG AGGREGATION                        \u2502\n\u2502              (SIEM \/ Security Data Lake)                 \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n                         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                   DETECTION ENGINE                       \u2502\n\u2502  \u2022 Rule-based Detection    \u2022 ML Anomaly Detection       \u2502\n\u2502  \u2022 Correlation Rules       \u2022 Threat Intelligence        \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n                         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502                   RESPONSE & ACTION                      \u2502\n\u2502  \u2022 Alerting        \u2022 Automated Response                 \u2502\n\u2502  \u2022 Ticketing       \u2022 Containment                        \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n## Detection Rules\n\n### Rule Categories\n\n```yaml\ndetection_rules:\n  authentication:\n    - name: brute_force_login\n      description: \"Multiple failed login attempts\"\n      query: |\n        event.type == \"authentication\" AND\n        event.outcome == \"failure\" AND\n        COUNT(*) > 5 WITHIN 5 minutes\n        GROUP BY source.ip\n      severity: high\n      actions:\n        - create_alert\n        - block_ip_temporarily\n        \n    - name: impossible_travel\n      description: \"Login from geographically distant locations\"\n      query: |\n        event.type == \"authentication\" AND\n        event.outcome == \"success\" AND\n        geo_distance(prev_location, current_location) > 500km AND\n        time_diff < 1 hour\n      severity: critical\n      actions:\n        - create_alert\n        - require_mfa_verification\n        - notify_user\n        \n  data_exfiltration:\n    - name: large_data_transfer\n      description: \"Unusual data egress volume\"\n      query: |\n        event.type == \"network\" AND\n        direction == \"outbound\" AND\n        bytes_transferred > 100MB WITHIN 1 hour\n        GROUP BY user.id\n      severity: medium\n      actions:\n        - create_alert\n        - capture_network_session\n        \n  malware:\n    - name: known_malware_hash\n      description: \"File matches known malware signature\"\n      query: |\n        event.type == \"file\" AND\n        file.hash.sha256 IN threat_intelligence.malware_hashes\n      severity: critical\n      actions:\n        - quarantine_file\n        - isolate_endpoint\n        - create_incident\n```\n\n### Correlation Rules\n\n```yaml\ncorrelation_rules:\n  - name: lateral_movement_detection\n    description: \"Detect potential lateral movement\"\n    events:\n      - type: authentication_success\n        from: internal_network\n      - type: process_execution\n        name: [\"psexec\", \"wmic\", \"powershell\"]\n        within: 5_minutes\n      - type: network_connection\n        to: different_internal_host\n        within: 10_minutes\n    severity: high\n    \n  - name: privilege_escalation_chain\n    description: \"Detect privilege escalation attempts\"\n    events:\n      - type: authentication\n        account_type: standard_user\n      - type: process_execution\n        elevated: true\n        within: 30_minutes\n      - type: account_modification\n        action: add_to_admin_group\n        within: 1_hour\n    severity: critical\n```\n\n## Alert Management\n\n### Alert Configuration\n\n```yaml\nalert_config:\n  severity_levels:\n    critical:\n      response_time: 15_minutes\n      notifications:\n        - pagerduty: security_oncall\n        - slack: \"#security-critical\"\n        - email: security-team@company.com\n      auto_escalation: 30_minutes\n      \n    high:\n      response_time: 1_hour\n      notifications:\n        - slack: \"#security-alerts\"\n        - email: security-team@company.com\n        \n    medium:\n      response_time: 4_hours\n      notifications:\n        - slack: \"#security-alerts\"\n        \n    low:\n      response_time: 24_hours\n      notifications:\n        - ticket_only: true\n        \n  deduplication:\n    enabled: true\n    window: 1_hour\n    key_fields:\n      - rule_id\n      - source.ip\n      - destination.ip\n```\n\n### Alert Template\n\n```yaml\nalert_template:\n  title: \"[{{severity}}] {{rule_name}}\"\n  \n  body: |\n    ## Security Alert\n    \n    **Rule:** {{rule_name}}\n    **Severity:** {{severity}}\n    **Time:** {{timestamp}}\n    \n    ### Details\n    - **Source IP:** {{source.ip}}\n    - **Source User:** {{user.name}}\n    - **Destination:** {{destination.ip}}\n    - **Action:** {{event.action}}\n    \n    ### Context\n    {{event_context}}\n    \n    ### Recommended Actions\n    {{#each recommended_actions}}\n    - {{this}}\n    {{\/each}}\n    \n    ### Related Events\n    {{related_events_link}}\n```\n\n## Incident Response\n\n### Incident Workflow\n\n```\nINCIDENT RESPONSE WORKFLOW:\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502    Detection    \u2502\n\u2502  (Alert Fired)  \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502     Triage      \u2502\n\u2502  - Validate     \u2502\n\u2502  - Classify     \u2502\n\u2502  - Prioritize   \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502   Containment   \u2502\n\u2502  - Isolate      \u2502\n\u2502  - Block        \u2502\n\u2502  - Preserve     \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502  Investigation  \u2502\n\u2502  - Collect      \u2502\n\u2502  - Analyze      \u2502\n\u2502  - Correlate    \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502   Eradication   \u2502\n\u2502  - Remove       \u2502\n\u2502  - Patch        \u2502\n\u2502  - Harden       \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502    Recovery     \u2502\n\u2502  - Restore      \u2502\n\u2502  - Verify       \u2502\n\u2502  - Monitor      \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n         \u25bc\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502  Post-Incident  \u2502\n\u2502  - Document     \u2502\n\u2502  - Review       \u2502\n\u2502  - Improve      \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n### Playbook Automation\n\n```yaml\nplaybooks:\n  - name: ransomware_response\n    trigger:\n      alert_type: ransomware_detected\n    steps:\n      - name: isolate_endpoint\n        action: network_isolate\n        target: \"{{affected_host}}\"\n        \n      - name: disable_account\n        action: disable_ad_account\n        target: \"{{user.name}}\"\n        \n      - name: preserve_evidence\n        action: capture_memory_image\n        target: \"{{affected_host}}\"\n        \n      - name: notify_stakeholders\n        action: send_notification\n        channels:\n          - security_team\n          - it_leadership\n          - legal_if_needed\n          \n      - name: create_incident\n        action: create_ticket\n        priority: critical\n        template: ransomware_incident\n        \n  - name: phishing_response\n    trigger:\n      alert_type: phishing_reported\n    steps:\n      - name: analyze_email\n        action: extract_iocs\n        extract:\n          - sender_address\n          - urls\n          - attachments\n          \n      - name: check_recipients\n        action: query_email_logs\n        find: all_recipients\n        \n      - name: block_sender\n        action: add_to_blocklist\n        target: \"{{sender_address}}\"\n        \n      - name: remove_emails\n        action: delete_from_mailboxes\n        target: all_recipients\n```\n\n## Compliance Monitoring\n\n### Compliance Frameworks\n\n```yaml\ncompliance_checks:\n  pci_dss:\n    - requirement: \"10.2.1\"\n      description: \"Log all access to cardholder data\"\n      query: |\n        SELECT * FROM audit_logs\n        WHERE data_classification = 'cardholder'\n        AND timestamp > NOW() - INTERVAL '24 hours'\n      expected: all_access_logged\n      \n    - requirement: \"10.6.1\"\n      description: \"Review logs daily\"\n      check: daily_log_review_completed\n      \n  hipaa:\n    - requirement: \"164.312(b)\"\n      description: \"Audit controls\"\n      checks:\n        - audit_logging_enabled\n        - log_retention_6_years\n        - tamper_protection\n        \n  soc2:\n    - control: \"CC6.1\"\n      description: \"Logical access security\"\n      checks:\n        - mfa_enabled\n        - password_policy_enforced\n        - access_reviews_quarterly\n```\n\n### Compliance Dashboard\n\n```\nCOMPLIANCE STATUS DASHBOARD\n\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n\nPCI-DSS:      \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591 92% \u2713\nHIPAA:        \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591 98% \u2713\nSOC 2:        \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591 95% \u2713\nGDPR:         \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 100% \u2713\n\nFINDINGS BY SEVERITY:\nCritical  \u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 0\nHigh      \u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 3\nMedium    \u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 8\nLow       \u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 15\n\nUPCOMING DEADLINES:\n\u2022 Jan 30: Quarterly access review\n\u2022 Feb 15: Penetration test scheduled\n\u2022 Feb 28: Annual audit prep\n```\n\n## Security Metrics\n\n### KPI Dashboard\n\n```\nSECURITY OPERATIONS METRICS\n\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n\nDETECTION:\nMTTD (Mean Time to Detect): 4.2 hours\nAlert Volume: 1,234\/day\nTrue Positive Rate: 78%\n\nRESPONSE:\nMTTR (Mean Time to Respond): 1.8 hours\nIncidents Resolved: 23\/week\nSLA Compliance: 96%\n\nCOVERAGE:\nAssets Monitored: 2,456\/2,500 (98%)\nLog Sources: 45 active\nDetection Rules: 234 active\n\nTHREAT LANDSCAPE:\nBlocked Attacks: 12,456\/month\nVulnerabilities: 89 open\nPatch Compliance: 94%\n```\n\n### Reporting\n\n```yaml\nreports:\n  - name: daily_security_briefing\n    schedule: \"0 8 * * *\"\n    recipients: security_team\n    sections:\n      - overnight_alerts\n      - active_incidents\n      - threat_intelligence_updates\n      \n  - name: weekly_executive_summary\n    schedule: \"0 9 * * 1\"\n    recipients: leadership\n    sections:\n      - key_metrics\n      - significant_incidents\n      - risk_posture\n      - recommendations\n      \n  - name: monthly_compliance_report\n    schedule: \"0 9 1 * *\"\n    recipients: compliance_team\n    sections:\n      - control_status\n      - audit_findings\n      - remediation_progress\n```\n\n## Best Practices\n\n1. **Defense in Depth**: Multiple detection layers\n2. **Least Privilege**: Minimize access rights\n3. **Log Everything**: Comprehensive audit trails\n4. **Automate Response**: Reduce MTTR\n5. **Regular Testing**: Validate controls\n6. **Threat Intelligence**: Stay informed\n7. **Incident Drills**: Practice response\n8. **Continuous Improvement**: Learn from incidents\n","use_cases":["Detect and respond to brute force login attempts","Identify and block suspicious network traffic","Generate compliance reports for security audits"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/claude-office-skills\/skills\/blob\/9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11\/security-monitoring\/SKILL.md","source_commit":"9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11","license":null,"version":"1.0.0","listing_approved_at":"2026-11-22","created_at":"2026-11-21T15:04:54.000000Z","updated_at":"2026-11-22T11:18:09.000000Z","seo_title":"Automate Security Incident Response and Alerting","seo_description":"Automate security monitoring, threat detection, and incident response workflows with SIEM integration and alerting.","seo_keywords":["security incident response","threat detection automation","SIEM alerting","compliance monitoring","log analysis security"]}}