@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20240531 → 0.0.20240620
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/index.d.ts +85 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240620
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -126,6 +126,30 @@ declare namespace gapi.client {
|
|
|
126
126
|
/** The friendly name of the OU. */
|
|
127
127
|
name?: string;
|
|
128
128
|
}
|
|
129
|
+
interface AzureManagementGroup {
|
|
130
|
+
/** The display name of the Azure management group. */
|
|
131
|
+
displayName?: string;
|
|
132
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
133
|
+
id?: string;
|
|
134
|
+
}
|
|
135
|
+
interface AzureMetadata {
|
|
136
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
137
|
+
managementGroups?: AzureManagementGroup[];
|
|
138
|
+
/** The Azure resource group associated with the resource. */
|
|
139
|
+
resourceGroup?: AzureResourceGroup;
|
|
140
|
+
/** The Azure subscription associated with the resource. */
|
|
141
|
+
subscription?: AzureSubscription;
|
|
142
|
+
}
|
|
143
|
+
interface AzureResourceGroup {
|
|
144
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
145
|
+
name?: string;
|
|
146
|
+
}
|
|
147
|
+
interface AzureSubscription {
|
|
148
|
+
/** The display name of the Azure subscription. */
|
|
149
|
+
displayName?: string;
|
|
150
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
151
|
+
id?: string;
|
|
152
|
+
}
|
|
129
153
|
interface BackupDisasterRecovery {
|
|
130
154
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
131
155
|
appliance?: string;
|
|
@@ -439,6 +463,8 @@ declare namespace gapi.client {
|
|
|
439
463
|
files?: File[];
|
|
440
464
|
/** The class of the finding. */
|
|
441
465
|
findingClass?: string;
|
|
466
|
+
/** Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests. */
|
|
467
|
+
groupMemberships?: GroupMembership[];
|
|
442
468
|
/** Represents IAM bindings associated with the finding. */
|
|
443
469
|
iamBindings?: IamBinding[];
|
|
444
470
|
/** Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). */
|
|
@@ -487,6 +513,8 @@ declare namespace gapi.client {
|
|
|
487
513
|
sourceProperties?: {[P in string]: any};
|
|
488
514
|
/** The state of the finding. */
|
|
489
515
|
state?: string;
|
|
516
|
+
/** Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests. */
|
|
517
|
+
toxicCombination?: ToxicCombination;
|
|
490
518
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
491
519
|
vulnerability?: Vulnerability;
|
|
492
520
|
}
|
|
@@ -702,6 +730,8 @@ declare namespace gapi.client {
|
|
|
702
730
|
interface GoogleCloudSecuritycenterV1Resource {
|
|
703
731
|
/** The AWS metadata associated with the finding. */
|
|
704
732
|
awsMetadata?: AwsMetadata;
|
|
733
|
+
/** The Azure metadata associated with the finding. */
|
|
734
|
+
azureMetadata?: AzureMetadata;
|
|
705
735
|
/** Indicates which cloud provider the resource resides in. */
|
|
706
736
|
cloudProvider?: string;
|
|
707
737
|
/** The human readable name of the resource. */
|
|
@@ -885,6 +915,30 @@ declare namespace gapi.client {
|
|
|
885
915
|
/** The friendly name of the OU. */
|
|
886
916
|
name?: string;
|
|
887
917
|
}
|
|
918
|
+
interface GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
919
|
+
/** The display name of the Azure management group. */
|
|
920
|
+
displayName?: string;
|
|
921
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
922
|
+
id?: string;
|
|
923
|
+
}
|
|
924
|
+
interface GoogleCloudSecuritycenterV2AzureMetadata {
|
|
925
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
926
|
+
managementGroups?: GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
927
|
+
/** The Azure resource group associated with the resource. */
|
|
928
|
+
resourceGroup?: GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
929
|
+
/** The Azure subscription associated with the resource. */
|
|
930
|
+
subscription?: GoogleCloudSecuritycenterV2AzureSubscription;
|
|
931
|
+
}
|
|
932
|
+
interface GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
933
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
934
|
+
name?: string;
|
|
935
|
+
}
|
|
936
|
+
interface GoogleCloudSecuritycenterV2AzureSubscription {
|
|
937
|
+
/** The display name of the Azure subscription. */
|
|
938
|
+
displayName?: string;
|
|
939
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
940
|
+
id?: string;
|
|
941
|
+
}
|
|
888
942
|
interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
|
|
889
943
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
890
944
|
appliance?: string;
|
|
@@ -1187,6 +1241,8 @@ declare namespace gapi.client {
|
|
|
1187
1241
|
files?: GoogleCloudSecuritycenterV2File[];
|
|
1188
1242
|
/** The class of the finding. */
|
|
1189
1243
|
findingClass?: string;
|
|
1244
|
+
/** Contains details about groups of which this finding is a member. A group is a collection of findings that are related in some way. This field cannot be updated. Its value is ignored in all update requests. */
|
|
1245
|
+
groupMemberships?: GoogleCloudSecuritycenterV2GroupMembership[];
|
|
1190
1246
|
/** Represents IAM bindings associated with the finding. */
|
|
1191
1247
|
iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
|
|
1192
1248
|
/** Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). */
|
|
@@ -1235,6 +1291,8 @@ declare namespace gapi.client {
|
|
|
1235
1291
|
sourceProperties?: {[P in string]: any};
|
|
1236
1292
|
/** Output only. The state of the finding. */
|
|
1237
1293
|
state?: string;
|
|
1294
|
+
/** Contains details about a group of security issues that, when the issues occur together, represent a greater risk than when the issues occur independently. A group of such issues is referred to as a toxic combination. This field cannot be updated. Its value is ignored in all update requests. */
|
|
1295
|
+
toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
|
|
1238
1296
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1239
1297
|
vulnerability?: GoogleCloudSecuritycenterV2Vulnerability;
|
|
1240
1298
|
}
|
|
@@ -1248,6 +1306,12 @@ declare namespace gapi.client {
|
|
|
1248
1306
|
/** A CLDR. */
|
|
1249
1307
|
regionCode?: string;
|
|
1250
1308
|
}
|
|
1309
|
+
interface GoogleCloudSecuritycenterV2GroupMembership {
|
|
1310
|
+
/** ID of the group. */
|
|
1311
|
+
groupId?: string;
|
|
1312
|
+
/** Type of group. */
|
|
1313
|
+
groupType?: string;
|
|
1314
|
+
}
|
|
1251
1315
|
interface GoogleCloudSecuritycenterV2IamBinding {
|
|
1252
1316
|
/** The action that was performed on a Binding. */
|
|
1253
1317
|
action?: string;
|
|
@@ -1471,6 +1535,8 @@ declare namespace gapi.client {
|
|
|
1471
1535
|
interface GoogleCloudSecuritycenterV2Resource {
|
|
1472
1536
|
/** The AWS metadata associated with the finding. */
|
|
1473
1537
|
awsMetadata?: GoogleCloudSecuritycenterV2AwsMetadata;
|
|
1538
|
+
/** The Azure metadata associated with the finding. */
|
|
1539
|
+
azureMetadata?: GoogleCloudSecuritycenterV2AzureMetadata;
|
|
1474
1540
|
/** Indicates which cloud provider the finding is from. */
|
|
1475
1541
|
cloudProvider?: string;
|
|
1476
1542
|
/** The human readable name of the resource. */
|
|
@@ -1610,6 +1676,12 @@ declare namespace gapi.client {
|
|
|
1610
1676
|
/** The link to the ticket in the ticket system. */
|
|
1611
1677
|
uri?: string;
|
|
1612
1678
|
}
|
|
1679
|
+
interface GoogleCloudSecuritycenterV2ToxicCombination {
|
|
1680
|
+
/** The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack. */
|
|
1681
|
+
attackExposureScore?: number;
|
|
1682
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
1683
|
+
relatedFindings?: string[];
|
|
1684
|
+
}
|
|
1613
1685
|
interface GoogleCloudSecuritycenterV2Vulnerability {
|
|
1614
1686
|
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1615
1687
|
cve?: GoogleCloudSecuritycenterV2Cve;
|
|
@@ -1624,6 +1696,12 @@ declare namespace gapi.client {
|
|
|
1624
1696
|
/** The name of the YARA rule. */
|
|
1625
1697
|
yaraRule?: string;
|
|
1626
1698
|
}
|
|
1699
|
+
interface GroupMembership {
|
|
1700
|
+
/** ID of the group. */
|
|
1701
|
+
groupId?: string;
|
|
1702
|
+
/** Type of group. */
|
|
1703
|
+
groupType?: string;
|
|
1704
|
+
}
|
|
1627
1705
|
interface IamBinding {
|
|
1628
1706
|
/** The action that was performed on a Binding. */
|
|
1629
1707
|
action?: string;
|
|
@@ -1951,6 +2029,12 @@ declare namespace gapi.client {
|
|
|
1951
2029
|
/** The link to the ticket in the ticket system. */
|
|
1952
2030
|
uri?: string;
|
|
1953
2031
|
}
|
|
2032
|
+
interface ToxicCombination {
|
|
2033
|
+
/** The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack. */
|
|
2034
|
+
attackExposureScore?: number;
|
|
2035
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
2036
|
+
relatedFindings?: string[];
|
|
2037
|
+
}
|
|
1954
2038
|
interface VirtualMachineThreatDetectionSettings {
|
|
1955
2039
|
/** The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's. */
|
|
1956
2040
|
modules?: {[P in string]: Config};
|