@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.2.20251205 → 0.2.20260105
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 +89 -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: 20260105
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -104,6 +104,20 @@ declare namespace gapi.client {
|
|
|
104
104
|
/** The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`. */
|
|
105
105
|
fullUri?: string;
|
|
106
106
|
}
|
|
107
|
+
interface ArtifactGuardPolicies {
|
|
108
|
+
/** A list of failing policies. */
|
|
109
|
+
failingPolicies?: ArtifactGuardPolicy[];
|
|
110
|
+
/** The ID of the resource that has policies configured for it. */
|
|
111
|
+
resourceId?: string;
|
|
112
|
+
}
|
|
113
|
+
interface ArtifactGuardPolicy {
|
|
114
|
+
/** The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". */
|
|
115
|
+
failureReason?: string;
|
|
116
|
+
/** The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". */
|
|
117
|
+
policyId?: string;
|
|
118
|
+
/** The type of the policy evaluation. */
|
|
119
|
+
type?: string;
|
|
120
|
+
}
|
|
107
121
|
interface Attack {
|
|
108
122
|
/** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
|
|
109
123
|
classification?: string;
|
|
@@ -532,6 +546,8 @@ declare namespace gapi.client {
|
|
|
532
546
|
contents?: string;
|
|
533
547
|
/** Path of the file in terms of underlying disk/partition identifiers. */
|
|
534
548
|
diskPath?: DiskPath;
|
|
549
|
+
/** The load state of the file. */
|
|
550
|
+
fileLoadState?: string;
|
|
535
551
|
/** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
|
|
536
552
|
hashedSize?: string;
|
|
537
553
|
/** Operation(s) performed on a file. */
|
|
@@ -558,6 +574,8 @@ declare namespace gapi.client {
|
|
|
558
574
|
aiModel?: AiModel;
|
|
559
575
|
/** Represents an application associated with the finding. */
|
|
560
576
|
application?: Application;
|
|
577
|
+
/** ArtifactGuardPolicies associated with the finding. */
|
|
578
|
+
artifactGuardPolicies?: ArtifactGuardPolicies;
|
|
561
579
|
/** The results of an attack path simulation relevant to this finding. */
|
|
562
580
|
attackExposure?: AttackExposure;
|
|
563
581
|
/** Fields related to Backup and DR findings. */
|
|
@@ -660,6 +678,8 @@ declare namespace gapi.client {
|
|
|
660
678
|
processes?: Process[];
|
|
661
679
|
/** For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time. */
|
|
662
680
|
resourceName?: string;
|
|
681
|
+
/** Secret associated with the finding. */
|
|
682
|
+
secret?: Secret;
|
|
663
683
|
/** Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */
|
|
664
684
|
securityMarks?: SecurityMarks;
|
|
665
685
|
/** The security posture associated with the finding. */
|
|
@@ -1104,6 +1124,20 @@ declare namespace gapi.client {
|
|
|
1104
1124
|
/** The full URI with payload that could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`. */
|
|
1105
1125
|
fullUri?: string;
|
|
1106
1126
|
}
|
|
1127
|
+
interface GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
|
|
1128
|
+
/** A list of failing policies. */
|
|
1129
|
+
failingPolicies?: GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
|
|
1130
|
+
/** The ID of the resource that has policies configured for it. */
|
|
1131
|
+
resourceId?: string;
|
|
1132
|
+
}
|
|
1133
|
+
interface GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
|
|
1134
|
+
/** The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2". */
|
|
1135
|
+
failureReason?: string;
|
|
1136
|
+
/** The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy". */
|
|
1137
|
+
policyId?: string;
|
|
1138
|
+
/** The type of the policy evaluation. */
|
|
1139
|
+
type?: string;
|
|
1140
|
+
}
|
|
1107
1141
|
interface GoogleCloudSecuritycenterV2Attack {
|
|
1108
1142
|
/** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */
|
|
1109
1143
|
classification?: string;
|
|
@@ -1530,6 +1564,8 @@ declare namespace gapi.client {
|
|
|
1530
1564
|
contents?: string;
|
|
1531
1565
|
/** Path of the file in terms of underlying disk/partition identifiers. */
|
|
1532
1566
|
diskPath?: GoogleCloudSecuritycenterV2DiskPath;
|
|
1567
|
+
/** The load state of the file. */
|
|
1568
|
+
fileLoadState?: string;
|
|
1533
1569
|
/** The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file. */
|
|
1534
1570
|
hashedSize?: string;
|
|
1535
1571
|
/** Operation(s) performed on a file. */
|
|
@@ -1556,6 +1592,8 @@ declare namespace gapi.client {
|
|
|
1556
1592
|
aiModel?: GoogleCloudSecuritycenterV2AiModel;
|
|
1557
1593
|
/** Represents an application associated with the finding. */
|
|
1558
1594
|
application?: GoogleCloudSecuritycenterV2Application;
|
|
1595
|
+
/** ArtifactGuardPolicies associated with the finding. */
|
|
1596
|
+
artifactGuardPolicies?: GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
|
|
1559
1597
|
/** The results of an attack path simulation relevant to this finding. */
|
|
1560
1598
|
attackExposure?: GoogleCloudSecuritycenterV2AttackExposure;
|
|
1561
1599
|
/** Fields related to Backup and DR findings. */
|
|
@@ -1660,6 +1698,8 @@ declare namespace gapi.client {
|
|
|
1660
1698
|
processes?: GoogleCloudSecuritycenterV2Process[];
|
|
1661
1699
|
/** Immutable. For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. */
|
|
1662
1700
|
resourceName?: string;
|
|
1701
|
+
/** Secret associated with the finding. */
|
|
1702
|
+
secret?: GoogleCloudSecuritycenterV2Secret;
|
|
1663
1703
|
/** Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding. */
|
|
1664
1704
|
securityMarks?: GoogleCloudSecuritycenterV2SecurityMarks;
|
|
1665
1705
|
/** The security posture associated with the finding. */
|
|
@@ -2247,6 +2287,30 @@ declare namespace gapi.client {
|
|
|
2247
2287
|
/** Role namespace. */
|
|
2248
2288
|
ns?: string;
|
|
2249
2289
|
}
|
|
2290
|
+
interface GoogleCloudSecuritycenterV2Secret {
|
|
2291
|
+
/** The environment variable containing the secret. */
|
|
2292
|
+
environmentVariable?: GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
|
|
2293
|
+
/** The file containing the secret. */
|
|
2294
|
+
filePath?: GoogleCloudSecuritycenterV2SecretFilePath;
|
|
2295
|
+
/** The status of the secret. */
|
|
2296
|
+
status?: GoogleCloudSecuritycenterV2SecretStatus;
|
|
2297
|
+
/** The type of secret, for example, GCP_API_KEY. */
|
|
2298
|
+
type?: string;
|
|
2299
|
+
}
|
|
2300
|
+
interface GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
|
|
2301
|
+
/** Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. */
|
|
2302
|
+
key?: string;
|
|
2303
|
+
}
|
|
2304
|
+
interface GoogleCloudSecuritycenterV2SecretFilePath {
|
|
2305
|
+
/** Path to the file. */
|
|
2306
|
+
path?: string;
|
|
2307
|
+
}
|
|
2308
|
+
interface GoogleCloudSecuritycenterV2SecretStatus {
|
|
2309
|
+
/** Time that the secret was found. */
|
|
2310
|
+
lastUpdatedTime?: string;
|
|
2311
|
+
/** The validity of the secret. */
|
|
2312
|
+
validity?: string;
|
|
2313
|
+
}
|
|
2250
2314
|
interface GoogleCloudSecuritycenterV2SecurityBulletin {
|
|
2251
2315
|
/** ID of the bulletin corresponding to the vulnerability. */
|
|
2252
2316
|
bulletinId?: string;
|
|
@@ -2659,6 +2723,30 @@ declare namespace gapi.client {
|
|
|
2659
2723
|
/** Role namespace. */
|
|
2660
2724
|
ns?: string;
|
|
2661
2725
|
}
|
|
2726
|
+
interface Secret {
|
|
2727
|
+
/** The environment variable containing the secret. */
|
|
2728
|
+
environmentVariable?: SecretEnvironmentVariable;
|
|
2729
|
+
/** The file containing the secret. */
|
|
2730
|
+
filePath?: SecretFilePath;
|
|
2731
|
+
/** The status of the secret. */
|
|
2732
|
+
status?: SecretStatus;
|
|
2733
|
+
/** The type of secret, for example, GCP_API_KEY. */
|
|
2734
|
+
type?: string;
|
|
2735
|
+
}
|
|
2736
|
+
interface SecretEnvironmentVariable {
|
|
2737
|
+
/** Environment variable name as a JSON encoded string. Note that value is not included since the value contains the secret data, which is sensitive core content. */
|
|
2738
|
+
key?: string;
|
|
2739
|
+
}
|
|
2740
|
+
interface SecretFilePath {
|
|
2741
|
+
/** Path to the file. */
|
|
2742
|
+
path?: string;
|
|
2743
|
+
}
|
|
2744
|
+
interface SecretStatus {
|
|
2745
|
+
/** Time that the secret was found. */
|
|
2746
|
+
lastUpdatedTime?: string;
|
|
2747
|
+
/** The validity of the secret. */
|
|
2748
|
+
validity?: string;
|
|
2749
|
+
}
|
|
2662
2750
|
interface SecurityBulletin {
|
|
2663
2751
|
/** ID of the bulletin corresponding to the vulnerability. */
|
|
2664
2752
|
bulletinId?: string;
|