Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions schema/extension-yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,11 @@
"description": "The name or pattern of the resource to trigger on"
},
"eventFilters": {
"type": "string",
"description": "Filters that further limit the events to listen to."
"type": "array",
"description": "Filters that further limit the events to listen to.",
"items": {
"$ref": "#/definitions/eventFilter"
}
},
"channel": {
"type": "string",
Expand Down Expand Up @@ -327,6 +330,16 @@
"description": "A description of the event"
}
}
},
"eventFilter": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "The event attribute to filter on",
"value": "The value to filter for"
}
}
}
},
"properties": {
Expand Down
Loading