@pulumi/datadog 4.61.0-alpha.1764800788 → 4.61.0-alpha.1764888314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionConnection.d.ts +65 -0
- package/actionConnection.js +65 -0
- package/actionConnection.js.map +1 -1
- package/apmRetentionFilter.d.ts +16 -0
- package/apmRetentionFilter.js +16 -0
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.d.ts +18 -0
- package/apmRetentionFilterOrder.js +18 -0
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appsecWafCustomRule.d.ts +58 -0
- package/appsecWafCustomRule.js +58 -0
- package/appsecWafCustomRule.js.map +1 -1
- package/awsCurConfig.d.ts +21 -0
- package/awsCurConfig.js +21 -0
- package/awsCurConfig.js.map +1 -1
- package/azureUcConfig.d.ts +24 -0
- package/azureUcConfig.js +24 -0
- package/azureUcConfig.js.map +1 -1
- package/csmThreatsAgentRule.d.ts +23 -0
- package/csmThreatsAgentRule.js +23 -0
- package/csmThreatsAgentRule.js.map +1 -1
- package/customAllocationRule.d.ts +27 -0
- package/customAllocationRule.js +27 -0
- package/customAllocationRule.js.map +1 -1
- package/customAllocationRules.d.ts +69 -0
- package/customAllocationRules.js +69 -0
- package/customAllocationRules.js.map +1 -1
- package/downtimeSchedule.d.ts +35 -0
- package/downtimeSchedule.js +35 -0
- package/downtimeSchedule.js.map +1 -1
- package/monitorNotificationRule.d.ts +17 -0
- package/monitorNotificationRule.js +17 -0
- package/monitorNotificationRule.js.map +1 -1
- package/observabilityPipeline.d.ts +66 -0
- package/observabilityPipeline.js +66 -0
- package/observabilityPipeline.js.map +1 -1
- package/onCallSchedule.d.ts +28 -0
- package/onCallSchedule.js +28 -0
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.d.ts +33 -0
- package/onCallTeamRoutingRules.js +33 -0
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.d.ts +13 -0
- package/openapiApi.js +13 -0
- package/openapiApi.js.map +1 -1
- package/package.json +2 -2
- package/rumMetric.d.ts +26 -0
- package/rumMetric.js +26 -0
- package/rumMetric.js.map +1 -1
- package/rumRetentionFiltersOrder.d.ts +45 -0
- package/rumRetentionFiltersOrder.js +45 -0
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringRuleJson.d.ts +45 -0
- package/securityMonitoringRuleJson.js +45 -0
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityNotificationRule.d.ts +35 -0
- package/securityNotificationRule.js +35 -0
- package/securityNotificationRule.js.map +1 -1
- package/spansMetric.d.ts +22 -0
- package/spansMetric.js +22 -0
- package/spansMetric.js.map +1 -1
- package/tagPipelineRuleset.d.ts +58 -0
- package/tagPipelineRuleset.js +58 -0
- package/tagPipelineRuleset.js.map +1 -1
- package/tagPipelineRulesets.d.ts +167 -0
- package/tagPipelineRulesets.js +167 -0
- package/tagPipelineRulesets.js.map +1 -1
package/actionConnection.d.ts
CHANGED
|
@@ -6,6 +6,71 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const awsConnection = new datadog.ActionConnection("aws_connection", {
|
|
14
|
+
* name: "My AWS Connection",
|
|
15
|
+
* aws: [{
|
|
16
|
+
* assumeRole: [{
|
|
17
|
+
* accountId: "123456789012",
|
|
18
|
+
* role: "role2",
|
|
19
|
+
* }],
|
|
20
|
+
* }],
|
|
21
|
+
* });
|
|
22
|
+
* const config = new pulumi.Config();
|
|
23
|
+
* const token1 = config.require("token1");
|
|
24
|
+
* const token2 = config.require("token2");
|
|
25
|
+
* const httpConnection = new datadog.ActionConnection("http_connection", {
|
|
26
|
+
* name: "My HTTP connection with token auth",
|
|
27
|
+
* http: [{
|
|
28
|
+
* baseUrl: "https://catfact.ninja",
|
|
29
|
+
* tokenAuth: [{
|
|
30
|
+
* tokens: [
|
|
31
|
+
* {
|
|
32
|
+
* type: "SECRET",
|
|
33
|
+
* name: "token1",
|
|
34
|
+
* value: token1,
|
|
35
|
+
* },
|
|
36
|
+
* {
|
|
37
|
+
* type: "SECRET",
|
|
38
|
+
* name: "token2",
|
|
39
|
+
* value: token2,
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* headers: [
|
|
43
|
+
* {
|
|
44
|
+
* name: "header-one",
|
|
45
|
+
* value: "headerval",
|
|
46
|
+
* },
|
|
47
|
+
* {
|
|
48
|
+
* name: "h2",
|
|
49
|
+
* value: "{{ token1 }} test",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* urlParameters: [
|
|
53
|
+
* {
|
|
54
|
+
* name: "param1",
|
|
55
|
+
* value: "{{ token1 }}",
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* name: "param2",
|
|
59
|
+
* value: "paramVal2",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* body: [{
|
|
63
|
+
* contentType: "application/json",
|
|
64
|
+
* content: JSON.stringify({
|
|
65
|
+
* key: "mykey",
|
|
66
|
+
* value: "maybe with a secret: {{ token2 }}",
|
|
67
|
+
* }),
|
|
68
|
+
* }],
|
|
69
|
+
* }],
|
|
70
|
+
* }],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
9
74
|
* ## Import
|
|
10
75
|
*
|
|
11
76
|
* The `pulumi import` command can be used, for example:
|
package/actionConnection.js
CHANGED
|
@@ -10,6 +10,71 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const awsConnection = new datadog.ActionConnection("aws_connection", {
|
|
18
|
+
* name: "My AWS Connection",
|
|
19
|
+
* aws: [{
|
|
20
|
+
* assumeRole: [{
|
|
21
|
+
* accountId: "123456789012",
|
|
22
|
+
* role: "role2",
|
|
23
|
+
* }],
|
|
24
|
+
* }],
|
|
25
|
+
* });
|
|
26
|
+
* const config = new pulumi.Config();
|
|
27
|
+
* const token1 = config.require("token1");
|
|
28
|
+
* const token2 = config.require("token2");
|
|
29
|
+
* const httpConnection = new datadog.ActionConnection("http_connection", {
|
|
30
|
+
* name: "My HTTP connection with token auth",
|
|
31
|
+
* http: [{
|
|
32
|
+
* baseUrl: "https://catfact.ninja",
|
|
33
|
+
* tokenAuth: [{
|
|
34
|
+
* tokens: [
|
|
35
|
+
* {
|
|
36
|
+
* type: "SECRET",
|
|
37
|
+
* name: "token1",
|
|
38
|
+
* value: token1,
|
|
39
|
+
* },
|
|
40
|
+
* {
|
|
41
|
+
* type: "SECRET",
|
|
42
|
+
* name: "token2",
|
|
43
|
+
* value: token2,
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* headers: [
|
|
47
|
+
* {
|
|
48
|
+
* name: "header-one",
|
|
49
|
+
* value: "headerval",
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* name: "h2",
|
|
53
|
+
* value: "{{ token1 }} test",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* urlParameters: [
|
|
57
|
+
* {
|
|
58
|
+
* name: "param1",
|
|
59
|
+
* value: "{{ token1 }}",
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* name: "param2",
|
|
63
|
+
* value: "paramVal2",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* body: [{
|
|
67
|
+
* contentType: "application/json",
|
|
68
|
+
* content: JSON.stringify({
|
|
69
|
+
* key: "mykey",
|
|
70
|
+
* value: "maybe with a secret: {{ token2 }}",
|
|
71
|
+
* }),
|
|
72
|
+
* }],
|
|
73
|
+
* }],
|
|
74
|
+
* }],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
13
78
|
* ## Import
|
|
14
79
|
*
|
|
15
80
|
* The `pulumi import` command can be used, for example:
|
package/actionConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionConnection.js","sourceRoot":"","sources":["../actionConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionConnection.js","sourceRoot":"","sources":["../actionConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AApEL,4CAqEC;AAvDG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
package/apmRetentionFilter.d.ts
CHANGED
|
@@ -6,6 +6,22 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create APM retention filter
|
|
14
|
+
* const foo = new datadog.ApmRetentionFilter("foo", {
|
|
15
|
+
* name: "Sample order",
|
|
16
|
+
* rate: "1.0",
|
|
17
|
+
* filter: [{
|
|
18
|
+
* query: "service:sample AND env:production AND @http.method:GET AND app:sampleapp AND @http.status_code:200 AND @duration:>600000000",
|
|
19
|
+
* }],
|
|
20
|
+
* filterType: "spans-sampling-processor",
|
|
21
|
+
* enabled: false,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
9
25
|
* ## Import
|
|
10
26
|
*
|
|
11
27
|
* The `pulumi import` command can be used, for example:
|
package/apmRetentionFilter.js
CHANGED
|
@@ -10,6 +10,22 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create APM retention filter
|
|
18
|
+
* const foo = new datadog.ApmRetentionFilter("foo", {
|
|
19
|
+
* name: "Sample order",
|
|
20
|
+
* rate: "1.0",
|
|
21
|
+
* filter: [{
|
|
22
|
+
* query: "service:sample AND env:production AND @http.method:GET AND app:sampleapp AND @http.status_code:200 AND @duration:>600000000",
|
|
23
|
+
* }],
|
|
24
|
+
* filterType: "spans-sampling-processor",
|
|
25
|
+
* enabled: false,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
13
29
|
* ## Import
|
|
14
30
|
*
|
|
15
31
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apmRetentionFilter.js","sourceRoot":"","sources":["../apmRetentionFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apmRetentionFilter.js","sourceRoot":"","sources":["../apmRetentionFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;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* as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Create APM retention filter
|
|
12
|
+
* const foo = new datadog.ApmRetentionFilter("foo", {
|
|
13
|
+
* name: "Sample order",
|
|
14
|
+
* rate: "1.0",
|
|
15
|
+
* filter: [{
|
|
16
|
+
* query: "*",
|
|
17
|
+
* }],
|
|
18
|
+
* filterType: "spans-sampling-processor",
|
|
19
|
+
* enabled: false,
|
|
20
|
+
* });
|
|
21
|
+
* // Create APM retention filter order
|
|
22
|
+
* const bar = new datadog.ApmRetentionFilterOrder("bar", {filterIds: [foo.id]});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
7
25
|
* ## Import
|
|
8
26
|
*
|
|
9
27
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,24 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create APM retention filter
|
|
18
|
+
* const foo = new datadog.ApmRetentionFilter("foo", {
|
|
19
|
+
* name: "Sample order",
|
|
20
|
+
* rate: "1.0",
|
|
21
|
+
* filter: [{
|
|
22
|
+
* query: "*",
|
|
23
|
+
* }],
|
|
24
|
+
* filterType: "spans-sampling-processor",
|
|
25
|
+
* enabled: false,
|
|
26
|
+
* });
|
|
27
|
+
* // Create APM retention filter order
|
|
28
|
+
* const bar = new datadog.ApmRetentionFilterOrder("bar", {filterIds: [foo.id]});
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
13
31
|
* ## Import
|
|
14
32
|
*
|
|
15
33
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apmRetentionFilterOrder.js","sourceRoot":"","sources":["../apmRetentionFilterOrder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AAC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AI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAxDL,0DAyDC;AA3CG,gBAAgB;AACO,oCAAY,GAAG,+DAA+D,CAAC"}
|
package/appsecWafCustomRule.d.ts
CHANGED
|
@@ -6,6 +6,64 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create a new WAF custom rule to block a custom IoC
|
|
14
|
+
* const ioc000 = new datadog.AppsecWafCustomRule("ioc000", {
|
|
15
|
+
* name: "Block requests from a bad actor",
|
|
16
|
+
* blocking: true,
|
|
17
|
+
* enabled: true,
|
|
18
|
+
* tags: {
|
|
19
|
+
* category: "attack_attempt",
|
|
20
|
+
* type: "custom_ioc",
|
|
21
|
+
* },
|
|
22
|
+
* pathGlob: "/db/*",
|
|
23
|
+
* conditions: [{
|
|
24
|
+
* operator: "match_regex",
|
|
25
|
+
* parameters: [{
|
|
26
|
+
* inputs: [{
|
|
27
|
+
* address: "server.db.statement",
|
|
28
|
+
* }],
|
|
29
|
+
* regex: "stmt.*",
|
|
30
|
+
* }],
|
|
31
|
+
* }],
|
|
32
|
+
* action: [{
|
|
33
|
+
* action: "redirect_request",
|
|
34
|
+
* parameters: [{
|
|
35
|
+
* statusCode: 302,
|
|
36
|
+
* location: "/blocking",
|
|
37
|
+
* }],
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* // Create a WAF custom rule to track business logic events
|
|
41
|
+
* const biz000 = new datadog.AppsecWafCustomRule("biz000", {
|
|
42
|
+
* name: "Track payments",
|
|
43
|
+
* blocking: false,
|
|
44
|
+
* enabled: true,
|
|
45
|
+
* tags: {
|
|
46
|
+
* category: "business_logic",
|
|
47
|
+
* type: "payment.checkout",
|
|
48
|
+
* },
|
|
49
|
+
* pathGlob: "/cart/*",
|
|
50
|
+
* conditions: [{
|
|
51
|
+
* operator: "capture_data",
|
|
52
|
+
* parameters: [{
|
|
53
|
+
* inputs: [{
|
|
54
|
+
* address: "server.request.query",
|
|
55
|
+
* keyPaths: ["payment_id"],
|
|
56
|
+
* }],
|
|
57
|
+
* value: "payment",
|
|
58
|
+
* }],
|
|
59
|
+
* }],
|
|
60
|
+
* scopes: [{
|
|
61
|
+
* env: "prod",
|
|
62
|
+
* service: "paymentsvc",
|
|
63
|
+
* }],
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
9
67
|
* ## Import
|
|
10
68
|
*
|
|
11
69
|
* The `pulumi import` command can be used, for example:
|
package/appsecWafCustomRule.js
CHANGED
|
@@ -10,6 +10,64 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create a new WAF custom rule to block a custom IoC
|
|
18
|
+
* const ioc000 = new datadog.AppsecWafCustomRule("ioc000", {
|
|
19
|
+
* name: "Block requests from a bad actor",
|
|
20
|
+
* blocking: true,
|
|
21
|
+
* enabled: true,
|
|
22
|
+
* tags: {
|
|
23
|
+
* category: "attack_attempt",
|
|
24
|
+
* type: "custom_ioc",
|
|
25
|
+
* },
|
|
26
|
+
* pathGlob: "/db/*",
|
|
27
|
+
* conditions: [{
|
|
28
|
+
* operator: "match_regex",
|
|
29
|
+
* parameters: [{
|
|
30
|
+
* inputs: [{
|
|
31
|
+
* address: "server.db.statement",
|
|
32
|
+
* }],
|
|
33
|
+
* regex: "stmt.*",
|
|
34
|
+
* }],
|
|
35
|
+
* }],
|
|
36
|
+
* action: [{
|
|
37
|
+
* action: "redirect_request",
|
|
38
|
+
* parameters: [{
|
|
39
|
+
* statusCode: 302,
|
|
40
|
+
* location: "/blocking",
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* });
|
|
44
|
+
* // Create a WAF custom rule to track business logic events
|
|
45
|
+
* const biz000 = new datadog.AppsecWafCustomRule("biz000", {
|
|
46
|
+
* name: "Track payments",
|
|
47
|
+
* blocking: false,
|
|
48
|
+
* enabled: true,
|
|
49
|
+
* tags: {
|
|
50
|
+
* category: "business_logic",
|
|
51
|
+
* type: "payment.checkout",
|
|
52
|
+
* },
|
|
53
|
+
* pathGlob: "/cart/*",
|
|
54
|
+
* conditions: [{
|
|
55
|
+
* operator: "capture_data",
|
|
56
|
+
* parameters: [{
|
|
57
|
+
* inputs: [{
|
|
58
|
+
* address: "server.request.query",
|
|
59
|
+
* keyPaths: ["payment_id"],
|
|
60
|
+
* }],
|
|
61
|
+
* value: "payment",
|
|
62
|
+
* }],
|
|
63
|
+
* }],
|
|
64
|
+
* scopes: [{
|
|
65
|
+
* env: "prod",
|
|
66
|
+
* service: "paymentsvc",
|
|
67
|
+
* }],
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
13
71
|
* ## Import
|
|
14
72
|
*
|
|
15
73
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appsecWafCustomRule.js","sourceRoot":"","sources":["../appsecWafCustomRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"appsecWafCustomRule.js","sourceRoot":"","sources":["../appsecWafCustomRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AA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EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlGL,kDAmGC;AArFG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
package/awsCurConfig.d.ts
CHANGED
|
@@ -6,6 +6,27 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new aws_cur_config resource
|
|
14
|
+
* const foo = new datadog.AwsCurConfig("foo", {
|
|
15
|
+
* accountId: "123456789123",
|
|
16
|
+
* bucketName: "dd-cost-bucket",
|
|
17
|
+
* bucketRegion: "us-east-1",
|
|
18
|
+
* reportName: "dd-report-name",
|
|
19
|
+
* reportPrefix: "dd-report-prefix",
|
|
20
|
+
* accountFilters: [{
|
|
21
|
+
* includeNewAccounts: true,
|
|
22
|
+
* excludedAccounts: [
|
|
23
|
+
* "123456789123",
|
|
24
|
+
* "123456789143",
|
|
25
|
+
* ],
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
9
30
|
* ## Import
|
|
10
31
|
*
|
|
11
32
|
* The `pulumi import` command can be used, for example:
|
package/awsCurConfig.js
CHANGED
|
@@ -10,6 +10,27 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new aws_cur_config resource
|
|
18
|
+
* const foo = new datadog.AwsCurConfig("foo", {
|
|
19
|
+
* accountId: "123456789123",
|
|
20
|
+
* bucketName: "dd-cost-bucket",
|
|
21
|
+
* bucketRegion: "us-east-1",
|
|
22
|
+
* reportName: "dd-report-name",
|
|
23
|
+
* reportPrefix: "dd-report-prefix",
|
|
24
|
+
* accountFilters: [{
|
|
25
|
+
* includeNewAccounts: true,
|
|
26
|
+
* excludedAccounts: [
|
|
27
|
+
* "123456789123",
|
|
28
|
+
* "123456789143",
|
|
29
|
+
* ],
|
|
30
|
+
* }],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
13
34
|
* ## Import
|
|
14
35
|
*
|
|
15
36
|
* The `pulumi import` command can be used, for example:
|
package/awsCurConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awsCurConfig.js","sourceRoot":"","sources":["../awsCurConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"awsCurConfig.js","sourceRoot":"","sources":["../awsCurConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC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CHANGED
|
@@ -6,6 +6,30 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new Azure Usage Cost configuration resource
|
|
14
|
+
* const example = new datadog.AzureUcConfig("example", {
|
|
15
|
+
* accountId: "12345678-1234-abcd-1234-123456789012",
|
|
16
|
+
* clientId: "87654321-4321-dcba-4321-210987654321",
|
|
17
|
+
* scope: "/subscriptions/12345678-1234-abcd-1234-123456789012",
|
|
18
|
+
* actualBillConfig: [{
|
|
19
|
+
* exportName: "my-actual-export",
|
|
20
|
+
* exportPath: "exports/actual",
|
|
21
|
+
* storageAccount: "mystorageaccount",
|
|
22
|
+
* storageContainer: "cost-exports",
|
|
23
|
+
* }],
|
|
24
|
+
* amortizedBillConfig: [{
|
|
25
|
+
* exportName: "my-amortized-export",
|
|
26
|
+
* exportPath: "exports/amortized",
|
|
27
|
+
* storageAccount: "mystorageaccount",
|
|
28
|
+
* storageContainer: "cost-exports",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
9
33
|
* ## Import
|
|
10
34
|
*
|
|
11
35
|
* The `pulumi import` command can be used, for example:
|
package/azureUcConfig.js
CHANGED
|
@@ -10,6 +10,30 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new Azure Usage Cost configuration resource
|
|
18
|
+
* const example = new datadog.AzureUcConfig("example", {
|
|
19
|
+
* accountId: "12345678-1234-abcd-1234-123456789012",
|
|
20
|
+
* clientId: "87654321-4321-dcba-4321-210987654321",
|
|
21
|
+
* scope: "/subscriptions/12345678-1234-abcd-1234-123456789012",
|
|
22
|
+
* actualBillConfig: [{
|
|
23
|
+
* exportName: "my-actual-export",
|
|
24
|
+
* exportPath: "exports/actual",
|
|
25
|
+
* storageAccount: "mystorageaccount",
|
|
26
|
+
* storageContainer: "cost-exports",
|
|
27
|
+
* }],
|
|
28
|
+
* amortizedBillConfig: [{
|
|
29
|
+
* exportName: "my-amortized-export",
|
|
30
|
+
* exportPath: "exports/amortized",
|
|
31
|
+
* storageAccount: "mystorageaccount",
|
|
32
|
+
* storageContainer: "cost-exports",
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
13
37
|
* ## Import
|
|
14
38
|
*
|
|
15
39
|
* The `pulumi import` command can be used, for example:
|
package/azureUcConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureUcConfig.js","sourceRoot":"","sources":["../azureUcConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"azureUcConfig.js","sourceRoot":"","sources":["../azureUcConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC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
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const myAgentRule = new datadog.CsmThreatsAgentRule("my_agent_rule", {
|
|
14
|
+
* actions: [{
|
|
15
|
+
* hash: [{}],
|
|
16
|
+
* set: [{
|
|
17
|
+
* name: "updated_security_actions",
|
|
18
|
+
* field: "exec.file.path",
|
|
19
|
+
* append: false,
|
|
20
|
+
* scope: "process",
|
|
21
|
+
* }],
|
|
22
|
+
* }],
|
|
23
|
+
* name: "my_agent_rule",
|
|
24
|
+
* enabled: true,
|
|
25
|
+
* description: "This is a rule",
|
|
26
|
+
* expression: "open.file.name == \"etc/shadow/password\"",
|
|
27
|
+
* policyId: "jm4-lwh-8cs",
|
|
28
|
+
* productTags: ["compliance_framework:PCI-DSS"],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
9
32
|
* ## Import
|
|
10
33
|
*
|
|
11
34
|
* The `pulumi import` command can be used, for example:
|
package/csmThreatsAgentRule.js
CHANGED
|
@@ -10,6 +10,29 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const myAgentRule = new datadog.CsmThreatsAgentRule("my_agent_rule", {
|
|
18
|
+
* actions: [{
|
|
19
|
+
* hash: [{}],
|
|
20
|
+
* set: [{
|
|
21
|
+
* name: "updated_security_actions",
|
|
22
|
+
* field: "exec.file.path",
|
|
23
|
+
* append: false,
|
|
24
|
+
* scope: "process",
|
|
25
|
+
* }],
|
|
26
|
+
* }],
|
|
27
|
+
* name: "my_agent_rule",
|
|
28
|
+
* enabled: true,
|
|
29
|
+
* description: "This is a rule",
|
|
30
|
+
* expression: "open.file.name == \"etc/shadow/password\"",
|
|
31
|
+
* policyId: "jm4-lwh-8cs",
|
|
32
|
+
* productTags: ["compliance_framework:PCI-DSS"],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
13
36
|
* ## Import
|
|
14
37
|
*
|
|
15
38
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csmThreatsAgentRule.js","sourceRoot":"","sources":["../csmThreatsAgentRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"csmThreatsAgentRule.js","sourceRoot":"","sources":["../csmThreatsAgentRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,I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