@googleapis/securitycenter 14.1.1 → 15.0.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 +169 -0
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/v1.d.ts +189 -4
- package/build/v1.js +126 -1
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +175 -4
- package/build/v1beta1.js +12 -1
- package/build/v1beta1.js.map +1 -1
- package/build/v1beta2.d.ts +182 -4
- package/build/v1beta2.js +50 -1
- package/build/v1beta2.js.map +1 -1
- package/build/v1p1alpha1.d.ts +0 -1
- package/build/v1p1alpha1.js +6 -1
- package/build/v1p1alpha1.js.map +1 -1
- package/build/v1p1beta1.d.ts +0 -1
- package/build/v1p1beta1.js +14 -1
- package/build/v1p1beta1.js.map +1 -1
- package/package.json +4 -4
- package/v1.ts +189 -3
- package/v1beta1.ts +175 -3
- package/v1beta2.ts +182 -3
package/v1beta2.ts
CHANGED
|
@@ -512,7 +512,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
512
512
|
storagePool?: string | null;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
* The destination
|
|
515
|
+
* The destination BigQuery dataset to export findings to.
|
|
516
516
|
*/
|
|
517
517
|
export interface Schema$BigQueryDestination {
|
|
518
518
|
/**
|
|
@@ -558,6 +558,27 @@ export namespace securitycenter_v1beta2 {
|
|
|
558
558
|
*/
|
|
559
559
|
threatVector?: string | null;
|
|
560
560
|
}
|
|
561
|
+
/**
|
|
562
|
+
* CloudControl associated with the finding.
|
|
563
|
+
*/
|
|
564
|
+
export interface Schema$CloudControl {
|
|
565
|
+
/**
|
|
566
|
+
* Name of the CloudControl associated with the finding.
|
|
567
|
+
*/
|
|
568
|
+
cloudControlName?: string | null;
|
|
569
|
+
/**
|
|
570
|
+
* Policy type of the CloudControl
|
|
571
|
+
*/
|
|
572
|
+
policyType?: string | null;
|
|
573
|
+
/**
|
|
574
|
+
* Type of cloud control.
|
|
575
|
+
*/
|
|
576
|
+
type?: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* Version of the Cloud Control
|
|
579
|
+
*/
|
|
580
|
+
version?: number | null;
|
|
581
|
+
}
|
|
561
582
|
/**
|
|
562
583
|
* The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.
|
|
563
584
|
*/
|
|
@@ -630,6 +651,23 @@ export namespace securitycenter_v1beta2 {
|
|
|
630
651
|
*/
|
|
631
652
|
version?: string | null;
|
|
632
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* Compliance Details associated with the finding.
|
|
656
|
+
*/
|
|
657
|
+
export interface Schema$ComplianceDetails {
|
|
658
|
+
/**
|
|
659
|
+
* CloudControl associated with the finding
|
|
660
|
+
*/
|
|
661
|
+
cloudControl?: Schema$CloudControl;
|
|
662
|
+
/**
|
|
663
|
+
* Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
|
|
664
|
+
*/
|
|
665
|
+
cloudControlDeploymentNames?: string[] | null;
|
|
666
|
+
/**
|
|
667
|
+
* Details of Frameworks associated with the finding
|
|
668
|
+
*/
|
|
669
|
+
frameworks?: Schema$Framework[];
|
|
670
|
+
}
|
|
633
671
|
/**
|
|
634
672
|
* Configuration of a module.
|
|
635
673
|
*/
|
|
@@ -736,6 +774,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
736
774
|
*/
|
|
737
775
|
updateTime?: string | null;
|
|
738
776
|
}
|
|
777
|
+
/**
|
|
778
|
+
* Compliance control associated with the finding.
|
|
779
|
+
*/
|
|
780
|
+
export interface Schema$Control {
|
|
781
|
+
/**
|
|
782
|
+
* Name of the Control
|
|
783
|
+
*/
|
|
784
|
+
controlName?: string | null;
|
|
785
|
+
/**
|
|
786
|
+
* Display name of the control. For example, AU-02.
|
|
787
|
+
*/
|
|
788
|
+
displayName?: string | null;
|
|
789
|
+
}
|
|
739
790
|
/**
|
|
740
791
|
* CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.
|
|
741
792
|
*/
|
|
@@ -1091,7 +1142,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
1091
1142
|
*/
|
|
1092
1143
|
export interface Schema$ExportFindingsMetadata {
|
|
1093
1144
|
/**
|
|
1094
|
-
* Required. The destination
|
|
1145
|
+
* Required. The destination BigQuery dataset to export findings to.
|
|
1095
1146
|
*/
|
|
1096
1147
|
bigQueryDestination?: Schema$BigQueryDestination;
|
|
1097
1148
|
/**
|
|
@@ -1222,6 +1273,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
1222
1273
|
* Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
|
|
1223
1274
|
*/
|
|
1224
1275
|
cloudDlpInspection?: Schema$CloudDlpInspection;
|
|
1276
|
+
/**
|
|
1277
|
+
* Details about the compliance implications of the finding.
|
|
1278
|
+
*/
|
|
1279
|
+
complianceDetails?: Schema$ComplianceDetails;
|
|
1225
1280
|
/**
|
|
1226
1281
|
* Contains compliance information for security standards associated to the finding.
|
|
1227
1282
|
*/
|
|
@@ -1434,6 +1489,31 @@ export namespace securitycenter_v1beta2 {
|
|
|
1434
1489
|
*/
|
|
1435
1490
|
resourceFolderDisplayName?: string | null;
|
|
1436
1491
|
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Compliance framework associated with the finding.
|
|
1494
|
+
*/
|
|
1495
|
+
export interface Schema$Framework {
|
|
1496
|
+
/**
|
|
1497
|
+
* Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
|
|
1498
|
+
*/
|
|
1499
|
+
category?: string[] | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* The controls associated with the framework.
|
|
1502
|
+
*/
|
|
1503
|
+
controls?: Schema$Control[];
|
|
1504
|
+
/**
|
|
1505
|
+
* Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
|
|
1506
|
+
*/
|
|
1507
|
+
displayName?: string | null;
|
|
1508
|
+
/**
|
|
1509
|
+
* Name of the framework associated with the finding
|
|
1510
|
+
*/
|
|
1511
|
+
name?: string | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
|
|
1514
|
+
*/
|
|
1515
|
+
type?: string | null;
|
|
1516
|
+
}
|
|
1437
1517
|
/**
|
|
1438
1518
|
* Google Cloud metadata associated with the resource. Only applicable if the finding's cloud provider is Google Cloud.
|
|
1439
1519
|
*/
|
|
@@ -2453,6 +2533,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
2453
2533
|
* Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.
|
|
2454
2534
|
*/
|
|
2455
2535
|
createTime?: string | null;
|
|
2536
|
+
/**
|
|
2537
|
+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to protect this configuration's data, if configured during Security Command Center activation.
|
|
2538
|
+
*/
|
|
2539
|
+
cryptoKeyName?: string | null;
|
|
2456
2540
|
/**
|
|
2457
2541
|
* The dataset to write findings' updates to. Its format is "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
|
|
2458
2542
|
*/
|
|
@@ -2545,6 +2629,27 @@ export namespace securitycenter_v1beta2 {
|
|
|
2545
2629
|
*/
|
|
2546
2630
|
threatVector?: string | null;
|
|
2547
2631
|
}
|
|
2632
|
+
/**
|
|
2633
|
+
* CloudControl associated with the finding.
|
|
2634
|
+
*/
|
|
2635
|
+
export interface Schema$GoogleCloudSecuritycenterV2CloudControl {
|
|
2636
|
+
/**
|
|
2637
|
+
* Name of the CloudControl associated with the finding.
|
|
2638
|
+
*/
|
|
2639
|
+
cloudControlName?: string | null;
|
|
2640
|
+
/**
|
|
2641
|
+
* Policy type of the CloudControl
|
|
2642
|
+
*/
|
|
2643
|
+
policyType?: string | null;
|
|
2644
|
+
/**
|
|
2645
|
+
* Type of cloud control.
|
|
2646
|
+
*/
|
|
2647
|
+
type?: string | null;
|
|
2648
|
+
/**
|
|
2649
|
+
* Version of the Cloud Control
|
|
2650
|
+
*/
|
|
2651
|
+
version?: number | null;
|
|
2652
|
+
}
|
|
2548
2653
|
/**
|
|
2549
2654
|
* The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.
|
|
2550
2655
|
*/
|
|
@@ -2617,6 +2722,23 @@ export namespace securitycenter_v1beta2 {
|
|
|
2617
2722
|
*/
|
|
2618
2723
|
version?: string | null;
|
|
2619
2724
|
}
|
|
2725
|
+
/**
|
|
2726
|
+
* Compliance Details associated with the finding.
|
|
2727
|
+
*/
|
|
2728
|
+
export interface Schema$GoogleCloudSecuritycenterV2ComplianceDetails {
|
|
2729
|
+
/**
|
|
2730
|
+
* CloudControl associated with the finding
|
|
2731
|
+
*/
|
|
2732
|
+
cloudControl?: Schema$GoogleCloudSecuritycenterV2CloudControl;
|
|
2733
|
+
/**
|
|
2734
|
+
* Cloud Control Deployments associated with the finding. For example, organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier
|
|
2735
|
+
*/
|
|
2736
|
+
cloudControlDeploymentNames?: string[] | null;
|
|
2737
|
+
/**
|
|
2738
|
+
* Details of Frameworks associated with the finding
|
|
2739
|
+
*/
|
|
2740
|
+
frameworks?: Schema$GoogleCloudSecuritycenterV2Framework[];
|
|
2741
|
+
}
|
|
2620
2742
|
/**
|
|
2621
2743
|
* Contains information about the IP connection associated with the finding.
|
|
2622
2744
|
*/
|
|
@@ -2685,6 +2807,19 @@ export namespace securitycenter_v1beta2 {
|
|
|
2685
2807
|
*/
|
|
2686
2808
|
uri?: string | null;
|
|
2687
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* Compliance control associated with the finding.
|
|
2812
|
+
*/
|
|
2813
|
+
export interface Schema$GoogleCloudSecuritycenterV2Control {
|
|
2814
|
+
/**
|
|
2815
|
+
* Name of the Control
|
|
2816
|
+
*/
|
|
2817
|
+
controlName?: string | null;
|
|
2818
|
+
/**
|
|
2819
|
+
* Display name of the control. For example, AU-02.
|
|
2820
|
+
*/
|
|
2821
|
+
displayName?: string | null;
|
|
2822
|
+
}
|
|
2688
2823
|
/**
|
|
2689
2824
|
* CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.
|
|
2690
2825
|
*/
|
|
@@ -3144,6 +3279,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3144
3279
|
* Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.
|
|
3145
3280
|
*/
|
|
3146
3281
|
cloudDlpInspection?: Schema$GoogleCloudSecuritycenterV2CloudDlpInspection;
|
|
3282
|
+
/**
|
|
3283
|
+
* Details about the compliance implications of the finding.
|
|
3284
|
+
*/
|
|
3285
|
+
complianceDetails?: Schema$GoogleCloudSecuritycenterV2ComplianceDetails;
|
|
3147
3286
|
/**
|
|
3148
3287
|
* Contains compliance information for security standards associated to the finding.
|
|
3149
3288
|
*/
|
|
@@ -3166,6 +3305,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3166
3305
|
* Output only. The time at which the finding was created in Security Command Center.
|
|
3167
3306
|
*/
|
|
3168
3307
|
createTime?: string | null;
|
|
3308
|
+
/**
|
|
3309
|
+
* Output only. The name of the Cloud KMS key used to encrypt this finding, if any.
|
|
3310
|
+
*/
|
|
3311
|
+
cryptoKeyName?: string | null;
|
|
3169
3312
|
/**
|
|
3170
3313
|
* Data access events associated with the finding.
|
|
3171
3314
|
*/
|
|
@@ -3358,6 +3501,31 @@ export namespace securitycenter_v1beta2 {
|
|
|
3358
3501
|
*/
|
|
3359
3502
|
resourceFolderDisplayName?: string | null;
|
|
3360
3503
|
}
|
|
3504
|
+
/**
|
|
3505
|
+
* Compliance framework associated with the finding.
|
|
3506
|
+
*/
|
|
3507
|
+
export interface Schema$GoogleCloudSecuritycenterV2Framework {
|
|
3508
|
+
/**
|
|
3509
|
+
* Category of the framework associated with the finding. E.g. Security Benchmark, or Assured Workloads
|
|
3510
|
+
*/
|
|
3511
|
+
category?: string[] | null;
|
|
3512
|
+
/**
|
|
3513
|
+
* The controls associated with the framework.
|
|
3514
|
+
*/
|
|
3515
|
+
controls?: Schema$GoogleCloudSecuritycenterV2Control[];
|
|
3516
|
+
/**
|
|
3517
|
+
* Display name of the framework. For a standard framework, this will look like e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined string like MyFramework
|
|
3518
|
+
*/
|
|
3519
|
+
displayName?: string | null;
|
|
3520
|
+
/**
|
|
3521
|
+
* Name of the framework associated with the finding
|
|
3522
|
+
*/
|
|
3523
|
+
name?: string | null;
|
|
3524
|
+
/**
|
|
3525
|
+
* Type of the framework associated with the finding, to specify whether the framework is built-in (pre-defined and immutable) or a custom framework defined by the customer (equivalent to security posture)
|
|
3526
|
+
*/
|
|
3527
|
+
type?: string | null;
|
|
3528
|
+
}
|
|
3361
3529
|
/**
|
|
3362
3530
|
* Represents a geographical location for a given access.
|
|
3363
3531
|
*/
|
|
@@ -3895,6 +4063,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
3895
4063
|
* Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.
|
|
3896
4064
|
*/
|
|
3897
4065
|
createTime?: string | null;
|
|
4066
|
+
/**
|
|
4067
|
+
* Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt this configuration data, if CMEK was enabled during Security Command Center activation.
|
|
4068
|
+
*/
|
|
4069
|
+
cryptoKeyName?: string | null;
|
|
3898
4070
|
/**
|
|
3899
4071
|
* A description of the mute config.
|
|
3900
4072
|
*/
|
|
@@ -4246,7 +4418,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
4246
4418
|
*/
|
|
4247
4419
|
displayName?: string | null;
|
|
4248
4420
|
/**
|
|
4249
|
-
* The
|
|
4421
|
+
* The Google Cloud metadata associated with the finding.
|
|
4250
4422
|
*/
|
|
4251
4423
|
gcpMetadata?: Schema$GcpMetadata;
|
|
4252
4424
|
/**
|
|
@@ -5233,6 +5405,10 @@ export namespace securitycenter_v1beta2 {
|
|
|
5233
5405
|
* Resource capturing the settings for Security Center.
|
|
5234
5406
|
*/
|
|
5235
5407
|
export interface Schema$SecurityCenterSettings {
|
|
5408
|
+
/**
|
|
5409
|
+
* The KMS key name used for CMEK encryption. Format: projects/{project\}/locations/{location\}/keyRings/{key_ring\}/cryptoKeys/{key_name\}
|
|
5410
|
+
*/
|
|
5411
|
+
cryptoKeyName?: string | null;
|
|
5236
5412
|
/**
|
|
5237
5413
|
* The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id\}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services. This may only be specified for organization level onboarding.
|
|
5238
5414
|
*/
|
|
@@ -6088,6 +6264,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
6088
6264
|
*
|
|
6089
6265
|
* // Example response
|
|
6090
6266
|
* // {
|
|
6267
|
+
* // "cryptoKeyName": "my_cryptoKeyName",
|
|
6091
6268
|
* // "logSinkProject": "my_logSinkProject",
|
|
6092
6269
|
* // "name": "my_name",
|
|
6093
6270
|
* // "onboardingTime": "my_onboardingTime",
|
|
@@ -9292,6 +9469,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
9292
9469
|
*
|
|
9293
9470
|
* // Example response
|
|
9294
9471
|
* // {
|
|
9472
|
+
* // "cryptoKeyName": "my_cryptoKeyName",
|
|
9295
9473
|
* // "logSinkProject": "my_logSinkProject",
|
|
9296
9474
|
* // "name": "my_name",
|
|
9297
9475
|
* // "onboardingTime": "my_onboardingTime",
|
|
@@ -12651,6 +12829,7 @@ export namespace securitycenter_v1beta2 {
|
|
|
12651
12829
|
*
|
|
12652
12830
|
* // Example response
|
|
12653
12831
|
* // {
|
|
12832
|
+
* // "cryptoKeyName": "my_cryptoKeyName",
|
|
12654
12833
|
* // "logSinkProject": "my_logSinkProject",
|
|
12655
12834
|
* // "name": "my_name",
|
|
12656
12835
|
* // "onboardingTime": "my_onboardingTime",
|