# Policy

## Description

> A Policy represents a single access control policy, expressed through a set of Rules.
> 
> - Policy Combining Algorithm
> - Target
> - Variables
> - Rules
> - Obligations

## Screen overview

[![image-1628241334202.png](https://bookstack.soffid.com/uploads/images/gallery/2021-08/scaled-1680-/image-1628241334202.png)](https://bookstack.soffid.com/uploads/images/gallery/2021-08/image-1628241334202.png)

## Related objects

- [**Policy set**](https://bookstack.soffid.com/books/xacml/page/policy-set "Policy set")
- **[Target](https://bookstack.soffid.com/books/xacml/page/target "Target")**
- **[Variables](https://bookstack.soffid.com/books/xacml/page/variables "Variables")**
- **[Rules](https://bookstack.soffid.com/books/xacml/page/rules "Rules")**
- **[Obligations](https://bookstack.soffid.com/books/xacml/page/obligations "Obligations")**

## Standard attributes

### Policy set

- **Identifier**: identify the policy.
- **Version**: version of the policy.
- **Description**: brief description of the policy.
- **Policy Combining Algorithm:** determines how the different rules will be applied. You can visit the [XACML Rule combining algorithm page](https://bookstack.soffid.com/books/xacml/page/xacml-rule-combining-algorithm "XACML Rule combining algorithm") for more information.

### Target

The policy result will be MATCHES if it all the target elements defined match.

- [Subjects](https://bookstack.soffid.com/link/317#bkmrk-subjects)
- [Resources](https://bookstack.soffid.com/link/317#bkmrk-resources)
- [Actions](https://bookstack.soffid.com/link/317#bkmrk-actions)
- [Environments](https://bookstack.soffid.com/Environments)

### Variables

- [Variables](https://bookstack.soffid.com/books/xacml/page/variables "Variables")

### Rules

- [Rules](https://bookstack.soffid.com/books/xacml/page/rules "Rules")

### Obligations

- [Obligations](https://bookstack.soffid.com/books/xacml/page/obligations "Obligations")

## Actions

<table border="1" id="bkmrk-apply-changes-allow-" style="height: 254px;"><tbody><tr style="height: 57px;"><td style="width: 140px; height: 57px;">**Apply changes**

</td><td style="width: 669px; height: 57px;">Allows you to save the data of a new policy or to update the data of a specific policy. To save the data it will be mandatory to fill in the required fields

</td></tr><tr style="height: 35px;"><td style="width: 140px; height: 35px;">**Undo**

</td><td style="width: 669px; height: 35px;">Allows you to quit without applying any changes.

</td></tr><tr style="height: 57px;"><td style="width: 140px; height: 57px;">**Delete**

</td><td style="width: 669px; height: 57px;">Allows you to delete a policy. You can choose that option on the trash icon.To perform that action, Soffid will ask you for confirmation, you could confirm or cancel the operation.

</td></tr><tr style="height: 35px;"><td style="width: 140px; height: 35px;">**Export**

</td><td style="width: 669px; height: 35px;">Allows you to export a XML file that contain the policy.

</td></tr><tr style="height: 35px;"><td style="width: 140px; height: 35px;">**Add new version**

</td><td style="width: 669px; height: 35px;">Allows you to add a new versión of the policy.

</td></tr></tbody></table>

---

[*https://www.oasis-open.org/committees/download.php/2713/Brief\_Introduction\_to\_XACML.html*](https://www.oasis-open.org/committees/download.php/2713/Brief_Introduction_to_XACML.html)