@maxim_mazurok/gapi.client.securityposture-v1 0.3.20260618 → 0.4.20260618

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 +5 -20
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -68,11 +68,7 @@ declare namespace gapi.client {
68
68
  resourceSelector?: ResourceSelector;
69
69
  /** Required. The severity of findings generated by the custom module. */
70
70
  severity?:
71
- | 'SEVERITY_UNSPECIFIED'
72
- | 'CRITICAL'
73
- | 'HIGH'
74
- | 'MEDIUM'
75
- | 'LOW';
71
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
76
72
  }
77
73
  interface CustomOutputSpec {
78
74
  /** Optional. The custom source properties that can appear in findings. */
@@ -106,10 +102,7 @@ declare namespace gapi.client {
106
102
  displayName?: string;
107
103
  /** The types of operations that the constraint applies to. */
108
104
  methodTypes?:
109
- | 'METHOD_TYPE_UNSPECIFIED'
110
- | 'CREATE'
111
- | 'UPDATE'
112
- | 'DELETE'[];
105
+ 'METHOD_TYPE_UNSPECIFIED' | 'CREATE' | 'UPDATE' | 'DELETE'[];
113
106
  /** Immutable. The name of the constraint, in the format `organizations/{organization_id}/customConstraints/custom.{custom_constraint_id}`. For example, `organizations/123456789012/customConstraints/custom.createOnlyE2TypeVms`. Must contain 1 to 62 characters, excluding the prefix `organizations/{organization_id}/customConstraints/custom.`. */
114
107
  name?: string;
115
108
  /** Immutable. The resource type that the constraint applies to, in the format `{canonical_service_name}/{resource_type_name}`. For example, `compute.googleapis.com/Instance`. */
@@ -410,16 +403,12 @@ declare namespace gapi.client {
410
403
  id?: string;
411
404
  /** Whether the custom module is enabled at a specified level of the resource hierarchy. */
412
405
  moduleEnablementState?:
413
- | 'ENABLEMENT_STATE_UNSPECIFIED'
414
- | 'ENABLED'
415
- | 'DISABLED';
406
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
416
407
  }
417
408
  interface SecurityHealthAnalyticsModule {
418
409
  /** Whether the detector is enabled at a specified level of the resource hierarchy. */
419
410
  moduleEnablementState?:
420
- | 'ENABLEMENT_STATE_UNSPECIFIED'
421
- | 'ENABLED'
422
- | 'DISABLED';
411
+ 'ENABLEMENT_STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
423
412
  /** Required. The name of the detector. For example, `BIGQUERY_TABLE_CMEK_DISABLED`. This field is also used as the finding category for all the asset violation findings that the detector returns. */
424
413
  moduleName?: string;
425
414
  }
@@ -440,11 +429,7 @@ declare namespace gapi.client {
440
429
  policyId?: string;
441
430
  /** The severity of the violation. */
442
431
  severity?:
443
- | 'SEVERITY_UNSPECIFIED'
444
- | 'CRITICAL'
445
- | 'HIGH'
446
- | 'MEDIUM'
447
- | 'LOW';
432
+ 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
448
433
  /** Details of the Cloud Asset Inventory asset that caused the violation. */
449
434
  violatedAsset?: AssetDetails;
450
435
  /** Details of the policy that was violated. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securityposture-v1",
3
- "version": "0.3.20260618",
3
+ "version": "0.4.20260618",
4
4
  "description": "TypeScript typings for Security Posture API v1",
5
5
  "repository": {
6
6
  "type": "git",