32 lines
905 B
YAML
32 lines
905 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "Policy",
|
|
"metadata": {
|
|
"name": "042 Stitch Governed Design Writes",
|
|
"slug": "042-stitch-governed-design-writes"
|
|
},
|
|
"spec": {
|
|
"priority": 42,
|
|
"description": "Allow only bounded Stitch design creation and screen changes for the bound production Stitch project; deletion and administration remain denied.",
|
|
"match": {
|
|
"project": "stitch-design",
|
|
"environmentClassifications": ["production"],
|
|
"connectors": ["stitch"],
|
|
"riskClasses": ["R2"],
|
|
"toolPatterns": [
|
|
"stitch.project.create",
|
|
"stitch.screen.edit",
|
|
"stitch.screen.generate",
|
|
"stitch.screen.variants"
|
|
]
|
|
},
|
|
"conditions": {
|
|
"requireEnabledClient": true,
|
|
"requireBinding": true,
|
|
"maxArgumentBytes": 65536
|
|
},
|
|
"decision": "allow_if_conditions",
|
|
"terminal": true
|
|
}
|
|
}
|