[metadata] creation_date = "2023/10/11" integration = ["github"] maturity = "production" min_stack_comments = "New fields added: required_fields, related_integrations, setup" min_stack_version = "8.3.0" updated_date = "2023/10/11" [rule] author = ["Elastic"] description = """ Detects the deletion of a GitHub app either from a repo or an organization. """ from = "now-9m" index = ["logs-github.audit-*"] language = "eql" license = "Elastic License v2" name = "GitHub App Deleted" risk_score = 21 rule_id = "fd01b949-81be-46d5-bcf8-284395d5f56d" severity = "low" tags = ["Domain: Cloud", "Use Case: Threat Detection", "Tactic: Execution", "Data Source: Github" ] timestamp_override = "event.ingested" type = "eql" query = ''' configuration where event.dataset == "github.audit" and github.category == "integration_installation" and event.type == "deletion" ''' [[rule.threat]] framework = "MITRE ATT&CK" [[rule.threat.technique]] id = "T1648" name = "Serverless Execution" reference = "https://attack.mitre.org/techniques/T1648/" [rule.threat.tactic] id = "TA0002" name = "Execution" reference = "https://attack.mitre.org/tactics/TA0002/"