@pulumi/datadog 4.1.0 → 4.3.0
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/aws/integrationLambdaArn.d.ts +3 -3
- package/aws/integrationLogCollection.d.ts +3 -3
- package/aws/integrationTagFilter.d.ts +3 -3
- package/dashboard.d.ts +6 -6
- package/dashboard.js +4 -7
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +2 -2
- package/dashboardJson.js +2 -2
- package/getDashboardList.d.ts +16 -0
- package/getDashboardList.js +16 -0
- package/getDashboardList.js.map +1 -1
- package/getMonitor.d.ts +8 -0
- package/getRoles.d.ts +43 -0
- package/getRoles.js +34 -0
- package/getRoles.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +16 -0
- package/index.js.map +1 -1
- package/logsCustomPipeline.d.ts +1 -1
- package/logsCustomPipeline.js +1 -1
- package/logsIntegrationPipeline.d.ts +2 -0
- package/logsIntegrationPipeline.js +2 -0
- package/logsIntegrationPipeline.js.map +1 -1
- package/monitor.d.ts +24 -0
- package/monitor.js +4 -0
- package/monitor.js.map +1 -1
- package/monitorJson.d.ts +101 -0
- package/monitorJson.js +96 -0
- package/monitorJson.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/securityMonitoringDefaultRule.d.ts +1 -2
- package/securityMonitoringDefaultRule.js +1 -2
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringRule.d.ts +12 -2
- package/securityMonitoringRule.js +2 -2
- package/securityMonitoringRule.js.map +1 -1
- package/syntheticsTest.d.ts +6 -6
- package/types/input.d.ts +283 -56
- package/types/output.d.ts +297 -77
- package/webhook.d.ts +125 -0
- package/webhook.js +93 -0
- package/webhook.js.map +1 -0
- package/webhookCustomVariable.d.ts +94 -0
- package/webhookCustomVariable.js +85 -0
- package/webhookCustomVariable.js.map +1 -0
package/monitor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"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I,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACpD,CAAC;IAvPD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAyPC;AA3OG,gBAAgB;AACO,oBAAY,GAAG,+BAA+B,CAAC"}
|
package/monitorJson.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const monitorJson = new datadog.MonitorJson("monitorJson", {monitor: `{
|
|
12
|
+
* "name": "Example monitor - service check",
|
|
13
|
+
* "type": "service check",
|
|
14
|
+
* "query": "\"ntp.in_sync\".over(\"*\").last(2).count_by_status()",
|
|
15
|
+
* "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\n\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.",
|
|
16
|
+
* "tags": [],
|
|
17
|
+
* "multi": true,
|
|
18
|
+
* "restricted_roles": null,
|
|
19
|
+
* "options": {
|
|
20
|
+
* "include_tags": true,
|
|
21
|
+
* "locked": false,
|
|
22
|
+
* "new_host_delay": 150,
|
|
23
|
+
* "notify_audit": false,
|
|
24
|
+
* "notify_no_data": false,
|
|
25
|
+
* "thresholds": {
|
|
26
|
+
* "warning": 1,
|
|
27
|
+
* "ok": 1,
|
|
28
|
+
* "critical": 1
|
|
29
|
+
* }
|
|
30
|
+
* },
|
|
31
|
+
* "priority": null,
|
|
32
|
+
* "classification": "custom"
|
|
33
|
+
* }
|
|
34
|
+
* `});
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import datadog:index/monitorJson:MonitorJson monitor_json 123456
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class MonitorJson extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing MonitorJson resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MonitorJsonState, opts?: pulumi.CustomResourceOptions): MonitorJson;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of MonitorJson. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is MonitorJson;
|
|
59
|
+
/**
|
|
60
|
+
* The JSON formatted definition of the monitor.
|
|
61
|
+
*/
|
|
62
|
+
readonly monitor: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The URL of the monitor.
|
|
65
|
+
*/
|
|
66
|
+
readonly url: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a MonitorJson resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: MonitorJsonArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering MonitorJson resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface MonitorJsonState {
|
|
80
|
+
/**
|
|
81
|
+
* The JSON formatted definition of the monitor.
|
|
82
|
+
*/
|
|
83
|
+
monitor?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The URL of the monitor.
|
|
86
|
+
*/
|
|
87
|
+
url?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a MonitorJson resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface MonitorJsonArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The JSON formatted definition of the monitor.
|
|
95
|
+
*/
|
|
96
|
+
monitor: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The URL of the monitor.
|
|
99
|
+
*/
|
|
100
|
+
url?: pulumi.Input<string>;
|
|
101
|
+
}
|
package/monitorJson.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Datadog monitor JSON resource. This can be used to create and manage Datadog monitors using the JSON definition.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as datadog from "@pulumi/datadog";
|
|
15
|
+
*
|
|
16
|
+
* const monitorJson = new datadog.MonitorJson("monitorJson", {monitor: `{
|
|
17
|
+
* "name": "Example monitor - service check",
|
|
18
|
+
* "type": "service check",
|
|
19
|
+
* "query": "\"ntp.in_sync\".over(\"*\").last(2).count_by_status()",
|
|
20
|
+
* "message": "Change the message triggers if any host's clock goes out of sync with the time given by NTP. The offset threshold is configured in the Agent's 'ntp.yaml' file.\n\nSee [Troubleshooting NTP Offset issues](https://docs.datadoghq.com/agent/troubleshooting/ntp for more details on cause and resolution.",
|
|
21
|
+
* "tags": [],
|
|
22
|
+
* "multi": true,
|
|
23
|
+
* "restricted_roles": null,
|
|
24
|
+
* "options": {
|
|
25
|
+
* "include_tags": true,
|
|
26
|
+
* "locked": false,
|
|
27
|
+
* "new_host_delay": 150,
|
|
28
|
+
* "notify_audit": false,
|
|
29
|
+
* "notify_no_data": false,
|
|
30
|
+
* "thresholds": {
|
|
31
|
+
* "warning": 1,
|
|
32
|
+
* "ok": 1,
|
|
33
|
+
* "critical": 1
|
|
34
|
+
* }
|
|
35
|
+
* },
|
|
36
|
+
* "priority": null,
|
|
37
|
+
* "classification": "custom"
|
|
38
|
+
* }
|
|
39
|
+
* `});
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import datadog:index/monitorJson:MonitorJson monitor_json 123456
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
class MonitorJson extends pulumi.CustomResource {
|
|
49
|
+
constructor(name, argsOrState, opts) {
|
|
50
|
+
let inputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (opts.id) {
|
|
53
|
+
const state = argsOrState;
|
|
54
|
+
inputs["monitor"] = state ? state.monitor : undefined;
|
|
55
|
+
inputs["url"] = state ? state.url : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.monitor === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'monitor'");
|
|
61
|
+
}
|
|
62
|
+
inputs["monitor"] = args ? args.monitor : undefined;
|
|
63
|
+
inputs["url"] = args ? args.url : undefined;
|
|
64
|
+
}
|
|
65
|
+
if (!opts.version) {
|
|
66
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
67
|
+
}
|
|
68
|
+
super(MonitorJson.__pulumiType, name, inputs, opts);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Get an existing MonitorJson resource's state with the given name, ID, and optional extra
|
|
72
|
+
* properties used to qualify the lookup.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resulting resource.
|
|
75
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
76
|
+
* @param state Any extra arguments used during the lookup.
|
|
77
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
78
|
+
*/
|
|
79
|
+
static get(name, id, state, opts) {
|
|
80
|
+
return new MonitorJson(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of MonitorJson. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === MonitorJson.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.MonitorJson = MonitorJson;
|
|
94
|
+
/** @internal */
|
|
95
|
+
MonitorJson.__pulumiType = 'datadog:index/monitorJson:MonitorJson';
|
|
96
|
+
//# sourceMappingURL=monitorJson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitorJson.js","sourceRoot":"","sources":["../monitorJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA6ClD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,MAAM,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAiEC;AAnDG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/datadog",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.3.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Datadog resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource datadog v4.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource datadog v4.3.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* Provides a Datadog Security Monitoring Rule API resource for default rules.
|
|
4
|
+
* Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule.
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -16,7 +16,6 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
16
16
|
* status: "high",
|
|
17
17
|
* }],
|
|
18
18
|
* enabled: true,
|
|
19
|
-
* ruleId: "ojo-qef-3g3",
|
|
20
19
|
* });
|
|
21
20
|
* ```
|
|
22
21
|
*
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const utilities = require("./utilities");
|
|
7
7
|
/**
|
|
8
|
-
* Provides a Datadog Security Monitoring Rule API resource for default rules.
|
|
8
|
+
* Provides a Datadog Security Monitoring Rule API resource for default rules. It can only be imported, you can't create a default rule.
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
@@ -20,7 +20,6 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* status: "high",
|
|
21
21
|
* }],
|
|
22
22
|
* enabled: true,
|
|
23
|
-
* ruleId: "ojo-qef-3g3",
|
|
24
23
|
* });
|
|
25
24
|
* ```
|
|
26
25
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityMonitoringDefaultRule.js","sourceRoot":"","sources":["../securityMonitoringDefaultRule.ts"],"names":[],"mappings":";AAAA,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IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;;AA1BL,sEAoEC;AAtDG,gBAAgB;AACO,0CAAY,GAAG,2EAA2E,CAAC"}
|
|
@@ -16,11 +16,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
16
16
|
* status: "high",
|
|
17
17
|
* }],
|
|
18
18
|
* enabled: true,
|
|
19
|
-
* hasExtendedTitle: true,
|
|
20
19
|
* message: "The rule has triggered.",
|
|
21
20
|
* name: "My rule",
|
|
22
21
|
* options: {
|
|
23
|
-
* detectionMethod: "threshold",
|
|
24
22
|
* evaluationWindow: 300,
|
|
25
23
|
* keepAlive: 600,
|
|
26
24
|
* maxSignalDuration: 900,
|
|
@@ -103,6 +101,10 @@ export declare class SecurityMonitoringRule extends pulumi.CustomResource {
|
|
|
103
101
|
* Tags for generated signals.
|
|
104
102
|
*/
|
|
105
103
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The rule type. Valid values are `logDetection`, `infrastructureConfiguration`, `workloadSecurity`, `cloudConfiguration`.
|
|
106
|
+
*/
|
|
107
|
+
readonly type: pulumi.Output<string | undefined>;
|
|
106
108
|
/**
|
|
107
109
|
* Create a SecurityMonitoringRule resource with the given unique name, arguments, and options.
|
|
108
110
|
*
|
|
@@ -152,6 +154,10 @@ export interface SecurityMonitoringRuleState {
|
|
|
152
154
|
* Tags for generated signals.
|
|
153
155
|
*/
|
|
154
156
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
157
|
+
/**
|
|
158
|
+
* The rule type. Valid values are `logDetection`, `infrastructureConfiguration`, `workloadSecurity`, `cloudConfiguration`.
|
|
159
|
+
*/
|
|
160
|
+
type?: pulumi.Input<string>;
|
|
155
161
|
}
|
|
156
162
|
/**
|
|
157
163
|
* The set of arguments for constructing a SecurityMonitoringRule resource.
|
|
@@ -193,4 +199,8 @@ export interface SecurityMonitoringRuleArgs {
|
|
|
193
199
|
* Tags for generated signals.
|
|
194
200
|
*/
|
|
195
201
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
202
|
+
/**
|
|
203
|
+
* The rule type. Valid values are `logDetection`, `infrastructureConfiguration`, `workloadSecurity`, `cloudConfiguration`.
|
|
204
|
+
*/
|
|
205
|
+
type?: pulumi.Input<string>;
|
|
196
206
|
}
|
|
@@ -20,11 +20,9 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* status: "high",
|
|
21
21
|
* }],
|
|
22
22
|
* enabled: true,
|
|
23
|
-
* hasExtendedTitle: true,
|
|
24
23
|
* message: "The rule has triggered.",
|
|
25
24
|
* name: "My rule",
|
|
26
25
|
* options: {
|
|
27
|
-
* detectionMethod: "threshold",
|
|
28
26
|
* evaluationWindow: 300,
|
|
29
27
|
* keepAlive: 600,
|
|
30
28
|
* maxSignalDuration: 900,
|
|
@@ -70,6 +68,7 @@ class SecurityMonitoringRule extends pulumi.CustomResource {
|
|
|
70
68
|
inputs["options"] = state ? state.options : undefined;
|
|
71
69
|
inputs["queries"] = state ? state.queries : undefined;
|
|
72
70
|
inputs["tags"] = state ? state.tags : undefined;
|
|
71
|
+
inputs["type"] = state ? state.type : undefined;
|
|
73
72
|
}
|
|
74
73
|
else {
|
|
75
74
|
const args = argsOrState;
|
|
@@ -94,6 +93,7 @@ class SecurityMonitoringRule extends pulumi.CustomResource {
|
|
|
94
93
|
inputs["options"] = args ? args.options : undefined;
|
|
95
94
|
inputs["queries"] = args ? args.queries : undefined;
|
|
96
95
|
inputs["tags"] = args ? args.tags : undefined;
|
|
96
|
+
inputs["type"] = args ? args.type : undefined;
|
|
97
97
|
}
|
|
98
98
|
if (!opts.version) {
|
|
99
99
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityMonitoringRule.js","sourceRoot":"","sources":["../securityMonitoringRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"securityMonitoringRule.js","sourceRoot":"","sources":["../securityMonitoringRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IA6E7D,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,SAAS,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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACjD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IAxHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;;AA1BL,wDA0HC;AA5GG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
package/syntheticsTest.d.ts
CHANGED
|
@@ -300,7 +300,7 @@ export declare class SyntheticsTest extends pulumi.CustomResource {
|
|
|
300
300
|
*/
|
|
301
301
|
readonly configVariables: pulumi.Output<outputs.SyntheticsTestConfigVariable[] | undefined>;
|
|
302
302
|
/**
|
|
303
|
-
* Array with the different device IDs used to run the test
|
|
303
|
+
* Required if `type = "browser"`. Array with the different device IDs used to run the test. Valid values are `laptopLarge`, `tablet`, `mobileSmall`, `chrome.laptop_large`, `chrome.tablet`, `chrome.mobile_small`, `firefox.laptop_large`, `firefox.tablet`, `firefox.mobile_small`, `edge.laptop_large`, `edge.tablet`, `edge.mobile_small`.
|
|
304
304
|
*/
|
|
305
305
|
readonly deviceIds: pulumi.Output<string[] | undefined>;
|
|
306
306
|
/**
|
|
@@ -329,7 +329,7 @@ export declare class SyntheticsTest extends pulumi.CustomResource {
|
|
|
329
329
|
*/
|
|
330
330
|
readonly requestClientCertificate: pulumi.Output<outputs.SyntheticsTestRequestClientCertificate | undefined>;
|
|
331
331
|
/**
|
|
332
|
-
*
|
|
332
|
+
* Required if `type = "api"`. The synthetics test request.
|
|
333
333
|
*/
|
|
334
334
|
readonly requestDefinition: pulumi.Output<outputs.SyntheticsTestRequestDefinition | undefined>;
|
|
335
335
|
/**
|
|
@@ -398,7 +398,7 @@ export interface SyntheticsTestState {
|
|
|
398
398
|
*/
|
|
399
399
|
configVariables?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestConfigVariable>[]>;
|
|
400
400
|
/**
|
|
401
|
-
* Array with the different device IDs used to run the test
|
|
401
|
+
* Required if `type = "browser"`. Array with the different device IDs used to run the test. Valid values are `laptopLarge`, `tablet`, `mobileSmall`, `chrome.laptop_large`, `chrome.tablet`, `chrome.mobile_small`, `firefox.laptop_large`, `firefox.tablet`, `firefox.mobile_small`, `edge.laptop_large`, `edge.tablet`, `edge.mobile_small`.
|
|
402
402
|
*/
|
|
403
403
|
deviceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
404
404
|
/**
|
|
@@ -427,7 +427,7 @@ export interface SyntheticsTestState {
|
|
|
427
427
|
*/
|
|
428
428
|
requestClientCertificate?: pulumi.Input<inputs.SyntheticsTestRequestClientCertificate>;
|
|
429
429
|
/**
|
|
430
|
-
*
|
|
430
|
+
* Required if `type = "api"`. The synthetics test request.
|
|
431
431
|
*/
|
|
432
432
|
requestDefinition?: pulumi.Input<inputs.SyntheticsTestRequestDefinition>;
|
|
433
433
|
/**
|
|
@@ -488,7 +488,7 @@ export interface SyntheticsTestArgs {
|
|
|
488
488
|
*/
|
|
489
489
|
configVariables?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestConfigVariable>[]>;
|
|
490
490
|
/**
|
|
491
|
-
* Array with the different device IDs used to run the test
|
|
491
|
+
* Required if `type = "browser"`. Array with the different device IDs used to run the test. Valid values are `laptopLarge`, `tablet`, `mobileSmall`, `chrome.laptop_large`, `chrome.tablet`, `chrome.mobile_small`, `firefox.laptop_large`, `firefox.tablet`, `firefox.mobile_small`, `edge.laptop_large`, `edge.tablet`, `edge.mobile_small`.
|
|
492
492
|
*/
|
|
493
493
|
deviceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
494
494
|
/**
|
|
@@ -513,7 +513,7 @@ export interface SyntheticsTestArgs {
|
|
|
513
513
|
*/
|
|
514
514
|
requestClientCertificate?: pulumi.Input<inputs.SyntheticsTestRequestClientCertificate>;
|
|
515
515
|
/**
|
|
516
|
-
*
|
|
516
|
+
* Required if `type = "api"`. The synthetics test request.
|
|
517
517
|
*/
|
|
518
518
|
requestDefinition?: pulumi.Input<inputs.SyntheticsTestRequestDefinition>;
|
|
519
519
|
/**
|