pulumi-gcp 7.28.0a1718950249__py3-none-any.whl → 7.28.0a1718995220__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +59 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
- pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
- pulumi_gcp/accesscontextmanager/outputs.py +58 -74
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/bigtable/_inputs.py +40 -0
- pulumi_gcp/bigtable/outputs.py +49 -0
- pulumi_gcp/bigtable/table.py +54 -0
- pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
- pulumi_gcp/cloudbuildv2/connection.py +110 -2
- pulumi_gcp/cloudbuildv2/outputs.py +421 -0
- pulumi_gcp/composer/__init__.py +3 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
- pulumi_gcp/composer/user_workloads_config_map.py +475 -0
- pulumi_gcp/compute/_inputs.py +4 -2
- pulumi_gcp/compute/backend_service.py +28 -48
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +10 -4
- pulumi_gcp/compute/region_backend_service.py +35 -48
- pulumi_gcp/compute/region_network_endpoint.py +187 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
- pulumi_gcp/compute/region_target_https_proxy.py +7 -14
- pulumi_gcp/compute/target_https_proxy.py +28 -14
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +227 -0
- pulumi_gcp/discoveryengine/data_store.py +108 -0
- pulumi_gcp/discoveryengine/outputs.py +280 -0
- pulumi_gcp/edgecontainer/_inputs.py +107 -1
- pulumi_gcp/edgecontainer/outputs.py +123 -1
- pulumi_gcp/gkehub/_inputs.py +16 -0
- pulumi_gcp/gkehub/outputs.py +15 -1
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/managedkafka/__init__.py +11 -0
- pulumi_gcp/managedkafka/_inputs.py +169 -0
- pulumi_gcp/managedkafka/cluster.py +807 -0
- pulumi_gcp/managedkafka/outputs.py +197 -0
- pulumi_gcp/managedkafka/topic.py +599 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/active_directory.py +55 -0
- pulumi_gcp/netapp/backup.py +903 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/__init__.py +3 -0
- pulumi_gcp/securitycenter/_inputs.py +1105 -0
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
- pulumi_gcp/securitycenter/outputs.py +1048 -0
- pulumi_gcp/vertex/ai_feature_online_store.py +37 -8
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/RECORD +58 -46
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.28.0a1718995220.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,24 @@ __all__ = [
|
|
18
18
|
'FolderCustomModuleCustomConfigResourceSelectorArgs',
|
19
19
|
'InstanceIamBindingConditionArgs',
|
20
20
|
'InstanceIamMemberConditionArgs',
|
21
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigArgs',
|
22
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs',
|
23
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs',
|
24
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs',
|
25
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs',
|
26
|
+
'ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs',
|
27
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigArgs',
|
28
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs',
|
29
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs',
|
30
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs',
|
31
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs',
|
32
|
+
'ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs',
|
33
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigArgs',
|
34
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs',
|
35
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs',
|
36
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs',
|
37
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs',
|
38
|
+
'ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs',
|
21
39
|
'NotificationConfigStreamingConfigArgs',
|
22
40
|
'OrganizationCustomModuleCustomConfigArgs',
|
23
41
|
'OrganizationCustomModuleCustomConfigCustomOutputArgs',
|
@@ -490,6 +508,1093 @@ class InstanceIamMemberConditionArgs:
|
|
490
508
|
pulumi.set(self, "description", value)
|
491
509
|
|
492
510
|
|
511
|
+
@pulumi.input_type
|
512
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigArgs:
|
513
|
+
def __init__(__self__, *,
|
514
|
+
custom_output: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']] = None,
|
515
|
+
description: Optional[pulumi.Input[str]] = None,
|
516
|
+
predicate: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']] = None,
|
517
|
+
recommendation: Optional[pulumi.Input[str]] = None,
|
518
|
+
resource_selector: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']] = None,
|
519
|
+
severity: Optional[pulumi.Input[str]] = None):
|
520
|
+
"""
|
521
|
+
:param pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs'] custom_output: Custom output properties.
|
522
|
+
Structure is documented below.
|
523
|
+
:param pulumi.Input[str] description: Text that describes the vulnerability or misconfiguration that the custom
|
524
|
+
module detects. This explanation is returned with each finding instance to
|
525
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
526
|
+
:param pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs'] predicate: The CEL expression to evaluate to produce findings. When the expression evaluates
|
527
|
+
to true against a resource, a finding is generated.
|
528
|
+
Structure is documented below.
|
529
|
+
:param pulumi.Input[str] recommendation: An explanation of the recommended steps that security teams can take to resolve
|
530
|
+
the detected issue. This explanation is returned with each finding generated by
|
531
|
+
this module in the nextSteps property of the finding JSON.
|
532
|
+
:param pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs'] resource_selector: The resource types that the custom module operates on. Each custom module
|
533
|
+
can specify up to 5 resource types.
|
534
|
+
Structure is documented below.
|
535
|
+
:param pulumi.Input[str] severity: The severity to assign to findings generated by the module.
|
536
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
537
|
+
"""
|
538
|
+
if custom_output is not None:
|
539
|
+
pulumi.set(__self__, "custom_output", custom_output)
|
540
|
+
if description is not None:
|
541
|
+
pulumi.set(__self__, "description", description)
|
542
|
+
if predicate is not None:
|
543
|
+
pulumi.set(__self__, "predicate", predicate)
|
544
|
+
if recommendation is not None:
|
545
|
+
pulumi.set(__self__, "recommendation", recommendation)
|
546
|
+
if resource_selector is not None:
|
547
|
+
pulumi.set(__self__, "resource_selector", resource_selector)
|
548
|
+
if severity is not None:
|
549
|
+
pulumi.set(__self__, "severity", severity)
|
550
|
+
|
551
|
+
@property
|
552
|
+
@pulumi.getter(name="customOutput")
|
553
|
+
def custom_output(self) -> Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]:
|
554
|
+
"""
|
555
|
+
Custom output properties.
|
556
|
+
Structure is documented below.
|
557
|
+
"""
|
558
|
+
return pulumi.get(self, "custom_output")
|
559
|
+
|
560
|
+
@custom_output.setter
|
561
|
+
def custom_output(self, value: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]):
|
562
|
+
pulumi.set(self, "custom_output", value)
|
563
|
+
|
564
|
+
@property
|
565
|
+
@pulumi.getter
|
566
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
567
|
+
"""
|
568
|
+
Text that describes the vulnerability or misconfiguration that the custom
|
569
|
+
module detects. This explanation is returned with each finding instance to
|
570
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
571
|
+
"""
|
572
|
+
return pulumi.get(self, "description")
|
573
|
+
|
574
|
+
@description.setter
|
575
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
576
|
+
pulumi.set(self, "description", value)
|
577
|
+
|
578
|
+
@property
|
579
|
+
@pulumi.getter
|
580
|
+
def predicate(self) -> Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']]:
|
581
|
+
"""
|
582
|
+
The CEL expression to evaluate to produce findings. When the expression evaluates
|
583
|
+
to true against a resource, a finding is generated.
|
584
|
+
Structure is documented below.
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "predicate")
|
587
|
+
|
588
|
+
@predicate.setter
|
589
|
+
def predicate(self, value: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']]):
|
590
|
+
pulumi.set(self, "predicate", value)
|
591
|
+
|
592
|
+
@property
|
593
|
+
@pulumi.getter
|
594
|
+
def recommendation(self) -> Optional[pulumi.Input[str]]:
|
595
|
+
"""
|
596
|
+
An explanation of the recommended steps that security teams can take to resolve
|
597
|
+
the detected issue. This explanation is returned with each finding generated by
|
598
|
+
this module in the nextSteps property of the finding JSON.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "recommendation")
|
601
|
+
|
602
|
+
@recommendation.setter
|
603
|
+
def recommendation(self, value: Optional[pulumi.Input[str]]):
|
604
|
+
pulumi.set(self, "recommendation", value)
|
605
|
+
|
606
|
+
@property
|
607
|
+
@pulumi.getter(name="resourceSelector")
|
608
|
+
def resource_selector(self) -> Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']]:
|
609
|
+
"""
|
610
|
+
The resource types that the custom module operates on. Each custom module
|
611
|
+
can specify up to 5 resource types.
|
612
|
+
Structure is documented below.
|
613
|
+
"""
|
614
|
+
return pulumi.get(self, "resource_selector")
|
615
|
+
|
616
|
+
@resource_selector.setter
|
617
|
+
def resource_selector(self, value: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']]):
|
618
|
+
pulumi.set(self, "resource_selector", value)
|
619
|
+
|
620
|
+
@property
|
621
|
+
@pulumi.getter
|
622
|
+
def severity(self) -> Optional[pulumi.Input[str]]:
|
623
|
+
"""
|
624
|
+
The severity to assign to findings generated by the module.
|
625
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
626
|
+
"""
|
627
|
+
return pulumi.get(self, "severity")
|
628
|
+
|
629
|
+
@severity.setter
|
630
|
+
def severity(self, value: Optional[pulumi.Input[str]]):
|
631
|
+
pulumi.set(self, "severity", value)
|
632
|
+
|
633
|
+
|
634
|
+
@pulumi.input_type
|
635
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs:
|
636
|
+
def __init__(__self__, *,
|
637
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]] = None):
|
638
|
+
"""
|
639
|
+
:param pulumi.Input[Sequence[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]] properties: A list of custom output properties to add to the finding.
|
640
|
+
Structure is documented below.
|
641
|
+
"""
|
642
|
+
if properties is not None:
|
643
|
+
pulumi.set(__self__, "properties", properties)
|
644
|
+
|
645
|
+
@property
|
646
|
+
@pulumi.getter
|
647
|
+
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]:
|
648
|
+
"""
|
649
|
+
A list of custom output properties to add to the finding.
|
650
|
+
Structure is documented below.
|
651
|
+
"""
|
652
|
+
return pulumi.get(self, "properties")
|
653
|
+
|
654
|
+
@properties.setter
|
655
|
+
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]):
|
656
|
+
pulumi.set(self, "properties", value)
|
657
|
+
|
658
|
+
|
659
|
+
@pulumi.input_type
|
660
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs:
|
661
|
+
def __init__(__self__, *,
|
662
|
+
name: Optional[pulumi.Input[str]] = None,
|
663
|
+
value_expression: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']] = None):
|
664
|
+
"""
|
665
|
+
:param pulumi.Input[str] name: Name of the property for the custom output.
|
666
|
+
:param pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs'] value_expression: The CEL expression for the custom output. A resource property can be specified
|
667
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
668
|
+
Structure is documented below.
|
669
|
+
"""
|
670
|
+
if name is not None:
|
671
|
+
pulumi.set(__self__, "name", name)
|
672
|
+
if value_expression is not None:
|
673
|
+
pulumi.set(__self__, "value_expression", value_expression)
|
674
|
+
|
675
|
+
@property
|
676
|
+
@pulumi.getter
|
677
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
678
|
+
"""
|
679
|
+
Name of the property for the custom output.
|
680
|
+
"""
|
681
|
+
return pulumi.get(self, "name")
|
682
|
+
|
683
|
+
@name.setter
|
684
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
685
|
+
pulumi.set(self, "name", value)
|
686
|
+
|
687
|
+
@property
|
688
|
+
@pulumi.getter(name="valueExpression")
|
689
|
+
def value_expression(self) -> Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]:
|
690
|
+
"""
|
691
|
+
The CEL expression for the custom output. A resource property can be specified
|
692
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
693
|
+
Structure is documented below.
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "value_expression")
|
696
|
+
|
697
|
+
@value_expression.setter
|
698
|
+
def value_expression(self, value: Optional[pulumi.Input['ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]):
|
699
|
+
pulumi.set(self, "value_expression", value)
|
700
|
+
|
701
|
+
|
702
|
+
@pulumi.input_type
|
703
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs:
|
704
|
+
def __init__(__self__, *,
|
705
|
+
expression: pulumi.Input[str],
|
706
|
+
description: Optional[pulumi.Input[str]] = None,
|
707
|
+
location: Optional[pulumi.Input[str]] = None,
|
708
|
+
title: Optional[pulumi.Input[str]] = None):
|
709
|
+
"""
|
710
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
711
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
712
|
+
expression, e.g. when hovered over it in a UI.
|
713
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
714
|
+
file name and a position in the file.
|
715
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
716
|
+
be used e.g. in UIs which allow to enter the expression.
|
717
|
+
"""
|
718
|
+
pulumi.set(__self__, "expression", expression)
|
719
|
+
if description is not None:
|
720
|
+
pulumi.set(__self__, "description", description)
|
721
|
+
if location is not None:
|
722
|
+
pulumi.set(__self__, "location", location)
|
723
|
+
if title is not None:
|
724
|
+
pulumi.set(__self__, "title", title)
|
725
|
+
|
726
|
+
@property
|
727
|
+
@pulumi.getter
|
728
|
+
def expression(self) -> pulumi.Input[str]:
|
729
|
+
"""
|
730
|
+
Textual representation of an expression in Common Expression Language syntax.
|
731
|
+
"""
|
732
|
+
return pulumi.get(self, "expression")
|
733
|
+
|
734
|
+
@expression.setter
|
735
|
+
def expression(self, value: pulumi.Input[str]):
|
736
|
+
pulumi.set(self, "expression", value)
|
737
|
+
|
738
|
+
@property
|
739
|
+
@pulumi.getter
|
740
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
741
|
+
"""
|
742
|
+
Description of the expression. This is a longer text which describes the
|
743
|
+
expression, e.g. when hovered over it in a UI.
|
744
|
+
"""
|
745
|
+
return pulumi.get(self, "description")
|
746
|
+
|
747
|
+
@description.setter
|
748
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
749
|
+
pulumi.set(self, "description", value)
|
750
|
+
|
751
|
+
@property
|
752
|
+
@pulumi.getter
|
753
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
754
|
+
"""
|
755
|
+
String indicating the location of the expression for error reporting, e.g. a
|
756
|
+
file name and a position in the file.
|
757
|
+
"""
|
758
|
+
return pulumi.get(self, "location")
|
759
|
+
|
760
|
+
@location.setter
|
761
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
762
|
+
pulumi.set(self, "location", value)
|
763
|
+
|
764
|
+
@property
|
765
|
+
@pulumi.getter
|
766
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
767
|
+
"""
|
768
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
769
|
+
be used e.g. in UIs which allow to enter the expression.
|
770
|
+
"""
|
771
|
+
return pulumi.get(self, "title")
|
772
|
+
|
773
|
+
@title.setter
|
774
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
775
|
+
pulumi.set(self, "title", value)
|
776
|
+
|
777
|
+
|
778
|
+
@pulumi.input_type
|
779
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs:
|
780
|
+
def __init__(__self__, *,
|
781
|
+
expression: pulumi.Input[str],
|
782
|
+
description: Optional[pulumi.Input[str]] = None,
|
783
|
+
location: Optional[pulumi.Input[str]] = None,
|
784
|
+
title: Optional[pulumi.Input[str]] = None):
|
785
|
+
"""
|
786
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
787
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
788
|
+
expression, e.g. when hovered over it in a UI.
|
789
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
790
|
+
file name and a position in the file.
|
791
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
792
|
+
be used e.g. in UIs which allow to enter the expression.
|
793
|
+
"""
|
794
|
+
pulumi.set(__self__, "expression", expression)
|
795
|
+
if description is not None:
|
796
|
+
pulumi.set(__self__, "description", description)
|
797
|
+
if location is not None:
|
798
|
+
pulumi.set(__self__, "location", location)
|
799
|
+
if title is not None:
|
800
|
+
pulumi.set(__self__, "title", title)
|
801
|
+
|
802
|
+
@property
|
803
|
+
@pulumi.getter
|
804
|
+
def expression(self) -> pulumi.Input[str]:
|
805
|
+
"""
|
806
|
+
Textual representation of an expression in Common Expression Language syntax.
|
807
|
+
"""
|
808
|
+
return pulumi.get(self, "expression")
|
809
|
+
|
810
|
+
@expression.setter
|
811
|
+
def expression(self, value: pulumi.Input[str]):
|
812
|
+
pulumi.set(self, "expression", value)
|
813
|
+
|
814
|
+
@property
|
815
|
+
@pulumi.getter
|
816
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
817
|
+
"""
|
818
|
+
Description of the expression. This is a longer text which describes the
|
819
|
+
expression, e.g. when hovered over it in a UI.
|
820
|
+
"""
|
821
|
+
return pulumi.get(self, "description")
|
822
|
+
|
823
|
+
@description.setter
|
824
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
825
|
+
pulumi.set(self, "description", value)
|
826
|
+
|
827
|
+
@property
|
828
|
+
@pulumi.getter
|
829
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
830
|
+
"""
|
831
|
+
String indicating the location of the expression for error reporting, e.g. a
|
832
|
+
file name and a position in the file.
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "location")
|
835
|
+
|
836
|
+
@location.setter
|
837
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
838
|
+
pulumi.set(self, "location", value)
|
839
|
+
|
840
|
+
@property
|
841
|
+
@pulumi.getter
|
842
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
843
|
+
"""
|
844
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
845
|
+
be used e.g. in UIs which allow to enter the expression.
|
846
|
+
"""
|
847
|
+
return pulumi.get(self, "title")
|
848
|
+
|
849
|
+
@title.setter
|
850
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
851
|
+
pulumi.set(self, "title", value)
|
852
|
+
|
853
|
+
|
854
|
+
@pulumi.input_type
|
855
|
+
class ManagementFolderSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs:
|
856
|
+
def __init__(__self__, *,
|
857
|
+
resource_types: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
858
|
+
"""
|
859
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_types: The resource types to run the detector on.
|
860
|
+
"""
|
861
|
+
pulumi.set(__self__, "resource_types", resource_types)
|
862
|
+
|
863
|
+
@property
|
864
|
+
@pulumi.getter(name="resourceTypes")
|
865
|
+
def resource_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
866
|
+
"""
|
867
|
+
The resource types to run the detector on.
|
868
|
+
"""
|
869
|
+
return pulumi.get(self, "resource_types")
|
870
|
+
|
871
|
+
@resource_types.setter
|
872
|
+
def resource_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
873
|
+
pulumi.set(self, "resource_types", value)
|
874
|
+
|
875
|
+
|
876
|
+
@pulumi.input_type
|
877
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigArgs:
|
878
|
+
def __init__(__self__, *,
|
879
|
+
predicate: pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs'],
|
880
|
+
recommendation: pulumi.Input[str],
|
881
|
+
resource_selector: pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs'],
|
882
|
+
severity: pulumi.Input[str],
|
883
|
+
custom_output: Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']] = None,
|
884
|
+
description: Optional[pulumi.Input[str]] = None):
|
885
|
+
"""
|
886
|
+
:param pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs'] predicate: The CEL expression to evaluate to produce findings. When the expression evaluates
|
887
|
+
to true against a resource, a finding is generated.
|
888
|
+
Structure is documented below.
|
889
|
+
:param pulumi.Input[str] recommendation: An explanation of the recommended steps that security teams can take to resolve
|
890
|
+
the detected issue. This explanation is returned with each finding generated by
|
891
|
+
this module in the nextSteps property of the finding JSON.
|
892
|
+
:param pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs'] resource_selector: The resource types that the custom module operates on. Each custom module
|
893
|
+
can specify up to 5 resource types.
|
894
|
+
Structure is documented below.
|
895
|
+
:param pulumi.Input[str] severity: The severity to assign to findings generated by the module.
|
896
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
897
|
+
:param pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs'] custom_output: Custom output properties.
|
898
|
+
Structure is documented below.
|
899
|
+
:param pulumi.Input[str] description: Text that describes the vulnerability or misconfiguration that the custom
|
900
|
+
module detects. This explanation is returned with each finding instance to
|
901
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
902
|
+
"""
|
903
|
+
pulumi.set(__self__, "predicate", predicate)
|
904
|
+
pulumi.set(__self__, "recommendation", recommendation)
|
905
|
+
pulumi.set(__self__, "resource_selector", resource_selector)
|
906
|
+
pulumi.set(__self__, "severity", severity)
|
907
|
+
if custom_output is not None:
|
908
|
+
pulumi.set(__self__, "custom_output", custom_output)
|
909
|
+
if description is not None:
|
910
|
+
pulumi.set(__self__, "description", description)
|
911
|
+
|
912
|
+
@property
|
913
|
+
@pulumi.getter
|
914
|
+
def predicate(self) -> pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']:
|
915
|
+
"""
|
916
|
+
The CEL expression to evaluate to produce findings. When the expression evaluates
|
917
|
+
to true against a resource, a finding is generated.
|
918
|
+
Structure is documented below.
|
919
|
+
"""
|
920
|
+
return pulumi.get(self, "predicate")
|
921
|
+
|
922
|
+
@predicate.setter
|
923
|
+
def predicate(self, value: pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']):
|
924
|
+
pulumi.set(self, "predicate", value)
|
925
|
+
|
926
|
+
@property
|
927
|
+
@pulumi.getter
|
928
|
+
def recommendation(self) -> pulumi.Input[str]:
|
929
|
+
"""
|
930
|
+
An explanation of the recommended steps that security teams can take to resolve
|
931
|
+
the detected issue. This explanation is returned with each finding generated by
|
932
|
+
this module in the nextSteps property of the finding JSON.
|
933
|
+
"""
|
934
|
+
return pulumi.get(self, "recommendation")
|
935
|
+
|
936
|
+
@recommendation.setter
|
937
|
+
def recommendation(self, value: pulumi.Input[str]):
|
938
|
+
pulumi.set(self, "recommendation", value)
|
939
|
+
|
940
|
+
@property
|
941
|
+
@pulumi.getter(name="resourceSelector")
|
942
|
+
def resource_selector(self) -> pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']:
|
943
|
+
"""
|
944
|
+
The resource types that the custom module operates on. Each custom module
|
945
|
+
can specify up to 5 resource types.
|
946
|
+
Structure is documented below.
|
947
|
+
"""
|
948
|
+
return pulumi.get(self, "resource_selector")
|
949
|
+
|
950
|
+
@resource_selector.setter
|
951
|
+
def resource_selector(self, value: pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']):
|
952
|
+
pulumi.set(self, "resource_selector", value)
|
953
|
+
|
954
|
+
@property
|
955
|
+
@pulumi.getter
|
956
|
+
def severity(self) -> pulumi.Input[str]:
|
957
|
+
"""
|
958
|
+
The severity to assign to findings generated by the module.
|
959
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
960
|
+
"""
|
961
|
+
return pulumi.get(self, "severity")
|
962
|
+
|
963
|
+
@severity.setter
|
964
|
+
def severity(self, value: pulumi.Input[str]):
|
965
|
+
pulumi.set(self, "severity", value)
|
966
|
+
|
967
|
+
@property
|
968
|
+
@pulumi.getter(name="customOutput")
|
969
|
+
def custom_output(self) -> Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]:
|
970
|
+
"""
|
971
|
+
Custom output properties.
|
972
|
+
Structure is documented below.
|
973
|
+
"""
|
974
|
+
return pulumi.get(self, "custom_output")
|
975
|
+
|
976
|
+
@custom_output.setter
|
977
|
+
def custom_output(self, value: Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]):
|
978
|
+
pulumi.set(self, "custom_output", value)
|
979
|
+
|
980
|
+
@property
|
981
|
+
@pulumi.getter
|
982
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
983
|
+
"""
|
984
|
+
Text that describes the vulnerability or misconfiguration that the custom
|
985
|
+
module detects. This explanation is returned with each finding instance to
|
986
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
987
|
+
"""
|
988
|
+
return pulumi.get(self, "description")
|
989
|
+
|
990
|
+
@description.setter
|
991
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
992
|
+
pulumi.set(self, "description", value)
|
993
|
+
|
994
|
+
|
995
|
+
@pulumi.input_type
|
996
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs:
|
997
|
+
def __init__(__self__, *,
|
998
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]] = None):
|
999
|
+
"""
|
1000
|
+
:param pulumi.Input[Sequence[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]] properties: A list of custom output properties to add to the finding.
|
1001
|
+
Structure is documented below.
|
1002
|
+
"""
|
1003
|
+
if properties is not None:
|
1004
|
+
pulumi.set(__self__, "properties", properties)
|
1005
|
+
|
1006
|
+
@property
|
1007
|
+
@pulumi.getter
|
1008
|
+
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]:
|
1009
|
+
"""
|
1010
|
+
A list of custom output properties to add to the finding.
|
1011
|
+
Structure is documented below.
|
1012
|
+
"""
|
1013
|
+
return pulumi.get(self, "properties")
|
1014
|
+
|
1015
|
+
@properties.setter
|
1016
|
+
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]):
|
1017
|
+
pulumi.set(self, "properties", value)
|
1018
|
+
|
1019
|
+
|
1020
|
+
@pulumi.input_type
|
1021
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs:
|
1022
|
+
def __init__(__self__, *,
|
1023
|
+
name: Optional[pulumi.Input[str]] = None,
|
1024
|
+
value_expression: Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']] = None):
|
1025
|
+
"""
|
1026
|
+
:param pulumi.Input[str] name: Name of the property for the custom output.
|
1027
|
+
:param pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs'] value_expression: The CEL expression for the custom output. A resource property can be specified
|
1028
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
1029
|
+
Structure is documented below.
|
1030
|
+
"""
|
1031
|
+
if name is not None:
|
1032
|
+
pulumi.set(__self__, "name", name)
|
1033
|
+
if value_expression is not None:
|
1034
|
+
pulumi.set(__self__, "value_expression", value_expression)
|
1035
|
+
|
1036
|
+
@property
|
1037
|
+
@pulumi.getter
|
1038
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
1039
|
+
"""
|
1040
|
+
Name of the property for the custom output.
|
1041
|
+
"""
|
1042
|
+
return pulumi.get(self, "name")
|
1043
|
+
|
1044
|
+
@name.setter
|
1045
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
1046
|
+
pulumi.set(self, "name", value)
|
1047
|
+
|
1048
|
+
@property
|
1049
|
+
@pulumi.getter(name="valueExpression")
|
1050
|
+
def value_expression(self) -> Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]:
|
1051
|
+
"""
|
1052
|
+
The CEL expression for the custom output. A resource property can be specified
|
1053
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
1054
|
+
Structure is documented below.
|
1055
|
+
"""
|
1056
|
+
return pulumi.get(self, "value_expression")
|
1057
|
+
|
1058
|
+
@value_expression.setter
|
1059
|
+
def value_expression(self, value: Optional[pulumi.Input['ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]):
|
1060
|
+
pulumi.set(self, "value_expression", value)
|
1061
|
+
|
1062
|
+
|
1063
|
+
@pulumi.input_type
|
1064
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs:
|
1065
|
+
def __init__(__self__, *,
|
1066
|
+
expression: pulumi.Input[str],
|
1067
|
+
description: Optional[pulumi.Input[str]] = None,
|
1068
|
+
location: Optional[pulumi.Input[str]] = None,
|
1069
|
+
title: Optional[pulumi.Input[str]] = None):
|
1070
|
+
"""
|
1071
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
1072
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
1073
|
+
expression, e.g. when hovered over it in a UI.
|
1074
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
1075
|
+
file name and a position in the file.
|
1076
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
1077
|
+
be used e.g. in UIs which allow to enter the expression.
|
1078
|
+
"""
|
1079
|
+
pulumi.set(__self__, "expression", expression)
|
1080
|
+
if description is not None:
|
1081
|
+
pulumi.set(__self__, "description", description)
|
1082
|
+
if location is not None:
|
1083
|
+
pulumi.set(__self__, "location", location)
|
1084
|
+
if title is not None:
|
1085
|
+
pulumi.set(__self__, "title", title)
|
1086
|
+
|
1087
|
+
@property
|
1088
|
+
@pulumi.getter
|
1089
|
+
def expression(self) -> pulumi.Input[str]:
|
1090
|
+
"""
|
1091
|
+
Textual representation of an expression in Common Expression Language syntax.
|
1092
|
+
"""
|
1093
|
+
return pulumi.get(self, "expression")
|
1094
|
+
|
1095
|
+
@expression.setter
|
1096
|
+
def expression(self, value: pulumi.Input[str]):
|
1097
|
+
pulumi.set(self, "expression", value)
|
1098
|
+
|
1099
|
+
@property
|
1100
|
+
@pulumi.getter
|
1101
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
1102
|
+
"""
|
1103
|
+
Description of the expression. This is a longer text which describes the
|
1104
|
+
expression, e.g. when hovered over it in a UI.
|
1105
|
+
"""
|
1106
|
+
return pulumi.get(self, "description")
|
1107
|
+
|
1108
|
+
@description.setter
|
1109
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
1110
|
+
pulumi.set(self, "description", value)
|
1111
|
+
|
1112
|
+
@property
|
1113
|
+
@pulumi.getter
|
1114
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
1115
|
+
"""
|
1116
|
+
String indicating the location of the expression for error reporting, e.g. a
|
1117
|
+
file name and a position in the file.
|
1118
|
+
"""
|
1119
|
+
return pulumi.get(self, "location")
|
1120
|
+
|
1121
|
+
@location.setter
|
1122
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
1123
|
+
pulumi.set(self, "location", value)
|
1124
|
+
|
1125
|
+
@property
|
1126
|
+
@pulumi.getter
|
1127
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
1128
|
+
"""
|
1129
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
1130
|
+
be used e.g. in UIs which allow to enter the expression.
|
1131
|
+
"""
|
1132
|
+
return pulumi.get(self, "title")
|
1133
|
+
|
1134
|
+
@title.setter
|
1135
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
1136
|
+
pulumi.set(self, "title", value)
|
1137
|
+
|
1138
|
+
|
1139
|
+
@pulumi.input_type
|
1140
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs:
|
1141
|
+
def __init__(__self__, *,
|
1142
|
+
expression: pulumi.Input[str],
|
1143
|
+
description: Optional[pulumi.Input[str]] = None,
|
1144
|
+
location: Optional[pulumi.Input[str]] = None,
|
1145
|
+
title: Optional[pulumi.Input[str]] = None):
|
1146
|
+
"""
|
1147
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
1148
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
1149
|
+
expression, e.g. when hovered over it in a UI.
|
1150
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
1151
|
+
file name and a position in the file.
|
1152
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
1153
|
+
be used e.g. in UIs which allow to enter the expression.
|
1154
|
+
"""
|
1155
|
+
pulumi.set(__self__, "expression", expression)
|
1156
|
+
if description is not None:
|
1157
|
+
pulumi.set(__self__, "description", description)
|
1158
|
+
if location is not None:
|
1159
|
+
pulumi.set(__self__, "location", location)
|
1160
|
+
if title is not None:
|
1161
|
+
pulumi.set(__self__, "title", title)
|
1162
|
+
|
1163
|
+
@property
|
1164
|
+
@pulumi.getter
|
1165
|
+
def expression(self) -> pulumi.Input[str]:
|
1166
|
+
"""
|
1167
|
+
Textual representation of an expression in Common Expression Language syntax.
|
1168
|
+
"""
|
1169
|
+
return pulumi.get(self, "expression")
|
1170
|
+
|
1171
|
+
@expression.setter
|
1172
|
+
def expression(self, value: pulumi.Input[str]):
|
1173
|
+
pulumi.set(self, "expression", value)
|
1174
|
+
|
1175
|
+
@property
|
1176
|
+
@pulumi.getter
|
1177
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
1178
|
+
"""
|
1179
|
+
Description of the expression. This is a longer text which describes the
|
1180
|
+
expression, e.g. when hovered over it in a UI.
|
1181
|
+
"""
|
1182
|
+
return pulumi.get(self, "description")
|
1183
|
+
|
1184
|
+
@description.setter
|
1185
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
1186
|
+
pulumi.set(self, "description", value)
|
1187
|
+
|
1188
|
+
@property
|
1189
|
+
@pulumi.getter
|
1190
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
1191
|
+
"""
|
1192
|
+
String indicating the location of the expression for error reporting, e.g. a
|
1193
|
+
file name and a position in the file.
|
1194
|
+
"""
|
1195
|
+
return pulumi.get(self, "location")
|
1196
|
+
|
1197
|
+
@location.setter
|
1198
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
1199
|
+
pulumi.set(self, "location", value)
|
1200
|
+
|
1201
|
+
@property
|
1202
|
+
@pulumi.getter
|
1203
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
1204
|
+
"""
|
1205
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
1206
|
+
be used e.g. in UIs which allow to enter the expression.
|
1207
|
+
"""
|
1208
|
+
return pulumi.get(self, "title")
|
1209
|
+
|
1210
|
+
@title.setter
|
1211
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
1212
|
+
pulumi.set(self, "title", value)
|
1213
|
+
|
1214
|
+
|
1215
|
+
@pulumi.input_type
|
1216
|
+
class ManagementOrganizationSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs:
|
1217
|
+
def __init__(__self__, *,
|
1218
|
+
resource_types: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
1219
|
+
"""
|
1220
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_types: The resource types to run the detector on.
|
1221
|
+
"""
|
1222
|
+
pulumi.set(__self__, "resource_types", resource_types)
|
1223
|
+
|
1224
|
+
@property
|
1225
|
+
@pulumi.getter(name="resourceTypes")
|
1226
|
+
def resource_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
1227
|
+
"""
|
1228
|
+
The resource types to run the detector on.
|
1229
|
+
"""
|
1230
|
+
return pulumi.get(self, "resource_types")
|
1231
|
+
|
1232
|
+
@resource_types.setter
|
1233
|
+
def resource_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
1234
|
+
pulumi.set(self, "resource_types", value)
|
1235
|
+
|
1236
|
+
|
1237
|
+
@pulumi.input_type
|
1238
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigArgs:
|
1239
|
+
def __init__(__self__, *,
|
1240
|
+
predicate: pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs'],
|
1241
|
+
recommendation: pulumi.Input[str],
|
1242
|
+
resource_selector: pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs'],
|
1243
|
+
severity: pulumi.Input[str],
|
1244
|
+
custom_output: Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']] = None,
|
1245
|
+
description: Optional[pulumi.Input[str]] = None):
|
1246
|
+
"""
|
1247
|
+
:param pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs'] predicate: The CEL expression to evaluate to produce findings. When the expression evaluates
|
1248
|
+
to true against a resource, a finding is generated.
|
1249
|
+
Structure is documented below.
|
1250
|
+
:param pulumi.Input[str] recommendation: An explanation of the recommended steps that security teams can take to resolve
|
1251
|
+
the detected issue. This explanation is returned with each finding generated by
|
1252
|
+
this module in the nextSteps property of the finding JSON.
|
1253
|
+
:param pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs'] resource_selector: The resource types that the custom module operates on. Each custom module
|
1254
|
+
can specify up to 5 resource types.
|
1255
|
+
Structure is documented below.
|
1256
|
+
:param pulumi.Input[str] severity: The severity to assign to findings generated by the module.
|
1257
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
1258
|
+
:param pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs'] custom_output: Custom output properties.
|
1259
|
+
Structure is documented below.
|
1260
|
+
:param pulumi.Input[str] description: Text that describes the vulnerability or misconfiguration that the custom
|
1261
|
+
module detects. This explanation is returned with each finding instance to
|
1262
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
1263
|
+
"""
|
1264
|
+
pulumi.set(__self__, "predicate", predicate)
|
1265
|
+
pulumi.set(__self__, "recommendation", recommendation)
|
1266
|
+
pulumi.set(__self__, "resource_selector", resource_selector)
|
1267
|
+
pulumi.set(__self__, "severity", severity)
|
1268
|
+
if custom_output is not None:
|
1269
|
+
pulumi.set(__self__, "custom_output", custom_output)
|
1270
|
+
if description is not None:
|
1271
|
+
pulumi.set(__self__, "description", description)
|
1272
|
+
|
1273
|
+
@property
|
1274
|
+
@pulumi.getter
|
1275
|
+
def predicate(self) -> pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']:
|
1276
|
+
"""
|
1277
|
+
The CEL expression to evaluate to produce findings. When the expression evaluates
|
1278
|
+
to true against a resource, a finding is generated.
|
1279
|
+
Structure is documented below.
|
1280
|
+
"""
|
1281
|
+
return pulumi.get(self, "predicate")
|
1282
|
+
|
1283
|
+
@predicate.setter
|
1284
|
+
def predicate(self, value: pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs']):
|
1285
|
+
pulumi.set(self, "predicate", value)
|
1286
|
+
|
1287
|
+
@property
|
1288
|
+
@pulumi.getter
|
1289
|
+
def recommendation(self) -> pulumi.Input[str]:
|
1290
|
+
"""
|
1291
|
+
An explanation of the recommended steps that security teams can take to resolve
|
1292
|
+
the detected issue. This explanation is returned with each finding generated by
|
1293
|
+
this module in the nextSteps property of the finding JSON.
|
1294
|
+
"""
|
1295
|
+
return pulumi.get(self, "recommendation")
|
1296
|
+
|
1297
|
+
@recommendation.setter
|
1298
|
+
def recommendation(self, value: pulumi.Input[str]):
|
1299
|
+
pulumi.set(self, "recommendation", value)
|
1300
|
+
|
1301
|
+
@property
|
1302
|
+
@pulumi.getter(name="resourceSelector")
|
1303
|
+
def resource_selector(self) -> pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']:
|
1304
|
+
"""
|
1305
|
+
The resource types that the custom module operates on. Each custom module
|
1306
|
+
can specify up to 5 resource types.
|
1307
|
+
Structure is documented below.
|
1308
|
+
"""
|
1309
|
+
return pulumi.get(self, "resource_selector")
|
1310
|
+
|
1311
|
+
@resource_selector.setter
|
1312
|
+
def resource_selector(self, value: pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs']):
|
1313
|
+
pulumi.set(self, "resource_selector", value)
|
1314
|
+
|
1315
|
+
@property
|
1316
|
+
@pulumi.getter
|
1317
|
+
def severity(self) -> pulumi.Input[str]:
|
1318
|
+
"""
|
1319
|
+
The severity to assign to findings generated by the module.
|
1320
|
+
Possible values are: `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`.
|
1321
|
+
"""
|
1322
|
+
return pulumi.get(self, "severity")
|
1323
|
+
|
1324
|
+
@severity.setter
|
1325
|
+
def severity(self, value: pulumi.Input[str]):
|
1326
|
+
pulumi.set(self, "severity", value)
|
1327
|
+
|
1328
|
+
@property
|
1329
|
+
@pulumi.getter(name="customOutput")
|
1330
|
+
def custom_output(self) -> Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]:
|
1331
|
+
"""
|
1332
|
+
Custom output properties.
|
1333
|
+
Structure is documented below.
|
1334
|
+
"""
|
1335
|
+
return pulumi.get(self, "custom_output")
|
1336
|
+
|
1337
|
+
@custom_output.setter
|
1338
|
+
def custom_output(self, value: Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs']]):
|
1339
|
+
pulumi.set(self, "custom_output", value)
|
1340
|
+
|
1341
|
+
@property
|
1342
|
+
@pulumi.getter
|
1343
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
1344
|
+
"""
|
1345
|
+
Text that describes the vulnerability or misconfiguration that the custom
|
1346
|
+
module detects. This explanation is returned with each finding instance to
|
1347
|
+
help investigators understand the detected issue. The text must be enclosed in quotation marks.
|
1348
|
+
"""
|
1349
|
+
return pulumi.get(self, "description")
|
1350
|
+
|
1351
|
+
@description.setter
|
1352
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
1353
|
+
pulumi.set(self, "description", value)
|
1354
|
+
|
1355
|
+
|
1356
|
+
@pulumi.input_type
|
1357
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputArgs:
|
1358
|
+
def __init__(__self__, *,
|
1359
|
+
properties: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]] = None):
|
1360
|
+
"""
|
1361
|
+
:param pulumi.Input[Sequence[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]] properties: A list of custom output properties to add to the finding.
|
1362
|
+
Structure is documented below.
|
1363
|
+
"""
|
1364
|
+
if properties is not None:
|
1365
|
+
pulumi.set(__self__, "properties", properties)
|
1366
|
+
|
1367
|
+
@property
|
1368
|
+
@pulumi.getter
|
1369
|
+
def properties(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]:
|
1370
|
+
"""
|
1371
|
+
A list of custom output properties to add to the finding.
|
1372
|
+
Structure is documented below.
|
1373
|
+
"""
|
1374
|
+
return pulumi.get(self, "properties")
|
1375
|
+
|
1376
|
+
@properties.setter
|
1377
|
+
def properties(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs']]]]):
|
1378
|
+
pulumi.set(self, "properties", value)
|
1379
|
+
|
1380
|
+
|
1381
|
+
@pulumi.input_type
|
1382
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyArgs:
|
1383
|
+
def __init__(__self__, *,
|
1384
|
+
name: Optional[pulumi.Input[str]] = None,
|
1385
|
+
value_expression: Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']] = None):
|
1386
|
+
"""
|
1387
|
+
:param pulumi.Input[str] name: Name of the property for the custom output.
|
1388
|
+
:param pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs'] value_expression: The CEL expression for the custom output. A resource property can be specified
|
1389
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
1390
|
+
Structure is documented below.
|
1391
|
+
"""
|
1392
|
+
if name is not None:
|
1393
|
+
pulumi.set(__self__, "name", name)
|
1394
|
+
if value_expression is not None:
|
1395
|
+
pulumi.set(__self__, "value_expression", value_expression)
|
1396
|
+
|
1397
|
+
@property
|
1398
|
+
@pulumi.getter
|
1399
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
1400
|
+
"""
|
1401
|
+
Name of the property for the custom output.
|
1402
|
+
"""
|
1403
|
+
return pulumi.get(self, "name")
|
1404
|
+
|
1405
|
+
@name.setter
|
1406
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
1407
|
+
pulumi.set(self, "name", value)
|
1408
|
+
|
1409
|
+
@property
|
1410
|
+
@pulumi.getter(name="valueExpression")
|
1411
|
+
def value_expression(self) -> Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]:
|
1412
|
+
"""
|
1413
|
+
The CEL expression for the custom output. A resource property can be specified
|
1414
|
+
to return the value of the property or a text string enclosed in quotation marks.
|
1415
|
+
Structure is documented below.
|
1416
|
+
"""
|
1417
|
+
return pulumi.get(self, "value_expression")
|
1418
|
+
|
1419
|
+
@value_expression.setter
|
1420
|
+
def value_expression(self, value: Optional[pulumi.Input['ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs']]):
|
1421
|
+
pulumi.set(self, "value_expression", value)
|
1422
|
+
|
1423
|
+
|
1424
|
+
@pulumi.input_type
|
1425
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigCustomOutputPropertyValueExpressionArgs:
|
1426
|
+
def __init__(__self__, *,
|
1427
|
+
expression: pulumi.Input[str],
|
1428
|
+
description: Optional[pulumi.Input[str]] = None,
|
1429
|
+
location: Optional[pulumi.Input[str]] = None,
|
1430
|
+
title: Optional[pulumi.Input[str]] = None):
|
1431
|
+
"""
|
1432
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
1433
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
1434
|
+
expression, e.g. when hovered over it in a UI.
|
1435
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
1436
|
+
file name and a position in the file.
|
1437
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
1438
|
+
be used e.g. in UIs which allow to enter the expression.
|
1439
|
+
"""
|
1440
|
+
pulumi.set(__self__, "expression", expression)
|
1441
|
+
if description is not None:
|
1442
|
+
pulumi.set(__self__, "description", description)
|
1443
|
+
if location is not None:
|
1444
|
+
pulumi.set(__self__, "location", location)
|
1445
|
+
if title is not None:
|
1446
|
+
pulumi.set(__self__, "title", title)
|
1447
|
+
|
1448
|
+
@property
|
1449
|
+
@pulumi.getter
|
1450
|
+
def expression(self) -> pulumi.Input[str]:
|
1451
|
+
"""
|
1452
|
+
Textual representation of an expression in Common Expression Language syntax.
|
1453
|
+
"""
|
1454
|
+
return pulumi.get(self, "expression")
|
1455
|
+
|
1456
|
+
@expression.setter
|
1457
|
+
def expression(self, value: pulumi.Input[str]):
|
1458
|
+
pulumi.set(self, "expression", value)
|
1459
|
+
|
1460
|
+
@property
|
1461
|
+
@pulumi.getter
|
1462
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
1463
|
+
"""
|
1464
|
+
Description of the expression. This is a longer text which describes the
|
1465
|
+
expression, e.g. when hovered over it in a UI.
|
1466
|
+
"""
|
1467
|
+
return pulumi.get(self, "description")
|
1468
|
+
|
1469
|
+
@description.setter
|
1470
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
1471
|
+
pulumi.set(self, "description", value)
|
1472
|
+
|
1473
|
+
@property
|
1474
|
+
@pulumi.getter
|
1475
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
1476
|
+
"""
|
1477
|
+
String indicating the location of the expression for error reporting, e.g. a
|
1478
|
+
file name and a position in the file.
|
1479
|
+
"""
|
1480
|
+
return pulumi.get(self, "location")
|
1481
|
+
|
1482
|
+
@location.setter
|
1483
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
1484
|
+
pulumi.set(self, "location", value)
|
1485
|
+
|
1486
|
+
@property
|
1487
|
+
@pulumi.getter
|
1488
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
1489
|
+
"""
|
1490
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
1491
|
+
be used e.g. in UIs which allow to enter the expression.
|
1492
|
+
"""
|
1493
|
+
return pulumi.get(self, "title")
|
1494
|
+
|
1495
|
+
@title.setter
|
1496
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
1497
|
+
pulumi.set(self, "title", value)
|
1498
|
+
|
1499
|
+
|
1500
|
+
@pulumi.input_type
|
1501
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigPredicateArgs:
|
1502
|
+
def __init__(__self__, *,
|
1503
|
+
expression: pulumi.Input[str],
|
1504
|
+
description: Optional[pulumi.Input[str]] = None,
|
1505
|
+
location: Optional[pulumi.Input[str]] = None,
|
1506
|
+
title: Optional[pulumi.Input[str]] = None):
|
1507
|
+
"""
|
1508
|
+
:param pulumi.Input[str] expression: Textual representation of an expression in Common Expression Language syntax.
|
1509
|
+
:param pulumi.Input[str] description: Description of the expression. This is a longer text which describes the
|
1510
|
+
expression, e.g. when hovered over it in a UI.
|
1511
|
+
:param pulumi.Input[str] location: String indicating the location of the expression for error reporting, e.g. a
|
1512
|
+
file name and a position in the file.
|
1513
|
+
:param pulumi.Input[str] title: Title for the expression, i.e. a short string describing its purpose. This can
|
1514
|
+
be used e.g. in UIs which allow to enter the expression.
|
1515
|
+
"""
|
1516
|
+
pulumi.set(__self__, "expression", expression)
|
1517
|
+
if description is not None:
|
1518
|
+
pulumi.set(__self__, "description", description)
|
1519
|
+
if location is not None:
|
1520
|
+
pulumi.set(__self__, "location", location)
|
1521
|
+
if title is not None:
|
1522
|
+
pulumi.set(__self__, "title", title)
|
1523
|
+
|
1524
|
+
@property
|
1525
|
+
@pulumi.getter
|
1526
|
+
def expression(self) -> pulumi.Input[str]:
|
1527
|
+
"""
|
1528
|
+
Textual representation of an expression in Common Expression Language syntax.
|
1529
|
+
"""
|
1530
|
+
return pulumi.get(self, "expression")
|
1531
|
+
|
1532
|
+
@expression.setter
|
1533
|
+
def expression(self, value: pulumi.Input[str]):
|
1534
|
+
pulumi.set(self, "expression", value)
|
1535
|
+
|
1536
|
+
@property
|
1537
|
+
@pulumi.getter
|
1538
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
1539
|
+
"""
|
1540
|
+
Description of the expression. This is a longer text which describes the
|
1541
|
+
expression, e.g. when hovered over it in a UI.
|
1542
|
+
"""
|
1543
|
+
return pulumi.get(self, "description")
|
1544
|
+
|
1545
|
+
@description.setter
|
1546
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
1547
|
+
pulumi.set(self, "description", value)
|
1548
|
+
|
1549
|
+
@property
|
1550
|
+
@pulumi.getter
|
1551
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
1552
|
+
"""
|
1553
|
+
String indicating the location of the expression for error reporting, e.g. a
|
1554
|
+
file name and a position in the file.
|
1555
|
+
"""
|
1556
|
+
return pulumi.get(self, "location")
|
1557
|
+
|
1558
|
+
@location.setter
|
1559
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
1560
|
+
pulumi.set(self, "location", value)
|
1561
|
+
|
1562
|
+
@property
|
1563
|
+
@pulumi.getter
|
1564
|
+
def title(self) -> Optional[pulumi.Input[str]]:
|
1565
|
+
"""
|
1566
|
+
Title for the expression, i.e. a short string describing its purpose. This can
|
1567
|
+
be used e.g. in UIs which allow to enter the expression.
|
1568
|
+
"""
|
1569
|
+
return pulumi.get(self, "title")
|
1570
|
+
|
1571
|
+
@title.setter
|
1572
|
+
def title(self, value: Optional[pulumi.Input[str]]):
|
1573
|
+
pulumi.set(self, "title", value)
|
1574
|
+
|
1575
|
+
|
1576
|
+
@pulumi.input_type
|
1577
|
+
class ManagementProjectSecurityHealthAnalyticsCustomModuleCustomConfigResourceSelectorArgs:
|
1578
|
+
def __init__(__self__, *,
|
1579
|
+
resource_types: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
1580
|
+
"""
|
1581
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] resource_types: The resource types to run the detector on.
|
1582
|
+
"""
|
1583
|
+
pulumi.set(__self__, "resource_types", resource_types)
|
1584
|
+
|
1585
|
+
@property
|
1586
|
+
@pulumi.getter(name="resourceTypes")
|
1587
|
+
def resource_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
1588
|
+
"""
|
1589
|
+
The resource types to run the detector on.
|
1590
|
+
"""
|
1591
|
+
return pulumi.get(self, "resource_types")
|
1592
|
+
|
1593
|
+
@resource_types.setter
|
1594
|
+
def resource_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
1595
|
+
pulumi.set(self, "resource_types", value)
|
1596
|
+
|
1597
|
+
|
493
1598
|
@pulumi.input_type
|
494
1599
|
class NotificationConfigStreamingConfigArgs:
|
495
1600
|
def __init__(__self__, *,
|