@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/build/v1.d.ts
CHANGED
|
@@ -204,6 +204,10 @@ export declare namespace securitycenter_v1 {
|
|
|
204
204
|
* The publisher of the model, for example, “google” or “nvidia”.
|
|
205
205
|
*/
|
|
206
206
|
publisher?: string | null;
|
|
207
|
+
/**
|
|
208
|
+
* The purpose of the model, for example, "Inteference" or "Training".
|
|
209
|
+
*/
|
|
210
|
+
usageCategory?: string | null;
|
|
207
211
|
}
|
|
208
212
|
/**
|
|
209
213
|
* Allowed IP rule.
|
|
@@ -227,6 +231,36 @@ export declare namespace securitycenter_v1 {
|
|
|
227
231
|
*/
|
|
228
232
|
fullUri?: string | null;
|
|
229
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* Represents the result of evaluating artifact guard policies.
|
|
236
|
+
*/
|
|
237
|
+
export interface Schema$ArtifactGuardPolicies {
|
|
238
|
+
/**
|
|
239
|
+
* A list of failing policies.
|
|
240
|
+
*/
|
|
241
|
+
failingPolicies?: Schema$ArtifactGuardPolicy[];
|
|
242
|
+
/**
|
|
243
|
+
* The ID of the resource that has policies configured for it.
|
|
244
|
+
*/
|
|
245
|
+
resourceId?: string | null;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Represents an artifact guard policy.
|
|
249
|
+
*/
|
|
250
|
+
export interface Schema$ArtifactGuardPolicy {
|
|
251
|
+
/**
|
|
252
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
253
|
+
*/
|
|
254
|
+
failureReason?: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
257
|
+
*/
|
|
258
|
+
policyId?: string | null;
|
|
259
|
+
/**
|
|
260
|
+
* The type of the policy evaluation.
|
|
261
|
+
*/
|
|
262
|
+
type?: string | null;
|
|
263
|
+
}
|
|
230
264
|
/**
|
|
231
265
|
* 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.
|
|
232
266
|
*/
|
|
@@ -1410,6 +1444,10 @@ export declare namespace securitycenter_v1 {
|
|
|
1410
1444
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
1411
1445
|
*/
|
|
1412
1446
|
diskPath?: Schema$DiskPath;
|
|
1447
|
+
/**
|
|
1448
|
+
* The load state of the file.
|
|
1449
|
+
*/
|
|
1450
|
+
fileLoadState?: string | null;
|
|
1413
1451
|
/**
|
|
1414
1452
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
1415
1453
|
*/
|
|
@@ -1464,6 +1502,10 @@ export declare namespace securitycenter_v1 {
|
|
|
1464
1502
|
* Represents an application associated with the finding.
|
|
1465
1503
|
*/
|
|
1466
1504
|
application?: Schema$Application;
|
|
1505
|
+
/**
|
|
1506
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
1507
|
+
*/
|
|
1508
|
+
artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
|
|
1467
1509
|
/**
|
|
1468
1510
|
* The results of an attack path simulation relevant to this finding.
|
|
1469
1511
|
*/
|
|
@@ -1668,6 +1710,10 @@ export declare namespace securitycenter_v1 {
|
|
|
1668
1710
|
* 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.
|
|
1669
1711
|
*/
|
|
1670
1712
|
resourceName?: string | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* Secret associated with the finding.
|
|
1715
|
+
*/
|
|
1716
|
+
secret?: Schema$Secret;
|
|
1671
1717
|
/**
|
|
1672
1718
|
* 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.
|
|
1673
1719
|
*/
|
|
@@ -2206,6 +2252,10 @@ export declare namespace securitycenter_v1 {
|
|
|
2206
2252
|
* Information related to the Google Cloud resource.
|
|
2207
2253
|
*/
|
|
2208
2254
|
export interface Schema$GoogleCloudSecuritycenterV1Resource {
|
|
2255
|
+
/**
|
|
2256
|
+
* The App Hub application this resource belongs to.
|
|
2257
|
+
*/
|
|
2258
|
+
application?: Schema$GoogleCloudSecuritycenterV1ResourceApplication;
|
|
2209
2259
|
/**
|
|
2210
2260
|
* The AWS metadata associated with the finding.
|
|
2211
2261
|
*/
|
|
@@ -2271,6 +2321,71 @@ export declare namespace securitycenter_v1 {
|
|
|
2271
2321
|
*/
|
|
2272
2322
|
type?: string | null;
|
|
2273
2323
|
}
|
|
2324
|
+
/**
|
|
2325
|
+
* The App Hub Application associated with the finding's resource.
|
|
2326
|
+
*/
|
|
2327
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplication {
|
|
2328
|
+
/**
|
|
2329
|
+
* Consumer provided attributes for the application
|
|
2330
|
+
*/
|
|
2331
|
+
attributes?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes;
|
|
2332
|
+
/**
|
|
2333
|
+
* The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
|
|
2334
|
+
*/
|
|
2335
|
+
name?: string | null;
|
|
2336
|
+
}
|
|
2337
|
+
/**
|
|
2338
|
+
* Consumer provided attributes for the application
|
|
2339
|
+
*/
|
|
2340
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes {
|
|
2341
|
+
/**
|
|
2342
|
+
* Business team that ensures user needs are met and value is delivered
|
|
2343
|
+
*/
|
|
2344
|
+
businessOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2345
|
+
/**
|
|
2346
|
+
* User-defined criticality information.
|
|
2347
|
+
*/
|
|
2348
|
+
criticality?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality;
|
|
2349
|
+
/**
|
|
2350
|
+
* Developer team that owns development and coding.
|
|
2351
|
+
*/
|
|
2352
|
+
developerOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2353
|
+
/**
|
|
2354
|
+
* User-defined environment information.
|
|
2355
|
+
*/
|
|
2356
|
+
environment?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment;
|
|
2357
|
+
/**
|
|
2358
|
+
* Operator team that ensures runtime and operations.
|
|
2359
|
+
*/
|
|
2360
|
+
operatorOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
|
|
2361
|
+
}
|
|
2362
|
+
/**
|
|
2363
|
+
* Contact information of stakeholders.
|
|
2364
|
+
*/
|
|
2365
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo {
|
|
2366
|
+
/**
|
|
2367
|
+
* Email address of the contacts.
|
|
2368
|
+
*/
|
|
2369
|
+
email?: string | null;
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* Criticality of the Application, Service, or Workload
|
|
2373
|
+
*/
|
|
2374
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality {
|
|
2375
|
+
/**
|
|
2376
|
+
* Criticality Type.
|
|
2377
|
+
*/
|
|
2378
|
+
type?: string | null;
|
|
2379
|
+
}
|
|
2380
|
+
/**
|
|
2381
|
+
* Environment of the Application, Service, or Workload
|
|
2382
|
+
*/
|
|
2383
|
+
export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment {
|
|
2384
|
+
/**
|
|
2385
|
+
* Environment Type.
|
|
2386
|
+
*/
|
|
2387
|
+
type?: string | null;
|
|
2388
|
+
}
|
|
2274
2389
|
/**
|
|
2275
2390
|
* Resource for selecting resource type.
|
|
2276
2391
|
*/
|
|
@@ -2526,6 +2641,10 @@ export declare namespace securitycenter_v1 {
|
|
|
2526
2641
|
* The publisher of the model, for example, “google” or “nvidia”.
|
|
2527
2642
|
*/
|
|
2528
2643
|
publisher?: string | null;
|
|
2644
|
+
/**
|
|
2645
|
+
* The purpose of the model, for example, "Inteference" or "Training".
|
|
2646
|
+
*/
|
|
2647
|
+
usageCategory?: string | null;
|
|
2529
2648
|
}
|
|
2530
2649
|
/**
|
|
2531
2650
|
* Allowed IP rule.
|
|
@@ -2549,6 +2668,36 @@ export declare namespace securitycenter_v1 {
|
|
|
2549
2668
|
*/
|
|
2550
2669
|
fullUri?: string | null;
|
|
2551
2670
|
}
|
|
2671
|
+
/**
|
|
2672
|
+
* Represents the result of evaluating artifact guard policies.
|
|
2673
|
+
*/
|
|
2674
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
|
|
2675
|
+
/**
|
|
2676
|
+
* A list of failing policies.
|
|
2677
|
+
*/
|
|
2678
|
+
failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
|
|
2679
|
+
/**
|
|
2680
|
+
* The ID of the resource that has policies configured for it.
|
|
2681
|
+
*/
|
|
2682
|
+
resourceId?: string | null;
|
|
2683
|
+
}
|
|
2684
|
+
/**
|
|
2685
|
+
* Represents an artifact guard policy.
|
|
2686
|
+
*/
|
|
2687
|
+
export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
|
|
2688
|
+
/**
|
|
2689
|
+
* The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
|
|
2690
|
+
*/
|
|
2691
|
+
failureReason?: string | null;
|
|
2692
|
+
/**
|
|
2693
|
+
* The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
|
|
2694
|
+
*/
|
|
2695
|
+
policyId?: string | null;
|
|
2696
|
+
/**
|
|
2697
|
+
* The type of the policy evaluation.
|
|
2698
|
+
*/
|
|
2699
|
+
type?: string | null;
|
|
2700
|
+
}
|
|
2552
2701
|
/**
|
|
2553
2702
|
* Information about DDoS attack volume and classification.
|
|
2554
2703
|
*/
|
|
@@ -3450,6 +3599,10 @@ export declare namespace securitycenter_v1 {
|
|
|
3450
3599
|
* Path of the file in terms of underlying disk/partition identifiers.
|
|
3451
3600
|
*/
|
|
3452
3601
|
diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
|
|
3602
|
+
/**
|
|
3603
|
+
* The load state of the file.
|
|
3604
|
+
*/
|
|
3605
|
+
fileLoadState?: string | null;
|
|
3453
3606
|
/**
|
|
3454
3607
|
* The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
|
|
3455
3608
|
*/
|
|
@@ -3504,6 +3657,10 @@ export declare namespace securitycenter_v1 {
|
|
|
3504
3657
|
* Represents an application associated with the finding.
|
|
3505
3658
|
*/
|
|
3506
3659
|
application?: Schema$GoogleCloudSecuritycenterV2Application;
|
|
3660
|
+
/**
|
|
3661
|
+
* ArtifactGuardPolicies associated with the finding.
|
|
3662
|
+
*/
|
|
3663
|
+
artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
|
|
3507
3664
|
/**
|
|
3508
3665
|
* The results of an attack path simulation relevant to this finding.
|
|
3509
3666
|
*/
|
|
@@ -3712,6 +3869,10 @@ export declare namespace securitycenter_v1 {
|
|
|
3712
3869
|
* 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.
|
|
3713
3870
|
*/
|
|
3714
3871
|
resourceName?: string | null;
|
|
3872
|
+
/**
|
|
3873
|
+
* Secret associated with the finding.
|
|
3874
|
+
*/
|
|
3875
|
+
secret?: Schema$GoogleCloudSecuritycenterV2Secret;
|
|
3715
3876
|
/**
|
|
3716
3877
|
* 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.
|
|
3717
3878
|
*/
|
|
@@ -4746,6 +4907,10 @@ export declare namespace securitycenter_v1 {
|
|
|
4746
4907
|
* Information related to the Google Cloud resource.
|
|
4747
4908
|
*/
|
|
4748
4909
|
export interface Schema$GoogleCloudSecuritycenterV2Resource {
|
|
4910
|
+
/**
|
|
4911
|
+
* The App Hub application this resource belongs to.
|
|
4912
|
+
*/
|
|
4913
|
+
application?: Schema$GoogleCloudSecuritycenterV2ResourceApplication;
|
|
4749
4914
|
/**
|
|
4750
4915
|
* The AWS metadata associated with the finding.
|
|
4751
4916
|
*/
|
|
@@ -4791,6 +4956,71 @@ export declare namespace securitycenter_v1 {
|
|
|
4791
4956
|
*/
|
|
4792
4957
|
type?: string | null;
|
|
4793
4958
|
}
|
|
4959
|
+
/**
|
|
4960
|
+
* The App Hub Application associated with the finding's resource.
|
|
4961
|
+
*/
|
|
4962
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplication {
|
|
4963
|
+
/**
|
|
4964
|
+
* Consumer provided attributes for the application
|
|
4965
|
+
*/
|
|
4966
|
+
attributes?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes;
|
|
4967
|
+
/**
|
|
4968
|
+
* The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
|
|
4969
|
+
*/
|
|
4970
|
+
name?: string | null;
|
|
4971
|
+
}
|
|
4972
|
+
/**
|
|
4973
|
+
* Consumer provided attributes for the application
|
|
4974
|
+
*/
|
|
4975
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes {
|
|
4976
|
+
/**
|
|
4977
|
+
* Business team that ensures user needs are met and value is delivered
|
|
4978
|
+
*/
|
|
4979
|
+
businessOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4980
|
+
/**
|
|
4981
|
+
* User-defined criticality information.
|
|
4982
|
+
*/
|
|
4983
|
+
criticality?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality;
|
|
4984
|
+
/**
|
|
4985
|
+
* Developer team that owns development and coding.
|
|
4986
|
+
*/
|
|
4987
|
+
developerOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4988
|
+
/**
|
|
4989
|
+
* User-defined environment information.
|
|
4990
|
+
*/
|
|
4991
|
+
environment?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment;
|
|
4992
|
+
/**
|
|
4993
|
+
* Operator team that ensures runtime and operations.
|
|
4994
|
+
*/
|
|
4995
|
+
operatorOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
|
|
4996
|
+
}
|
|
4997
|
+
/**
|
|
4998
|
+
* Contact information of stakeholders.
|
|
4999
|
+
*/
|
|
5000
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo {
|
|
5001
|
+
/**
|
|
5002
|
+
* Email address of the contacts.
|
|
5003
|
+
*/
|
|
5004
|
+
email?: string | null;
|
|
5005
|
+
}
|
|
5006
|
+
/**
|
|
5007
|
+
* Criticality of the Application, Service, or Workload
|
|
5008
|
+
*/
|
|
5009
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality {
|
|
5010
|
+
/**
|
|
5011
|
+
* Criticality Type.
|
|
5012
|
+
*/
|
|
5013
|
+
type?: string | null;
|
|
5014
|
+
}
|
|
5015
|
+
/**
|
|
5016
|
+
* Environment of the Application, Service, or Workload
|
|
5017
|
+
*/
|
|
5018
|
+
export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment {
|
|
5019
|
+
/**
|
|
5020
|
+
* Environment Type.
|
|
5021
|
+
*/
|
|
5022
|
+
type?: string | null;
|
|
5023
|
+
}
|
|
4794
5024
|
/**
|
|
4795
5025
|
* Represents the path of resources leading up to the resource this finding is about.
|
|
4796
5026
|
*/
|
|
@@ -4885,6 +5115,58 @@ export declare namespace securitycenter_v1 {
|
|
|
4885
5115
|
*/
|
|
4886
5116
|
ns?: string | null;
|
|
4887
5117
|
}
|
|
5118
|
+
/**
|
|
5119
|
+
* Details about a secret or credential associated with the finding.
|
|
5120
|
+
*/
|
|
5121
|
+
export interface Schema$GoogleCloudSecuritycenterV2Secret {
|
|
5122
|
+
/**
|
|
5123
|
+
* The environment variable containing the secret.
|
|
5124
|
+
*/
|
|
5125
|
+
environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
|
|
5126
|
+
/**
|
|
5127
|
+
* The file containing the secret.
|
|
5128
|
+
*/
|
|
5129
|
+
filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
|
|
5130
|
+
/**
|
|
5131
|
+
* The status of the secret.
|
|
5132
|
+
*/
|
|
5133
|
+
status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
|
|
5134
|
+
/**
|
|
5135
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
5136
|
+
*/
|
|
5137
|
+
type?: string | null;
|
|
5138
|
+
}
|
|
5139
|
+
/**
|
|
5140
|
+
* Environment variable containing the secret.
|
|
5141
|
+
*/
|
|
5142
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
|
|
5143
|
+
/**
|
|
5144
|
+
* 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.
|
|
5145
|
+
*/
|
|
5146
|
+
key?: string | null;
|
|
5147
|
+
}
|
|
5148
|
+
/**
|
|
5149
|
+
* File path containing the secret.
|
|
5150
|
+
*/
|
|
5151
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
|
|
5152
|
+
/**
|
|
5153
|
+
* Path to the file.
|
|
5154
|
+
*/
|
|
5155
|
+
path?: string | null;
|
|
5156
|
+
}
|
|
5157
|
+
/**
|
|
5158
|
+
* The status of the secret.
|
|
5159
|
+
*/
|
|
5160
|
+
export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
|
|
5161
|
+
/**
|
|
5162
|
+
* Time that the secret was found.
|
|
5163
|
+
*/
|
|
5164
|
+
lastUpdatedTime?: string | null;
|
|
5165
|
+
/**
|
|
5166
|
+
* The validity of the secret.
|
|
5167
|
+
*/
|
|
5168
|
+
validity?: string | null;
|
|
5169
|
+
}
|
|
4888
5170
|
/**
|
|
4889
5171
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
4890
5172
|
*/
|
|
@@ -5681,7 +5963,7 @@ export declare namespace securitycenter_v1 {
|
|
|
5681
5963
|
*/
|
|
5682
5964
|
operations?: Schema$Operation[];
|
|
5683
5965
|
/**
|
|
5684
|
-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
5966
|
+
* 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.
|
|
5685
5967
|
*/
|
|
5686
5968
|
unreachable?: string[] | null;
|
|
5687
5969
|
}
|
|
@@ -6207,6 +6489,10 @@ export declare namespace securitycenter_v1 {
|
|
|
6207
6489
|
* Information related to the Google Cloud resource that is associated with this finding.
|
|
6208
6490
|
*/
|
|
6209
6491
|
export interface Schema$Resource {
|
|
6492
|
+
/**
|
|
6493
|
+
* The App Hub application this resource belongs to.
|
|
6494
|
+
*/
|
|
6495
|
+
application?: Schema$GoogleCloudSecuritycenterV1ResourceApplication;
|
|
6210
6496
|
/**
|
|
6211
6497
|
* The AWS metadata associated with the finding.
|
|
6212
6498
|
*/
|
|
@@ -6329,6 +6615,58 @@ export declare namespace securitycenter_v1 {
|
|
|
6329
6615
|
*/
|
|
6330
6616
|
export interface Schema$RunAssetDiscoveryRequest {
|
|
6331
6617
|
}
|
|
6618
|
+
/**
|
|
6619
|
+
* Details about a secret or credential associated with the finding.
|
|
6620
|
+
*/
|
|
6621
|
+
export interface Schema$Secret {
|
|
6622
|
+
/**
|
|
6623
|
+
* The environment variable containing the secret.
|
|
6624
|
+
*/
|
|
6625
|
+
environmentVariable?: Schema$SecretEnvironmentVariable;
|
|
6626
|
+
/**
|
|
6627
|
+
* The file containing the secret.
|
|
6628
|
+
*/
|
|
6629
|
+
filePath?: Schema$SecretFilePath;
|
|
6630
|
+
/**
|
|
6631
|
+
* The status of the secret.
|
|
6632
|
+
*/
|
|
6633
|
+
status?: Schema$SecretStatus;
|
|
6634
|
+
/**
|
|
6635
|
+
* The type of secret, for example, GCP_API_KEY.
|
|
6636
|
+
*/
|
|
6637
|
+
type?: string | null;
|
|
6638
|
+
}
|
|
6639
|
+
/**
|
|
6640
|
+
* Environment variable containing the secret.
|
|
6641
|
+
*/
|
|
6642
|
+
export interface Schema$SecretEnvironmentVariable {
|
|
6643
|
+
/**
|
|
6644
|
+
* 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.
|
|
6645
|
+
*/
|
|
6646
|
+
key?: string | null;
|
|
6647
|
+
}
|
|
6648
|
+
/**
|
|
6649
|
+
* File path containing the secret.
|
|
6650
|
+
*/
|
|
6651
|
+
export interface Schema$SecretFilePath {
|
|
6652
|
+
/**
|
|
6653
|
+
* Path to the file.
|
|
6654
|
+
*/
|
|
6655
|
+
path?: string | null;
|
|
6656
|
+
}
|
|
6657
|
+
/**
|
|
6658
|
+
* The status of the secret.
|
|
6659
|
+
*/
|
|
6660
|
+
export interface Schema$SecretStatus {
|
|
6661
|
+
/**
|
|
6662
|
+
* Time that the secret was found.
|
|
6663
|
+
*/
|
|
6664
|
+
lastUpdatedTime?: string | null;
|
|
6665
|
+
/**
|
|
6666
|
+
* The validity of the secret.
|
|
6667
|
+
*/
|
|
6668
|
+
validity?: string | null;
|
|
6669
|
+
}
|
|
6332
6670
|
/**
|
|
6333
6671
|
* SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
6334
6672
|
*/
|
|
@@ -10563,6 +10901,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10563
10901
|
* // "affectedResources": {},
|
|
10564
10902
|
* // "aiModel": {},
|
|
10565
10903
|
* // "application": {},
|
|
10904
|
+
* // "artifactGuardPolicies": {},
|
|
10566
10905
|
* // "attackExposure": {},
|
|
10567
10906
|
* // "backupDisasterRecovery": {},
|
|
10568
10907
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -10613,6 +10952,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10613
10952
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
10614
10953
|
* // "processes": [],
|
|
10615
10954
|
* // "resourceName": "my_resourceName",
|
|
10955
|
+
* // "secret": {},
|
|
10616
10956
|
* // "securityMarks": {},
|
|
10617
10957
|
* // "securityPosture": {},
|
|
10618
10958
|
* // "severity": "my_severity",
|
|
@@ -10632,6 +10972,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10632
10972
|
* // "affectedResources": {},
|
|
10633
10973
|
* // "aiModel": {},
|
|
10634
10974
|
* // "application": {},
|
|
10975
|
+
* // "artifactGuardPolicies": {},
|
|
10635
10976
|
* // "attackExposure": {},
|
|
10636
10977
|
* // "backupDisasterRecovery": {},
|
|
10637
10978
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -10682,6 +11023,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10682
11023
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
10683
11024
|
* // "processes": [],
|
|
10684
11025
|
* // "resourceName": "my_resourceName",
|
|
11026
|
+
* // "secret": {},
|
|
10685
11027
|
* // "securityMarks": {},
|
|
10686
11028
|
* // "securityPosture": {},
|
|
10687
11029
|
* // "severity": "my_severity",
|
|
@@ -10761,6 +11103,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10761
11103
|
* // "affectedResources": {},
|
|
10762
11104
|
* // "aiModel": {},
|
|
10763
11105
|
* // "application": {},
|
|
11106
|
+
* // "artifactGuardPolicies": {},
|
|
10764
11107
|
* // "attackExposure": {},
|
|
10765
11108
|
* // "backupDisasterRecovery": {},
|
|
10766
11109
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -10811,6 +11154,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10811
11154
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
10812
11155
|
* // "processes": [],
|
|
10813
11156
|
* // "resourceName": "my_resourceName",
|
|
11157
|
+
* // "secret": {},
|
|
10814
11158
|
* // "securityMarks": {},
|
|
10815
11159
|
* // "securityPosture": {},
|
|
10816
11160
|
* // "severity": "my_severity",
|
|
@@ -10891,6 +11235,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10891
11235
|
* // "affectedResources": {},
|
|
10892
11236
|
* // "aiModel": {},
|
|
10893
11237
|
* // "application": {},
|
|
11238
|
+
* // "artifactGuardPolicies": {},
|
|
10894
11239
|
* // "attackExposure": {},
|
|
10895
11240
|
* // "backupDisasterRecovery": {},
|
|
10896
11241
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -10941,6 +11286,7 @@ export declare namespace securitycenter_v1 {
|
|
|
10941
11286
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
10942
11287
|
* // "processes": [],
|
|
10943
11288
|
* // "resourceName": "my_resourceName",
|
|
11289
|
+
* // "secret": {},
|
|
10944
11290
|
* // "securityMarks": {},
|
|
10945
11291
|
* // "securityPosture": {},
|
|
10946
11292
|
* // "severity": "my_severity",
|
|
@@ -14453,7 +14799,7 @@ export declare namespace securitycenter_v1 {
|
|
|
14453
14799
|
* pageSize: 'placeholder-value',
|
|
14454
14800
|
* // The standard list page token.
|
|
14455
14801
|
* pageToken: 'placeholder-value',
|
|
14456
|
-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
14802
|
+
* // 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.
|
|
14457
14803
|
* returnPartialSuccess: 'placeholder-value',
|
|
14458
14804
|
* });
|
|
14459
14805
|
* console.log(res.data);
|
|
@@ -14521,7 +14867,7 @@ export declare namespace securitycenter_v1 {
|
|
|
14521
14867
|
*/
|
|
14522
14868
|
pageToken?: string;
|
|
14523
14869
|
/**
|
|
14524
|
-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
14870
|
+
* 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.
|
|
14525
14871
|
*/
|
|
14526
14872
|
returnPartialSuccess?: boolean;
|
|
14527
14873
|
}
|
|
@@ -16929,6 +17275,7 @@ export declare namespace securitycenter_v1 {
|
|
|
16929
17275
|
* // "affectedResources": {},
|
|
16930
17276
|
* // "aiModel": {},
|
|
16931
17277
|
* // "application": {},
|
|
17278
|
+
* // "artifactGuardPolicies": {},
|
|
16932
17279
|
* // "attackExposure": {},
|
|
16933
17280
|
* // "backupDisasterRecovery": {},
|
|
16934
17281
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -16979,6 +17326,7 @@ export declare namespace securitycenter_v1 {
|
|
|
16979
17326
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
16980
17327
|
* // "processes": [],
|
|
16981
17328
|
* // "resourceName": "my_resourceName",
|
|
17329
|
+
* // "secret": {},
|
|
16982
17330
|
* // "securityMarks": {},
|
|
16983
17331
|
* // "securityPosture": {},
|
|
16984
17332
|
* // "severity": "my_severity",
|
|
@@ -16998,6 +17346,7 @@ export declare namespace securitycenter_v1 {
|
|
|
16998
17346
|
* // "affectedResources": {},
|
|
16999
17347
|
* // "aiModel": {},
|
|
17000
17348
|
* // "application": {},
|
|
17349
|
+
* // "artifactGuardPolicies": {},
|
|
17001
17350
|
* // "attackExposure": {},
|
|
17002
17351
|
* // "backupDisasterRecovery": {},
|
|
17003
17352
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -17048,6 +17397,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17048
17397
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
17049
17398
|
* // "processes": [],
|
|
17050
17399
|
* // "resourceName": "my_resourceName",
|
|
17400
|
+
* // "secret": {},
|
|
17051
17401
|
* // "securityMarks": {},
|
|
17052
17402
|
* // "securityPosture": {},
|
|
17053
17403
|
* // "severity": "my_severity",
|
|
@@ -17274,6 +17624,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17274
17624
|
* // "affectedResources": {},
|
|
17275
17625
|
* // "aiModel": {},
|
|
17276
17626
|
* // "application": {},
|
|
17627
|
+
* // "artifactGuardPolicies": {},
|
|
17277
17628
|
* // "attackExposure": {},
|
|
17278
17629
|
* // "backupDisasterRecovery": {},
|
|
17279
17630
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -17324,6 +17675,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17324
17675
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
17325
17676
|
* // "processes": [],
|
|
17326
17677
|
* // "resourceName": "my_resourceName",
|
|
17678
|
+
* // "secret": {},
|
|
17327
17679
|
* // "securityMarks": {},
|
|
17328
17680
|
* // "securityPosture": {},
|
|
17329
17681
|
* // "severity": "my_severity",
|
|
@@ -17343,6 +17695,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17343
17695
|
* // "affectedResources": {},
|
|
17344
17696
|
* // "aiModel": {},
|
|
17345
17697
|
* // "application": {},
|
|
17698
|
+
* // "artifactGuardPolicies": {},
|
|
17346
17699
|
* // "attackExposure": {},
|
|
17347
17700
|
* // "backupDisasterRecovery": {},
|
|
17348
17701
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -17393,6 +17746,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17393
17746
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
17394
17747
|
* // "processes": [],
|
|
17395
17748
|
* // "resourceName": "my_resourceName",
|
|
17749
|
+
* // "secret": {},
|
|
17396
17750
|
* // "securityMarks": {},
|
|
17397
17751
|
* // "securityPosture": {},
|
|
17398
17752
|
* // "severity": "my_severity",
|
|
@@ -17472,6 +17826,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17472
17826
|
* // "affectedResources": {},
|
|
17473
17827
|
* // "aiModel": {},
|
|
17474
17828
|
* // "application": {},
|
|
17829
|
+
* // "artifactGuardPolicies": {},
|
|
17475
17830
|
* // "attackExposure": {},
|
|
17476
17831
|
* // "backupDisasterRecovery": {},
|
|
17477
17832
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -17522,6 +17877,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17522
17877
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
17523
17878
|
* // "processes": [],
|
|
17524
17879
|
* // "resourceName": "my_resourceName",
|
|
17880
|
+
* // "secret": {},
|
|
17525
17881
|
* // "securityMarks": {},
|
|
17526
17882
|
* // "securityPosture": {},
|
|
17527
17883
|
* // "severity": "my_severity",
|
|
@@ -17602,6 +17958,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17602
17958
|
* // "affectedResources": {},
|
|
17603
17959
|
* // "aiModel": {},
|
|
17604
17960
|
* // "application": {},
|
|
17961
|
+
* // "artifactGuardPolicies": {},
|
|
17605
17962
|
* // "attackExposure": {},
|
|
17606
17963
|
* // "backupDisasterRecovery": {},
|
|
17607
17964
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -17652,6 +18009,7 @@ export declare namespace securitycenter_v1 {
|
|
|
17652
18009
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
17653
18010
|
* // "processes": [],
|
|
17654
18011
|
* // "resourceName": "my_resourceName",
|
|
18012
|
+
* // "secret": {},
|
|
17655
18013
|
* // "securityMarks": {},
|
|
17656
18014
|
* // "securityPosture": {},
|
|
17657
18015
|
* // "severity": "my_severity",
|
|
@@ -21760,6 +22118,7 @@ export declare namespace securitycenter_v1 {
|
|
|
21760
22118
|
* // "affectedResources": {},
|
|
21761
22119
|
* // "aiModel": {},
|
|
21762
22120
|
* // "application": {},
|
|
22121
|
+
* // "artifactGuardPolicies": {},
|
|
21763
22122
|
* // "attackExposure": {},
|
|
21764
22123
|
* // "backupDisasterRecovery": {},
|
|
21765
22124
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -21810,6 +22169,7 @@ export declare namespace securitycenter_v1 {
|
|
|
21810
22169
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
21811
22170
|
* // "processes": [],
|
|
21812
22171
|
* // "resourceName": "my_resourceName",
|
|
22172
|
+
* // "secret": {},
|
|
21813
22173
|
* // "securityMarks": {},
|
|
21814
22174
|
* // "securityPosture": {},
|
|
21815
22175
|
* // "severity": "my_severity",
|
|
@@ -21829,6 +22189,7 @@ export declare namespace securitycenter_v1 {
|
|
|
21829
22189
|
* // "affectedResources": {},
|
|
21830
22190
|
* // "aiModel": {},
|
|
21831
22191
|
* // "application": {},
|
|
22192
|
+
* // "artifactGuardPolicies": {},
|
|
21832
22193
|
* // "attackExposure": {},
|
|
21833
22194
|
* // "backupDisasterRecovery": {},
|
|
21834
22195
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -21879,6 +22240,7 @@ export declare namespace securitycenter_v1 {
|
|
|
21879
22240
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
21880
22241
|
* // "processes": [],
|
|
21881
22242
|
* // "resourceName": "my_resourceName",
|
|
22243
|
+
* // "secret": {},
|
|
21882
22244
|
* // "securityMarks": {},
|
|
21883
22245
|
* // "securityPosture": {},
|
|
21884
22246
|
* // "severity": "my_severity",
|
|
@@ -21958,6 +22320,7 @@ export declare namespace securitycenter_v1 {
|
|
|
21958
22320
|
* // "affectedResources": {},
|
|
21959
22321
|
* // "aiModel": {},
|
|
21960
22322
|
* // "application": {},
|
|
22323
|
+
* // "artifactGuardPolicies": {},
|
|
21961
22324
|
* // "attackExposure": {},
|
|
21962
22325
|
* // "backupDisasterRecovery": {},
|
|
21963
22326
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -22008,6 +22371,7 @@ export declare namespace securitycenter_v1 {
|
|
|
22008
22371
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
22009
22372
|
* // "processes": [],
|
|
22010
22373
|
* // "resourceName": "my_resourceName",
|
|
22374
|
+
* // "secret": {},
|
|
22011
22375
|
* // "securityMarks": {},
|
|
22012
22376
|
* // "securityPosture": {},
|
|
22013
22377
|
* // "severity": "my_severity",
|
|
@@ -22088,6 +22452,7 @@ export declare namespace securitycenter_v1 {
|
|
|
22088
22452
|
* // "affectedResources": {},
|
|
22089
22453
|
* // "aiModel": {},
|
|
22090
22454
|
* // "application": {},
|
|
22455
|
+
* // "artifactGuardPolicies": {},
|
|
22091
22456
|
* // "attackExposure": {},
|
|
22092
22457
|
* // "backupDisasterRecovery": {},
|
|
22093
22458
|
* // "canonicalName": "my_canonicalName",
|
|
@@ -22138,6 +22503,7 @@ export declare namespace securitycenter_v1 {
|
|
|
22138
22503
|
* // "parentDisplayName": "my_parentDisplayName",
|
|
22139
22504
|
* // "processes": [],
|
|
22140
22505
|
* // "resourceName": "my_resourceName",
|
|
22506
|
+
* // "secret": {},
|
|
22141
22507
|
* // "securityMarks": {},
|
|
22142
22508
|
* // "securityPosture": {},
|
|
22143
22509
|
* // "severity": "my_severity",
|