@googleapis/securitycenter 16.0.0 → 17.1.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/v1beta1.ts CHANGED
@@ -672,6 +672,10 @@ export namespace securitycenter_v1beta1 {
672
672
  * Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
673
673
  */
674
674
  dataProfile?: string | null;
675
+ /**
676
+ * Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.
677
+ */
678
+ infoTypes?: Schema$InfoType[];
675
679
  /**
676
680
  * The resource hierarchy level at which the data profile was generated.
677
681
  */
@@ -2747,6 +2751,10 @@ export namespace securitycenter_v1beta1 {
2747
2751
  * Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
2748
2752
  */
2749
2753
  dataProfile?: string | null;
2754
+ /**
2755
+ * Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.
2756
+ */
2757
+ infoTypes?: Schema$GoogleCloudSecuritycenterV2InfoType[];
2750
2758
  /**
2751
2759
  * The resource hierarchy level at which the data profile was generated.
2752
2760
  */
@@ -3675,6 +3683,23 @@ export namespace securitycenter_v1beta1 {
3675
3683
  */
3676
3684
  uris?: string[] | null;
3677
3685
  }
3686
+ /**
3687
+ * Type of information detected by the API.
3688
+ */
3689
+ export interface Schema$GoogleCloudSecuritycenterV2InfoType {
3690
+ /**
3691
+ * Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64\}`.
3692
+ */
3693
+ name?: string | null;
3694
+ /**
3695
+ * Optional custom sensitivity for this InfoType. This only applies to data profiling.
3696
+ */
3697
+ sensitivityScore?: Schema$GoogleCloudSecuritycenterV2SensitivityScore;
3698
+ /**
3699
+ * Optional version name for this InfoType.
3700
+ */
3701
+ version?: string | null;
3702
+ }
3678
3703
  /**
3679
3704
  * IP rule information.
3680
3705
  */
@@ -3896,11 +3921,67 @@ export namespace securitycenter_v1beta1 {
3896
3921
  * The AppHub application associated with the resource, if any.
3897
3922
  */
3898
3923
  export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplication {
3924
+ /**
3925
+ * Consumer provided attributes for the application
3926
+ */
3927
+ attributes?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes;
3899
3928
  /**
3900
3929
  * The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
3901
3930
  */
3902
3931
  name?: string | null;
3903
3932
  }
3933
+ /**
3934
+ * Consumer provided attributes for the application
3935
+ */
3936
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes {
3937
+ /**
3938
+ * Business team that ensures user needs are met and value is delivered
3939
+ */
3940
+ businessOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3941
+ /**
3942
+ * User-defined criticality information.
3943
+ */
3944
+ criticality?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality;
3945
+ /**
3946
+ * Developer team that owns development and coding.
3947
+ */
3948
+ developerOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3949
+ /**
3950
+ * User-defined environment information.
3951
+ */
3952
+ environment?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment;
3953
+ /**
3954
+ * Operator team that ensures runtime and operations.
3955
+ */
3956
+ operatorOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3957
+ }
3958
+ /**
3959
+ * Contact information of stakeholders.
3960
+ */
3961
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo {
3962
+ /**
3963
+ * Email address of the contacts.
3964
+ */
3965
+ email?: string | null;
3966
+ }
3967
+ /**
3968
+ * Criticality of the Application, Service, or Workload
3969
+ */
3970
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality {
3971
+ /**
3972
+ * Criticality Type.
3973
+ */
3974
+ type?: string | null;
3975
+ }
3976
+ /**
3977
+ * Environment of the Application, Service, or Workload
3978
+ */
3979
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment {
3980
+ /**
3981
+ * Environment Type.
3982
+ */
3983
+ type?: string | null;
3984
+ }
3904
3985
  /**
3905
3986
  * The AWS metadata of a resource associated with an issue.
3906
3987
  */
@@ -4741,6 +4822,15 @@ export namespace securitycenter_v1beta1 {
4741
4822
  */
4742
4823
  mediumSensitivityMapping?: string | null;
4743
4824
  }
4825
+ /**
4826
+ * Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
4827
+ */
4828
+ export interface Schema$GoogleCloudSecuritycenterV2SensitivityScore {
4829
+ /**
4830
+ * The sensitivity score applied to the resource.
4831
+ */
4832
+ score?: string | null;
4833
+ }
4744
4834
  /**
4745
4835
  * Identity delegation history of an authenticated service account.
4746
4836
  */
@@ -5033,6 +5123,23 @@ export namespace securitycenter_v1beta1 {
5033
5123
  */
5034
5124
  uris?: string[] | null;
5035
5125
  }
5126
+ /**
5127
+ * Type of information detected by the API.
5128
+ */
5129
+ export interface Schema$InfoType {
5130
+ /**
5131
+ * Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64\}`.
5132
+ */
5133
+ name?: string | null;
5134
+ /**
5135
+ * Optional custom sensitivity for this InfoType. This only applies to data profiling.
5136
+ */
5137
+ sensitivityScore?: Schema$SensitivityScore;
5138
+ /**
5139
+ * Optional version name for this InfoType.
5140
+ */
5141
+ version?: string | null;
5142
+ }
5036
5143
  /**
5037
5144
  * IP rule information.
5038
5145
  */
@@ -5250,6 +5357,10 @@ export namespace securitycenter_v1beta1 {
5250
5357
  * A list of operations that matches the specified filter in the request.
5251
5358
  */
5252
5359
  operations?: Schema$Operation[];
5360
+ /**
5361
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
5362
+ */
5363
+ unreachable?: string[] | null;
5253
5364
  }
5254
5365
  /**
5255
5366
  * Response message for listing sources.
@@ -5827,6 +5938,15 @@ export namespace securitycenter_v1beta1 {
5827
5938
  */
5828
5939
  revisionId?: string | null;
5829
5940
  }
5941
+ /**
5942
+ * Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
5943
+ */
5944
+ export interface Schema$SensitivityScore {
5945
+ /**
5946
+ * The sensitivity score applied to the resource.
5947
+ */
5948
+ score?: string | null;
5949
+ }
5830
5950
  /**
5831
5951
  * Identity delegation history of an authenticated service account.
5832
5952
  */
@@ -7568,13 +7688,16 @@ export namespace securitycenter_v1beta1 {
7568
7688
  * pageSize: 'placeholder-value',
7569
7689
  * // The standard list page token.
7570
7690
  * 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 [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7692
+ * returnPartialSuccess: 'placeholder-value',
7571
7693
  * });
7572
7694
  * console.log(res.data);
7573
7695
  *
7574
7696
  * // Example response
7575
7697
  * // {
7576
7698
  * // "nextPageToken": "my_nextPageToken",
7577
- * // "operations": []
7699
+ * // "operations": [],
7700
+ * // "unreachable": []
7578
7701
  * // }
7579
7702
  * }
7580
7703
  *
@@ -7718,6 +7841,10 @@ export namespace securitycenter_v1beta1 {
7718
7841
  * The standard list page token.
7719
7842
  */
7720
7843
  pageToken?: string;
7844
+ /**
7845
+ * 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 e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7846
+ */
7847
+ returnPartialSuccess?: boolean;
7721
7848
  }
7722
7849
 
7723
7850
  export class Resource$Organizations$Sources {
package/v1beta2.ts CHANGED
@@ -587,6 +587,10 @@ export namespace securitycenter_v1beta2 {
587
587
  * Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
588
588
  */
589
589
  dataProfile?: string | null;
590
+ /**
591
+ * Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.
592
+ */
593
+ infoTypes?: Schema$InfoType[];
590
594
  /**
591
595
  * The resource hierarchy level at which the data profile was generated.
592
596
  */
@@ -2658,6 +2662,10 @@ export namespace securitycenter_v1beta2 {
2658
2662
  * Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.
2659
2663
  */
2660
2664
  dataProfile?: string | null;
2665
+ /**
2666
+ * Type of information detected by SDP. Info type includes name, version and sensitivity of the detected information type.
2667
+ */
2668
+ infoTypes?: Schema$GoogleCloudSecuritycenterV2InfoType[];
2661
2669
  /**
2662
2670
  * The resource hierarchy level at which the data profile was generated.
2663
2671
  */
@@ -3586,6 +3594,23 @@ export namespace securitycenter_v1beta2 {
3586
3594
  */
3587
3595
  uris?: string[] | null;
3588
3596
  }
3597
+ /**
3598
+ * Type of information detected by the API.
3599
+ */
3600
+ export interface Schema$GoogleCloudSecuritycenterV2InfoType {
3601
+ /**
3602
+ * Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64\}`.
3603
+ */
3604
+ name?: string | null;
3605
+ /**
3606
+ * Optional custom sensitivity for this InfoType. This only applies to data profiling.
3607
+ */
3608
+ sensitivityScore?: Schema$GoogleCloudSecuritycenterV2SensitivityScore;
3609
+ /**
3610
+ * Optional version name for this InfoType.
3611
+ */
3612
+ version?: string | null;
3613
+ }
3589
3614
  /**
3590
3615
  * IP rule information.
3591
3616
  */
@@ -3807,11 +3832,67 @@ export namespace securitycenter_v1beta2 {
3807
3832
  * The AppHub application associated with the resource, if any.
3808
3833
  */
3809
3834
  export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplication {
3835
+ /**
3836
+ * Consumer provided attributes for the application
3837
+ */
3838
+ attributes?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes;
3810
3839
  /**
3811
3840
  * The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
3812
3841
  */
3813
3842
  name?: string | null;
3814
3843
  }
3844
+ /**
3845
+ * Consumer provided attributes for the application
3846
+ */
3847
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributes {
3848
+ /**
3849
+ * Business team that ensures user needs are met and value is delivered
3850
+ */
3851
+ businessOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3852
+ /**
3853
+ * User-defined criticality information.
3854
+ */
3855
+ criticality?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality;
3856
+ /**
3857
+ * Developer team that owns development and coding.
3858
+ */
3859
+ developerOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3860
+ /**
3861
+ * User-defined environment information.
3862
+ */
3863
+ environment?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment;
3864
+ /**
3865
+ * Operator team that ensures runtime and operations.
3866
+ */
3867
+ operatorOwners?: Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo[];
3868
+ }
3869
+ /**
3870
+ * Contact information of stakeholders.
3871
+ */
3872
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesContactInfo {
3873
+ /**
3874
+ * Email address of the contacts.
3875
+ */
3876
+ email?: string | null;
3877
+ }
3878
+ /**
3879
+ * Criticality of the Application, Service, or Workload
3880
+ */
3881
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality {
3882
+ /**
3883
+ * Criticality Type.
3884
+ */
3885
+ type?: string | null;
3886
+ }
3887
+ /**
3888
+ * Environment of the Application, Service, or Workload
3889
+ */
3890
+ export interface Schema$GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesEnvironment {
3891
+ /**
3892
+ * Environment Type.
3893
+ */
3894
+ type?: string | null;
3895
+ }
3815
3896
  /**
3816
3897
  * The AWS metadata of a resource associated with an issue.
3817
3898
  */
@@ -4652,6 +4733,15 @@ export namespace securitycenter_v1beta2 {
4652
4733
  */
4653
4734
  mediumSensitivityMapping?: string | null;
4654
4735
  }
4736
+ /**
4737
+ * Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
4738
+ */
4739
+ export interface Schema$GoogleCloudSecuritycenterV2SensitivityScore {
4740
+ /**
4741
+ * The sensitivity score applied to the resource.
4742
+ */
4743
+ score?: string | null;
4744
+ }
4655
4745
  /**
4656
4746
  * Identity delegation history of an authenticated service account.
4657
4747
  */
@@ -4843,6 +4933,23 @@ export namespace securitycenter_v1beta2 {
4843
4933
  */
4844
4934
  uris?: string[] | null;
4845
4935
  }
4936
+ /**
4937
+ * Type of information detected by the API.
4938
+ */
4939
+ export interface Schema$InfoType {
4940
+ /**
4941
+ * Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$_-]{1,64\}`.
4942
+ */
4943
+ name?: string | null;
4944
+ /**
4945
+ * Optional custom sensitivity for this InfoType. This only applies to data profiling.
4946
+ */
4947
+ sensitivityScore?: Schema$SensitivityScore;
4948
+ /**
4949
+ * Optional version name for this InfoType.
4950
+ */
4951
+ version?: string | null;
4952
+ }
4846
4953
  /**
4847
4954
  * IP rule information.
4848
4955
  */
@@ -5535,6 +5642,15 @@ export namespace securitycenter_v1beta2 {
5535
5642
  */
5536
5643
  revisionId?: string | null;
5537
5644
  }
5645
+ /**
5646
+ * Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.
5647
+ */
5648
+ export interface Schema$SensitivityScore {
5649
+ /**
5650
+ * The sensitivity score applied to the resource.
5651
+ */
5652
+ score?: string | null;
5653
+ }
5538
5654
  /**
5539
5655
  * Identity delegation history of an authenticated service account.
5540
5656
  */