Policies
Understand how policies match assets, what approve, flag and watch do, and how Octic combines them into a trust state.
A policy is a rule that matches assets by their source, type and attributes, and decides what happens to every asset it matches. This page explains what a policy is made of and how Octic turns many policies into one trust state per asset. To see the policies Octic ships, read Policy packs.
| Part | What it does |
|---|---|
| Scope | The integration, service and resource types the policy looks at, such as AWS, s3, S3 buckets. |
| Match conditions | Checks on the asset's attributes. Every ALL condition must hold, and when there are ANY conditions, at least one of them must hold too. A policy with no conditions matches every asset in its scope. |
| Action | What happens to a match: approve, flag or watch. |
| Evidence | What a match reports to the risk engine: a risk factor, a severity and a confidence. Policies that only approve report nothing. |
| Priority | The order Octic checks policies in. It never lets an approval outrank a flag. |
| Action | Shown as | What a match does |
|---|---|---|
| Approve | Approves | The asset is approved: a trusted path through your estate. |
| Flag | Flags | The asset is flagged as a violation, and Octic opens a finding for it. |
| Watch | Watches | Octic records the match as risk evidence. The trust state doesn't change and no finding opens. |
Some flag policies are marked critical. A match on one of them sets a floor under the asset's risk score, however little other evidence there is. See Risk scores.
Octic evaluates each asset against every policy that is switched on for its integration:
- If any policy flags the asset, it's Flagged, however many policies approve it.
- Otherwise, if a policy approves it, it's Approved.
- Otherwise it's Unreviewed. Assets from an integration no policy pack covers stay Unreviewed.
Watch policies never take part in this decision. Each flag opens one finding per asset and policy; see Findings.
- Managed policies come in policy packs, one pack per platform. Octic writes and updates them. You can switch a pack or a single policy off, but you can't edit one.
- Custom policies are yours. You build them in the app, they approve or flag, and they run beside the packs with the same standing. See Create a custom policy.
Octic re-evaluates your estate, from data it already has:
- after each integration sync and each sensor inventory
- when you change a trust list, switch a policy on or off, or publish, edit or delete a custom policy
- when an exception is approved or revoked
- when someone selects Re-evaluate trust and ownership on an asset
- once a day, if nothing else has run in the last 24 hours
After a change, a message offers View activity so you can follow the run in Activity.
Open Policies under Trust in the sidebar. It has three views:
- Explore: the managed packs, and your custom policies on the Custom tab. See Policy packs.
- Manage: every policy in one table. See Manage policies.
- Create: the custom policy builder. See Create a custom policy.
Everyone in the workspace can browse policies. Admins and the workspace owner can switch them on and off and publish custom policies.
Last updated
Was this page helpful?