Skip to content

Commit db94a57

Browse files
authored
chore(gatherer): Update runner context schema (#2563)
1 parent 7e7e77d commit db94a57

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

internal/schemavalidators/external_schemas/runnercontext/runner-context-response-0.1.schema.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,43 @@
103103
},
104104
"type": "array",
105105
"description": "Array of context variables"
106+
},
107+
"bypass_configuration": {
108+
"items": {
109+
"properties": {
110+
"actor_id": {
111+
"type": "integer",
112+
"description": "The ID of the actor allowed to bypass"
113+
},
114+
"actor_type": {
115+
"type": "string",
116+
"description": "The type of the actor allowed to bypass (e.g."
117+
},
118+
"bypass_mode": {
119+
"type": "string",
120+
"description": "The bypass mode (e.g."
121+
},
122+
"actor_name": {
123+
"type": "string",
124+
"description": "Human-readable name of the actor"
125+
},
126+
"actor_login": {
127+
"type": "string",
128+
"description": "Login or username of the actor (if applicable)"
129+
},
130+
"actor_metadata": {
131+
"additionalProperties": {
132+
"type": "string"
133+
},
134+
"type": "object",
135+
"description": "Provider-specific metadata about the actor"
136+
}
137+
},
138+
"additionalProperties": false,
139+
"type": "object"
140+
},
141+
"type": "array",
142+
"description": "Configuration for bypassing the rule"
106143
}
107144
},
108145
"additionalProperties": false,

0 commit comments

Comments
 (0)