Skip to content
Developer Preview

ClientApprovalRule

Experimental

One client-supplied shell prefix allow-rule: argv tokens in the ShellPrefixSuggestion.argv_prefix shape. An object, not a bare array, so the element can grow additively later.

  • argvPrefix — Experimental
Source

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

{
"description": "One client-supplied shell prefix allow-rule:\nargv tokens in the `ShellPrefixSuggestion.argv_prefix` shape. An object,\nnot a bare array, so the element can grow additively later.",
"properties": {
"argvPrefix": {
"description": "The argv-token prefix. Must be non-empty with no empty token; banned\nprefixes refuse the carrying call.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"argvPrefix"
],
"type": "object",
"x-msp-descriptor": "session/setApprovalRules",
"x-msp-stability": "experimental"
}