@maxim_mazurok/gapi.client.securitycenter-v1beta1 0.0.20230921 → 0.0.20231005

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.
Files changed (3) hide show
  1. package/index.d.ts +50 -1
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230921
12
+ // Revision: 20231005
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -514,6 +514,9 @@ declare namespace gapi.client {
514
514
  /** Kubernetes resources associated with the finding. */
515
515
  kubernetes?:
516
516
  Kubernetes;
517
+ /** The load balancers associated with the finding. */
518
+ loadBalancers?:
519
+ LoadBalancer[];
517
520
  /** MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org */
518
521
  mitreAttack?:
519
522
  MitreAttack;
@@ -564,6 +567,9 @@ declare namespace gapi.client {
564
567
  /** 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. */
565
568
  securityMarks?:
566
569
  SecurityMarks;
570
+ /** The security posture associated with the finding. */
571
+ securityPosture?:
572
+ SecurityPosture;
567
573
  /** The severity of the finding. This field is managed by the source that writes the finding. */
568
574
  severity?:
569
575
  string;
@@ -1290,6 +1296,10 @@ declare namespace gapi.client {
1290
1296
  /** Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information. */
1291
1297
  nodes?:
1292
1298
  Node[];
1299
+ /** Kubernetes objects related to the finding. */
1300
+ objects?:
1301
+ // tslint:disable-next-line:ban-types
1302
+ Object[];
1293
1303
  /**
1294
1304
  * Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a
1295
1305
  * Pod.
@@ -1360,6 +1370,11 @@ declare namespace gapi.client {
1360
1370
  sources?:
1361
1371
  Source[];
1362
1372
  }
1373
+ interface LoadBalancer {
1374
+ /** The name of the load balancer associated with the finding. */
1375
+ name?:
1376
+ string;
1377
+ }
1363
1378
  interface MemoryHashSignature {
1364
1379
  /** The binary family. */
1365
1380
  binaryFamily?:
@@ -1402,6 +1417,23 @@ declare namespace gapi.client {
1402
1417
  nodes?:
1403
1418
  Node[];
1404
1419
  }
1420
+ interface Object {
1421
+ /** Kubernetes object group, such as "policy.k8s.io/v1". */
1422
+ group?:
1423
+ string;
1424
+ /** Kubernetes object kind, such as “Namespace”. */
1425
+ kind?:
1426
+ string;
1427
+ /** Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/. */
1428
+ name?:
1429
+ string;
1430
+ /**
1431
+ * Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid collision with C++ namespace keyword. For details see
1432
+ * https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.
1433
+ */
1434
+ ns?:
1435
+ string;
1436
+ }
1405
1437
  interface Operation {
1406
1438
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
1407
1439
  done?:
@@ -1602,6 +1634,23 @@ declare namespace gapi.client {
1602
1634
  name?:
1603
1635
  string;
1604
1636
  }
1637
+ interface SecurityPosture {
1638
+ /** The name of the policy that has been updated, for example, `projects/{project_id}/policies/{constraint_name}`. */
1639
+ changedPolicy?:
1640
+ string;
1641
+ /** Name of the posture, for example, `organizations/{org_id}/locations/{location}/postures/{posture_name}`. */
1642
+ name?:
1643
+ string;
1644
+ /** The name of the posture deployment, for example, `projects/{project_id}/posturedeployments/{posture_deployment_id}`. */
1645
+ postureDeployment?:
1646
+ string;
1647
+ /** The project, folder, or organization on which the posture is deployed, for example, `projects/{project_id}`. */
1648
+ postureDeploymentResource?:
1649
+ string;
1650
+ /** The version of the posture, for example, `c7cfa2a8`. */
1651
+ revisionId?:
1652
+ string;
1653
+ }
1605
1654
  interface ServiceAccountDelegationInfo {
1606
1655
  /** The email address of a Google account. */
1607
1656
  principalEmail?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta1",
3
- "version": "0.0.20230921",
3
+ "version": "0.0.20231005",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230921
6
+ // Revision: 20231005
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */