Skip to content

Commit 51d9c02

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add more triggers for workflow automation (#2114)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a60a1ba commit 51d9c02

28 files changed

+353
-37
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:36.276381",
8-
"spec_repo_commit": "764de5f0"
7+
"regenerated": "2025-03-25 18:26:27.159461",
8+
"spec_repo_commit": "b25d7c85"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-24 14:58:36.293243",
13-
"spec_repo_commit": "764de5f0"
12+
"regenerated": "2025-03-25 18:26:27.176491",
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:

packages/datadog-api-client-v2/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,7 @@ export { DashboardListUpdateItemsRequest } from "./models/DashboardListUpdateIte
12611261
export { DashboardListUpdateItemsResponse } from "./models/DashboardListUpdateItemsResponse";
12621262
export { DashboardTriggerWrapper } from "./models/DashboardTriggerWrapper";
12631263
export { DashboardType } from "./models/DashboardType";
1264+
export { DatabaseMonitoringTriggerWrapper } from "./models/DatabaseMonitoringTriggerWrapper";
12641265
export { DataDeletionResponseItem } from "./models/DataDeletionResponseItem";
12651266
export { DataDeletionResponseItemAttributes } from "./models/DataDeletionResponseItemAttributes";
12661267
export { DataDeletionResponseMeta } from "./models/DataDeletionResponseMeta";
@@ -1968,6 +1969,7 @@ export { MonthlyCostAttributionPagination } from "./models/MonthlyCostAttributio
19681969
export { MonthlyCostAttributionResponse } from "./models/MonthlyCostAttributionResponse";
19691970
export { MSTeamsIntegrationMetadata } from "./models/MSTeamsIntegrationMetadata";
19701971
export { MSTeamsIntegrationMetadataTeamsItem } from "./models/MSTeamsIntegrationMetadataTeamsItem";
1972+
export { NotebookTriggerWrapper } from "./models/NotebookTriggerWrapper";
19711973
export { NotificationRule } from "./models/NotificationRule";
19721974
export { NotificationRuleAttributes } from "./models/NotificationRuleAttributes";
19731975
export { NotificationRuleResponse } from "./models/NotificationRuleResponse";
@@ -2417,6 +2419,7 @@ export { SecurityMonitoringUser } from "./models/SecurityMonitoringUser";
24172419
export { SecurityTrigger } from "./models/SecurityTrigger";
24182420
export { SecurityTriggerWrapper } from "./models/SecurityTriggerWrapper";
24192421
export { Selectors } from "./models/Selectors";
2422+
export { SelfServiceTriggerWrapper } from "./models/SelfServiceTriggerWrapper";
24202423
export { SensitiveDataScannerConfigRequest } from "./models/SensitiveDataScannerConfigRequest";
24212424
export { SensitiveDataScannerConfiguration } from "./models/SensitiveDataScannerConfiguration";
24222425
export { SensitiveDataScannerConfigurationData } from "./models/SensitiveDataScannerConfigurationData";
@@ -2547,6 +2550,7 @@ export { SLOReportStatus } from "./models/SLOReportStatus";
25472550
export { SLOReportStatusGetResponse } from "./models/SLOReportStatusGetResponse";
25482551
export { SLOReportStatusGetResponseAttributes } from "./models/SLOReportStatusGetResponseAttributes";
25492552
export { SLOReportStatusGetResponseData } from "./models/SLOReportStatusGetResponseData";
2553+
export { SoftwareCatalogTriggerWrapper } from "./models/SoftwareCatalogTriggerWrapper";
25502554
export { SortDirection } from "./models/SortDirection";
25512555
export { Span } from "./models/Span";
25522556
export { SpansAggregateBucket } from "./models/SpansAggregateBucket";

packages/datadog-api-client-v2/models/APITrigger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { TriggerRateLimit } from "./TriggerRateLimit";
88
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
99

1010
/**
11-
* Trigger a workflow VIA an API. The workflow must be published.
11+
* Trigger a workflow from an API request. The workflow must be published.
1212
*/
1313
export class APITrigger {
1414
/**

packages/datadog-api-client-v2/models/APITriggerWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
*/
1313
export class APITriggerWrapper {
1414
/**
15-
* Trigger a workflow VIA an API. The workflow must be published.
15+
* Trigger a workflow from an API request. The workflow must be published.
1616
*/
1717
"apiTrigger": APITrigger;
1818
/**

packages/datadog-api-client-v2/models/AppTriggerWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class AppTriggerWrapper {
1313
/**
14-
* Trigger a workflow VIA an App.
14+
* Trigger a workflow from an App.
1515
*/
1616
"appTrigger": any;
1717
/**

packages/datadog-api-client-v2/models/CaseTrigger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { TriggerRateLimit } from "./TriggerRateLimit";
88
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
99

1010
/**
11-
* Trigger a workflow VIA a Case. For automatic triggering a handle must be configured and the workflow must be published.
11+
* Trigger a workflow from a Case. For automatic triggering a handle must be configured and the workflow must be published.
1212
*/
1313
export class CaseTrigger {
1414
/**

packages/datadog-api-client-v2/models/CaseTriggerWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1212
*/
1313
export class CaseTriggerWrapper {
1414
/**
15-
* Trigger a workflow VIA a Case. For automatic triggering a handle must be configured and the workflow must be published.
15+
* Trigger a workflow from a Case. For automatic triggering a handle must be configured and the workflow must be published.
1616
*/
1717
"caseTrigger": CaseTrigger;
1818
/**

packages/datadog-api-client-v2/models/ChangeEventTriggerWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class ChangeEventTriggerWrapper {
1313
/**
14-
* Trigger a workflow VIA a Change Event.
14+
* Trigger a workflow from a Change Event.
1515
*/
1616
"changeEventTrigger": any;
1717
/**

packages/datadog-api-client-v2/models/DashboardTriggerWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1111
*/
1212
export class DashboardTriggerWrapper {
1313
/**
14-
* Trigger a workflow VIA a Dashboard.
14+
* Trigger a workflow from a Dashboard.
1515
*/
1616
"dashboardTrigger": any;
1717
/**

0 commit comments

Comments
 (0)