@googleapis/securitycenter 17.1.0 → 17.3.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.
@@ -204,6 +204,10 @@ export declare namespace securitycenter_v1beta2 {
204
204
  * The publisher of the model, for example, “google” or “nvidia”.
205
205
  */
206
206
  publisher?: string | null;
207
+ /**
208
+ * The purpose of the model, for example, "Inteference" or "Training".
209
+ */
210
+ usageCategory?: string | null;
207
211
  }
208
212
  /**
209
213
  * Allowed IP rule.
@@ -227,6 +231,36 @@ export declare namespace securitycenter_v1beta2 {
227
231
  */
228
232
  fullUri?: string | null;
229
233
  }
234
+ /**
235
+ * Represents the result of evaluating artifact guard policies.
236
+ */
237
+ export interface Schema$ArtifactGuardPolicies {
238
+ /**
239
+ * A list of failing policies.
240
+ */
241
+ failingPolicies?: Schema$ArtifactGuardPolicy[];
242
+ /**
243
+ * The ID of the resource that has policies configured for it.
244
+ */
245
+ resourceId?: string | null;
246
+ }
247
+ /**
248
+ * Represents an artifact guard policy.
249
+ */
250
+ export interface Schema$ArtifactGuardPolicy {
251
+ /**
252
+ * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
253
+ */
254
+ failureReason?: string | null;
255
+ /**
256
+ * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
257
+ */
258
+ policyId?: string | null;
259
+ /**
260
+ * The type of the policy evaluation.
261
+ */
262
+ type?: string | null;
263
+ }
230
264
  /**
231
265
  * Information about DDoS attack volume and classification.
232
266
  */
@@ -1142,6 +1176,10 @@ export declare namespace securitycenter_v1beta2 {
1142
1176
  * Path of the file in terms of underlying disk/partition identifiers.
1143
1177
  */
1144
1178
  diskPath?: Schema$DiskPath;
1179
+ /**
1180
+ * The load state of the file.
1181
+ */
1182
+ fileLoadState?: string | null;
1145
1183
  /**
1146
1184
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
1147
1185
  */
@@ -1196,6 +1234,10 @@ export declare namespace securitycenter_v1beta2 {
1196
1234
  * Represents an application associated with the finding.
1197
1235
  */
1198
1236
  application?: Schema$Application;
1237
+ /**
1238
+ * ArtifactGuardPolicies associated with the finding.
1239
+ */
1240
+ artifactGuardPolicies?: Schema$ArtifactGuardPolicies;
1199
1241
  /**
1200
1242
  * The results of an attack path simulation relevant to this finding.
1201
1243
  */
@@ -1400,6 +1442,10 @@ export declare namespace securitycenter_v1beta2 {
1400
1442
  * 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.
1401
1443
  */
1402
1444
  resourceName?: string | null;
1445
+ /**
1446
+ * Secret associated with the finding.
1447
+ */
1448
+ secret?: Schema$Secret;
1403
1449
  /**
1404
1450
  * 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.
1405
1451
  */
@@ -1920,6 +1966,10 @@ export declare namespace securitycenter_v1beta2 {
1920
1966
  * Information related to the Google Cloud resource.
1921
1967
  */
1922
1968
  export interface Schema$GoogleCloudSecuritycenterV1Resource {
1969
+ /**
1970
+ * The App Hub application this resource belongs to.
1971
+ */
1972
+ application?: Schema$GoogleCloudSecuritycenterV1ResourceApplication;
1923
1973
  /**
1924
1974
  * The AWS metadata associated with the finding.
1925
1975
  */
@@ -1985,6 +2035,71 @@ export declare namespace securitycenter_v1beta2 {
1985
2035
  */
1986
2036
  type?: string | null;
1987
2037
  }
2038
+ /**
2039
+ * The App Hub Application associated with the finding's resource.
2040
+ */
2041
+ export interface Schema$GoogleCloudSecuritycenterV1ResourceApplication {
2042
+ /**
2043
+ * Consumer provided attributes for the application
2044
+ */
2045
+ attributes?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes;
2046
+ /**
2047
+ * The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
2048
+ */
2049
+ name?: string | null;
2050
+ }
2051
+ /**
2052
+ * Consumer provided attributes for the application
2053
+ */
2054
+ export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributes {
2055
+ /**
2056
+ * Business team that ensures user needs are met and value is delivered
2057
+ */
2058
+ businessOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
2059
+ /**
2060
+ * User-defined criticality information.
2061
+ */
2062
+ criticality?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality;
2063
+ /**
2064
+ * Developer team that owns development and coding.
2065
+ */
2066
+ developerOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
2067
+ /**
2068
+ * User-defined environment information.
2069
+ */
2070
+ environment?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment;
2071
+ /**
2072
+ * Operator team that ensures runtime and operations.
2073
+ */
2074
+ operatorOwners?: Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo[];
2075
+ }
2076
+ /**
2077
+ * Contact information of stakeholders.
2078
+ */
2079
+ export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo {
2080
+ /**
2081
+ * Email address of the contacts.
2082
+ */
2083
+ email?: string | null;
2084
+ }
2085
+ /**
2086
+ * Criticality of the Application, Service, or Workload
2087
+ */
2088
+ export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality {
2089
+ /**
2090
+ * Criticality Type.
2091
+ */
2092
+ type?: string | null;
2093
+ }
2094
+ /**
2095
+ * Environment of the Application, Service, or Workload
2096
+ */
2097
+ export interface Schema$GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment {
2098
+ /**
2099
+ * Environment Type.
2100
+ */
2101
+ type?: string | null;
2102
+ }
1988
2103
  /**
1989
2104
  * Resource for selecting resource type.
1990
2105
  */
@@ -2240,6 +2355,10 @@ export declare namespace securitycenter_v1beta2 {
2240
2355
  * The publisher of the model, for example, “google” or “nvidia”.
2241
2356
  */
2242
2357
  publisher?: string | null;
2358
+ /**
2359
+ * The purpose of the model, for example, "Inteference" or "Training".
2360
+ */
2361
+ usageCategory?: string | null;
2243
2362
  }
2244
2363
  /**
2245
2364
  * Allowed IP rule.
@@ -2263,6 +2382,36 @@ export declare namespace securitycenter_v1beta2 {
2263
2382
  */
2264
2383
  fullUri?: string | null;
2265
2384
  }
2385
+ /**
2386
+ * Represents the result of evaluating artifact guard policies.
2387
+ */
2388
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies {
2389
+ /**
2390
+ * A list of failing policies.
2391
+ */
2392
+ failingPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy[];
2393
+ /**
2394
+ * The ID of the resource that has policies configured for it.
2395
+ */
2396
+ resourceId?: string | null;
2397
+ }
2398
+ /**
2399
+ * Represents an artifact guard policy.
2400
+ */
2401
+ export interface Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicy {
2402
+ /**
2403
+ * The reason for the policy failure, for example, "severity=HIGH AND max_vuln_count=2".
2404
+ */
2405
+ failureReason?: string | null;
2406
+ /**
2407
+ * The ID of the failing policy, for example, "organizations/3392779/locations/global/policies/prod-policy".
2408
+ */
2409
+ policyId?: string | null;
2410
+ /**
2411
+ * The type of the policy evaluation.
2412
+ */
2413
+ type?: string | null;
2414
+ }
2266
2415
  /**
2267
2416
  * Information about DDoS attack volume and classification.
2268
2417
  */
@@ -3164,6 +3313,10 @@ export declare namespace securitycenter_v1beta2 {
3164
3313
  * Path of the file in terms of underlying disk/partition identifiers.
3165
3314
  */
3166
3315
  diskPath?: Schema$GoogleCloudSecuritycenterV2DiskPath;
3316
+ /**
3317
+ * The load state of the file.
3318
+ */
3319
+ fileLoadState?: string | null;
3167
3320
  /**
3168
3321
  * The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
3169
3322
  */
@@ -3218,6 +3371,10 @@ export declare namespace securitycenter_v1beta2 {
3218
3371
  * Represents an application associated with the finding.
3219
3372
  */
3220
3373
  application?: Schema$GoogleCloudSecuritycenterV2Application;
3374
+ /**
3375
+ * ArtifactGuardPolicies associated with the finding.
3376
+ */
3377
+ artifactGuardPolicies?: Schema$GoogleCloudSecuritycenterV2ArtifactGuardPolicies;
3221
3378
  /**
3222
3379
  * The results of an attack path simulation relevant to this finding.
3223
3380
  */
@@ -3426,6 +3583,10 @@ export declare namespace securitycenter_v1beta2 {
3426
3583
  * 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.
3427
3584
  */
3428
3585
  resourceName?: string | null;
3586
+ /**
3587
+ * Secret associated with the finding.
3588
+ */
3589
+ secret?: Schema$GoogleCloudSecuritycenterV2Secret;
3429
3590
  /**
3430
3591
  * 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.
3431
3592
  */
@@ -4460,6 +4621,10 @@ export declare namespace securitycenter_v1beta2 {
4460
4621
  * Information related to the Google Cloud resource.
4461
4622
  */
4462
4623
  export interface Schema$GoogleCloudSecuritycenterV2Resource {
4624
+ /**
4625
+ * The App Hub application this resource belongs to.
4626
+ */
4627
+ application?: Schema$GoogleCloudSecuritycenterV2ResourceApplication;
4463
4628
  /**
4464
4629
  * The AWS metadata associated with the finding.
4465
4630
  */
@@ -4505,6 +4670,71 @@ export declare namespace securitycenter_v1beta2 {
4505
4670
  */
4506
4671
  type?: string | null;
4507
4672
  }
4673
+ /**
4674
+ * The App Hub Application associated with the finding's resource.
4675
+ */
4676
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceApplication {
4677
+ /**
4678
+ * Consumer provided attributes for the application
4679
+ */
4680
+ attributes?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes;
4681
+ /**
4682
+ * The resource name of an Application. Format: `projects/{host-project-id\}/locations/{location\}/applications/{application-id\}`
4683
+ */
4684
+ name?: string | null;
4685
+ }
4686
+ /**
4687
+ * Consumer provided attributes for the application
4688
+ */
4689
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributes {
4690
+ /**
4691
+ * Business team that ensures user needs are met and value is delivered
4692
+ */
4693
+ businessOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
4694
+ /**
4695
+ * User-defined criticality information.
4696
+ */
4697
+ criticality?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality;
4698
+ /**
4699
+ * Developer team that owns development and coding.
4700
+ */
4701
+ developerOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
4702
+ /**
4703
+ * User-defined environment information.
4704
+ */
4705
+ environment?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment;
4706
+ /**
4707
+ * Operator team that ensures runtime and operations.
4708
+ */
4709
+ operatorOwners?: Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo[];
4710
+ }
4711
+ /**
4712
+ * Contact information of stakeholders.
4713
+ */
4714
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo {
4715
+ /**
4716
+ * Email address of the contacts.
4717
+ */
4718
+ email?: string | null;
4719
+ }
4720
+ /**
4721
+ * Criticality of the Application, Service, or Workload
4722
+ */
4723
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality {
4724
+ /**
4725
+ * Criticality Type.
4726
+ */
4727
+ type?: string | null;
4728
+ }
4729
+ /**
4730
+ * Environment of the Application, Service, or Workload
4731
+ */
4732
+ export interface Schema$GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment {
4733
+ /**
4734
+ * Environment Type.
4735
+ */
4736
+ type?: string | null;
4737
+ }
4508
4738
  /**
4509
4739
  * Represents the path of resources leading up to the resource this finding is about.
4510
4740
  */
@@ -4599,6 +4829,58 @@ export declare namespace securitycenter_v1beta2 {
4599
4829
  */
4600
4830
  ns?: string | null;
4601
4831
  }
4832
+ /**
4833
+ * Details about a secret or credential associated with the finding.
4834
+ */
4835
+ export interface Schema$GoogleCloudSecuritycenterV2Secret {
4836
+ /**
4837
+ * The environment variable containing the secret.
4838
+ */
4839
+ environmentVariable?: Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable;
4840
+ /**
4841
+ * The file containing the secret.
4842
+ */
4843
+ filePath?: Schema$GoogleCloudSecuritycenterV2SecretFilePath;
4844
+ /**
4845
+ * The status of the secret.
4846
+ */
4847
+ status?: Schema$GoogleCloudSecuritycenterV2SecretStatus;
4848
+ /**
4849
+ * The type of secret, for example, GCP_API_KEY.
4850
+ */
4851
+ type?: string | null;
4852
+ }
4853
+ /**
4854
+ * Environment variable containing the secret.
4855
+ */
4856
+ export interface Schema$GoogleCloudSecuritycenterV2SecretEnvironmentVariable {
4857
+ /**
4858
+ * 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.
4859
+ */
4860
+ key?: string | null;
4861
+ }
4862
+ /**
4863
+ * File path containing the secret.
4864
+ */
4865
+ export interface Schema$GoogleCloudSecuritycenterV2SecretFilePath {
4866
+ /**
4867
+ * Path to the file.
4868
+ */
4869
+ path?: string | null;
4870
+ }
4871
+ /**
4872
+ * The status of the secret.
4873
+ */
4874
+ export interface Schema$GoogleCloudSecuritycenterV2SecretStatus {
4875
+ /**
4876
+ * Time that the secret was found.
4877
+ */
4878
+ lastUpdatedTime?: string | null;
4879
+ /**
4880
+ * The validity of the secret.
4881
+ */
4882
+ validity?: string | null;
4883
+ }
4602
4884
  /**
4603
4885
  * SecurityBulletin are notifications of vulnerabilities of Google products.
4604
4886
  */
@@ -5475,6 +5757,58 @@ export declare namespace securitycenter_v1beta2 {
5475
5757
  */
5476
5758
  ns?: string | null;
5477
5759
  }
5760
+ /**
5761
+ * Details about a secret or credential associated with the finding.
5762
+ */
5763
+ export interface Schema$Secret {
5764
+ /**
5765
+ * The environment variable containing the secret.
5766
+ */
5767
+ environmentVariable?: Schema$SecretEnvironmentVariable;
5768
+ /**
5769
+ * The file containing the secret.
5770
+ */
5771
+ filePath?: Schema$SecretFilePath;
5772
+ /**
5773
+ * The status of the secret.
5774
+ */
5775
+ status?: Schema$SecretStatus;
5776
+ /**
5777
+ * The type of secret, for example, GCP_API_KEY.
5778
+ */
5779
+ type?: string | null;
5780
+ }
5781
+ /**
5782
+ * Environment variable containing the secret.
5783
+ */
5784
+ export interface Schema$SecretEnvironmentVariable {
5785
+ /**
5786
+ * 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.
5787
+ */
5788
+ key?: string | null;
5789
+ }
5790
+ /**
5791
+ * File path containing the secret.
5792
+ */
5793
+ export interface Schema$SecretFilePath {
5794
+ /**
5795
+ * Path to the file.
5796
+ */
5797
+ path?: string | null;
5798
+ }
5799
+ /**
5800
+ * The status of the secret.
5801
+ */
5802
+ export interface Schema$SecretStatus {
5803
+ /**
5804
+ * Time that the secret was found.
5805
+ */
5806
+ lastUpdatedTime?: string | null;
5807
+ /**
5808
+ * The validity of the secret.
5809
+ */
5810
+ validity?: string | null;
5811
+ }
5478
5812
  /**
5479
5813
  * SecurityBulletin are notifications of vulnerabilities of Google products.
5480
5814
  */