Resource

<code>resource</code>

<blockquote class="callout callout_warn">
    <h3>🚧 WARNING: DEPRECATED</h3>
    <p>Resource has been deprecated since 1.1.0. Deprecated in upgrade from ocsf-0.31.1 to qdm-1.1.0</p>
</blockquote>
The resource object describes a managed resource.

## Attributes

<table>
    <tr>
        <th>Caption</th>
        <th>Name</th>
        <th>Type</th>
        <th>Description</th>
    </tr>
    <tr id="attr-account_uid">
        <td>Account UID</td>
        <td><code>account_uid</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The unique identifier of the resource owning account(e.g. AWS Account ID).
        </td>
    </tr>
    <tr id="attr-cloud_partition">
        <td>Cloud Partition</td>
        <td><code>cloud_partition</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The canonical cloud partition name to which the region is assigned (e.g. AWS Partitions: aws, aws-cn, aws-us-gov).
        </td>
    </tr>
    <tr id="attr-criticality">
        <td>Criticality</td>
        <td><code>criticality</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The criticality of the resource.
        </td>
    </tr>
    <tr id="attr-details">
        <td>Details</td>
        <td><code>details</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The details pertaining to the resource.
        </td>
    </tr>
    <tr id="attr-group_name">
        <td>Group Name</td>
        <td><code>group_name</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The name of the group that the resource belongs to.
        
<blockquote class="callout callout_warn">
    <h3>🚧 WARNING: DEPRECATED</h3>
    <p>Group Name has been deprecated since 1.1.0. Use the <code>group.name</code> attribute instead.</p>
</blockquote>
        </td>
    </tr>
    <tr id="attr-labels">
        <td>Labels</td>
        <td><code>labels</code></td>
        <td>
            <a href="/docs/types#string_t">String[]</a>
        </td>
        <td>
        The list of labels attached to an event, object, or attribute.
        </td>
    </tr>
    <tr id="attr-name">
        <td>Name</td>
        <td><code>name</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The name of the resource.
        </td>
    </tr>
    <tr id="attr-owner">
        <td>Owner</td>
        <td><code>owner</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The identity of the service or user account that owns the resource
        </td>
    </tr>
    <tr id="attr-raw_data">
        <td>Raw Data</td>
        <td><code>raw_data</code></td>
        <td>
            <a href="/docs/types#json_t">JSON</a>
        </td>
        <td>
            <strong>Group:</strong><code>context</code><br/>
        The event data as received from the event source.
        </td>
    </tr>
    <tr id="attr-record_id">
        <td>Record ID</td>
        <td><code>record_id</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
            <strong>Group:</strong><code>primary</code><br/>
        Unique identifier for the object
        </td>
    </tr>
    <tr id="attr-region">
        <td>Region</td>
        <td><code>region</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The region of the resource.
        </td>
    </tr>
    <tr id="attr-type">
        <td>Type</td>
        <td><code>type</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The type of the resource.
        </td>
    </tr>
    <tr id="attr-uid">
        <td>Unique ID</td>
        <td><code>uid</code></td>
        <td>
            <a href="/docs/types#string_t">String</a>
        </td>
        <td>
        The unique identifier of the resource.
        </td>
    </tr>
</table>

## Relationships

<img src="https://schema.query.ai/images/obj-resource.svg" alt="Resource shown in context" />

### Inbound Relationships

These objects and events reference Resource in their attributes:

<ul>
    <li><a href="/docs/event-security_finding">Security Finding</a></li>
</ul>

<p><small><i>This page describes ocsf-1.4.0</i></small></p>