Skip to content

Commit ab036f2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add more triggers for workflow automation (#2771)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d0cabb4 commit ab036f2

26 files changed

+1122
-51
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-03-24 14:58:29.224495",
8-
"spec_repo_commit": "764de5f0"
7+
"regenerated": "2025-03-25 18:26:16.433113",
8+
"spec_repo_commit": "b25d7c85"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-24 14:58:29.240267",
13-
"spec_repo_commit": "764de5f0"
12+
"regenerated": "2025-03-25 18:26:16.449884",
13+
"spec_repo_commit": "b25d7c85"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 62 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ components:
10951095
x-enum-varnames:
10961096
- API_KEYS
10971097
APITrigger:
1098-
description: Trigger a workflow VIA an API. The workflow must be published.
1098+
description: Trigger a workflow from an API request. The workflow must be published.
10991099
properties:
11001100
rateLimit:
11011101
$ref: '#/components/schemas/TriggerRateLimit'
@@ -2313,7 +2313,7 @@ components:
23132313
description: Schema for an App-based trigger.
23142314
properties:
23152315
appTrigger:
2316-
description: Trigger a workflow VIA an App.
2316+
description: Trigger a workflow from an App.
23172317
type: object
23182318
startStepNames:
23192319
$ref: '#/components/schemas/StartStepNames'
@@ -6525,7 +6525,7 @@ components:
65256525
- IN_PROGRESS
65266526
- CLOSED
65276527
CaseTrigger:
6528-
description: Trigger a workflow VIA a Case. For automatic triggering a handle
6528+
description: Trigger a workflow from a Case. For automatic triggering a handle
65296529
must be configured and the workflow must be published.
65306530
properties:
65316531
rateLimit:
@@ -6762,7 +6762,7 @@ components:
67626762
description: Schema for a Change Event-based trigger.
67636763
properties:
67646764
changeEventTrigger:
6765-
description: Trigger a workflow VIA a Change Event.
6765+
description: Trigger a workflow from a Change Event.
67666766
type: object
67676767
startStepNames:
67686768
$ref: '#/components/schemas/StartStepNames'
@@ -10589,7 +10589,7 @@ components:
1058910589
description: Schema for a Dashboard-based trigger.
1059010590
properties:
1059110591
dashboardTrigger:
10592-
description: Trigger a workflow VIA a Dashboard.
10592+
description: Trigger a workflow from a Dashboard.
1059310593
type: object
1059410594
startStepNames:
1059510595
$ref: '#/components/schemas/StartStepNames'
@@ -10813,6 +10813,17 @@ components:
1081310813
type: string
1081410814
x-enum-varnames:
1081510815
- DATATRANSFORM
10816+
DatabaseMonitoringTriggerWrapper:
10817+
description: Schema for a Database Monitoring-based trigger.
10818+
properties:
10819+
databaseMonitoringTrigger:
10820+
description: Trigger a workflow from Database Monitoring.
10821+
type: object
10822+
startStepNames:
10823+
$ref: '#/components/schemas/StartStepNames'
10824+
required:
10825+
- databaseMonitoringTrigger
10826+
type: object
1081610827
Date:
1081710828
description: Date as Unix timestamp in milliseconds.
1081810829
example: 1722439510282
@@ -14393,9 +14404,9 @@ components:
1439314404
example: https://github.com/organization/example-repository
1439414405
type: string
1439514406
GithubWebhookTrigger:
14396-
description: Trigger a workflow VIA GitHub webhook. To trigger a workflow from
14397-
GitHub, you must set a `webhookSecret`. In your GitHub Webhook Settings, set
14398-
the Payload URL to "base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id",
14407+
description: Trigger a workflow from a GitHub webhook. To trigger a workflow
14408+
from GitHub, you must set a `webhookSecret`. In your GitHub Webhook Settings,
14409+
set the Payload URL to "base_url"/api/v2/workflows/"workflow_id"/webhook?orgId="org_id",
1439914410
select application/json for the content type, and be highly recommend enabling
1440014411
SSL verification for security. The workflow must be published.
1440114412
properties:
@@ -16706,7 +16717,7 @@ components:
1670616717
x-enum-varnames:
1670716718
- INCIDENT_TODOS
1670816719
IncidentTrigger:
16709-
description: Trigger a workflow VIA an Incident. For automatic triggering a
16720+
description: Trigger a workflow from an Incident. For automatic triggering a
1671016721
handle must be configured and the workflow must be published.
1671116722
properties:
1671216723
rateLimit:
@@ -21179,7 +21190,7 @@ components:
2117921190
$ref: '#/components/schemas/MonitorDowntimeMatchResourceType'
2118021191
type: object
2118121192
MonitorTrigger:
21182-
description: Trigger a workflow VIA a Monitor. For automatic triggering a handle
21193+
description: Trigger a workflow from a Monitor. For automatic triggering a handle
2118321194
must be configured and the workflow must be published.
2118421195
properties:
2118521196
rateLimit:
@@ -21317,6 +21328,17 @@ components:
2131721328
meta:
2131821329
$ref: '#/components/schemas/MonthlyCostAttributionMeta'
2131921330
type: object
21331+
NotebookTriggerWrapper:
21332+
description: Schema for a Notebook-based trigger.
21333+
properties:
21334+
notebookTrigger:
21335+
description: Trigger a workflow from a Notebook.
21336+
type: object
21337+
startStepNames:
21338+
$ref: '#/components/schemas/StartStepNames'
21339+
required:
21340+
- notebookTrigger
21341+
type: object
2132021342
NotificationRule:
2132121343
description: 'Notification rules allow full control over notifications generated
2132221344
by the various Datadog security products.
@@ -26139,7 +26161,7 @@ components:
2613926161
$ref: '#/components/schemas/ScalarFormulaResponseType'
2614026162
type: object
2614126163
ScheduleTrigger:
26142-
description: Trigger a workflow VIA a Schedule. The workflow must be published.
26164+
description: Trigger a workflow from a Schedule. The workflow must be published.
2614326165
properties:
2614426166
rruleExpression:
2614526167
description: Recurrence rule expression for scheduling.
@@ -28436,7 +28458,7 @@ components:
2843628458
type: string
2843728459
type: object
2843828460
SecurityTrigger:
28439-
description: Trigger a workflow VIA a Security Signal or Finding. For automatic
28461+
description: Trigger a workflow from a Security Signal or Finding. For automatic
2844028462
triggering a handle must be configured and the workflow must be published.
2844128463
properties:
2844228464
rateLimit:
@@ -28475,6 +28497,17 @@ components:
2847528497
required:
2847628498
- trigger_source
2847728499
type: object
28500+
SelfServiceTriggerWrapper:
28501+
description: Schema for a Self Service-based trigger.
28502+
properties:
28503+
selfServiceTrigger:
28504+
description: Trigger a workflow from Self Service.
28505+
type: object
28506+
startStepNames:
28507+
$ref: '#/components/schemas/StartStepNames'
28508+
required:
28509+
- selfServiceTrigger
28510+
type: object
2847828511
SensitiveDataScannerConfigRequest:
2847928512
description: Group reorder request.
2848028513
properties:
@@ -30195,7 +30228,7 @@ components:
3019530228
description: Schema for a Slack-based trigger.
3019630229
properties:
3019730230
slackTrigger:
30198-
description: Trigger a workflow VIA Slack. The workflow must be published.
30231+
description: Trigger a workflow from Slack. The workflow must be published.
3019930232
type: object
3020030233
startStepNames:
3020130234
$ref: '#/components/schemas/StartStepNames'
@@ -30249,6 +30282,17 @@ components:
3024930282
required:
3025030283
- attributes
3025130284
type: object
30285+
SoftwareCatalogTriggerWrapper:
30286+
description: Schema for a Software Catalog-based trigger.
30287+
properties:
30288+
softwareCatalogTrigger:
30289+
description: Trigger a workflow from Software Catalog.
30290+
type: object
30291+
startStepNames:
30292+
$ref: '#/components/schemas/StartStepNames'
30293+
required:
30294+
- softwareCatalogTrigger
30295+
type: object
3025230296
SortDirection:
3025330297
default: desc
3025430298
description: The direction to sort by.
@@ -32108,13 +32152,17 @@ components:
3210832152
- $ref: '#/components/schemas/AppTriggerWrapper'
3210932153
- $ref: '#/components/schemas/CaseTriggerWrapper'
3211032154
- $ref: '#/components/schemas/ChangeEventTriggerWrapper'
32155+
- $ref: '#/components/schemas/DatabaseMonitoringTriggerWrapper'
3211132156
- $ref: '#/components/schemas/DashboardTriggerWrapper'
3211232157
- $ref: '#/components/schemas/GithubWebhookTriggerWrapper'
3211332158
- $ref: '#/components/schemas/IncidentTriggerWrapper'
3211432159
- $ref: '#/components/schemas/MonitorTriggerWrapper'
32160+
- $ref: '#/components/schemas/NotebookTriggerWrapper'
3211532161
- $ref: '#/components/schemas/ScheduleTriggerWrapper'
3211632162
- $ref: '#/components/schemas/SecurityTriggerWrapper'
32163+
- $ref: '#/components/schemas/SelfServiceTriggerWrapper'
3211732164
- $ref: '#/components/schemas/SlackTriggerWrapper'
32165+
- $ref: '#/components/schemas/SoftwareCatalogTriggerWrapper'
3211832166
- $ref: '#/components/schemas/WorkflowTriggerWrapper'
3211932167
TriggerRateLimit:
3212032168
description: Defines a rate limit for a trigger.
@@ -33743,7 +33791,7 @@ components:
3374333791
startStepNames:
3374433792
$ref: '#/components/schemas/StartStepNames'
3374533793
workflowTrigger:
33746-
description: Trigger a workflow VIA the Datadog UI. Only required if no
33794+
description: Trigger a workflow from the Datadog UI. Only required if no
3374733795
other trigger exists.
3374833796
type: object
3374933797
required:

src/main/java/com/datadog/api/client/v2/model/APITrigger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** Trigger a workflow VIA an API. The workflow must be published. */
19+
/** Trigger a workflow from an API request. The workflow must be published. */
2020
@JsonPropertyOrder({APITrigger.JSON_PROPERTY_RATE_LIMIT})
2121
@jakarta.annotation.Generated(
2222
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")

src/main/java/com/datadog/api/client/v2/model/APITriggerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public APITriggerWrapper apiTrigger(APITrigger apiTrigger) {
5050
}
5151

5252
/**
53-
* Trigger a workflow VIA an API. The workflow must be published.
53+
* Trigger a workflow from an API request. The workflow must be published.
5454
*
5555
* @return apiTrigger
5656
*/

src/main/java/com/datadog/api/client/v2/model/AppTriggerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public AppTriggerWrapper appTrigger(Object appTrigger) {
4848
}
4949

5050
/**
51-
* Trigger a workflow VIA an App.
51+
* Trigger a workflow from an App.
5252
*
5353
* @return appTrigger
5454
*/

src/main/java/com/datadog/api/client/v2/model/CaseTrigger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import java.util.Objects;
1818

1919
/**
20-
* Trigger a workflow VIA a Case. For automatic triggering a handle must be configured and the
20+
* Trigger a workflow from a Case. For automatic triggering a handle must be configured and the
2121
* workflow must be published.
2222
*/
2323
@JsonPropertyOrder({CaseTrigger.JSON_PROPERTY_RATE_LIMIT})

src/main/java/com/datadog/api/client/v2/model/CaseTriggerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public CaseTriggerWrapper caseTrigger(CaseTrigger caseTrigger) {
5050
}
5151

5252
/**
53-
* Trigger a workflow VIA a Case. For automatic triggering a handle must be configured and the
53+
* Trigger a workflow from a Case. For automatic triggering a handle must be configured and the
5454
* workflow must be published.
5555
*
5656
* @return caseTrigger

src/main/java/com/datadog/api/client/v2/model/ChangeEventTriggerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ChangeEventTriggerWrapper changeEventTrigger(Object changeEventTrigger) {
4949
}
5050

5151
/**
52-
* Trigger a workflow VIA a Change Event.
52+
* Trigger a workflow from a Change Event.
5353
*
5454
* @return changeEventTrigger
5555
*/

src/main/java/com/datadog/api/client/v2/model/DashboardTriggerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public DashboardTriggerWrapper dashboardTrigger(Object dashboardTrigger) {
4949
}
5050

5151
/**
52-
* Trigger a workflow VIA a Dashboard.
52+
* Trigger a workflow from a Dashboard.
5353
*
5454
* @return dashboardTrigger
5555
*/

0 commit comments

Comments
 (0)