> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/documentation/use-octoxlabs/policies-and-profiles.md).

# Policies and profiles

Score your devices by defining which devices to assess (asset profiles) and what to check on them (security policies).

OctoXLabs calculates a **security score** for your devices from two things you define. An **asset profile** selects a group of devices with a query, for example "Windows servers". A **security policy** lists the conditions that should not be true for a device, for example "no EDR agent installed", each with a percentage that lowers the score. You assign policies to profiles, and the score is recalculated at the end of every discovery.

Open **Device Profiling** in the left menu to work with both. Start with the policies that describe the checks you care about, then create a profile for each kind of device and assign the policies to it. A new installation includes a set of example profiles and policies, all switched off.

{% hint style="info" %}
Do not confuse a security policy with the **Policy Inventory**, which lists firewall-style rules that adapters collect. See Policy Inventory.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Asset Profiles</strong></td><td>Group devices with a query and assign policies to the group.</td><td></td></tr><tr><td><strong>Security Policies</strong></td><td>Define the checks and how much each one lowers the score.</td><td></td></tr></tbody></table>

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Create and Save Queries</strong></td><td>Profiles and policies are built from queries.</td><td></td></tr><tr><td><strong>Discovery and Aggregation</strong></td><td>See when the score is calculated.</td><td></td></tr><tr><td><strong>Chart and Widget Reference</strong></td><td>Show the score on a dashboard.</td><td></td></tr></tbody></table>
