1{
2  "author": [
3    "Elastic"
4  ],
5  "description": "Identifies the deletion of a subscription in Google Cloud Platform (GCP). In GCP, the publisher-subscriber relationship (Pub/Sub) is an asynchronous messaging service that decouples event-producing and event-processing services. A subscription is a named resource representing the stream of messages to be delivered to the subscribing application.",
6  "false_positives": [
7    "Subscription deletions may be done by a system or network administrator. Verify whether the user email, resource name, and/or hostname should be making changes in your environment. Subscription deletions from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule."
8  ],
9  "index": [
10    "filebeat-*",
11    "logs-gcp*"
12  ],
13  "language": "kuery",
14  "license": "Elastic License v2",
15  "name": "GCP Pub/Sub Subscription Deletion",
16  "note": "## Config\n\nThe GCP Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.",
17  "query": "event.dataset:(googlecloud.audit or gcp.audit) and event.action:google.pubsub.v*.Subscriber.DeleteSubscription and event.outcome:success\n",
18  "references": [
19    "https://cloud.google.com/pubsub/docs/overview"
20  ],
21  "risk_score": 21,
22  "rule_id": "cc89312d-6f47-48e4-a87c-4977bd4633c3",
23  "severity": "low",
24  "tags": [
25    "Elastic",
26    "Cloud",
27    "GCP",
28    "Continuous Monitoring",
29    "SecOps",
30    "Log Auditing"
31  ],
32  "threat": [
33    {
34      "framework": "MITRE ATT&CK",
35      "tactic": {
36        "id": "TA0005",
37        "name": "Defense Evasion",
38        "reference": "https://attack.mitre.org/tactics/TA0005/"
39      },
40      "technique": [
41        {
42          "id": "T1562",
43          "name": "Impair Defenses",
44          "reference": "https://attack.mitre.org/techniques/T1562/"
45        }
46      ]
47    }
48  ],
49  "timestamp_override": "event.ingested",
50  "type": "query",
51  "version": 5
52}
53