Skip to content
Developer Preview

ApprovalSuggestedPrefix

A suggested always-allow rule for a shell stage: commands starting with argvPrefix would run in this workspace without asking.

  • argvPrefix
  • label
Source

schema/msp/experimental/msp.schema.json#/types/ApprovalSuggestedPrefix

{
"description": "A suggested always-allow rule for a shell stage: commands starting with\n`argvPrefix` would run in this workspace without asking.",
"properties": {
"argvPrefix": {
"description": "The leading command words the rule would allow, for example `[\"cargo\",\n\"test\"]`.",
"items": {
"type": "string"
},
"type": "array"
},
"label": {
"description": "A human-readable label for the suggestion, ready to show as is.",
"type": "string"
}
},
"required": [
"argvPrefix",
"label"
],
"type": "object"
}