@maxim_mazurok/gapi.client.securitycenter-v1beta1 0.0.20240607 → 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240620
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -158,6 +158,30 @@ declare namespace gapi.client {
|
|
|
158
158
|
/** The friendly name of the OU. */
|
|
159
159
|
name?: string;
|
|
160
160
|
}
|
|
161
|
+
interface AzureManagementGroup {
|
|
162
|
+
/** The display name of the Azure management group. */
|
|
163
|
+
displayName?: string;
|
|
164
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
165
|
+
id?: string;
|
|
166
|
+
}
|
|
167
|
+
interface AzureMetadata {
|
|
168
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
169
|
+
managementGroups?: AzureManagementGroup[];
|
|
170
|
+
/** The Azure resource group associated with the resource. */
|
|
171
|
+
resourceGroup?: AzureResourceGroup;
|
|
172
|
+
/** The Azure subscription associated with the resource. */
|
|
173
|
+
subscription?: AzureSubscription;
|
|
174
|
+
}
|
|
175
|
+
interface AzureResourceGroup {
|
|
176
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
177
|
+
name?: string;
|
|
178
|
+
}
|
|
179
|
+
interface AzureSubscription {
|
|
180
|
+
/** The display name of the Azure subscription. */
|
|
181
|
+
displayName?: string;
|
|
182
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
183
|
+
id?: string;
|
|
184
|
+
}
|
|
161
185
|
interface BackupDisasterRecovery {
|
|
162
186
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
163
187
|
appliance?: string;
|
|
@@ -445,6 +469,8 @@ declare namespace gapi.client {
|
|
|
445
469
|
files?: File[];
|
|
446
470
|
/** The class of the finding. */
|
|
447
471
|
findingClass?: string;
|
|
472
|
+
/** 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. */
|
|
473
|
+
groupMemberships?: GroupMembership[];
|
|
448
474
|
/** Represents IAM bindings associated with the finding. */
|
|
449
475
|
iamBindings?: IamBinding[];
|
|
450
476
|
/** 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). */
|
|
@@ -493,6 +519,8 @@ declare namespace gapi.client {
|
|
|
493
519
|
sourceProperties?: {[P in string]: any};
|
|
494
520
|
/** The state of the finding. */
|
|
495
521
|
state?: string;
|
|
522
|
+
/** 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. */
|
|
523
|
+
toxicCombination?: ToxicCombination;
|
|
496
524
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
497
525
|
vulnerability?: Vulnerability;
|
|
498
526
|
}
|
|
@@ -744,6 +772,8 @@ declare namespace gapi.client {
|
|
|
744
772
|
interface GoogleCloudSecuritycenterV1Resource {
|
|
745
773
|
/** The AWS metadata associated with the finding. */
|
|
746
774
|
awsMetadata?: AwsMetadata;
|
|
775
|
+
/** The Azure metadata associated with the finding. */
|
|
776
|
+
azureMetadata?: AzureMetadata;
|
|
747
777
|
/** Indicates which cloud provider the resource resides in. */
|
|
748
778
|
cloudProvider?: string;
|
|
749
779
|
/** The human readable name of the resource. */
|
|
@@ -927,6 +957,30 @@ declare namespace gapi.client {
|
|
|
927
957
|
/** The friendly name of the OU. */
|
|
928
958
|
name?: string;
|
|
929
959
|
}
|
|
960
|
+
interface GoogleCloudSecuritycenterV2AzureManagementGroup {
|
|
961
|
+
/** The display name of the Azure management group. */
|
|
962
|
+
displayName?: string;
|
|
963
|
+
/** The UUID of the Azure management group, for example, "20000000-0001-0000-0000-000000000000". */
|
|
964
|
+
id?: string;
|
|
965
|
+
}
|
|
966
|
+
interface GoogleCloudSecuritycenterV2AzureMetadata {
|
|
967
|
+
/** A list of Azure management groups associated with the resource, ordered from lowest level (closest to the subscription) to highest level. */
|
|
968
|
+
managementGroups?: GoogleCloudSecuritycenterV2AzureManagementGroup[];
|
|
969
|
+
/** The Azure resource group associated with the resource. */
|
|
970
|
+
resourceGroup?: GoogleCloudSecuritycenterV2AzureResourceGroup;
|
|
971
|
+
/** The Azure subscription associated with the resource. */
|
|
972
|
+
subscription?: GoogleCloudSecuritycenterV2AzureSubscription;
|
|
973
|
+
}
|
|
974
|
+
interface GoogleCloudSecuritycenterV2AzureResourceGroup {
|
|
975
|
+
/** The name of the Azure resource group. This is not a UUID. */
|
|
976
|
+
name?: string;
|
|
977
|
+
}
|
|
978
|
+
interface GoogleCloudSecuritycenterV2AzureSubscription {
|
|
979
|
+
/** The display name of the Azure subscription. */
|
|
980
|
+
displayName?: string;
|
|
981
|
+
/** The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-3bdcb2a50a05". */
|
|
982
|
+
id?: string;
|
|
983
|
+
}
|
|
930
984
|
interface GoogleCloudSecuritycenterV2BackupDisasterRecovery {
|
|
931
985
|
/** The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`. */
|
|
932
986
|
appliance?: string;
|
|
@@ -1229,6 +1283,8 @@ declare namespace gapi.client {
|
|
|
1229
1283
|
files?: GoogleCloudSecuritycenterV2File[];
|
|
1230
1284
|
/** The class of the finding. */
|
|
1231
1285
|
findingClass?: string;
|
|
1286
|
+
/** 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. */
|
|
1287
|
+
groupMemberships?: GoogleCloudSecuritycenterV2GroupMembership[];
|
|
1232
1288
|
/** Represents IAM bindings associated with the finding. */
|
|
1233
1289
|
iamBindings?: GoogleCloudSecuritycenterV2IamBinding[];
|
|
1234
1290
|
/** 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). */
|
|
@@ -1277,6 +1333,8 @@ declare namespace gapi.client {
|
|
|
1277
1333
|
sourceProperties?: {[P in string]: any};
|
|
1278
1334
|
/** Output only. The state of the finding. */
|
|
1279
1335
|
state?: string;
|
|
1336
|
+
/** 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. */
|
|
1337
|
+
toxicCombination?: GoogleCloudSecuritycenterV2ToxicCombination;
|
|
1280
1338
|
/** Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1281
1339
|
vulnerability?: GoogleCloudSecuritycenterV2Vulnerability;
|
|
1282
1340
|
}
|
|
@@ -1290,6 +1348,12 @@ declare namespace gapi.client {
|
|
|
1290
1348
|
/** A CLDR. */
|
|
1291
1349
|
regionCode?: string;
|
|
1292
1350
|
}
|
|
1351
|
+
interface GoogleCloudSecuritycenterV2GroupMembership {
|
|
1352
|
+
/** ID of the group. */
|
|
1353
|
+
groupId?: string;
|
|
1354
|
+
/** Type of group. */
|
|
1355
|
+
groupType?: string;
|
|
1356
|
+
}
|
|
1293
1357
|
interface GoogleCloudSecuritycenterV2IamBinding {
|
|
1294
1358
|
/** The action that was performed on a Binding. */
|
|
1295
1359
|
action?: string;
|
|
@@ -1513,6 +1577,8 @@ declare namespace gapi.client {
|
|
|
1513
1577
|
interface GoogleCloudSecuritycenterV2Resource {
|
|
1514
1578
|
/** The AWS metadata associated with the finding. */
|
|
1515
1579
|
awsMetadata?: GoogleCloudSecuritycenterV2AwsMetadata;
|
|
1580
|
+
/** The Azure metadata associated with the finding. */
|
|
1581
|
+
azureMetadata?: GoogleCloudSecuritycenterV2AzureMetadata;
|
|
1516
1582
|
/** Indicates which cloud provider the finding is from. */
|
|
1517
1583
|
cloudProvider?: string;
|
|
1518
1584
|
/** The human readable name of the resource. */
|
|
@@ -1652,6 +1718,12 @@ declare namespace gapi.client {
|
|
|
1652
1718
|
/** The link to the ticket in the ticket system. */
|
|
1653
1719
|
uri?: string;
|
|
1654
1720
|
}
|
|
1721
|
+
interface GoogleCloudSecuritycenterV2ToxicCombination {
|
|
1722
|
+
/** 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. */
|
|
1723
|
+
attackExposureScore?: number;
|
|
1724
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
1725
|
+
relatedFindings?: string[];
|
|
1726
|
+
}
|
|
1655
1727
|
interface GoogleCloudSecuritycenterV2Vulnerability {
|
|
1656
1728
|
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
1657
1729
|
cve?: GoogleCloudSecuritycenterV2Cve;
|
|
@@ -1708,6 +1780,12 @@ declare namespace gapi.client {
|
|
|
1708
1780
|
/** Time used for executing the groupBy request. */
|
|
1709
1781
|
readTime?: string;
|
|
1710
1782
|
}
|
|
1783
|
+
interface GroupMembership {
|
|
1784
|
+
/** ID of the group. */
|
|
1785
|
+
groupId?: string;
|
|
1786
|
+
/** Type of group. */
|
|
1787
|
+
groupType?: string;
|
|
1788
|
+
}
|
|
1711
1789
|
interface GroupResult {
|
|
1712
1790
|
/** Total count of resources for the given properties. */
|
|
1713
1791
|
count?: string;
|
|
@@ -2118,6 +2196,12 @@ declare namespace gapi.client {
|
|
|
2118
2196
|
/** The link to the ticket in the ticket system. */
|
|
2119
2197
|
uri?: string;
|
|
2120
2198
|
}
|
|
2199
|
+
interface ToxicCombination {
|
|
2200
|
+
/** 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. */
|
|
2201
|
+
attackExposureScore?: number;
|
|
2202
|
+
/** List of resource names of findings associated with this toxic combination. For example, organizations/123/sources/456/findings/789. */
|
|
2203
|
+
relatedFindings?: string[];
|
|
2204
|
+
}
|
|
2121
2205
|
interface Vulnerability {
|
|
2122
2206
|
/** CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/) */
|
|
2123
2207
|
cve?: Cve;
|