Source: https://sprinto-test.docs-staging.pageloop.ai/data-library/infrastructure/dashboard-actions/classify-infrastructure-entities

# Classify Infrastructure Entities

### Introduction

Entity classification is essential for accurate compliance monitoring in Sprinto. By classifying each infrastructure entity as _Production_ or _Not Production_, Sprinto applies the correct set of compliance checks to ensure relevant controls are enforced.

Entities left **Unclassified** are excluded from monitoring until a classification is applied.

---

### Available Classification Types

| **Classification** | **Description**                                                          |
| ------------------ | ------------------------------------------------------------------------ |
| **Production**     | Entity processes or stores sensitive, confidential, or in-scope data.    |
| **Not Production** | Entity handles non-sensitive, test, or staging data.                     |
| **Unclassified**   | Default state for newly synced entities until classification is applied. |

---

### Classification Hierarchy

Sprinto supports multiple classification methods. If more than one is used, the following hierarchy applies:

1. **Manual Classification** (Highest priority)
2. **Tag-based Classification**
3. **Parent-based Classification**
4. **System-level Default Classification**

Manual overrides always take precedence.

---

### Classification Methods

#### 1. System-wide (Smart) Classification

Apply a default classification to all entities within a system.

**Steps**:

1. Go to **Data Library → Infrastructure → Infra systems**.
2. Click **Configure** on the relevant infrastructure system.
3. In the **Classification** section, choose a default:
   - Production
   - Not Production
4. Click **Save**.

Future entities synced from this system will inherit this default unless overridden.

---

#### 2. Manual Classification (Per Entity)

Manually assign classification to individual entities by evaluating their sensitivity.

**Steps**:

1. Click on an infrastructure system and go to the **Entities** tab.
2. Select the entity you want to classify.
3. Click **Classify**.
4. Choose **Manual override**, then answer the classification questionnaire:
   - Type of data processed
   - Data storage and sensitivity
   - Role of the instance (primary, backup, etc.)
5. Click **Save**.

The associated check status will update to **Passing** if criteria are met.

---

#### 3. Tag-Based Classification

Automatically classify entities using recognised tags.

**Supported Tags**:

| **Key**       | **Value**    | **Classification** |
| ------------- | ------------ | ------------------ |
| `sprinto`     | `prod`       | Production         |
| `sprinto`     | `notprod`    | Not Production     |
| `env`         | `production` | Production         |
| `env`         | `notprod`    | Not Production     |
| `environment` | `prod`       | Production         |
| `environment` | `staging`    | Not Production     |

Ensure these tags are set on the entity in your cloud platform prior to syncing.

---

#### 4. Parent-Based Classification

Entities with a parent-child relationship inherit classification from the parent.

**Steps**:

1. Navigate to the target child entity.
2. Click the edit icon in the **Classification** column.
3. Choose **Based on the parent entity**.
4. Save the configuration.

> [!INFO]
>
> You can still override parent-based classification using manual or tag-based methods.

---

### Best Practices

- Use **Smart Classification** during initial setup for faster configuration.
- Apply **Manual Classification** to high-risk or business-critical systems.
- Use **Tag-based Classification** for environments with consistent tagging policies.
- Rely on **Parent-based Classification** when managing nested resources (e.g., instances under a VPC).
