@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20240110 → 0.0.20240117

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 (2) hide show
  1. package/index.d.ts +20 -6
  2. 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: 20240110
12
+ // Revision: 20240117
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -75,7 +75,7 @@ declare namespace gapi.client {
75
75
  fullUri?: string;
76
76
  }
77
77
  interface AttackExposure {
78
- /** The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/attackExposureResults/456 */
78
+ /** The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789 */
79
79
  attackExposureResult?: string;
80
80
  /** The number of high value resources that are exposed as a result of this finding. */
81
81
  exposedHighValueResourcesCount?: number;
@@ -798,6 +798,14 @@ declare namespace gapi.client {
798
798
  /** Kubernetes Pod namespace. */
799
799
  ns?: string;
800
800
  }
801
+ interface PolicyDriftDetails {
802
+ /** The detected value that violates the deployed posture, for example, `false` or `allowed_values={"projects/22831892”}`. */
803
+ detectedValue?: string;
804
+ /** The value of this field that was configured in a posture, for example, `true` or `allowed_values={"projects/29831892”}`. */
805
+ expectedValue?: string;
806
+ /** The name of the updated field, for example constraint.implementation.policy_rules[0].enforce */
807
+ field?: string;
808
+ }
801
809
  interface Process {
802
810
  /** Process arguments as JSON encoded strings. */
803
811
  args?: string[];
@@ -891,13 +899,19 @@ declare namespace gapi.client {
891
899
  name?: string;
892
900
  }
893
901
  interface SecurityPosture {
894
- /** The name of the policy that has been updated, for example, `projects/{project_id}/policies/{constraint_name}`. */
902
+ /** The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`. */
895
903
  changedPolicy?: string;
896
- /** Name of the posture, for example, `organizations/{org_id}/locations/{location}/postures/{posture_name}`. */
904
+ /** Name of the posture, for example, `CIS-Posture`. */
897
905
  name?: string;
898
- /** The name of the posture deployment, for example, `projects/{project_id}/posturedeployments/{posture_deployment_id}`. */
906
+ /** The ID of the updated policy, for example, `compute-policy-1`. */
907
+ policy?: string;
908
+ /** The details about a change in an updated policy that violates the deployed posture. */
909
+ policyDriftDetails?: PolicyDriftDetails[];
910
+ /** The name of the updated policyset, for example, `cis-policyset`. */
911
+ policySet?: string;
912
+ /** The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`. */
899
913
  postureDeployment?: string;
900
- /** The project, folder, or organization on which the posture is deployed, for example, `projects/{project_id}`. */
914
+ /** The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`. */
901
915
  postureDeploymentResource?: string;
902
916
  /** The version of the posture, for example, `c7cfa2a8`. */
903
917
  revisionId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20240110",
3
+ "version": "0.0.20240117",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",