Repository navigation
Expand file tree
/
Copy pathpolicy.toml
More file actions
46 lines (41 loc) · 1.39 KB
/
Copy pathpolicy.toml
File metadata and controls
46 lines (41 loc) · 1.39 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
# Example jirakeep guard policy.
#
# Loaded only when named with --policy / JIRAKEEP_POLICY.
# Unknown keys are a startup error (strict TOML).
#
# Visibility: list public project keys under global.public_projects; never
# assume "no security level" means world-readable (see docs/DESIGN.md).
default_action = "allow"
[global]
min_issue_age_days = 0
allow_restricted_comments = false
read_only = false
disabled_tools = []
max_attachment_bytes = 2097152
# Project keys the operator asserts are publicly browsable.
public_projects = []
# Custom fields whose string values are issue keys — e.g. the classic /
# Data Center "Epic Link" field (instance-specific id). Declared fields are
# scrubbed like issuelinks/parent/subtasks (I14); undeclared custom fields
# are never scanned. Uncomment and adjust the id to use.
# link_custom_fields = ["customfield_10014"]
# Hide a security project entirely.
[[rule]]
name = "hide-sec-project"
description = "security project is invisible to the agent"
action = "deny"
[rule.match]
projects = ["SEC", "SECURITY"]
# Summaries only on internal projects (example — uncomment to use).
# [[rule]]
# name = "internal-summaries"
# action = "restrict"
# capabilities = ["summary", "comments"]
# [rule.match]
# projects = ["INTERNAL*"]
# Deny issues with embargo security levels.
[[rule]]
name = "hide-embargo-level"
action = "deny"
[rule.match]
security_levels = ["*Embargo*", "*Security*"]