Policy Store
Steps To Create and Use a Policy
For GitHub-Hosted Runners
Step 1: Navigate to the Policy Store

Step 2: Create a Policy

Step 3: Import Endpoints (Optional)

Step 4: Select a baseline source

Step 5: Click Import Endpoints

Step 6: Save the Policy

Step 7: Apply the Policy in Your Workflow
Step 8: Verify the Integration
For GitHub-Hosted Custom VMs and Self-Hosted Runners
Pre-Job Hook Setup

Step 1: Navigate to the Policy Store

Step 2: Create a Policy

Step 3: Import Endpoints (Optional)

Step 4: Select a baseline source

Step 5: Click Import Endpoints

Step 6: Save the Policy

Step 5: Attach the Policy

Step 6: Choose whether to attach it to a Cluster, Organization, Repository, or Workflow.

Step 7: Click "Attach Policy"

Example: Policy Enforcement



Alternative way of Creating Policies






Lockdown Mode
How Lockdown Mode Works
Configuring Lockdown Mode
Supported Detection Types
Detection
Description
Exempting Workflows from Lockdown Mode
Last updated
Was this helpful?