40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[metadata]
|
|
creation_date = "2023/10/11"
|
|
integration = ["github"]
|
|
maturity = "production"
|
|
updated_date = "2024/05/21"
|
|
|
|
[rule]
|
|
author = ["Elastic"]
|
|
description = "Detects the deletion of a GitHub app either from a repo or an organization.\n"
|
|
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/"
|
|
|