Automated commit 'Merge pull request #1344 from sailpoint/devrel/fix-workflow-schemas

Update WorkflowTrigger.yaml' by github action: 5578921339
This commit is contained in:
GitHub Action Bot
2023-07-17 17:51:29 +00:00
parent cb76a31339
commit 5d30fa20ea
2 changed files with 10 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
type: object
description: The trigger that starts the workflow
required:
- type
- attributes
- type
- attributes
properties:
type:
type: string
enum:
- EVENT
- EXTERNAL
@@ -12,8 +13,9 @@ properties:
example: EVENT
description: The trigger type
attributes:
type: object
description: Workflow Trigger Attributes.
oneOf:
- $ref: './workflows/trigger-attributes/EventAttributes.yaml'
# - $ref: './workflows/trigger-attributes/ExternalAttributes.yaml'
- $ref: './workflows/trigger-attributes/ScheduledAttributes.yaml'
anyOf:
- $ref: "./workflows/trigger-attributes/EventAttributes.yaml"
- $ref: "./workflows/trigger-attributes/ExternalAttributes.yaml"
- $ref: "./workflows/trigger-attributes/ScheduledAttributes.yaml"

View File

@@ -7,7 +7,7 @@ properties:
type: string
description: The unique ID of the trigger
example: "idn:identity-attributes-changed"
filter:
filter.$:
type: string
description: JSON path expression that will limit which events the trigger will fire on
example: "$.changes[?(@.attribute == 'manager')]"
example: "$.changes[?(@.attribute == 'manager')]"