@pulumi/gcp 9.27.0 → 9.28.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/apigee/api.d.ts +1 -1
- package/apigee/api.d.ts.map +1 -1
- package/apigee/environmentDebugmask.d.ts +248 -0
- package/apigee/environmentDebugmask.d.ts.map +1 -0
- package/apigee/environmentDebugmask.js +163 -0
- package/apigee/environmentDebugmask.js.map +1 -0
- package/apigee/index.d.ts +3 -0
- package/apigee/index.d.ts.map +1 -1
- package/apigee/index.js +6 -1
- package/apigee/index.js.map +1 -1
- package/backupdisasterrecovery/restoreWorkload.d.ts +9 -9
- package/ces/guardrail.d.ts +41 -0
- package/ces/guardrail.d.ts.map +1 -1
- package/ces/guardrail.js +41 -0
- package/ces/guardrail.js.map +1 -1
- package/chronicle/index.d.ts +6 -0
- package/chronicle/index.d.ts.map +1 -1
- package/chronicle/index.js +11 -1
- package/chronicle/index.js.map +1 -1
- package/chronicle/parser.d.ts +474 -0
- package/chronicle/parser.d.ts.map +1 -0
- package/chronicle/parser.js +207 -0
- package/chronicle/parser.js.map +1 -0
- package/chronicle/soarNetwork.d.ts +217 -0
- package/chronicle/soarNetwork.d.ts.map +1 -0
- package/chronicle/soarNetwork.js +151 -0
- package/chronicle/soarNetwork.js.map +1 -0
- package/cloudrun/service.d.ts +1 -10
- package/cloudrun/service.d.ts.map +1 -1
- package/cloudrun/service.js +1 -10
- package/cloudrun/service.js.map +1 -1
- package/cloudrunv2/service.d.ts +0 -1
- package/cloudrunv2/service.d.ts.map +1 -1
- package/cloudrunv2/service.js +0 -1
- package/cloudrunv2/service.js.map +1 -1
- package/cloudrunv2/workerPool.d.ts +4 -0
- package/cloudrunv2/workerPool.d.ts.map +1 -1
- package/cloudrunv2/workerPool.js +4 -0
- package/cloudrunv2/workerPool.js.map +1 -1
- package/cloudsecuritycompliance/cloudControl.d.ts +345 -4
- package/cloudsecuritycompliance/cloudControl.d.ts.map +1 -1
- package/cloudsecuritycompliance/cloudControl.js +310 -6
- package/cloudsecuritycompliance/cloudControl.js.map +1 -1
- package/cloudsecuritycompliance/framework.d.ts +168 -9
- package/cloudsecuritycompliance/framework.d.ts.map +1 -1
- package/cloudsecuritycompliance/framework.js +131 -9
- package/cloudsecuritycompliance/framework.js.map +1 -1
- package/cloudsecuritycompliance/frameworkDeployment.d.ts +545 -7
- package/cloudsecuritycompliance/frameworkDeployment.d.ts.map +1 -1
- package/cloudsecuritycompliance/frameworkDeployment.js +506 -8
- package/cloudsecuritycompliance/frameworkDeployment.js.map +1 -1
- package/compute/getRegionTargetHttpProxy.d.ts +107 -0
- package/compute/getRegionTargetHttpProxy.d.ts.map +1 -0
- package/compute/getRegionTargetHttpProxy.js +83 -0
- package/compute/getRegionTargetHttpProxy.js.map +1 -0
- package/compute/getRegionTargetHttpsProxy.d.ts +111 -0
- package/compute/getRegionTargetHttpsProxy.d.ts.map +1 -0
- package/compute/getRegionTargetHttpsProxy.js +83 -0
- package/compute/getRegionTargetHttpsProxy.js.map +1 -0
- package/compute/getReservation.d.ts +1 -0
- package/compute/getReservation.d.ts.map +1 -1
- package/compute/getReservation.js.map +1 -1
- package/compute/getTargetHttpProxy.d.ts +98 -0
- package/compute/getTargetHttpProxy.d.ts.map +1 -0
- package/compute/getTargetHttpProxy.js +81 -0
- package/compute/getTargetHttpProxy.js.map +1 -0
- package/compute/getTargetHttpsProxy.d.ts +105 -0
- package/compute/getTargetHttpsProxy.d.ts.map +1 -0
- package/compute/getTargetHttpsProxy.js +81 -0
- package/compute/getTargetHttpsProxy.js.map +1 -0
- package/compute/index.d.ts +12 -0
- package/compute/index.d.ts.map +1 -1
- package/compute/index.js +17 -5
- package/compute/index.js.map +1 -1
- package/compute/regionCommitment.d.ts +1 -1
- package/compute/regionCommitment.d.ts.map +1 -1
- package/compute/reservation.d.ts +15 -0
- package/compute/reservation.d.ts.map +1 -1
- package/compute/reservation.js +2 -0
- package/compute/reservation.js.map +1 -1
- package/compute/securityScanConfig.d.ts +6 -0
- package/compute/securityScanConfig.d.ts.map +1 -1
- package/compute/securityScanConfig.js +6 -0
- package/compute/securityScanConfig.js.map +1 -1
- package/databasemigrationservice/migrationJob.d.ts +27 -0
- package/databasemigrationservice/migrationJob.d.ts.map +1 -1
- package/databasemigrationservice/migrationJob.js +4 -0
- package/databasemigrationservice/migrationJob.js.map +1 -1
- package/migrationcenter/importDataFile.d.ts +245 -0
- package/migrationcenter/importDataFile.d.ts.map +1 -0
- package/migrationcenter/importDataFile.js +150 -0
- package/migrationcenter/importDataFile.js.map +1 -0
- package/migrationcenter/index.d.ts +3 -0
- package/migrationcenter/index.d.ts.map +1 -1
- package/migrationcenter/index.js +6 -1
- package/migrationcenter/index.js.map +1 -1
- package/networksecurity/authzPolicy.d.ts +18 -1
- package/networksecurity/authzPolicy.d.ts.map +1 -1
- package/networksecurity/authzPolicy.js +2 -1
- package/networksecurity/authzPolicy.js.map +1 -1
- package/networkservices/agentGateway.d.ts +47 -9
- package/networkservices/agentGateway.d.ts.map +1 -1
- package/networkservices/agentGateway.js +30 -10
- package/networkservices/agentGateway.js.map +1 -1
- package/networkservices/authzExtension.d.ts +3 -0
- package/networkservices/authzExtension.d.ts.map +1 -1
- package/networkservices/authzExtension.js +3 -0
- package/networkservices/authzExtension.js.map +1 -1
- package/oracledatabase/getGoldengateDeploymentVersions.d.ts +135 -0
- package/oracledatabase/getGoldengateDeploymentVersions.d.ts.map +1 -0
- package/oracledatabase/getGoldengateDeploymentVersions.js +137 -0
- package/oracledatabase/getGoldengateDeploymentVersions.js.map +1 -0
- package/oracledatabase/goldengateDeployment.d.ts +1 -1
- package/oracledatabase/goldengateDeployment.js +1 -1
- package/oracledatabase/index.d.ts +3 -0
- package/oracledatabase/index.d.ts.map +1 -1
- package/oracledatabase/index.js +4 -1
- package/oracledatabase/index.js.map +1 -1
- package/package.json +2 -2
- package/pubsub/schema.d.ts +8 -0
- package/pubsub/schema.d.ts.map +1 -1
- package/pubsub/schema.js +2 -0
- package/pubsub/schema.js.map +1 -1
- package/pubsub/topic.d.ts +2 -0
- package/pubsub/topic.d.ts.map +1 -1
- package/pubsub/topic.js +2 -0
- package/pubsub/topic.js.map +1 -1
- package/storage/getControlProjectIntelligenceFinding.d.ts +137 -0
- package/storage/getControlProjectIntelligenceFinding.d.ts.map +1 -0
- package/storage/getControlProjectIntelligenceFinding.js +79 -0
- package/storage/getControlProjectIntelligenceFinding.js.map +1 -0
- package/storage/getControlProjectIntelligenceFindings.d.ts +92 -0
- package/storage/getControlProjectIntelligenceFindings.d.ts.map +1 -0
- package/storage/getControlProjectIntelligenceFindings.js +81 -0
- package/storage/getControlProjectIntelligenceFindings.js.map +1 -0
- package/storage/index.d.ts +6 -0
- package/storage/index.d.ts.map +1 -1
- package/storage/index.js +8 -2
- package/storage/index.js.map +1 -1
- package/storage/managedFolderIamBinding.d.ts +3 -0
- package/storage/managedFolderIamBinding.d.ts.map +1 -1
- package/storage/managedFolderIamBinding.js.map +1 -1
- package/storage/managedFolderIamMember.d.ts +3 -0
- package/storage/managedFolderIamMember.d.ts.map +1 -1
- package/storage/managedFolderIamMember.js.map +1 -1
- package/types/input.d.ts +446 -10
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1337 -10
- package/types/output.d.ts.map +1 -1
- package/vertex/aiTensorboardExperiment.d.ts +323 -0
- package/vertex/aiTensorboardExperiment.d.ts.map +1 -0
- package/vertex/aiTensorboardExperiment.js +161 -0
- package/vertex/aiTensorboardExperiment.js.map +1 -0
- package/vertex/index.d.ts +3 -0
- package/vertex/index.d.ts.map +1 -1
- package/vertex/index.js +7 -2
- package/vertex/index.js.map +1 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A parser is a configuration that parses raw logs of a specific log type into Unified Data Model (UDM) events.
|
|
6
|
+
* Chronicle supports both customer-created custom parsers and Google-provided prebuilt parsers.
|
|
7
|
+
*
|
|
8
|
+
* To get more information about Parser, see:
|
|
9
|
+
*
|
|
10
|
+
* * [API documentation](https://cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.logTypes.parsers)
|
|
11
|
+
* * How-to Guides
|
|
12
|
+
* * [Custom parsers overview](https://cloud.google.com/chronicle/docs/detection/custom-parsers-overview)
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ### Chronicle Parser Basic
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as gcp from "@pulumi/gcp";
|
|
21
|
+
*
|
|
22
|
+
* const example = new gcp.chronicle.Parser("example", {
|
|
23
|
+
* location: "us",
|
|
24
|
+
* instance: "00000000-0000-0000-0000-000000000000",
|
|
25
|
+
* logtype: "WINDOWS_DHCP",
|
|
26
|
+
* validationSkipped: true,
|
|
27
|
+
* cbn: "ZHVtbXkgcGFyc2VyIGNvbmZpZw==",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
* ### Chronicle Parser Full
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as gcp from "@pulumi/gcp";
|
|
35
|
+
*
|
|
36
|
+
* const example = new gcp.chronicle.Parser("example", {
|
|
37
|
+
* location: "us",
|
|
38
|
+
* instance: "00000000-0000-0000-0000-000000000000",
|
|
39
|
+
* logtype: "LINUX_DHCP",
|
|
40
|
+
* validatedOnEmptyLogs: false,
|
|
41
|
+
* validationSkipped: true,
|
|
42
|
+
* lowCode: {
|
|
43
|
+
* log: "ZHVtbXkgbG9nIGJ5dGVz",
|
|
44
|
+
* fieldExtractors: {
|
|
45
|
+
* logFormat: "JSON",
|
|
46
|
+
* appendRepeatedFields: true,
|
|
47
|
+
* preprocessConfig: {
|
|
48
|
+
* grokRegex: "(?P<message>.*)",
|
|
49
|
+
* target: "message",
|
|
50
|
+
* },
|
|
51
|
+
* extractors: [
|
|
52
|
+
* {
|
|
53
|
+
* fieldPath: "$.ip",
|
|
54
|
+
* destinationPath: "udm.principal.ip",
|
|
55
|
+
* preconditionOp: "EQUALS",
|
|
56
|
+
* preconditionPath: "$.event",
|
|
57
|
+
* preconditionValue: "login",
|
|
58
|
+
* },
|
|
59
|
+
* {
|
|
60
|
+
* destinationPath: "udm.metadata.product_name",
|
|
61
|
+
* value: "Google",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* versionInfo: {
|
|
67
|
+
* autoUpgradeDisabled: false,
|
|
68
|
+
* },
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ## Import
|
|
73
|
+
*
|
|
74
|
+
* Parser can be imported using any of these accepted formats:
|
|
75
|
+
*
|
|
76
|
+
* * `projects/{{project}}/locations/{{location}}/instances/{{instance}}/logTypes/{{logtype}}/parsers/{{parser}}`
|
|
77
|
+
* * `{{project}}/{{location}}/{{instance}}/{{logtype}}/{{parser}}`
|
|
78
|
+
* * `{{location}}/{{instance}}/{{logtype}}/{{parser}}`
|
|
79
|
+
*
|
|
80
|
+
* When using the `pulumi import` command, Parser can be imported using one of the formats above. For example:
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import gcp:chronicle/parser:Parser default projects/{{project}}/locations/{{location}}/instances/{{instance}}/logTypes/{{logtype}}/parsers/{{parser}}
|
|
84
|
+
* $ pulumi import gcp:chronicle/parser:Parser default {{project}}/{{location}}/{{instance}}/{{logtype}}/{{parser}}
|
|
85
|
+
* $ pulumi import gcp:chronicle/parser:Parser default {{location}}/{{instance}}/{{logtype}}/{{parser}}
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export declare class Parser extends pulumi.CustomResource {
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing Parser resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ParserState, opts?: pulumi.CustomResourceOptions): Parser;
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of Parser. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj: any): obj is Parser;
|
|
104
|
+
/**
|
|
105
|
+
* if the parser is built using config
|
|
106
|
+
* documentation:
|
|
107
|
+
* https://cloud.google.com/chronicle/docs/preview/parser-extensions/parsing-overview
|
|
108
|
+
*/
|
|
109
|
+
readonly cbn: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Changelogs of a parser.
|
|
112
|
+
* Structure is documented below.
|
|
113
|
+
*/
|
|
114
|
+
readonly changelogs: pulumi.Output<outputs.chronicle.ParserChangelog[]>;
|
|
115
|
+
/**
|
|
116
|
+
* (Output)
|
|
117
|
+
* Time at which changelog was created.
|
|
118
|
+
*/
|
|
119
|
+
readonly createTime: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Information about the creator of the parser.
|
|
122
|
+
* Structure is documented below.
|
|
123
|
+
*/
|
|
124
|
+
readonly creators: pulumi.Output<outputs.chronicle.ParserCreator[]>;
|
|
125
|
+
/**
|
|
126
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
127
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
128
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
129
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
130
|
+
* management without updating or deleting the resource in the API.
|
|
131
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
132
|
+
*/
|
|
133
|
+
readonly deletionPolicy: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Dynamic parsing config applied over the parser, if any.
|
|
136
|
+
*/
|
|
137
|
+
readonly dynamicParsingConfig: pulumi.Output<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
140
|
+
*/
|
|
141
|
+
readonly instance: pulumi.Output<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
144
|
+
*/
|
|
145
|
+
readonly location: pulumi.Output<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
148
|
+
*/
|
|
149
|
+
readonly logtype: pulumi.Output<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Message to represent LowCodeParser.
|
|
152
|
+
* Structure is documented below.
|
|
153
|
+
*/
|
|
154
|
+
readonly lowCode: pulumi.Output<outputs.chronicle.ParserLowCode | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* name of the parser resource.
|
|
157
|
+
*/
|
|
158
|
+
readonly name: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Output only. The server-generated ID of the parser.
|
|
161
|
+
*/
|
|
162
|
+
readonly parser: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Extension applied over the parser, if any.
|
|
165
|
+
*/
|
|
166
|
+
readonly parserExtension: pulumi.Output<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The ID of the project in which the resource belongs.
|
|
169
|
+
* If it is not provided, the provider project is used.
|
|
170
|
+
*/
|
|
171
|
+
readonly project: pulumi.Output<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The release stage of the parser
|
|
174
|
+
* After internal validations the prebuilt parser will directly start as
|
|
175
|
+
* Release Candidate. The releaseStage of prebuilt parsers are changed
|
|
176
|
+
* after every release cycle:
|
|
177
|
+
* The prebuilt Release Candidate parser is promoted as Release parser.
|
|
178
|
+
* The existing prebuilt Release parser is moved to Rollback state.
|
|
179
|
+
* and existing prebuilt rollback parser is moved to Archived.
|
|
180
|
+
* In case of custom parser:
|
|
181
|
+
* When the customer submits a validation passed custom parser it starts as
|
|
182
|
+
* Release state.
|
|
183
|
+
* And existing one is moved to Rollback stage.
|
|
184
|
+
* And the existing rollback is moved to Archived.
|
|
185
|
+
* In case a release or release candidate parser is found faulty,
|
|
186
|
+
* the parser is marked FAULTY,
|
|
187
|
+
* if it is release parser then rollback candidate is moved to release.
|
|
188
|
+
* Possible values:
|
|
189
|
+
* RELEASE
|
|
190
|
+
* RELEASE_CANDIDATE
|
|
191
|
+
* ROLLBACK_CANDIDATE
|
|
192
|
+
* ARCHIVED
|
|
193
|
+
* FAULTY
|
|
194
|
+
* ARCHIVED_IN_USE
|
|
195
|
+
*/
|
|
196
|
+
readonly releaseStage: pulumi.Output<string>;
|
|
197
|
+
/**
|
|
198
|
+
* The state of the parser
|
|
199
|
+
* Possible values:
|
|
200
|
+
* ACTIVE
|
|
201
|
+
* INACTIVE
|
|
202
|
+
*/
|
|
203
|
+
readonly state: pulumi.Output<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The type of the parser
|
|
206
|
+
* Possible values:
|
|
207
|
+
* CUSTOM
|
|
208
|
+
* PREBUILT
|
|
209
|
+
*/
|
|
210
|
+
readonly type: pulumi.Output<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Flag to bypass parser validation when no logs are found.
|
|
213
|
+
* If enabled, the parser won't be be rejected during the validation
|
|
214
|
+
* phase when no logs are found.
|
|
215
|
+
*/
|
|
216
|
+
readonly validatedOnEmptyLogs: pulumi.Output<boolean | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* The Validation report generated during parser validation.
|
|
219
|
+
*/
|
|
220
|
+
readonly validationReport: pulumi.Output<string>;
|
|
221
|
+
/**
|
|
222
|
+
* If true, bypasses parser validation.
|
|
223
|
+
* If enabled, the parser won't be rejected during the validation
|
|
224
|
+
* phase and validation will be skipped.
|
|
225
|
+
*/
|
|
226
|
+
readonly validationSkipped: pulumi.Output<boolean | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* The validation stage of the parser
|
|
229
|
+
* When a customer submits a new parser for validation, it starts with a
|
|
230
|
+
* new stage.
|
|
231
|
+
* When parser is picked for validation, it changes to Validation state.
|
|
232
|
+
* If validation failed it is marked as failed, and
|
|
233
|
+
* existing failed is moved to deleteCandidate stage.
|
|
234
|
+
* If passes it is moved to passed stage.
|
|
235
|
+
* If customer opts to submit it, the parser is moved to Release State.
|
|
236
|
+
* Possible values:
|
|
237
|
+
* NEW
|
|
238
|
+
* VALIDATING
|
|
239
|
+
* PASSED
|
|
240
|
+
* FAILED
|
|
241
|
+
* DELETE_CANDIDATE
|
|
242
|
+
* INTERNAL_ERROR
|
|
243
|
+
* VALIDATION_SKIPPED
|
|
244
|
+
*/
|
|
245
|
+
readonly validationStage: pulumi.Output<string>;
|
|
246
|
+
/**
|
|
247
|
+
* ParserVersionInfo gives the version information of the parser and related
|
|
248
|
+
* properties like pinned etc.
|
|
249
|
+
* Structure is documented below.
|
|
250
|
+
*/
|
|
251
|
+
readonly versionInfo: pulumi.Output<outputs.chronicle.ParserVersionInfo | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* Create a Parser resource with the given unique name, arguments, and options.
|
|
254
|
+
*
|
|
255
|
+
* @param name The _unique_ name of the resource.
|
|
256
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
257
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
258
|
+
*/
|
|
259
|
+
constructor(name: string, args: ParserArgs, opts?: pulumi.CustomResourceOptions);
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Input properties used for looking up and filtering Parser resources.
|
|
263
|
+
*/
|
|
264
|
+
export interface ParserState {
|
|
265
|
+
/**
|
|
266
|
+
* if the parser is built using config
|
|
267
|
+
* documentation:
|
|
268
|
+
* https://cloud.google.com/chronicle/docs/preview/parser-extensions/parsing-overview
|
|
269
|
+
*/
|
|
270
|
+
cbn?: pulumi.Input<string | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* Changelogs of a parser.
|
|
273
|
+
* Structure is documented below.
|
|
274
|
+
*/
|
|
275
|
+
changelogs?: pulumi.Input<pulumi.Input<inputs.chronicle.ParserChangelog>[] | undefined>;
|
|
276
|
+
/**
|
|
277
|
+
* (Output)
|
|
278
|
+
* Time at which changelog was created.
|
|
279
|
+
*/
|
|
280
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
281
|
+
/**
|
|
282
|
+
* Information about the creator of the parser.
|
|
283
|
+
* Structure is documented below.
|
|
284
|
+
*/
|
|
285
|
+
creators?: pulumi.Input<pulumi.Input<inputs.chronicle.ParserCreator>[] | undefined>;
|
|
286
|
+
/**
|
|
287
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
288
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
289
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
290
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
291
|
+
* management without updating or deleting the resource in the API.
|
|
292
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
293
|
+
*/
|
|
294
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
295
|
+
/**
|
|
296
|
+
* Dynamic parsing config applied over the parser, if any.
|
|
297
|
+
*/
|
|
298
|
+
dynamicParsingConfig?: pulumi.Input<string | undefined>;
|
|
299
|
+
/**
|
|
300
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
301
|
+
*/
|
|
302
|
+
instance?: pulumi.Input<string | undefined>;
|
|
303
|
+
/**
|
|
304
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
305
|
+
*/
|
|
306
|
+
location?: pulumi.Input<string | undefined>;
|
|
307
|
+
/**
|
|
308
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
309
|
+
*/
|
|
310
|
+
logtype?: pulumi.Input<string | undefined>;
|
|
311
|
+
/**
|
|
312
|
+
* Message to represent LowCodeParser.
|
|
313
|
+
* Structure is documented below.
|
|
314
|
+
*/
|
|
315
|
+
lowCode?: pulumi.Input<inputs.chronicle.ParserLowCode | undefined>;
|
|
316
|
+
/**
|
|
317
|
+
* name of the parser resource.
|
|
318
|
+
*/
|
|
319
|
+
name?: pulumi.Input<string | undefined>;
|
|
320
|
+
/**
|
|
321
|
+
* Output only. The server-generated ID of the parser.
|
|
322
|
+
*/
|
|
323
|
+
parser?: pulumi.Input<string | undefined>;
|
|
324
|
+
/**
|
|
325
|
+
* Extension applied over the parser, if any.
|
|
326
|
+
*/
|
|
327
|
+
parserExtension?: pulumi.Input<string | undefined>;
|
|
328
|
+
/**
|
|
329
|
+
* The ID of the project in which the resource belongs.
|
|
330
|
+
* If it is not provided, the provider project is used.
|
|
331
|
+
*/
|
|
332
|
+
project?: pulumi.Input<string | undefined>;
|
|
333
|
+
/**
|
|
334
|
+
* The release stage of the parser
|
|
335
|
+
* After internal validations the prebuilt parser will directly start as
|
|
336
|
+
* Release Candidate. The releaseStage of prebuilt parsers are changed
|
|
337
|
+
* after every release cycle:
|
|
338
|
+
* The prebuilt Release Candidate parser is promoted as Release parser.
|
|
339
|
+
* The existing prebuilt Release parser is moved to Rollback state.
|
|
340
|
+
* and existing prebuilt rollback parser is moved to Archived.
|
|
341
|
+
* In case of custom parser:
|
|
342
|
+
* When the customer submits a validation passed custom parser it starts as
|
|
343
|
+
* Release state.
|
|
344
|
+
* And existing one is moved to Rollback stage.
|
|
345
|
+
* And the existing rollback is moved to Archived.
|
|
346
|
+
* In case a release or release candidate parser is found faulty,
|
|
347
|
+
* the parser is marked FAULTY,
|
|
348
|
+
* if it is release parser then rollback candidate is moved to release.
|
|
349
|
+
* Possible values:
|
|
350
|
+
* RELEASE
|
|
351
|
+
* RELEASE_CANDIDATE
|
|
352
|
+
* ROLLBACK_CANDIDATE
|
|
353
|
+
* ARCHIVED
|
|
354
|
+
* FAULTY
|
|
355
|
+
* ARCHIVED_IN_USE
|
|
356
|
+
*/
|
|
357
|
+
releaseStage?: pulumi.Input<string | undefined>;
|
|
358
|
+
/**
|
|
359
|
+
* The state of the parser
|
|
360
|
+
* Possible values:
|
|
361
|
+
* ACTIVE
|
|
362
|
+
* INACTIVE
|
|
363
|
+
*/
|
|
364
|
+
state?: pulumi.Input<string | undefined>;
|
|
365
|
+
/**
|
|
366
|
+
* The type of the parser
|
|
367
|
+
* Possible values:
|
|
368
|
+
* CUSTOM
|
|
369
|
+
* PREBUILT
|
|
370
|
+
*/
|
|
371
|
+
type?: pulumi.Input<string | undefined>;
|
|
372
|
+
/**
|
|
373
|
+
* Flag to bypass parser validation when no logs are found.
|
|
374
|
+
* If enabled, the parser won't be be rejected during the validation
|
|
375
|
+
* phase when no logs are found.
|
|
376
|
+
*/
|
|
377
|
+
validatedOnEmptyLogs?: pulumi.Input<boolean | undefined>;
|
|
378
|
+
/**
|
|
379
|
+
* The Validation report generated during parser validation.
|
|
380
|
+
*/
|
|
381
|
+
validationReport?: pulumi.Input<string | undefined>;
|
|
382
|
+
/**
|
|
383
|
+
* If true, bypasses parser validation.
|
|
384
|
+
* If enabled, the parser won't be rejected during the validation
|
|
385
|
+
* phase and validation will be skipped.
|
|
386
|
+
*/
|
|
387
|
+
validationSkipped?: pulumi.Input<boolean | undefined>;
|
|
388
|
+
/**
|
|
389
|
+
* The validation stage of the parser
|
|
390
|
+
* When a customer submits a new parser for validation, it starts with a
|
|
391
|
+
* new stage.
|
|
392
|
+
* When parser is picked for validation, it changes to Validation state.
|
|
393
|
+
* If validation failed it is marked as failed, and
|
|
394
|
+
* existing failed is moved to deleteCandidate stage.
|
|
395
|
+
* If passes it is moved to passed stage.
|
|
396
|
+
* If customer opts to submit it, the parser is moved to Release State.
|
|
397
|
+
* Possible values:
|
|
398
|
+
* NEW
|
|
399
|
+
* VALIDATING
|
|
400
|
+
* PASSED
|
|
401
|
+
* FAILED
|
|
402
|
+
* DELETE_CANDIDATE
|
|
403
|
+
* INTERNAL_ERROR
|
|
404
|
+
* VALIDATION_SKIPPED
|
|
405
|
+
*/
|
|
406
|
+
validationStage?: pulumi.Input<string | undefined>;
|
|
407
|
+
/**
|
|
408
|
+
* ParserVersionInfo gives the version information of the parser and related
|
|
409
|
+
* properties like pinned etc.
|
|
410
|
+
* Structure is documented below.
|
|
411
|
+
*/
|
|
412
|
+
versionInfo?: pulumi.Input<inputs.chronicle.ParserVersionInfo | undefined>;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* The set of arguments for constructing a Parser resource.
|
|
416
|
+
*/
|
|
417
|
+
export interface ParserArgs {
|
|
418
|
+
/**
|
|
419
|
+
* if the parser is built using config
|
|
420
|
+
* documentation:
|
|
421
|
+
* https://cloud.google.com/chronicle/docs/preview/parser-extensions/parsing-overview
|
|
422
|
+
*/
|
|
423
|
+
cbn?: pulumi.Input<string | undefined>;
|
|
424
|
+
/**
|
|
425
|
+
* Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
|
|
426
|
+
* When a 'terraform destroy' or 'pulumi up' would delete the resource,
|
|
427
|
+
* the command will fail if this field is set to "PREVENT" in Terraform state.
|
|
428
|
+
* When set to "ABANDON", the command will remove the resource from Terraform
|
|
429
|
+
* management without updating or deleting the resource in the API.
|
|
430
|
+
* When set to "DELETE", deleting the resource is allowed.
|
|
431
|
+
*/
|
|
432
|
+
deletionPolicy?: pulumi.Input<string | undefined>;
|
|
433
|
+
/**
|
|
434
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
435
|
+
*/
|
|
436
|
+
instance: pulumi.Input<string>;
|
|
437
|
+
/**
|
|
438
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
439
|
+
*/
|
|
440
|
+
location: pulumi.Input<string>;
|
|
441
|
+
/**
|
|
442
|
+
* Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
|
443
|
+
*/
|
|
444
|
+
logtype: pulumi.Input<string>;
|
|
445
|
+
/**
|
|
446
|
+
* Message to represent LowCodeParser.
|
|
447
|
+
* Structure is documented below.
|
|
448
|
+
*/
|
|
449
|
+
lowCode?: pulumi.Input<inputs.chronicle.ParserLowCode | undefined>;
|
|
450
|
+
/**
|
|
451
|
+
* The ID of the project in which the resource belongs.
|
|
452
|
+
* If it is not provided, the provider project is used.
|
|
453
|
+
*/
|
|
454
|
+
project?: pulumi.Input<string | undefined>;
|
|
455
|
+
/**
|
|
456
|
+
* Flag to bypass parser validation when no logs are found.
|
|
457
|
+
* If enabled, the parser won't be be rejected during the validation
|
|
458
|
+
* phase when no logs are found.
|
|
459
|
+
*/
|
|
460
|
+
validatedOnEmptyLogs?: pulumi.Input<boolean | undefined>;
|
|
461
|
+
/**
|
|
462
|
+
* If true, bypasses parser validation.
|
|
463
|
+
* If enabled, the parser won't be rejected during the validation
|
|
464
|
+
* phase and validation will be skipped.
|
|
465
|
+
*/
|
|
466
|
+
validationSkipped?: pulumi.Input<boolean | undefined>;
|
|
467
|
+
/**
|
|
468
|
+
* ParserVersionInfo gives the version information of the parser and related
|
|
469
|
+
* properties like pinned etc.
|
|
470
|
+
* Structure is documented below.
|
|
471
|
+
*/
|
|
472
|
+
versionInfo?: pulumi.Input<inputs.chronicle.ParserVersionInfo | undefined>;
|
|
473
|
+
}
|
|
474
|
+
//# sourceMappingURL=parser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../chronicle/parser.ts"],"names":[],"mapp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