@googleapis/securitycenter 17.1.0 → 17.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/CHANGELOG.md +14 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +369 -3
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +337 -3
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +334 -0
- package/build/v1beta2.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +541 -347
- package/v1beta1.ts +360 -49
- package/v1beta2.ts +395 -122
package/v1beta1.ts
CHANGED
|
@@ -256,6 +256,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
256
256
|
* The publisher of the model, for example, “google” or “nvidia”.
|
|
257
257
|
*/
|
|
258
258
|
publisher?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* The purpose of the model, for example, "Inteference" or "Training".
|
|
261
|
+
*/
|
|
262
|
+
usageCategory?: string | null;
|
|
259
263
|
}
|
|
260
264
|
/**
|
|
261
265
|
* Allowed IP rule.
|
|
@@ -279,6 +283,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
279
283
|
*/
|
|
280
284
|
fullUri?: string | null;
|
|
281
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* Represents the result of evaluating artifact guard policies.
|
|
288
|
+
*/
|
|
289
|
+
export interface Schema$ArtifactGuardPolicies {
|
|
290
|
+
/**
|
|
291
|
+
* A list of failing policies.
|
|
292
|
+
*/
|
|
293
|
+
failingPolicies?: Schema$ArtifactGuardPolicy[];
|
|
294
|
+
/**
|
|
295
|
+
* The ID of the resource that has policies configured for it.
|
|
296
|
+
*/
|
|
297
|
+
resourceId?: string | null;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Represents an artifact guard policy.
|
|
301
|
+
*/
|
|
302
|
+
export interface Schema$ArtifactGuardPolicy {
|
|
303
|
+
/**
|
|
304
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
305
|
+
*/
|
|
306
|
+
failureReason?: string | null;
|
|
307
|
+
/**
|
|
308
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
309
|
+
*/
|
|
310
|
+
policyId?: string | null;
|
|
311
|
+
/**
|
|
312
|
+
* The type of the policy evaluation.
|
|
313
|
+
*/
|
|
314
|
+
type?: string | null;
|
|
315
|
+
}
|
|
282
316
|
/**
|
|
283
317
|
* Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
|
|
284
318
|
*/
|
|
@@ -1204,6 +1238,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1204
1238
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
1205
1239
|
*/
|
|
1206
1240
|
diskPath?: Schema$DiskPath;
|
|
1241
|
+
/**
|
|
1242
|
+
* The load state of the file.
|
|
1243
|
+
*/
|
|
1244
|
+
fileLoadState?: string | null;
|
|
1207
1245
|
/**
|
|
1208
1246
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
1209
1247
|
*/
|
|
@@ -1258,6 +1296,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1258
1296
|
* Represents an application associated with the finding.
|
|
1259
1297
|
*/
|
|
1260
1298
|
application?: Schema$Application;
|
|
1299
|
+
/**
|
|
1300
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
1301
|
+
*/
|
|
1302
|
+
artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
|
|
1261
1303
|
/**
|
|
1262
1304
|
* The results of an attack path simulation relevant to this finding.
|
|
1263
1305
|
*/
|
|
@@ -1460,6 +1502,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
1460
1502
|
* For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
|
|
1461
1503
|
*/
|
|
1462
1504
|
resourceName?: string | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Secret associated with the finding.
|
|
1507
|
+
*/
|
|
1508
|
+
secret?: Schema$Secret;
|
|
1463
1509
|
/**
|
|
1464
1510
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
1465
1511
|
*/
|
|
@@ -2049,6 +2095,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2049
2095
|
* Information related to the Google Cloud resource.
|
|
2050
2096
|
*/
|
|
2051
2097
|
export interface Schema$GoogleCloudSecuritycenterV1Resource {
|
|
2098
|
+
/**
|
|
2099
|
+
* The App Hub application this resource belongs to.
|
|
2100
|
+
*/
|
|
2101
|
+
application?: Schema$GoogleCloudSecuritycenterV1ResourceApplication;
|
|
2052
2102
|
/**
|
|
2053
2103
|
* The AWS metadata associated with the finding.
|
|
2054
2104
|
*/
|
|
@@ -2114,6 +2164,71 @@ export namespace securitycenter_v1beta1 {
|
|
|
2114
2164
|
*/
|
|
2115
2165
|
type?: string | null;
|
|
2116
2166
|
}
|
|
2167
|
+
/**
|
|
2168
|
+
* The App Hub Application associated with the finding's resource.
|
|
2169
|
+
*/
|
|
2170
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplication {
|
|
2171
|
+
/**
|
|
2172
|
+
* Consumer provided attributes for the application
|
|
2173
|
+
*/
|
|
2174
|
+
attributes?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes;
|
|
2175
|
+
/**
|
|
2176
|
+
* The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
|
|
2177
|
+
*/
|
|
2178
|
+
name?: string | null;
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Consumer provided attributes for the application
|
|
2182
|
+
*/
|
|
2183
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes {
|
|
2184
|
+
/**
|
|
2185
|
+
* Business team that ensures user needs are met and value is delivered
|
|
2186
|
+
*/
|
|
2187
|
+
businessOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2188
|
+
/**
|
|
2189
|
+
* User-defined criticality information.
|
|
2190
|
+
*/
|
|
2191
|
+
criticality?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality;
|
|
2192
|
+
/**
|
|
2193
|
+
* Developer team that owns development and coding.
|
|
2194
|
+
*/
|
|
2195
|
+
developerOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2196
|
+
/**
|
|
2197
|
+
* User-defined environment information.
|
|
2198
|
+
*/
|
|
2199
|
+
environment?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment;
|
|
2200
|
+
/**
|
|
2201
|
+
* Operator team that ensures runtime and operations.
|
|
2202
|
+
*/
|
|
2203
|
+
operatorOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2204
|
+
}
|
|
2205
|
+
/**
|
|
2206
|
+
* Contact information of stakeholders.
|
|
2207
|
+
*/
|
|
2208
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo {
|
|
2209
|
+
/**
|
|
2210
|
+
* Email address of the contacts.
|
|
2211
|
+
*/
|
|
2212
|
+
email?: string | null;
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* Criticality of the Application, Service, or Workload
|
|
2216
|
+
*/
|
|
2217
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality {
|
|
2218
|
+
/**
|
|
2219
|
+
* Criticality Type.
|
|
2220
|
+
*/
|
|
2221
|
+
type?: string | null;
|
|
2222
|
+
}
|
|
2223
|
+
/**
|
|
2224
|
+
* Environment of the Application, Service, or Workload
|
|
2225
|
+
*/
|
|
2226
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment {
|
|
2227
|
+
/**
|
|
2228
|
+
* Environment Type.
|
|
2229
|
+
*/
|
|
2230
|
+
type?: string | null;
|
|
2231
|
+
}
|
|
2117
2232
|
/**
|
|
2118
2233
|
* Resource for selecting resource type.
|
|
2119
2234
|
*/
|
|
@@ -2367,6 +2482,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
2367
2482
|
* The publisher of the model, for example, “google” or “nvidia”.
|
|
2368
2483
|
*/
|
|
2369
2484
|
publisher?: string | null;
|
|
2485
|
+
/**
|
|
2486
|
+
* The purpose of the model, for example, "Inteference" or "Training".
|
|
2487
|
+
*/
|
|
2488
|
+
usageCategory?: string | null;
|
|
2370
2489
|
}
|
|
2371
2490
|
/**
|
|
2372
2491
|
* Allowed IP rule.
|
|
@@ -2390,6 +2509,36 @@ export namespace securitycenter_v1beta1 {
|
|
|
2390
2509
|
*/
|
|
2391
2510
|
fullUri?: string | null;
|
|
2392
2511
|
}
|
|
2512
|
+
/**
|
|
2513
|
+
* Represents the result of evaluating artifact guard policies.
|
|
2514
|
+
*/
|
|
2515
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
|
|
2516
|
+
/**
|
|
2517
|
+
* A list of failing policies.
|
|
2518
|
+
*/
|
|
2519
|
+
failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
|
|
2520
|
+
/**
|
|
2521
|
+
* The ID of the resource that has policies configured for it.
|
|
2522
|
+
*/
|
|
2523
|
+
resourceId?: string | null;
|
|
2524
|
+
}
|
|
2525
|
+
/**
|
|
2526
|
+
* Represents an artifact guard policy.
|
|
2527
|
+
*/
|
|
2528
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
|
|
2529
|
+
/**
|
|
2530
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
2531
|
+
*/
|
|
2532
|
+
failureReason?: string | null;
|
|
2533
|
+
/**
|
|
2534
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
2535
|
+
*/
|
|
2536
|
+
policyId?: string | null;
|
|
2537
|
+
/**
|
|
2538
|
+
* The type of the policy evaluation.
|
|
2539
|
+
*/
|
|
2540
|
+
type?: string | null;
|
|
2541
|
+
}
|
|
2393
2542
|
/**
|
|
2394
2543
|
* Information about DDoS attack volume and classification.
|
|
2395
2544
|
*/
|
|
@@ -3290,6 +3439,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3290
3439
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
3291
3440
|
*/
|
|
3292
3441
|
diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
|
|
3442
|
+
/**
|
|
3443
|
+
* The load state of the file.
|
|
3444
|
+
*/
|
|
3445
|
+
fileLoadState?: string | null;
|
|
3293
3446
|
/**
|
|
3294
3447
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
3295
3448
|
*/
|
|
@@ -3344,6 +3497,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3344
3497
|
* Represents an application associated with the finding.
|
|
3345
3498
|
*/
|
|
3346
3499
|
application?: Schema$GoogleCloudSecuritycenterV2Application;
|
|
3500
|
+
/**
|
|
3501
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
3502
|
+
*/
|
|
3503
|
+
artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
|
|
3347
3504
|
/**
|
|
3348
3505
|
* The results of an attack path simulation relevant to this finding.
|
|
3349
3506
|
*/
|
|
@@ -3552,6 +3709,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
3552
3709
|
* Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string.
|
|
3553
3710
|
*/
|
|
3554
3711
|
resourceName?: string | null;
|
|
3712
|
+
/**
|
|
3713
|
+
* Secret associated with the finding.
|
|
3714
|
+
*/
|
|
3715
|
+
secret?: Schema$GoogleCloudSecuritycenterV2Secret;
|
|
3555
3716
|
/**
|
|
3556
3717
|
* Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
|
|
3557
3718
|
*/
|
|
@@ -4584,6 +4745,10 @@ export namespace securitycenter_v1beta1 {
|
|
|
4584
4745
|
* Information related to the Google Cloud resource.
|
|
4585
4746
|
*/
|
|
4586
4747
|
export interface Schema$GoogleCloudSecuritycenterV2Resource {
|
|
4748
|
+
/**
|
|
4749
|
+
* The App Hub application this resource belongs to.
|
|
4750
|
+
*/
|
|
4751
|
+
application?: Schema$GoogleCloudSecuritycenterV2ResourceApplication;
|
|
4587
4752
|
/**
|
|
4588
4753
|
* The AWS metadata associated with the finding.
|
|
4589
4754
|
*/
|
|
@@ -4629,6 +4794,71 @@ export namespace securitycenter_v1beta1 {
|
|
|
4629
4794
|
*/
|
|
4630
4795
|
type?: string | null;
|
|
4631
4796
|
}
|
|
4797
|
+
/**
|
|
4798
|
+
* The App Hub Application associated with the finding's resource.
|
|
4799
|
+
*/
|
|
4800
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplication {
|
|
4801
|
+
/**
|
|
4802
|
+
* Consumer provided attributes for the application
|
|
4803
|
+
*/
|
|
4804
|
+
attributes?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes;
|
|
4805
|
+
/**
|
|
4806
|
+
* The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
|
|
4807
|
+
*/
|
|
4808
|
+
name?: string | null;
|
|
4809
|
+
}
|
|
4810
|
+
/**
|
|
4811
|
+
* Consumer provided attributes for the application
|
|
4812
|
+
*/
|
|
4813
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes {
|
|
4814
|
+
/**
|
|
4815
|
+
* Business team that ensures user needs are met and value is delivered
|
|
4816
|
+
*/
|
|
4817
|
+
businessOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4818
|
+
/**
|
|
4819
|
+
* User-defined criticality information.
|
|
4820
|
+
*/
|
|
4821
|
+
criticality?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality;
|
|
4822
|
+
/**
|
|
4823
|
+
* Developer team that owns development and coding.
|
|
4824
|
+
*/
|
|
4825
|
+
developerOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4826
|
+
/**
|
|
4827
|
+
* User-defined environment information.
|
|
4828
|
+
*/
|
|
4829
|
+
environment?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment;
|
|
4830
|
+
/**
|
|
4831
|
+
* Operator team that ensures runtime and operations.
|
|
4832
|
+
*/
|
|
4833
|
+
operatorOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4834
|
+
}
|
|
4835
|
+
/**
|
|
4836
|
+
* Contact information of stakeholders.
|
|
4837
|
+
*/
|
|
4838
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo {
|
|
4839
|
+
/**
|
|
4840
|
+
* Email address of the contacts.
|
|
4841
|
+
*/
|
|
4842
|
+
email?: string | null;
|
|
4843
|
+
}
|
|
4844
|
+
/**
|
|
4845
|
+
* Criticality of the Application, Service, or Workload
|
|
4846
|
+
*/
|
|
4847
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality {
|
|
4848
|
+
/**
|
|
4849
|
+
* Criticality Type.
|
|
4850
|
+
*/
|
|
4851
|
+
type?: string | null;
|
|
4852
|
+
}
|
|
4853
|
+
/**
|
|
4854
|
+
* Environment of the Application, Service, or Workload
|
|
4855
|
+
*/
|
|
4856
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment {
|
|
4857
|
+
/**
|
|
4858
|
+
* Environment Type.
|
|
4859
|
+
*/
|
|
4860
|
+
type?: string | null;
|
|
4861
|
+
}
|
|
4632
4862
|
/**
|
|
4633
4863
|
* Represents the path of resources leading up to the resource this finding is about.
|
|
4634
4864
|
*/
|
|
@@ -4721,6 +4951,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
4721
4951
|
*/
|
|
4722
4952
|
ns?: string | null;
|
|
4723
4953
|
}
|
|
4954
|
+
/**
|
|
4955
|
+
* Details about a secret or credential associated with the finding.
|
|
4956
|
+
*/
|
|
4957
|
+
export interface Schema$GoogleCloudSecuritycenterV2Secret {
|
|
4958
|
+
/**
|
|
4959
|
+
* The environment variable containing the secret.
|
|
4960
|
+
*/
|
|
4961
|
+
environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
|
|
4962
|
+
/**
|
|
4963
|
+
* The file containing the secret.
|
|
4964
|
+
*/
|
|
4965
|
+
filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
|
|
4966
|
+
/**
|
|
4967
|
+
* The status of the secret.
|
|
4968
|
+
*/
|
|
4969
|
+
status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
|
|
4970
|
+
/**
|
|
4971
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
4972
|
+
*/
|
|
4973
|
+
type?: string | null;
|
|
4974
|
+
}
|
|
4975
|
+
/**
|
|
4976
|
+
* Environment variable containing the secret.
|
|
4977
|
+
*/
|
|
4978
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
|
|
4979
|
+
/**
|
|
4980
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
4981
|
+
*/
|
|
4982
|
+
key?: string | null;
|
|
4983
|
+
}
|
|
4984
|
+
/**
|
|
4985
|
+
* File path containing the secret.
|
|
4986
|
+
*/
|
|
4987
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
|
|
4988
|
+
/**
|
|
4989
|
+
* Path to the file.
|
|
4990
|
+
*/
|
|
4991
|
+
path?: string | null;
|
|
4992
|
+
}
|
|
4993
|
+
/**
|
|
4994
|
+
* The status of the secret.
|
|
4995
|
+
*/
|
|
4996
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
|
|
4997
|
+
/**
|
|
4998
|
+
* Time that the secret was found.
|
|
4999
|
+
*/
|
|
5000
|
+
lastUpdatedTime?: string | null;
|
|
5001
|
+
/**
|
|
5002
|
+
* The validity of the secret.
|
|
5003
|
+
*/
|
|
5004
|
+
validity?: string | null;
|
|
5005
|
+
}
|
|
4724
5006
|
/**
|
|
4725
5007
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
4726
5008
|
*/
|
|
@@ -5358,7 +5640,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
5358
5640
|
*/
|
|
5359
5641
|
operations?: Schema$Operation[];
|
|
5360
5642
|
/**
|
|
5361
|
-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
5643
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
|
|
5362
5644
|
*/
|
|
5363
5645
|
unreachable?: string[] | null;
|
|
5364
5646
|
}
|
|
@@ -5825,6 +6107,58 @@ export namespace securitycenter_v1beta1 {
|
|
|
5825
6107
|
* Request message for running asset discovery for an organization.
|
|
5826
6108
|
*/
|
|
5827
6109
|
export interface Schema$RunAssetDiscoveryRequest {}
|
|
6110
|
+
/**
|
|
6111
|
+
* Details about a secret or credential associated with the finding.
|
|
6112
|
+
*/
|
|
6113
|
+
export interface Schema$Secret {
|
|
6114
|
+
/**
|
|
6115
|
+
* The environment variable containing the secret.
|
|
6116
|
+
*/
|
|
6117
|
+
environmentVariable?: Schema$SecretEnvironmentVariable;
|
|
6118
|
+
/**
|
|
6119
|
+
* The file containing the secret.
|
|
6120
|
+
*/
|
|
6121
|
+
filePath?: Schema$SecretFilePath;
|
|
6122
|
+
/**
|
|
6123
|
+
* The status of the secret.
|
|
6124
|
+
*/
|
|
6125
|
+
status?: Schema$SecretStatus;
|
|
6126
|
+
/**
|
|
6127
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
6128
|
+
*/
|
|
6129
|
+
type?: string | null;
|
|
6130
|
+
}
|
|
6131
|
+
/**
|
|
6132
|
+
* Environment variable containing the secret.
|
|
6133
|
+
*/
|
|
6134
|
+
export interface Schema$SecretEnvironmentVariable {
|
|
6135
|
+
/**
|
|
6136
|
+
* Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content.
|
|
6137
|
+
*/
|
|
6138
|
+
key?: string | null;
|
|
6139
|
+
}
|
|
6140
|
+
/**
|
|
6141
|
+
* File path containing the secret.
|
|
6142
|
+
*/
|
|
6143
|
+
export interface Schema$SecretFilePath {
|
|
6144
|
+
/**
|
|
6145
|
+
* Path to the file.
|
|
6146
|
+
*/
|
|
6147
|
+
path?: string | null;
|
|
6148
|
+
}
|
|
6149
|
+
/**
|
|
6150
|
+
* The status of the secret.
|
|
6151
|
+
*/
|
|
6152
|
+
export interface Schema$SecretStatus {
|
|
6153
|
+
/**
|
|
6154
|
+
* Time that the secret was found.
|
|
6155
|
+
*/
|
|
6156
|
+
lastUpdatedTime?: string | null;
|
|
6157
|
+
/**
|
|
6158
|
+
* The validity of the secret.
|
|
6159
|
+
*/
|
|
6160
|
+
validity?: string | null;
|
|
6161
|
+
}
|
|
5828
6162
|
/**
|
|
5829
6163
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
5830
6164
|
*/
|
|
@@ -6503,15 +6837,13 @@ export namespace securitycenter_v1beta1 {
|
|
|
6503
6837
|
}
|
|
6504
6838
|
}
|
|
6505
6839
|
|
|
6506
|
-
export interface Params$Resource$Organizations$Getorganizationsettings
|
|
6507
|
-
extends StandardParameters {
|
|
6840
|
+
export interface Params$Resource$Organizations$Getorganizationsettings extends StandardParameters {
|
|
6508
6841
|
/**
|
|
6509
6842
|
* Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings".
|
|
6510
6843
|
*/
|
|
6511
6844
|
name?: string;
|
|
6512
6845
|
}
|
|
6513
|
-
export interface Params$Resource$Organizations$Updateorganizationsettings
|
|
6514
|
-
extends StandardParameters {
|
|
6846
|
+
export interface Params$Resource$Organizations$Updateorganizationsettings extends StandardParameters {
|
|
6515
6847
|
/**
|
|
6516
6848
|
* The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id\}/organizationSettings".
|
|
6517
6849
|
*/
|
|
@@ -7149,8 +7481,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7149
7481
|
}
|
|
7150
7482
|
}
|
|
7151
7483
|
|
|
7152
|
-
export interface Params$Resource$Organizations$Assets$Group
|
|
7153
|
-
extends StandardParameters {
|
|
7484
|
+
export interface Params$Resource$Organizations$Assets$Group extends StandardParameters {
|
|
7154
7485
|
/**
|
|
7155
7486
|
* Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".
|
|
7156
7487
|
*/
|
|
@@ -7161,8 +7492,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7161
7492
|
*/
|
|
7162
7493
|
requestBody?: Schema$GroupAssetsRequest;
|
|
7163
7494
|
}
|
|
7164
|
-
export interface Params$Resource$Organizations$Assets$List
|
|
7165
|
-
extends StandardParameters {
|
|
7495
|
+
export interface Params$Resource$Organizations$Assets$List extends StandardParameters {
|
|
7166
7496
|
/**
|
|
7167
7497
|
* When compare_duration is set, the ListAssetResult's "state" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible "state" values when compare_duration is specified: * "ADDED": indicates that the asset was not present before compare_duration, but present at read_time. * "REMOVED": indicates that the asset was present at the start of compare_duration, but not present at read_time. * "ACTIVE": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state is "UNUSED", which indicates that the asset is present at read_time.
|
|
7168
7498
|
*/
|
|
@@ -7196,8 +7526,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7196
7526
|
*/
|
|
7197
7527
|
readTime?: string;
|
|
7198
7528
|
}
|
|
7199
|
-
export interface Params$Resource$Organizations$Assets$Rundiscovery
|
|
7200
|
-
extends StandardParameters {
|
|
7529
|
+
export interface Params$Resource$Organizations$Assets$Rundiscovery extends StandardParameters {
|
|
7201
7530
|
/**
|
|
7202
7531
|
* Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".
|
|
7203
7532
|
*/
|
|
@@ -7208,8 +7537,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7208
7537
|
*/
|
|
7209
7538
|
requestBody?: Schema$RunAssetDiscoveryRequest;
|
|
7210
7539
|
}
|
|
7211
|
-
export interface Params$Resource$Organizations$Assets$Updatesecuritymarks
|
|
7212
|
-
extends StandardParameters {
|
|
7540
|
+
export interface Params$Resource$Organizations$Assets$Updatesecuritymarks extends StandardParameters {
|
|
7213
7541
|
/**
|
|
7214
7542
|
* The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id\}/assets/{asset_id\}/securityMarks" "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks".
|
|
7215
7543
|
*/
|
|
@@ -7688,7 +8016,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7688
8016
|
* pageSize: 'placeholder-value',
|
|
7689
8017
|
* // The standard list page token.
|
|
7690
8018
|
* pageToken: 'placeholder-value',
|
|
7691
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
8019
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
7692
8020
|
* returnPartialSuccess: 'placeholder-value',
|
|
7693
8021
|
* });
|
|
7694
8022
|
* console.log(res.data);
|
|
@@ -7797,8 +8125,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7797
8125
|
}
|
|
7798
8126
|
}
|
|
7799
8127
|
|
|
7800
|
-
export interface Params$Resource$Organizations$Operations$Cancel
|
|
7801
|
-
extends StandardParameters {
|
|
8128
|
+
export interface Params$Resource$Organizations$Operations$Cancel extends StandardParameters {
|
|
7802
8129
|
/**
|
|
7803
8130
|
* The name of the operation resource to be cancelled.
|
|
7804
8131
|
*/
|
|
@@ -7809,22 +8136,19 @@ export namespace securitycenter_v1beta1 {
|
|
|
7809
8136
|
*/
|
|
7810
8137
|
requestBody?: Schema$CancelOperationRequest;
|
|
7811
8138
|
}
|
|
7812
|
-
export interface Params$Resource$Organizations$Operations$Delete
|
|
7813
|
-
extends StandardParameters {
|
|
8139
|
+
export interface Params$Resource$Organizations$Operations$Delete extends StandardParameters {
|
|
7814
8140
|
/**
|
|
7815
8141
|
* The name of the operation resource to be deleted.
|
|
7816
8142
|
*/
|
|
7817
8143
|
name?: string;
|
|
7818
8144
|
}
|
|
7819
|
-
export interface Params$Resource$Organizations$Operations$Get
|
|
7820
|
-
extends StandardParameters {
|
|
8145
|
+
export interface Params$Resource$Organizations$Operations$Get extends StandardParameters {
|
|
7821
8146
|
/**
|
|
7822
8147
|
* The name of the operation resource.
|
|
7823
8148
|
*/
|
|
7824
8149
|
name?: string;
|
|
7825
8150
|
}
|
|
7826
|
-
export interface Params$Resource$Organizations$Operations$List
|
|
7827
|
-
extends StandardParameters {
|
|
8151
|
+
export interface Params$Resource$Organizations$Operations$List extends StandardParameters {
|
|
7828
8152
|
/**
|
|
7829
8153
|
* The standard list filter.
|
|
7830
8154
|
*/
|
|
@@ -7842,7 +8166,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
7842
8166
|
*/
|
|
7843
8167
|
pageToken?: string;
|
|
7844
8168
|
/**
|
|
7845
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
8169
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
7846
8170
|
*/
|
|
7847
8171
|
returnPartialSuccess?: boolean;
|
|
7848
8172
|
}
|
|
@@ -8884,8 +9208,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
8884
9208
|
}
|
|
8885
9209
|
}
|
|
8886
9210
|
|
|
8887
|
-
export interface Params$Resource$Organizations$Sources$Create
|
|
8888
|
-
extends StandardParameters {
|
|
9211
|
+
export interface Params$Resource$Organizations$Sources$Create extends StandardParameters {
|
|
8889
9212
|
/**
|
|
8890
9213
|
* Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]".
|
|
8891
9214
|
*/
|
|
@@ -8896,15 +9219,13 @@ export namespace securitycenter_v1beta1 {
|
|
|
8896
9219
|
*/
|
|
8897
9220
|
requestBody?: Schema$Source;
|
|
8898
9221
|
}
|
|
8899
|
-
export interface Params$Resource$Organizations$Sources$Get
|
|
8900
|
-
extends StandardParameters {
|
|
9222
|
+
export interface Params$Resource$Organizations$Sources$Get extends StandardParameters {
|
|
8901
9223
|
/**
|
|
8902
9224
|
* Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".
|
|
8903
9225
|
*/
|
|
8904
9226
|
name?: string;
|
|
8905
9227
|
}
|
|
8906
|
-
export interface Params$Resource$Organizations$Sources$Getiampolicy
|
|
8907
|
-
extends StandardParameters {
|
|
9228
|
+
export interface Params$Resource$Organizations$Sources$Getiampolicy extends StandardParameters {
|
|
8908
9229
|
/**
|
|
8909
9230
|
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
8910
9231
|
*/
|
|
@@ -8915,8 +9236,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
8915
9236
|
*/
|
|
8916
9237
|
requestBody?: Schema$GetIamPolicyRequest;
|
|
8917
9238
|
}
|
|
8918
|
-
export interface Params$Resource$Organizations$Sources$List
|
|
8919
|
-
extends StandardParameters {
|
|
9239
|
+
export interface Params$Resource$Organizations$Sources$List extends StandardParameters {
|
|
8920
9240
|
/**
|
|
8921
9241
|
* The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
|
|
8922
9242
|
*/
|
|
@@ -8930,8 +9250,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
8930
9250
|
*/
|
|
8931
9251
|
parent?: string;
|
|
8932
9252
|
}
|
|
8933
|
-
export interface Params$Resource$Organizations$Sources$Patch
|
|
8934
|
-
extends StandardParameters {
|
|
9253
|
+
export interface Params$Resource$Organizations$Sources$Patch extends StandardParameters {
|
|
8935
9254
|
/**
|
|
8936
9255
|
* The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id\}/sources/{source_id\}"
|
|
8937
9256
|
*/
|
|
@@ -8946,8 +9265,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
8946
9265
|
*/
|
|
8947
9266
|
requestBody?: Schema$Source;
|
|
8948
9267
|
}
|
|
8949
|
-
export interface Params$Resource$Organizations$Sources$Setiampolicy
|
|
8950
|
-
extends StandardParameters {
|
|
9268
|
+
export interface Params$Resource$Organizations$Sources$Setiampolicy extends StandardParameters {
|
|
8951
9269
|
/**
|
|
8952
9270
|
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
8953
9271
|
*/
|
|
@@ -8958,8 +9276,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
8958
9276
|
*/
|
|
8959
9277
|
requestBody?: Schema$SetIamPolicyRequest;
|
|
8960
9278
|
}
|
|
8961
|
-
export interface Params$Resource$Organizations$Sources$Testiampermissions
|
|
8962
|
-
extends StandardParameters {
|
|
9279
|
+
export interface Params$Resource$Organizations$Sources$Testiampermissions extends StandardParameters {
|
|
8963
9280
|
/**
|
|
8964
9281
|
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
|
|
8965
9282
|
*/
|
|
@@ -9963,8 +10280,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
9963
10280
|
}
|
|
9964
10281
|
}
|
|
9965
10282
|
|
|
9966
|
-
export interface Params$Resource$Organizations$Sources$Findings$Create
|
|
9967
|
-
extends StandardParameters {
|
|
10283
|
+
export interface Params$Resource$Organizations$Sources$Findings$Create extends StandardParameters {
|
|
9968
10284
|
/**
|
|
9969
10285
|
* Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.
|
|
9970
10286
|
*/
|
|
@@ -9979,8 +10295,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
9979
10295
|
*/
|
|
9980
10296
|
requestBody?: Schema$GoogleCloudSecuritycenterV1beta1Finding;
|
|
9981
10297
|
}
|
|
9982
|
-
export interface Params$Resource$Organizations$Sources$Findings$Group
|
|
9983
|
-
extends StandardParameters {
|
|
10298
|
+
export interface Params$Resource$Organizations$Sources$Findings$Group extends StandardParameters {
|
|
9984
10299
|
/**
|
|
9985
10300
|
* Required. Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id\}/sources/-
|
|
9986
10301
|
*/
|
|
@@ -9991,8 +10306,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
9991
10306
|
*/
|
|
9992
10307
|
requestBody?: Schema$GroupFindingsRequest;
|
|
9993
10308
|
}
|
|
9994
|
-
export interface Params$Resource$Organizations$Sources$Findings$List
|
|
9995
|
-
extends StandardParameters {
|
|
10309
|
+
export interface Params$Resource$Organizations$Sources$Findings$List extends StandardParameters {
|
|
9996
10310
|
/**
|
|
9997
10311
|
* Optional. A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.
|
|
9998
10312
|
*/
|
|
@@ -10022,8 +10336,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
10022
10336
|
*/
|
|
10023
10337
|
readTime?: string;
|
|
10024
10338
|
}
|
|
10025
|
-
export interface Params$Resource$Organizations$Sources$Findings$Patch
|
|
10026
|
-
extends StandardParameters {
|
|
10339
|
+
export interface Params$Resource$Organizations$Sources$Findings$Patch extends StandardParameters {
|
|
10027
10340
|
/**
|
|
10028
10341
|
* The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}"
|
|
10029
10342
|
*/
|
|
@@ -10038,8 +10351,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
10038
10351
|
*/
|
|
10039
10352
|
requestBody?: Schema$GoogleCloudSecuritycenterV1beta1Finding;
|
|
10040
10353
|
}
|
|
10041
|
-
export interface Params$Resource$Organizations$Sources$Findings$Setstate
|
|
10042
|
-
extends StandardParameters {
|
|
10354
|
+
export interface Params$Resource$Organizations$Sources$Findings$Setstate extends StandardParameters {
|
|
10043
10355
|
/**
|
|
10044
10356
|
* Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id\}/sources/{source_id\}/finding/{finding_id\}".
|
|
10045
10357
|
*/
|
|
@@ -10050,8 +10362,7 @@ export namespace securitycenter_v1beta1 {
|
|
|
10050
10362
|
*/
|
|
10051
10363
|
requestBody?: Schema$SetFindingStateRequest;
|
|
10052
10364
|
}
|
|
10053
|
-
export interface Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks
|
|
10054
|
-
extends StandardParameters {
|
|
10365
|
+
export interface Params$Resource$Organizations$Sources$Findings$Updatesecuritymarks extends StandardParameters {
|
|
10055
10366
|
/**
|
|
10056
10367
|
* The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id\}/assets/{asset_id\}/securityMarks" "organizations/{organization_id\}/sources/{source_id\}/findings/{finding_id\}/securityMarks".
|
|
10057
10368
|
*/
|