@pulumi/pulumi 3.196.0-alpha.xf01639a → 3.197.0-alpha.x3a9022e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.196.0-alpha.xf01639a",
3
+ "version": "3.197.0-alpha.x3a9022e",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -520,6 +520,18 @@ export class AnalyzerInfo extends jspb.Message {
520
520
 
521
521
  getInitialconfigMap(): jspb.Map<string, PolicyConfig>;
522
522
  clearInitialconfigMap(): void;
523
+ getDescription(): string;
524
+ setDescription(value: string): AnalyzerInfo;
525
+ getReadme(): string;
526
+ setReadme(value: string): AnalyzerInfo;
527
+ getProvider(): string;
528
+ setProvider(value: string): AnalyzerInfo;
529
+ clearTagsList(): void;
530
+ getTagsList(): Array<string>;
531
+ setTagsList(value: Array<string>): AnalyzerInfo;
532
+ addTags(value: string, index?: number): string;
533
+ getRepository(): string;
534
+ setRepository(value: string): AnalyzerInfo;
523
535
 
524
536
  serializeBinary(): Uint8Array;
525
537
  toObject(includeInstance?: boolean): AnalyzerInfo.AsObject;
@@ -540,6 +552,11 @@ export namespace AnalyzerInfo {
540
552
  supportsconfig: boolean,
541
553
 
542
554
  initialconfigMap: Array<[string, PolicyConfig.AsObject]>,
555
+ description: string,
556
+ readme: string,
557
+ provider: string,
558
+ tagsList: Array<string>,
559
+ repository: string,
543
560
  }
544
561
  }
545
562
 
@@ -561,6 +578,21 @@ export class PolicyInfo extends jspb.Message {
561
578
  setConfigschema(value?: PolicyConfigSchema): PolicyInfo;
562
579
  getPolicyType(): PolicyType;
563
580
  setPolicyType(value: PolicyType): PolicyInfo;
581
+ getSeverity(): PolicySeverity;
582
+ setSeverity(value: PolicySeverity): PolicyInfo;
583
+
584
+ hasFramework(): boolean;
585
+ clearFramework(): void;
586
+ getFramework(): PolicyComplianceFramework | undefined;
587
+ setFramework(value?: PolicyComplianceFramework): PolicyInfo;
588
+ clearTagsList(): void;
589
+ getTagsList(): Array<string>;
590
+ setTagsList(value: Array<string>): PolicyInfo;
591
+ addTags(value: string, index?: number): string;
592
+ getRemediationSteps(): string;
593
+ setRemediationSteps(value: string): PolicyInfo;
594
+ getUrl(): string;
595
+ setUrl(value: string): PolicyInfo;
564
596
 
565
597
  serializeBinary(): Uint8Array;
566
598
  toObject(includeInstance?: boolean): PolicyInfo.AsObject;
@@ -581,6 +613,11 @@ export namespace PolicyInfo {
581
613
  enforcementlevel: EnforcementLevel,
582
614
  configschema?: PolicyConfigSchema.AsObject,
583
615
  policyType: PolicyType,
616
+ severity: PolicySeverity,
617
+ framework?: PolicyComplianceFramework.AsObject,
618
+ tagsList: Array<string>,
619
+ remediationSteps: string,
620
+ url: string,
584
621
  }
585
622
  }
586
623
 
@@ -660,6 +697,35 @@ export namespace ConfigureAnalyzerRequest {
660
697
  }
661
698
  }
662
699
 
700
+ export class PolicyComplianceFramework extends jspb.Message {
701
+ getName(): string;
702
+ setName(value: string): PolicyComplianceFramework;
703
+ getVersion(): string;
704
+ setVersion(value: string): PolicyComplianceFramework;
705
+ getReference(): string;
706
+ setReference(value: string): PolicyComplianceFramework;
707
+ getSpecification(): string;
708
+ setSpecification(value: string): PolicyComplianceFramework;
709
+
710
+ serializeBinary(): Uint8Array;
711
+ toObject(includeInstance?: boolean): PolicyComplianceFramework.AsObject;
712
+ static toObject(includeInstance: boolean, msg: PolicyComplianceFramework): PolicyComplianceFramework.AsObject;
713
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
714
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
715
+ static serializeBinaryToWriter(message: PolicyComplianceFramework, writer: jspb.BinaryWriter): void;
716
+ static deserializeBinary(bytes: Uint8Array): PolicyComplianceFramework;
717
+ static deserializeBinaryFromReader(message: PolicyComplianceFramework, reader: jspb.BinaryReader): PolicyComplianceFramework;
718
+ }
719
+
720
+ export namespace PolicyComplianceFramework {
721
+ export type AsObject = {
722
+ name: string,
723
+ version: string,
724
+ reference: string,
725
+ specification: string,
726
+ }
727
+ }
728
+
663
729
  export class PolicyNotApplicable extends jspb.Message {
664
730
  getPolicyName(): string;
665
731
  setPolicyName(value: string): PolicyNotApplicable;
@@ -695,3 +761,11 @@ export enum PolicyType {
695
761
  POLICY_TYPE_RESOURCE = 1,
696
762
  POLICY_TYPE_STACK = 2,
697
763
  }
764
+
765
+ export enum PolicySeverity {
766
+ POLICY_SEVERITY_UNSPECIFIED = 0,
767
+ POLICY_SEVERITY_LOW = 1,
768
+ POLICY_SEVERITY_MEDIUM = 2,
769
+ POLICY_SEVERITY_HIGH = 3,
770
+ POLICY_SEVERITY_CRITICAL = 4,
771
+ }
@@ -43,10 +43,12 @@ goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureRequest', null, global)
43
43
  goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureResponse', null, global);
44
44
  goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
45
45
  goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
46
+ goog.exportSymbol('proto.pulumirpc.PolicyComplianceFramework', null, global);
46
47
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
47
48
  goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
48
49
  goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
49
50
  goog.exportSymbol('proto.pulumirpc.PolicyNotApplicable', null, global);
51
+ goog.exportSymbol('proto.pulumirpc.PolicySeverity', null, global);
50
52
  goog.exportSymbol('proto.pulumirpc.PolicyType', null, global);
51
53
  goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
52
54
  goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
@@ -397,7 +399,7 @@ if (goog.DEBUG && !COMPILED) {
397
399
  * @constructor
398
400
  */
399
401
  proto.pulumirpc.PolicyInfo = function(opt_data) {
400
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
402
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.PolicyInfo.repeatedFields_, null);
401
403
  };
402
404
  goog.inherits(proto.pulumirpc.PolicyInfo, jspb.Message);
403
405
  if (goog.DEBUG && !COMPILED) {
@@ -470,6 +472,27 @@ if (goog.DEBUG && !COMPILED) {
470
472
  */
471
473
  proto.pulumirpc.ConfigureAnalyzerRequest.displayName = 'proto.pulumirpc.ConfigureAnalyzerRequest';
472
474
  }
475
+ /**
476
+ * Generated by JsPbCodeGenerator.
477
+ * @param {Array=} opt_data Optional initial data array, typically from a
478
+ * server response, or constructed directly in Javascript. The array is used
479
+ * in place and becomes part of the constructed object. It is not cloned.
480
+ * If no data is provided, the constructed object will be empty, but still
481
+ * valid.
482
+ * @extends {jspb.Message}
483
+ * @constructor
484
+ */
485
+ proto.pulumirpc.PolicyComplianceFramework = function(opt_data) {
486
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
487
+ };
488
+ goog.inherits(proto.pulumirpc.PolicyComplianceFramework, jspb.Message);
489
+ if (goog.DEBUG && !COMPILED) {
490
+ /**
491
+ * @public
492
+ * @override
493
+ */
494
+ proto.pulumirpc.PolicyComplianceFramework.displayName = 'proto.pulumirpc.PolicyComplianceFramework';
495
+ }
473
496
  /**
474
497
  * Generated by JsPbCodeGenerator.
475
498
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4284,7 +4307,7 @@ proto.pulumirpc.RemediateResponse.prototype.clearNotApplicableList = function()
4284
4307
  * @private {!Array<number>}
4285
4308
  * @const
4286
4309
  */
4287
- proto.pulumirpc.AnalyzerInfo.repeatedFields_ = [3];
4310
+ proto.pulumirpc.AnalyzerInfo.repeatedFields_ = [3,10];
4288
4311
 
4289
4312
 
4290
4313
 
@@ -4323,7 +4346,12 @@ policiesList: jspb.Message.toObjectList(msg.getPoliciesList(),
4323
4346
  proto.pulumirpc.PolicyInfo.toObject, includeInstance),
4324
4347
  version: jspb.Message.getFieldWithDefault(msg, 4, ""),
4325
4348
  supportsconfig: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
4326
- initialconfigMap: (f = msg.getInitialconfigMap()) ? f.toObject(includeInstance, proto.pulumirpc.PolicyConfig.toObject) : []
4349
+ initialconfigMap: (f = msg.getInitialconfigMap()) ? f.toObject(includeInstance, proto.pulumirpc.PolicyConfig.toObject) : [],
4350
+ description: jspb.Message.getFieldWithDefault(msg, 7, ""),
4351
+ readme: jspb.Message.getFieldWithDefault(msg, 8, ""),
4352
+ provider: jspb.Message.getFieldWithDefault(msg, 9, ""),
4353
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
4354
+ repository: jspb.Message.getFieldWithDefault(msg, 11, "")
4327
4355
  };
4328
4356
 
4329
4357
  if (includeInstance) {
@@ -4387,6 +4415,26 @@ proto.pulumirpc.AnalyzerInfo.deserializeBinaryFromReader = function(msg, reader)
4387
4415
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.pulumirpc.PolicyConfig.deserializeBinaryFromReader, "", new proto.pulumirpc.PolicyConfig());
4388
4416
  });
4389
4417
  break;
4418
+ case 7:
4419
+ var value = /** @type {string} */ (reader.readString());
4420
+ msg.setDescription(value);
4421
+ break;
4422
+ case 8:
4423
+ var value = /** @type {string} */ (reader.readString());
4424
+ msg.setReadme(value);
4425
+ break;
4426
+ case 9:
4427
+ var value = /** @type {string} */ (reader.readString());
4428
+ msg.setProvider(value);
4429
+ break;
4430
+ case 10:
4431
+ var value = /** @type {string} */ (reader.readString());
4432
+ msg.addTags(value);
4433
+ break;
4434
+ case 11:
4435
+ var value = /** @type {string} */ (reader.readString());
4436
+ msg.setRepository(value);
4437
+ break;
4390
4438
  default:
4391
4439
  reader.skipField();
4392
4440
  break;
@@ -4456,6 +4504,41 @@ proto.pulumirpc.AnalyzerInfo.serializeBinaryToWriter = function(message, writer)
4456
4504
  if (f && f.getLength() > 0) {
4457
4505
  f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.pulumirpc.PolicyConfig.serializeBinaryToWriter);
4458
4506
  }
4507
+ f = message.getDescription();
4508
+ if (f.length > 0) {
4509
+ writer.writeString(
4510
+ 7,
4511
+ f
4512
+ );
4513
+ }
4514
+ f = message.getReadme();
4515
+ if (f.length > 0) {
4516
+ writer.writeString(
4517
+ 8,
4518
+ f
4519
+ );
4520
+ }
4521
+ f = message.getProvider();
4522
+ if (f.length > 0) {
4523
+ writer.writeString(
4524
+ 9,
4525
+ f
4526
+ );
4527
+ }
4528
+ f = message.getTagsList();
4529
+ if (f.length > 0) {
4530
+ writer.writeRepeatedString(
4531
+ 10,
4532
+ f
4533
+ );
4534
+ }
4535
+ f = message.getRepository();
4536
+ if (f.length > 0) {
4537
+ writer.writeString(
4538
+ 11,
4539
+ f
4540
+ );
4541
+ }
4459
4542
  };
4460
4543
 
4461
4544
 
@@ -4592,6 +4675,122 @@ proto.pulumirpc.AnalyzerInfo.prototype.clearInitialconfigMap = function() {
4592
4675
  };
4593
4676
 
4594
4677
 
4678
+ /**
4679
+ * optional string description = 7;
4680
+ * @return {string}
4681
+ */
4682
+ proto.pulumirpc.AnalyzerInfo.prototype.getDescription = function() {
4683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4684
+ };
4685
+
4686
+
4687
+ /**
4688
+ * @param {string} value
4689
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4690
+ */
4691
+ proto.pulumirpc.AnalyzerInfo.prototype.setDescription = function(value) {
4692
+ return jspb.Message.setProto3StringField(this, 7, value);
4693
+ };
4694
+
4695
+
4696
+ /**
4697
+ * optional string readme = 8;
4698
+ * @return {string}
4699
+ */
4700
+ proto.pulumirpc.AnalyzerInfo.prototype.getReadme = function() {
4701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4702
+ };
4703
+
4704
+
4705
+ /**
4706
+ * @param {string} value
4707
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4708
+ */
4709
+ proto.pulumirpc.AnalyzerInfo.prototype.setReadme = function(value) {
4710
+ return jspb.Message.setProto3StringField(this, 8, value);
4711
+ };
4712
+
4713
+
4714
+ /**
4715
+ * optional string provider = 9;
4716
+ * @return {string}
4717
+ */
4718
+ proto.pulumirpc.AnalyzerInfo.prototype.getProvider = function() {
4719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4720
+ };
4721
+
4722
+
4723
+ /**
4724
+ * @param {string} value
4725
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4726
+ */
4727
+ proto.pulumirpc.AnalyzerInfo.prototype.setProvider = function(value) {
4728
+ return jspb.Message.setProto3StringField(this, 9, value);
4729
+ };
4730
+
4731
+
4732
+ /**
4733
+ * repeated string tags = 10;
4734
+ * @return {!Array<string>}
4735
+ */
4736
+ proto.pulumirpc.AnalyzerInfo.prototype.getTagsList = function() {
4737
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
4738
+ };
4739
+
4740
+
4741
+ /**
4742
+ * @param {!Array<string>} value
4743
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4744
+ */
4745
+ proto.pulumirpc.AnalyzerInfo.prototype.setTagsList = function(value) {
4746
+ return jspb.Message.setField(this, 10, value || []);
4747
+ };
4748
+
4749
+
4750
+ /**
4751
+ * @param {string} value
4752
+ * @param {number=} opt_index
4753
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4754
+ */
4755
+ proto.pulumirpc.AnalyzerInfo.prototype.addTags = function(value, opt_index) {
4756
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
4757
+ };
4758
+
4759
+
4760
+ /**
4761
+ * Clears the list making it empty but non-null.
4762
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4763
+ */
4764
+ proto.pulumirpc.AnalyzerInfo.prototype.clearTagsList = function() {
4765
+ return this.setTagsList([]);
4766
+ };
4767
+
4768
+
4769
+ /**
4770
+ * optional string repository = 11;
4771
+ * @return {string}
4772
+ */
4773
+ proto.pulumirpc.AnalyzerInfo.prototype.getRepository = function() {
4774
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
4775
+ };
4776
+
4777
+
4778
+ /**
4779
+ * @param {string} value
4780
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4781
+ */
4782
+ proto.pulumirpc.AnalyzerInfo.prototype.setRepository = function(value) {
4783
+ return jspb.Message.setProto3StringField(this, 11, value);
4784
+ };
4785
+
4786
+
4787
+
4788
+ /**
4789
+ * List of repeated fields within this message type.
4790
+ * @private {!Array<number>}
4791
+ * @const
4792
+ */
4793
+ proto.pulumirpc.PolicyInfo.repeatedFields_ = [10];
4595
4794
 
4596
4795
 
4597
4796
 
@@ -4630,7 +4829,12 @@ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
4630
4829
  message: jspb.Message.getFieldWithDefault(msg, 4, ""),
4631
4830
  enforcementlevel: jspb.Message.getFieldWithDefault(msg, 5, 0),
4632
4831
  configschema: (f = msg.getConfigschema()) && proto.pulumirpc.PolicyConfigSchema.toObject(includeInstance, f),
4633
- policyType: jspb.Message.getFieldWithDefault(msg, 7, 0)
4832
+ policyType: jspb.Message.getFieldWithDefault(msg, 7, 0),
4833
+ severity: jspb.Message.getFieldWithDefault(msg, 8, 0),
4834
+ framework: (f = msg.getFramework()) && proto.pulumirpc.PolicyComplianceFramework.toObject(includeInstance, f),
4835
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
4836
+ remediationSteps: jspb.Message.getFieldWithDefault(msg, 11, ""),
4837
+ url: jspb.Message.getFieldWithDefault(msg, 12, "")
4634
4838
  };
4635
4839
 
4636
4840
  if (includeInstance) {
@@ -4696,6 +4900,27 @@ proto.pulumirpc.PolicyInfo.deserializeBinaryFromReader = function(msg, reader) {
4696
4900
  var value = /** @type {!proto.pulumirpc.PolicyType} */ (reader.readEnum());
4697
4901
  msg.setPolicyType(value);
4698
4902
  break;
4903
+ case 8:
4904
+ var value = /** @type {!proto.pulumirpc.PolicySeverity} */ (reader.readEnum());
4905
+ msg.setSeverity(value);
4906
+ break;
4907
+ case 9:
4908
+ var value = new proto.pulumirpc.PolicyComplianceFramework;
4909
+ reader.readMessage(value,proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader);
4910
+ msg.setFramework(value);
4911
+ break;
4912
+ case 10:
4913
+ var value = /** @type {string} */ (reader.readString());
4914
+ msg.addTags(value);
4915
+ break;
4916
+ case 11:
4917
+ var value = /** @type {string} */ (reader.readString());
4918
+ msg.setRemediationSteps(value);
4919
+ break;
4920
+ case 12:
4921
+ var value = /** @type {string} */ (reader.readString());
4922
+ msg.setUrl(value);
4923
+ break;
4699
4924
  default:
4700
4925
  reader.skipField();
4701
4926
  break;
@@ -4775,6 +5000,42 @@ proto.pulumirpc.PolicyInfo.serializeBinaryToWriter = function(message, writer) {
4775
5000
  f
4776
5001
  );
4777
5002
  }
5003
+ f = message.getSeverity();
5004
+ if (f !== 0.0) {
5005
+ writer.writeEnum(
5006
+ 8,
5007
+ f
5008
+ );
5009
+ }
5010
+ f = message.getFramework();
5011
+ if (f != null) {
5012
+ writer.writeMessage(
5013
+ 9,
5014
+ f,
5015
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter
5016
+ );
5017
+ }
5018
+ f = message.getTagsList();
5019
+ if (f.length > 0) {
5020
+ writer.writeRepeatedString(
5021
+ 10,
5022
+ f
5023
+ );
5024
+ }
5025
+ f = message.getRemediationSteps();
5026
+ if (f.length > 0) {
5027
+ writer.writeString(
5028
+ 11,
5029
+ f
5030
+ );
5031
+ }
5032
+ f = message.getUrl();
5033
+ if (f.length > 0) {
5034
+ writer.writeString(
5035
+ 12,
5036
+ f
5037
+ );
5038
+ }
4778
5039
  };
4779
5040
 
4780
5041
 
@@ -4923,6 +5184,134 @@ proto.pulumirpc.PolicyInfo.prototype.setPolicyType = function(value) {
4923
5184
  };
4924
5185
 
4925
5186
 
5187
+ /**
5188
+ * optional PolicySeverity severity = 8;
5189
+ * @return {!proto.pulumirpc.PolicySeverity}
5190
+ */
5191
+ proto.pulumirpc.PolicyInfo.prototype.getSeverity = function() {
5192
+ return /** @type {!proto.pulumirpc.PolicySeverity} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
5193
+ };
5194
+
5195
+
5196
+ /**
5197
+ * @param {!proto.pulumirpc.PolicySeverity} value
5198
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5199
+ */
5200
+ proto.pulumirpc.PolicyInfo.prototype.setSeverity = function(value) {
5201
+ return jspb.Message.setProto3EnumField(this, 8, value);
5202
+ };
5203
+
5204
+
5205
+ /**
5206
+ * optional PolicyComplianceFramework framework = 9;
5207
+ * @return {?proto.pulumirpc.PolicyComplianceFramework}
5208
+ */
5209
+ proto.pulumirpc.PolicyInfo.prototype.getFramework = function() {
5210
+ return /** @type{?proto.pulumirpc.PolicyComplianceFramework} */ (
5211
+ jspb.Message.getWrapperField(this, proto.pulumirpc.PolicyComplianceFramework, 9));
5212
+ };
5213
+
5214
+
5215
+ /**
5216
+ * @param {?proto.pulumirpc.PolicyComplianceFramework|undefined} value
5217
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5218
+ */
5219
+ proto.pulumirpc.PolicyInfo.prototype.setFramework = function(value) {
5220
+ return jspb.Message.setWrapperField(this, 9, value);
5221
+ };
5222
+
5223
+
5224
+ /**
5225
+ * Clears the message field making it undefined.
5226
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5227
+ */
5228
+ proto.pulumirpc.PolicyInfo.prototype.clearFramework = function() {
5229
+ return this.setFramework(undefined);
5230
+ };
5231
+
5232
+
5233
+ /**
5234
+ * Returns whether this field is set.
5235
+ * @return {boolean}
5236
+ */
5237
+ proto.pulumirpc.PolicyInfo.prototype.hasFramework = function() {
5238
+ return jspb.Message.getField(this, 9) != null;
5239
+ };
5240
+
5241
+
5242
+ /**
5243
+ * repeated string tags = 10;
5244
+ * @return {!Array<string>}
5245
+ */
5246
+ proto.pulumirpc.PolicyInfo.prototype.getTagsList = function() {
5247
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
5248
+ };
5249
+
5250
+
5251
+ /**
5252
+ * @param {!Array<string>} value
5253
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5254
+ */
5255
+ proto.pulumirpc.PolicyInfo.prototype.setTagsList = function(value) {
5256
+ return jspb.Message.setField(this, 10, value || []);
5257
+ };
5258
+
5259
+
5260
+ /**
5261
+ * @param {string} value
5262
+ * @param {number=} opt_index
5263
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5264
+ */
5265
+ proto.pulumirpc.PolicyInfo.prototype.addTags = function(value, opt_index) {
5266
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
5267
+ };
5268
+
5269
+
5270
+ /**
5271
+ * Clears the list making it empty but non-null.
5272
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5273
+ */
5274
+ proto.pulumirpc.PolicyInfo.prototype.clearTagsList = function() {
5275
+ return this.setTagsList([]);
5276
+ };
5277
+
5278
+
5279
+ /**
5280
+ * optional string remediation_steps = 11;
5281
+ * @return {string}
5282
+ */
5283
+ proto.pulumirpc.PolicyInfo.prototype.getRemediationSteps = function() {
5284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5285
+ };
5286
+
5287
+
5288
+ /**
5289
+ * @param {string} value
5290
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5291
+ */
5292
+ proto.pulumirpc.PolicyInfo.prototype.setRemediationSteps = function(value) {
5293
+ return jspb.Message.setProto3StringField(this, 11, value);
5294
+ };
5295
+
5296
+
5297
+ /**
5298
+ * optional string url = 12;
5299
+ * @return {string}
5300
+ */
5301
+ proto.pulumirpc.PolicyInfo.prototype.getUrl = function() {
5302
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
5303
+ };
5304
+
5305
+
5306
+ /**
5307
+ * @param {string} value
5308
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5309
+ */
5310
+ proto.pulumirpc.PolicyInfo.prototype.setUrl = function(value) {
5311
+ return jspb.Message.setProto3StringField(this, 12, value);
5312
+ };
5313
+
5314
+
4926
5315
 
4927
5316
  /**
4928
5317
  * List of repeated fields within this message type.
@@ -5448,6 +5837,226 @@ proto.pulumirpc.ConfigureAnalyzerRequest.prototype.clearPolicyconfigMap = functi
5448
5837
 
5449
5838
 
5450
5839
 
5840
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5841
+ /**
5842
+ * Creates an object representation of this proto.
5843
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5844
+ * Optional fields that are not set will be set to undefined.
5845
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5846
+ * For the list of reserved names please see:
5847
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5848
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5849
+ * JSPB instance for transitional soy proto support:
5850
+ * http://goto/soy-param-migration
5851
+ * @return {!Object}
5852
+ */
5853
+ proto.pulumirpc.PolicyComplianceFramework.prototype.toObject = function(opt_includeInstance) {
5854
+ return proto.pulumirpc.PolicyComplianceFramework.toObject(opt_includeInstance, this);
5855
+ };
5856
+
5857
+
5858
+ /**
5859
+ * Static version of the {@see toObject} method.
5860
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5861
+ * the JSPB instance for transitional soy proto support:
5862
+ * http://goto/soy-param-migration
5863
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} msg The msg instance to transform.
5864
+ * @return {!Object}
5865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5866
+ */
5867
+ proto.pulumirpc.PolicyComplianceFramework.toObject = function(includeInstance, msg) {
5868
+ var f, obj = {
5869
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
5870
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
5871
+ reference: jspb.Message.getFieldWithDefault(msg, 3, ""),
5872
+ specification: jspb.Message.getFieldWithDefault(msg, 4, "")
5873
+ };
5874
+
5875
+ if (includeInstance) {
5876
+ obj.$jspbMessageInstance = msg;
5877
+ }
5878
+ return obj;
5879
+ };
5880
+ }
5881
+
5882
+
5883
+ /**
5884
+ * Deserializes binary data (in protobuf wire format).
5885
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5886
+ * @return {!proto.pulumirpc.PolicyComplianceFramework}
5887
+ */
5888
+ proto.pulumirpc.PolicyComplianceFramework.deserializeBinary = function(bytes) {
5889
+ var reader = new jspb.BinaryReader(bytes);
5890
+ var msg = new proto.pulumirpc.PolicyComplianceFramework;
5891
+ return proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader(msg, reader);
5892
+ };
5893
+
5894
+
5895
+ /**
5896
+ * Deserializes binary data (in protobuf wire format) from the
5897
+ * given reader into the given message object.
5898
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} msg The message object to deserialize into.
5899
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5900
+ * @return {!proto.pulumirpc.PolicyComplianceFramework}
5901
+ */
5902
+ proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader = function(msg, reader) {
5903
+ while (reader.nextField()) {
5904
+ if (reader.isEndGroup()) {
5905
+ break;
5906
+ }
5907
+ var field = reader.getFieldNumber();
5908
+ switch (field) {
5909
+ case 1:
5910
+ var value = /** @type {string} */ (reader.readString());
5911
+ msg.setName(value);
5912
+ break;
5913
+ case 2:
5914
+ var value = /** @type {string} */ (reader.readString());
5915
+ msg.setVersion(value);
5916
+ break;
5917
+ case 3:
5918
+ var value = /** @type {string} */ (reader.readString());
5919
+ msg.setReference(value);
5920
+ break;
5921
+ case 4:
5922
+ var value = /** @type {string} */ (reader.readString());
5923
+ msg.setSpecification(value);
5924
+ break;
5925
+ default:
5926
+ reader.skipField();
5927
+ break;
5928
+ }
5929
+ }
5930
+ return msg;
5931
+ };
5932
+
5933
+
5934
+ /**
5935
+ * Serializes the message to binary data (in protobuf wire format).
5936
+ * @return {!Uint8Array}
5937
+ */
5938
+ proto.pulumirpc.PolicyComplianceFramework.prototype.serializeBinary = function() {
5939
+ var writer = new jspb.BinaryWriter();
5940
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter(this, writer);
5941
+ return writer.getResultBuffer();
5942
+ };
5943
+
5944
+
5945
+ /**
5946
+ * Serializes the given message to binary data (in protobuf wire
5947
+ * format), writing to the given BinaryWriter.
5948
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} message
5949
+ * @param {!jspb.BinaryWriter} writer
5950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5951
+ */
5952
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter = function(message, writer) {
5953
+ var f = undefined;
5954
+ f = message.getName();
5955
+ if (f.length > 0) {
5956
+ writer.writeString(
5957
+ 1,
5958
+ f
5959
+ );
5960
+ }
5961
+ f = message.getVersion();
5962
+ if (f.length > 0) {
5963
+ writer.writeString(
5964
+ 2,
5965
+ f
5966
+ );
5967
+ }
5968
+ f = message.getReference();
5969
+ if (f.length > 0) {
5970
+ writer.writeString(
5971
+ 3,
5972
+ f
5973
+ );
5974
+ }
5975
+ f = message.getSpecification();
5976
+ if (f.length > 0) {
5977
+ writer.writeString(
5978
+ 4,
5979
+ f
5980
+ );
5981
+ }
5982
+ };
5983
+
5984
+
5985
+ /**
5986
+ * optional string name = 1;
5987
+ * @return {string}
5988
+ */
5989
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getName = function() {
5990
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5991
+ };
5992
+
5993
+
5994
+ /**
5995
+ * @param {string} value
5996
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
5997
+ */
5998
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setName = function(value) {
5999
+ return jspb.Message.setProto3StringField(this, 1, value);
6000
+ };
6001
+
6002
+
6003
+ /**
6004
+ * optional string version = 2;
6005
+ * @return {string}
6006
+ */
6007
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getVersion = function() {
6008
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6009
+ };
6010
+
6011
+
6012
+ /**
6013
+ * @param {string} value
6014
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6015
+ */
6016
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setVersion = function(value) {
6017
+ return jspb.Message.setProto3StringField(this, 2, value);
6018
+ };
6019
+
6020
+
6021
+ /**
6022
+ * optional string reference = 3;
6023
+ * @return {string}
6024
+ */
6025
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getReference = function() {
6026
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6027
+ };
6028
+
6029
+
6030
+ /**
6031
+ * @param {string} value
6032
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6033
+ */
6034
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setReference = function(value) {
6035
+ return jspb.Message.setProto3StringField(this, 3, value);
6036
+ };
6037
+
6038
+
6039
+ /**
6040
+ * optional string specification = 4;
6041
+ * @return {string}
6042
+ */
6043
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getSpecification = function() {
6044
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6045
+ };
6046
+
6047
+
6048
+ /**
6049
+ * @param {string} value
6050
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6051
+ */
6052
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setSpecification = function(value) {
6053
+ return jspb.Message.setProto3StringField(this, 4, value);
6054
+ };
6055
+
6056
+
6057
+
6058
+
6059
+
5451
6060
  if (jspb.Message.GENERATE_TO_OBJECT) {
5452
6061
  /**
5453
6062
  * Creates an object representation of this proto.
@@ -5624,4 +6233,15 @@ proto.pulumirpc.PolicyType = {
5624
6233
  POLICY_TYPE_STACK: 2
5625
6234
  };
5626
6235
 
6236
+ /**
6237
+ * @enum {number}
6238
+ */
6239
+ proto.pulumirpc.PolicySeverity = {
6240
+ POLICY_SEVERITY_UNSPECIFIED: 0,
6241
+ POLICY_SEVERITY_LOW: 1,
6242
+ POLICY_SEVERITY_MEDIUM: 2,
6243
+ POLICY_SEVERITY_HIGH: 3,
6244
+ POLICY_SEVERITY_CRITICAL: 4
6245
+ };
6246
+
5627
6247
  goog.object.extend(exports, proto.pulumirpc);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.196.0";
1
+ export declare const version = "3.197.0";
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.196.0-alpha.xf01639a";
16
+ exports.version = "3.197.0-alpha.x3a9022e";
17
17
  //# sourceMappingURL=version.js.map