> ## Documentation Index
> Fetch the complete documentation index at: https://docs.intellikon.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Governance

> Decide which patterns Prism may act on by itself, and check every decision it made.

Governance is where you decide what Prism may do on its own. Until a policy says otherwise, a pattern waits in the Feed for someone to deal with it. A dispatch policy picks out patterns by the action Prism would take, such as sending an email, and by the kind of pattern. It then lets Prism take that action straight away, or stops it acting at all. Governance also records every decision, so you can check what happened and why.

## Before you start

Tenant Owners and Workspace Admins can create policies and try them out. Workspace Members can see Governance but not change it.

## Choose what a policy covers

<Frame>
  <img src="https://mintcdn.com/intellikon-ai-ltd/wM16d87Um0QW2CyJ/images/prism/new-policy.png?fit=max&auto=format&n=wM16d87Um0QW2CyJ&q=85&s=1d263114a74f58947afa95106d5bc283" alt="The New dispatch policy window, with Name, Description, Action type, Priority, the pattern types, Min confidence, Effect, Confirmation and Create policy." width="932" height="1320" data-path="images/prism/new-policy.png" />
</Frame>

<Steps>
  <Step title="Start">
    Select **Governance**. On **Policies**, select **+ New policy**.
  </Step>

  <Step title="Name it">
    Give it a **Name** that says what it allows.
  </Step>

  <Step title="Describe it">
    Give it a **Description** for your team.
  </Step>

  <Step title="Choose the action">
    Under **Action type**, choose the action the policy covers.
  </Step>

  <Step title="Choose which patterns">
    Select the pattern types it applies to.
  </Step>

  <Step title="Set the priority">
    Enter a **Priority**. When more than one policy matches, the one with the higher number decides.
  </Step>
</Steps>

The form now shows the name, action, pattern types and priority you chose. Next, [set what the policy does](#set-what-a-policy-does).

## Set what a policy does

Carry on in the same form.

<Steps>
  <Step title="Let Prism act">
    To let Prism act by itself, tick **auto-dispatch when matched (otherwise: draft for review)**.
  </Step>

  <Step title="Stop it acting">
    To stop it acting instead, tick **block matching sources (overrides auto-dispatch)**.
  </Step>

  <Step title="Keep it enabled">
    Leave **enabled** ticked.
  </Step>

  <Step title="Confirm the name">
    Type the policy's name under **Confirmation**.
  </Step>

  <Step title="Create it">
    Select **Create policy**.
  </Step>
</Steps>

<Warning>With **auto-dispatch when matched** ticked, Prism acts without anyone checking first. For an email action, that means the email goes to your contact as soon as a matching pattern is found, and it cannot be recalled.</Warning>

The policy now shows under **Dispatch policies** and counts towards the number active. Next, [try it on past patterns](#try-a-policy-on-past-patterns).

## Try a policy on past patterns

<Frame>
  <img src="https://mintcdn.com/intellikon-ai-ltd/wM16d87Um0QW2CyJ/images/prism/simulation.png?fit=max&auto=format&n=wM16d87Um0QW2CyJ&q=85&s=baf87b7ceed54b5393e10dff3a5a86f3" alt="The Simulation tab of Governance, with the policy list, days back and Run simulation." width="1440" height="380" data-path="images/prism/simulation.png" />
</Frame>

<Steps>
  <Step title="Choose the policy">
    On **Simulation**, choose one of your policies.
  </Step>

  <Step title="Choose how far back">
    Choose how many **days back** to look.
  </Step>

  <Step title="Run it">
    Select **Run simulation**.
  </Step>
</Steps>

Prism shows how the policy would have decided on the patterns and alerts from that time. Nothing is sent or changed. Next, [check what Prism decided](#check-what-prism-decided).

## Check what Prism decided

Select **Audit Log**. Each time Prism checks a pattern or an alert against your policies, it is recorded here, including when no policy matched. Use **all decisions**, **all action types** and **all sources** to narrow the list. Tenant Owners and Workspace Admins can select **Export CSV** to download it.

Next, [look at the Feed](/products/prism/feed) to see what is still waiting.

## Troubleshooting

<Accordion title="Prism says the confirmation must match the policy name">
  Type the name exactly as it appears in **Name**, with the same capitals and spaces, then select **Create policy** again.
</Accordion>

<Accordion title="There is no + New policy button">
  Only Tenant Owners and Workspace Admins can create policies. Ask one of them.
</Accordion>
