GitHub App Deleted

Detects the deletion of a GitHub app either from a repo or an organization.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2023/10/11"
 3integration = ["github"]
 4maturity = "production"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/10/11"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12Detects the deletion of a GitHub app either from a repo or an organization.
13"""
14from = "now-9m"
15index = ["logs-github.audit-*"]
16language = "eql"
17license = "Elastic License v2"
18name = "GitHub App Deleted"
19risk_score = 21
20rule_id = "fd01b949-81be-46d5-bcf8-284395d5f56d"
21severity = "low"
22tags = ["Domain: Cloud",
23        "Use Case: Threat Detection",
24        "Tactic: Execution",
25        "Data Source: Github"
26        ]
27timestamp_override = "event.ingested"
28type = "eql"
29
30query = '''
31configuration where event.dataset == "github.audit" and github.category == "integration_installation" and event.type == "deletion"
32'''
33
34[[rule.threat]]
35framework = "MITRE ATT&CK"
36[[rule.threat.technique]]
37id = "T1648"
38name = "Serverless Execution"
39reference = "https://attack.mitre.org/techniques/T1648/"
40
41
42[rule.threat.tactic]
43id = "TA0002"
44name = "Execution"
45reference = "https://attack.mitre.org/tactics/TA0002/"

Related rules

to-top