@maxim_mazurok/gapi.client.securitycenter-v1 0.0.20240607 → 0.0.20240622
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 +87 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240622
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -204,6 +204,30 @@ declare namespace gapi.client {
|
|
|
204
204
|
/** The friendly name of the OU. */
|
|
205
205
|
name?: string;
|
|
206
206
|
}
|
|
207
|
+
interface AzureManagementGroup {
|
|
208
|
+
/** The display name of the Azure management group. */
|
|
209
|
+
displayName?: string;
|
|
210
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
211
|
+
id?: string;
|
|
212
|
+
}
|
|
213
|
+
interface AzureMetadata {
|
|
214
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
215
|
+
managementGroups?: AzureManagementGroup[];
|
|
216
|
+
/** The Azure resource group associated with the resource. */
|
|
217
|
+
resourceGroup?: AzureResourceGroup;
|
|
218
|
+
/** The Azure subscription associated with the resource. */
|
|
219
|
+
subscription?: AzureSubscription;
|
|
220
|
+
}
|
|
221
|
+
interface AzureResourceGroup {
|
|
222
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
223
|
+
name?: string;
|
|
224
|
+
}
|
|
225
|
+
interface AzureSubscription {
|
|
226
|
+
/** The display name of the Azure subscription. */
|
|
227
|
+
displayName?: string;
|
|
228
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
229
|
+
id?: string;
|
|
230
|
+
}
|
|
207
231
|
interface BackupDisasterRecovery {
|
|
208
232
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
209
233
|
appliance?: string;
|
|
@@ -557,6 +581,8 @@ declare namespace gapi.client {
|
|
|
557
581
|
files?: File[];
|
|
558
582
|
/** The class of the finding. */
|
|
559
583
|
findingClass?: string;
|
|
584
|
+
/** 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. */
|
|
585
|
+
groupMemberships?: GroupMembership[];
|
|
560
586
|
/** Represents IAM bindings associated with the finding. */
|
|
561
587
|
iamBindings?: IamBinding[];
|
|
562
588
|
/** 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). */
|
|
@@ -605,6 +631,8 @@ declare namespace gapi.client {
|
|
|
605
631
|
sourceProperties?: {[P in string]: any};
|
|
606
632
|
/** The state of the finding. */
|
|
607
633
|
state?: string;
|
|
634
|
+
/** 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. */
|
|
635
|
+
toxicCombination?: ToxicCombination;
|
|
608
636
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
609
637
|
vulnerability?: Vulnerability;
|
|
610
638
|
}
|
|
@@ -828,6 +856,8 @@ declare namespace gapi.client {
|
|
|
828
856
|
interface GoogleCloudSecuritycenterV1Resource {
|
|
829
857
|
/** The AWS metadata associated with the finding. */
|
|
830
858
|
awsMetadata?: AwsMetadata;
|
|
859
|
+
/** The Azure metadata associated with the finding. */
|
|
860
|
+
azureMetadata?: AzureMetadata;
|
|
831
861
|
/** Indicates which cloud provider the resource resides in. */
|
|
832
862
|
cloudProvider?: string;
|
|
833
863
|
/** The human readable name of the resource. */
|
|
@@ -1011,6 +1041,30 @@ declare namespace gapi.client {
|
|
|
1011
1041
|
/** The friendly name of the OU. */
|
|
1012
1042
|
name?: string;
|
|
1013
1043
|
}
|
|
1044
|
+
interface GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
1045
|
+
/** The display name of the Azure management group. */
|
|
1046
|
+
displayName?: string;
|
|
1047
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
1048
|
+
id?: string;
|
|
1049
|
+
}
|
|
1050
|
+
interface GoogleCloudSecuritycenterV2AzureMetadata {
|
|
1051
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
1052
|
+
managementGroups?: GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
1053
|
+
/** The Azure resource group associated with the resource. */
|
|
1054
|
+
resourceGroup?: GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
1055
|
+
/** The Azure subscription associated with the resource. */
|
|
1056
|
+
subscription?: GoogleCloudSecuritycenterV2AzureSubscription;
|
|
1057
|
+
}
|
|
1058
|
+
interface GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
1059
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
1060
|
+
name?: string;
|
|
1061
|
+
}
|
|
1062
|
+
interface GoogleCloudSecuritycenterV2AzureSubscription {
|
|
1063
|
+
/** The display name of the Azure subscription. */
|
|
1064
|
+
displayName?: string;
|
|
1065
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
1066
|
+
id?: string;
|
|
1067
|
+
}
|
|
1014
1068
|
interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
|
|
1015
1069
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
1016
1070
|
appliance?: string;
|
|
@@ -1313,6 +1367,8 @@ declare namespace gapi.client {
|
|
|
1313
1367
|
files?: GoogleCloudSecuritycenterV2File[];
|
|
1314
1368
|
/** The class of the finding. */
|
|
1315
1369
|
findingClass?: string;
|
|
1370
|
+
/** 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. */
|
|
1371
|
+
groupMemberships?: GoogleCloudSecuritycenterV2GroupMembership[];
|
|
1316
1372
|
/** Represents IAM bindings associated with the finding. */
|
|
1317
1373
|
iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
|
|
1318
1374
|
/** 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). */
|
|
@@ -1361,6 +1417,8 @@ declare namespace gapi.client {
|
|
|
1361
1417
|
sourceProperties?: {[P in string]: any};
|
|
1362
1418
|
/** Output only. The state of the finding. */
|
|
1363
1419
|
state?: string;
|
|
1420
|
+
/** 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. */
|
|
1421
|
+
toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
|
|
1364
1422
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1365
1423
|
vulnerability?: GoogleCloudSecuritycenterV2Vulnerability;
|
|
1366
1424
|
}
|
|
@@ -1374,6 +1432,12 @@ declare namespace gapi.client {
|
|
|
1374
1432
|
/** A CLDR. */
|
|
1375
1433
|
regionCode?: string;
|
|
1376
1434
|
}
|
|
1435
|
+
interface GoogleCloudSecuritycenterV2GroupMembership {
|
|
1436
|
+
/** ID of the group. */
|
|
1437
|
+
groupId?: string;
|
|
1438
|
+
/** Type of group. */
|
|
1439
|
+
groupType?: string;
|
|
1440
|
+
}
|
|
1377
1441
|
interface GoogleCloudSecuritycenterV2IamBinding {
|
|
1378
1442
|
/** The action that was performed on a Binding. */
|
|
1379
1443
|
action?: string;
|
|
@@ -1597,6 +1661,8 @@ declare namespace gapi.client {
|
|
|
1597
1661
|
interface GoogleCloudSecuritycenterV2Resource {
|
|
1598
1662
|
/** The AWS metadata associated with the finding. */
|
|
1599
1663
|
awsMetadata?: GoogleCloudSecuritycenterV2AwsMetadata;
|
|
1664
|
+
/** The Azure metadata associated with the finding. */
|
|
1665
|
+
azureMetadata?: GoogleCloudSecuritycenterV2AzureMetadata;
|
|
1600
1666
|
/** Indicates which cloud provider the finding is from. */
|
|
1601
1667
|
cloudProvider?: string;
|
|
1602
1668
|
/** The human readable name of the resource. */
|
|
@@ -1736,6 +1802,12 @@ declare namespace gapi.client {
|
|
|
1736
1802
|
/** The link to the ticket in the ticket system. */
|
|
1737
1803
|
uri?: string;
|
|
1738
1804
|
}
|
|
1805
|
+
interface GoogleCloudSecuritycenterV2ToxicCombination {
|
|
1806
|
+
/** 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. */
|
|
1807
|
+
attackExposureScore?: number;
|
|
1808
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
1809
|
+
relatedFindings?: string[];
|
|
1810
|
+
}
|
|
1739
1811
|
interface GoogleCloudSecuritycenterV2Vulnerability {
|
|
1740
1812
|
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1741
1813
|
cve?: GoogleCloudSecuritycenterV2Cve;
|
|
@@ -1798,6 +1870,12 @@ declare namespace gapi.client {
|
|
|
1798
1870
|
/** The total number of results matching the query. */
|
|
1799
1871
|
totalSize?: number;
|
|
1800
1872
|
}
|
|
1873
|
+
interface GroupMembership {
|
|
1874
|
+
/** ID of the group. */
|
|
1875
|
+
groupId?: string;
|
|
1876
|
+
/** Type of group. */
|
|
1877
|
+
groupType?: string;
|
|
1878
|
+
}
|
|
1801
1879
|
interface GroupResult {
|
|
1802
1880
|
/** Total count of resources for the given properties. */
|
|
1803
1881
|
count?: string;
|
|
@@ -2182,6 +2260,8 @@ declare namespace gapi.client {
|
|
|
2182
2260
|
interface Resource {
|
|
2183
2261
|
/** The AWS metadata associated with the finding. */
|
|
2184
2262
|
awsMetadata?: AwsMetadata;
|
|
2263
|
+
/** The Azure metadata associated with the finding. */
|
|
2264
|
+
azureMetadata?: AzureMetadata;
|
|
2185
2265
|
/** Indicates which cloud provider the finding is from. */
|
|
2186
2266
|
cloudProvider?: string;
|
|
2187
2267
|
/** The human readable name of the resource. */
|
|
@@ -2408,6 +2488,12 @@ declare namespace gapi.client {
|
|
|
2408
2488
|
/** The link to the ticket in the ticket system. */
|
|
2409
2489
|
uri?: string;
|
|
2410
2490
|
}
|
|
2491
|
+
interface ToxicCombination {
|
|
2492
|
+
/** 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. */
|
|
2493
|
+
attackExposureScore?: number;
|
|
2494
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
2495
|
+
relatedFindings?: string[];
|
|
2496
|
+
}
|
|
2411
2497
|
interface ValidateEventThreatDetectionCustomModuleRequest {
|
|
2412
2498
|
/** Required. The raw text of the module's contents. Used to generate error messages. */
|
|
2413
2499
|
rawText?: string;
|