-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
66 lines (55 loc) · 1.91 KB
/
config.yaml.example
File metadata and controls
66 lines (55 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Cortex Code Skill Configuration
# Copy to ~/.claude/skills/cortex-code/config.yaml
# Docs: SECURITY.md | README.md
security:
# prompt = approval before execution (default, most secure)
# auto = auto-approve with mandatory audit logging (v1.x compat)
# envelope_only = auto-approve, no tool prediction (fastest)
approval_mode: "prompt"
# Minimum confidence for tool prediction (prompt mode)
tool_prediction_confidence_threshold: 0.7
# Audit logging (mandatory for auto/envelope_only)
audit_log_path: "~/.claude/skills/cortex-code/audit.log"
audit_log_rotation: "10MB"
audit_log_retention: 30 # days
# PII removal + injection detection
sanitize_conversation_history: true
# Secure cache (SHA256 validated)
cache_dir: "~/.cache/cortex-skill"
cache_ttl: 86400 # 24 hours
# Block routing when prompts reference these credential paths
credential_file_allowlist:
- "~/.ssh/**"
- "~/.aws/credentials"
- "~/.aws/config"
- "~/.snowflake/**"
- "**/.env"
- "**/.env.*"
- "**/credentials.json"
- "**/secrets.json"
- "**/*.pem"
- "**/*.key"
- "**/.npmrc"
- "**/.pypirc"
# Which envelopes are allowed (RO, RW, RESEARCH)
# Note: DEPLOY grants full access — only enable if you understand the blast radius.
allowed_envelopes:
- "RO"
- "RW"
- "RESEARCH"
# - "DEPLOY" # Uncomment to enable full-access mode
# --- Deployment Profiles (uncomment one) ---
# Team: restrict envelopes, longer retention
# security:
# approval_mode: "prompt"
# audit_log_retention: 90
# allowed_envelopes: ["RO", "RW"]
# Enterprise: org policy at ~/.snowflake/cortex/claude-skill-policy.yaml
# security:
# approval_mode: "prompt"
# tool_prediction_confidence_threshold: 0.8
# audit_log_retention: 365
# allowed_envelopes: ["RO"]
# Env var overrides:
# CORTEX_SKILL_CONFIG - override config path
# CORTEX_SKILL_ORG_POLICY - override org policy path