---
url: https://docs.realmsec.info/product/detection_integrity.md
---

# **File Upload**

The **File Upload** feature in Realm allows you to securely bring your external business data, detection rules, and configuration files directly into the Realm platform. By uploading these files, you unlock advanced use cases like custom enrichments, enhanced business context, and detection engineering workflows.

Today, the file upload primarily powers the **Detection Integrity** workflow, allowing you to validate, translate, and optimize your existing SIEM data while proving it does not affect your detection rules.

## **Use Case: Detection Integrity**

Maintaining visibility across your security footprint requires ensuring that your optimization rules in Realm do not actively disrupt workflows in the SIEM or detection engine. The Detection Integrity workflow allows you to upload your detection rules into Realm to see how they map, translate, and perform against your actual streams of data.

### **Core Features & Technical Specifications**

* **Supported File Formats:** Upload detections in the format your SIEM exports them, for example JSON, JSONL, NDJSON, YAML, CSV, XML, Splunk `.conf` files, or Python and YAML detection files. Multiple files can be combined into a `.zip` or `.tgz` archive.
* **Size Restrictions:** Maximum file upload limit of **100MB** per file.
* **SIEM Vendor Compatibility:** Realm supports rules exported from **any SIEM vendor** and syntax for this workflow.

## Exporting Detections from Your SIEM

Each SIEM destination guide below explains how to export your detections:

| SIEM | What to Export |
|---|---|
| [Elasticsearch](/integration/elasticsearch#export-detections-for-detection-integrity) | Elastic Security custom rules and customized prebuilt rules, or OpenSearch Security Analytics custom rules |
| [Microsoft Sentinel](/integration/ms-sentinel#export-detections-for-detection-integrity) | Analytics rules |
| [Panther](/integration/panther#export-detections-for-detection-integrity) | Detections, helpers, data models, and saved and scheduled searches |
| [Rapid7 InsightIDR](/integration/rapid7_insightidr#export-detections-for-detection-integrity) | Custom and basic detection rules |
| [Splunk](/integration/splunk.md) | Scheduled Alerts, correlation searches, and all related macros |

For any other SIEM, upload your detection rules in the format the SIEM exports them.

## Upload Detections to Realm {#upload-detections}

Follow these steps to upload your detection rules and begin the Detection Integrity process.

Upload files as exported, without converting them. If you have several files, upload each one or combine them into a single `.zip` archive.

### **Step 1: Access the File Upload Interface**

1. Log into your Realm Console.
2. Navigate to **Settings > File Uploads** via the left-hand navigation menu.

![file uploading](../images/upload%20file%20screen.png)

### **Step 2: Upload Your Detection Rules**

1. Drag and drop your rules file into the upload zone, or click **Browse** to select it from your local machine.
2. Select **Detections** as your intended *Type* from the dropdown menu.
3. Select the **Destination** that your detections apply to.
4. Click **Submit**.

![file submit](../images/submit%20file.png)

## **What Happens Next?**

Once your file is successfully uploaded, Realm begins processing and translating your rules into the platform.

### **1. Translation Timeline & Reevaluation**

* **Initial Processing Window:** It takes **up to 48 hours** for your uploaded detections to be fully translated, parsed, and associated with your Sources in your Realm Console. This will be an automated process triggered by your file upload.
* **Requesting Reevaluations:** If you have made changes to rules or Sources in your fabric, you can request a reevaluation against your detections by contacting your Account Manager. Because the underlying detection upload remains the same, these reruns are significantly faster to evaluate.

### **2. Log Optimization & Detection Statuses**

Once processing is complete, you can review your Detection Integrity statuses and full report details directly within the product.

To view these insights:

1. Navigate to **Destinations** in the left-hand navigation menu.
2. **Select your Destination**.
3. Click on the **Log Optimization** tab.

![detection status](../images/detection%20integrity.png)

Within this view, every log optimization rule is assigned a **Detection Status** to help you understand how optimizations impact your security visibility. The three possible statuses are:

* **No Conflicts:** The optimization rule was evaluated and does not have a mapping conflict with any of the detection rules shared with Realm. It is safe to run without impacting detections.
* **Detection Safeguard:** These are specific exception rules created to ensure that critical data associated with one or multiple detections is reliably sent to the destination, even if that data matches a broader optimization rule.
* **Detection Conflict:** The optimization rule has been determined to potentially conflict with the performance of a detection rule. Rules with this status likely need to be modified or disabled to avoid creating blind spots in your SIEM.

### **3. Reviewing & Managing Rules**

Translated rules and newly generated safeguards require review before they permanently impact your data pipeline:

* **Reviewing Detection Safeguards:** Newly translated Detection Safeguard rules automatically enter a **Pending** workflow. By clicking on a pending safeguard rule, you can review additional deep-dive detection details and metadata to understand exactly which detections are being protected before you choose to activate it.

![safeguard](../images/safeguard.png)

* **Resolving Detection Conflicts:** If Realm flags an active optimization rule with a **Detection Conflict**, we strongly recommend immediately moving the rule into a **Pending** state. Placing the rule in a pending state pauses the optimization, giving your team time to edit the rule criteria and safely resolve the conflict without causing disruptions to your downstream detections.

![conflicts](../images/conflict.png)

### **Need Help?**

If you encounter any issues uploading your files, if your files exceed the 100MB limit, or if you need to request a rule reevaluation, please reach out to Realm Support or contact your dedicated Account Team.
