diff --git a/policies.mdx b/policies.mdx index 0fc3d32..b82b2e3 100644 --- a/policies.mdx +++ b/policies.mdx @@ -235,6 +235,14 @@ Examples of sub-folder specific policies can be found in sub-folders like: These configurations help identify vulnerabilities by considering the context of each folder's responsibilities. This is particularly useful for monorepos, allowing developers to configure the right context. +### Prework-generated policies + +When prework is enabled for your company, Corgea can generate policies from your project context before the main scan completes. + +- Generated policies appear in the **Policies** table with `Source` set to **Generated By Corgea Prework**. +- In scan details, the **Policies** tab shows active policies applied to that specific scan, including policy version. +- If **Policy Review** is enabled from **Policies > Settings**, generated policies are created as **Inactive** so your team can review and activate them manually. + ### Workflow for Updating corgea.yaml @@ -379,4 +387,4 @@ Once you trigger a scan on a branch with central yaml, - \ No newline at end of file +