oci.CloudGuard.DetectorRecipe
Explore with Pulumi AI
This resource provides the Detector Recipe resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a new DetectorRecipe resource.
Create DetectorRecipe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DetectorRecipe(name: string, args: DetectorRecipeArgs, opts?: CustomResourceOptions);@overload
def DetectorRecipe(resource_name: str,
                   args: DetectorRecipeArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def DetectorRecipe(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compartment_id: Optional[str] = None,
                   display_name: Optional[str] = None,
                   defined_tags: Optional[Mapping[str, str]] = None,
                   description: Optional[str] = None,
                   detector: Optional[str] = None,
                   detector_rules: Optional[Sequence[DetectorRecipeDetectorRuleArgs]] = None,
                   freeform_tags: Optional[Mapping[str, str]] = None,
                   source_detector_recipe_id: Optional[str] = None)func NewDetectorRecipe(ctx *Context, name string, args DetectorRecipeArgs, opts ...ResourceOption) (*DetectorRecipe, error)public DetectorRecipe(string name, DetectorRecipeArgs args, CustomResourceOptions? opts = null)
public DetectorRecipe(String name, DetectorRecipeArgs args)
public DetectorRecipe(String name, DetectorRecipeArgs args, CustomResourceOptions options)
type: oci:CloudGuard:DetectorRecipe
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DetectorRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DetectorRecipeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DetectorRecipeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DetectorRecipeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DetectorRecipeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var detectorRecipeResource = new Oci.CloudGuard.DetectorRecipe("detectorRecipeResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    Description = "string",
    Detector = "string",
    DetectorRules = new[]
    {
        new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleArgs
        {
            Details = new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleDetailsArgs
            {
                IsEnabled = false,
                RiskLevel = "string",
                Condition = "string",
                Configurations = new[]
                {
                    new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleDetailsConfigurationArgs
                    {
                        ConfigKey = "string",
                        Name = "string",
                        DataType = "string",
                        Value = "string",
                        Values = new[]
                        {
                            new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleDetailsConfigurationValueArgs
                            {
                                ListType = "string",
                                ManagedListType = "string",
                                Value = "string",
                            },
                        },
                    },
                },
                DataSourceId = "string",
                Description = "string",
                EntitiesMappings = new[]
                {
                    new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs
                    {
                        QueryField = "string",
                        DisplayName = "string",
                        EntityType = "string",
                    },
                },
                IsConfigurationAllowed = false,
                Labels = new[]
                {
                    "string",
                },
                Recommendation = "string",
            },
            DetectorRuleId = "string",
            LifecycleDetails = "string",
            ManagedListTypes = new[]
            {
                "string",
            },
            Detector = "string",
            DataSourceId = "string",
            DisplayName = "string",
            EntitiesMappings = new[]
            {
                new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleEntitiesMappingArgs
                {
                    DisplayName = "string",
                    EntityType = "string",
                    QueryField = "string",
                },
            },
            CandidateResponderRules = new[]
            {
                new Oci.CloudGuard.Inputs.DetectorRecipeDetectorRuleCandidateResponderRuleArgs
                {
                    DisplayName = "string",
                    Id = "string",
                    IsPreferred = false,
                },
            },
            Description = "string",
            Recommendation = "string",
            ResourceType = "string",
            ServiceType = "string",
            State = "string",
            TimeCreated = "string",
            TimeUpdated = "string",
        },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    SourceDetectorRecipeId = "string",
});
example, err := cloudguard.NewDetectorRecipe(ctx, "detectorRecipeResource", &cloudguard.DetectorRecipeArgs{
	CompartmentId: pulumi.String("string"),
	DisplayName:   pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Detector:    pulumi.String("string"),
	DetectorRules: cloudguard.DetectorRecipeDetectorRuleArray{
		&cloudguard.DetectorRecipeDetectorRuleArgs{
			Details: &cloudguard.DetectorRecipeDetectorRuleDetailsArgs{
				IsEnabled: pulumi.Bool(false),
				RiskLevel: pulumi.String("string"),
				Condition: pulumi.String("string"),
				Configurations: cloudguard.DetectorRecipeDetectorRuleDetailsConfigurationArray{
					&cloudguard.DetectorRecipeDetectorRuleDetailsConfigurationArgs{
						ConfigKey: pulumi.String("string"),
						Name:      pulumi.String("string"),
						DataType:  pulumi.String("string"),
						Value:     pulumi.String("string"),
						Values: cloudguard.DetectorRecipeDetectorRuleDetailsConfigurationValueArray{
							&cloudguard.DetectorRecipeDetectorRuleDetailsConfigurationValueArgs{
								ListType:        pulumi.String("string"),
								ManagedListType: pulumi.String("string"),
								Value:           pulumi.String("string"),
							},
						},
					},
				},
				DataSourceId: pulumi.String("string"),
				Description:  pulumi.String("string"),
				EntitiesMappings: cloudguard.DetectorRecipeDetectorRuleDetailsEntitiesMappingArray{
					&cloudguard.DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs{
						QueryField:  pulumi.String("string"),
						DisplayName: pulumi.String("string"),
						EntityType:  pulumi.String("string"),
					},
				},
				IsConfigurationAllowed: pulumi.Bool(false),
				Labels: pulumi.StringArray{
					pulumi.String("string"),
				},
				Recommendation: pulumi.String("string"),
			},
			DetectorRuleId:   pulumi.String("string"),
			LifecycleDetails: pulumi.String("string"),
			ManagedListTypes: pulumi.StringArray{
				pulumi.String("string"),
			},
			Detector:     pulumi.String("string"),
			DataSourceId: pulumi.String("string"),
			DisplayName:  pulumi.String("string"),
			EntitiesMappings: cloudguard.DetectorRecipeDetectorRuleEntitiesMappingArray{
				&cloudguard.DetectorRecipeDetectorRuleEntitiesMappingArgs{
					DisplayName: pulumi.String("string"),
					EntityType:  pulumi.String("string"),
					QueryField:  pulumi.String("string"),
				},
			},
			CandidateResponderRules: cloudguard.DetectorRecipeDetectorRuleCandidateResponderRuleArray{
				&cloudguard.DetectorRecipeDetectorRuleCandidateResponderRuleArgs{
					DisplayName: pulumi.String("string"),
					Id:          pulumi.String("string"),
					IsPreferred: pulumi.Bool(false),
				},
			},
			Description:    pulumi.String("string"),
			Recommendation: pulumi.String("string"),
			ResourceType:   pulumi.String("string"),
			ServiceType:    pulumi.String("string"),
			State:          pulumi.String("string"),
			TimeCreated:    pulumi.String("string"),
			TimeUpdated:    pulumi.String("string"),
		},
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SourceDetectorRecipeId: pulumi.String("string"),
})
var detectorRecipeResource = new DetectorRecipe("detectorRecipeResource", DetectorRecipeArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .definedTags(Map.of("string", "string"))
    .description("string")
    .detector("string")
    .detectorRules(DetectorRecipeDetectorRuleArgs.builder()
        .details(DetectorRecipeDetectorRuleDetailsArgs.builder()
            .isEnabled(false)
            .riskLevel("string")
            .condition("string")
            .configurations(DetectorRecipeDetectorRuleDetailsConfigurationArgs.builder()
                .configKey("string")
                .name("string")
                .dataType("string")
                .value("string")
                .values(DetectorRecipeDetectorRuleDetailsConfigurationValueArgs.builder()
                    .listType("string")
                    .managedListType("string")
                    .value("string")
                    .build())
                .build())
            .dataSourceId("string")
            .description("string")
            .entitiesMappings(DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs.builder()
                .queryField("string")
                .displayName("string")
                .entityType("string")
                .build())
            .isConfigurationAllowed(false)
            .labels("string")
            .recommendation("string")
            .build())
        .detectorRuleId("string")
        .lifecycleDetails("string")
        .managedListTypes("string")
        .detector("string")
        .dataSourceId("string")
        .displayName("string")
        .entitiesMappings(DetectorRecipeDetectorRuleEntitiesMappingArgs.builder()
            .displayName("string")
            .entityType("string")
            .queryField("string")
            .build())
        .candidateResponderRules(DetectorRecipeDetectorRuleCandidateResponderRuleArgs.builder()
            .displayName("string")
            .id("string")
            .isPreferred(false)
            .build())
        .description("string")
        .recommendation("string")
        .resourceType("string")
        .serviceType("string")
        .state("string")
        .timeCreated("string")
        .timeUpdated("string")
        .build())
    .freeformTags(Map.of("string", "string"))
    .sourceDetectorRecipeId("string")
    .build());
detector_recipe_resource = oci.cloud_guard.DetectorRecipe("detectorRecipeResource",
    compartment_id="string",
    display_name="string",
    defined_tags={
        "string": "string",
    },
    description="string",
    detector="string",
    detector_rules=[{
        "details": {
            "is_enabled": False,
            "risk_level": "string",
            "condition": "string",
            "configurations": [{
                "config_key": "string",
                "name": "string",
                "data_type": "string",
                "value": "string",
                "values": [{
                    "list_type": "string",
                    "managed_list_type": "string",
                    "value": "string",
                }],
            }],
            "data_source_id": "string",
            "description": "string",
            "entities_mappings": [{
                "query_field": "string",
                "display_name": "string",
                "entity_type": "string",
            }],
            "is_configuration_allowed": False,
            "labels": ["string"],
            "recommendation": "string",
        },
        "detector_rule_id": "string",
        "lifecycle_details": "string",
        "managed_list_types": ["string"],
        "detector": "string",
        "data_source_id": "string",
        "display_name": "string",
        "entities_mappings": [{
            "display_name": "string",
            "entity_type": "string",
            "query_field": "string",
        }],
        "candidate_responder_rules": [{
            "display_name": "string",
            "id": "string",
            "is_preferred": False,
        }],
        "description": "string",
        "recommendation": "string",
        "resource_type": "string",
        "service_type": "string",
        "state": "string",
        "time_created": "string",
        "time_updated": "string",
    }],
    freeform_tags={
        "string": "string",
    },
    source_detector_recipe_id="string")
const detectorRecipeResource = new oci.cloudguard.DetectorRecipe("detectorRecipeResource", {
    compartmentId: "string",
    displayName: "string",
    definedTags: {
        string: "string",
    },
    description: "string",
    detector: "string",
    detectorRules: [{
        details: {
            isEnabled: false,
            riskLevel: "string",
            condition: "string",
            configurations: [{
                configKey: "string",
                name: "string",
                dataType: "string",
                value: "string",
                values: [{
                    listType: "string",
                    managedListType: "string",
                    value: "string",
                }],
            }],
            dataSourceId: "string",
            description: "string",
            entitiesMappings: [{
                queryField: "string",
                displayName: "string",
                entityType: "string",
            }],
            isConfigurationAllowed: false,
            labels: ["string"],
            recommendation: "string",
        },
        detectorRuleId: "string",
        lifecycleDetails: "string",
        managedListTypes: ["string"],
        detector: "string",
        dataSourceId: "string",
        displayName: "string",
        entitiesMappings: [{
            displayName: "string",
            entityType: "string",
            queryField: "string",
        }],
        candidateResponderRules: [{
            displayName: "string",
            id: "string",
            isPreferred: false,
        }],
        description: "string",
        recommendation: "string",
        resourceType: "string",
        serviceType: "string",
        state: "string",
        timeCreated: "string",
        timeUpdated: "string",
    }],
    freeformTags: {
        string: "string",
    },
    sourceDetectorRecipeId: "string",
});
type: oci:CloudGuard:DetectorRecipe
properties:
    compartmentId: string
    definedTags:
        string: string
    description: string
    detector: string
    detectorRules:
        - candidateResponderRules:
            - displayName: string
              id: string
              isPreferred: false
          dataSourceId: string
          description: string
          details:
            condition: string
            configurations:
                - configKey: string
                  dataType: string
                  name: string
                  value: string
                  values:
                    - listType: string
                      managedListType: string
                      value: string
            dataSourceId: string
            description: string
            entitiesMappings:
                - displayName: string
                  entityType: string
                  queryField: string
            isConfigurationAllowed: false
            isEnabled: false
            labels:
                - string
            recommendation: string
            riskLevel: string
          detector: string
          detectorRuleId: string
          displayName: string
          entitiesMappings:
            - displayName: string
              entityType: string
              queryField: string
          lifecycleDetails: string
          managedListTypes:
            - string
          recommendation: string
          resourceType: string
          serviceType: string
          state: string
          timeCreated: string
          timeUpdated: string
    displayName: string
    freeformTags:
        string: string
    sourceDetectorRecipeId: string
DetectorRecipe Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DetectorRecipe resource accepts the following input properties:
- CompartmentId string
- (Updatable) Compartment OCID
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DetectorRules List<DetectorRecipe Detector Rule> 
- (Updatable) Detector rules to override from source detector recipe
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- SourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- CompartmentId string
- (Updatable) Compartment OCID
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DetectorRules []DetectorRecipe Detector Rule Args 
- (Updatable) Detector rules to override from source detector recipe
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- SourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId String
- (Updatable) Compartment OCID
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- detectorRules List<DetectorRecipe Detector Rule> 
- (Updatable) Detector rules to override from source detector recipe
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- sourceDetector StringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId string
- (Updatable) Compartment OCID
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector string
- Detector for the rule
- detectorRules DetectorRecipe Detector Rule[] 
- (Updatable) Detector rules to override from source detector recipe
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- sourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartment_id str
- (Updatable) Compartment OCID
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector str
- Detector for the rule
- detector_rules Sequence[DetectorRecipe Detector Rule Args] 
- (Updatable) Detector rules to override from source detector recipe
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- source_detector_ strrecipe_ id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId String
- (Updatable) Compartment OCID
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- detectorRules List<Property Map>
- (Updatable) Detector rules to override from source detector recipe
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- sourceDetector StringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
Outputs
All input properties are implicitly available as output properties. Additionally, the DetectorRecipe resource produces the following output properties:
- DetectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- EffectiveDetector List<DetectorRules Recipe Effective Detector Rule> 
- List of effective detector rules for the detector type for recipe after applying defaults
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner string
- Owner of detector recipe
- State string
- The current lifecycle state of the resource
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TargetIds List<string>
- List of target IDs to which the recipe is attached
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- DetectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- EffectiveDetector []DetectorRules Recipe Effective Detector Rule 
- List of effective detector rules for the detector type for recipe after applying defaults
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner string
- Owner of detector recipe
- State string
- The current lifecycle state of the resource
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TargetIds []string
- List of target IDs to which the recipe is attached
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- detectorRecipe StringType 
- Recipe type ( STANDARD, ENTERPRISE )
- effectiveDetector List<DetectorRules Recipe Effective Detector Rule> 
- List of effective detector rules for the detector type for recipe after applying defaults
- id String
- The provider-assigned unique ID for this managed resource.
- owner String
- Owner of detector recipe
- state String
- The current lifecycle state of the resource
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds List<String>
- List of target IDs to which the recipe is attached
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
- detectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- effectiveDetector DetectorRules Recipe Effective Detector Rule[] 
- List of effective detector rules for the detector type for recipe after applying defaults
- id string
- The provider-assigned unique ID for this managed resource.
- owner string
- Owner of detector recipe
- state string
- The current lifecycle state of the resource
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds string[]
- List of target IDs to which the recipe is attached
- timeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- detector_recipe_ strtype 
- Recipe type ( STANDARD, ENTERPRISE )
- effective_detector_ Sequence[Detectorrules Recipe Effective Detector Rule] 
- List of effective detector rules for the detector type for recipe after applying defaults
- id str
- The provider-assigned unique ID for this managed resource.
- owner str
- Owner of detector recipe
- state str
- The current lifecycle state of the resource
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- target_ids Sequence[str]
- List of target IDs to which the recipe is attached
- time_created str
- The date and time the detector recipe was created Format defined by RFC3339.
- time_updated str
- The date and time the detector recipe was last updated Format defined by RFC3339.
- detectorRecipe StringType 
- Recipe type ( STANDARD, ENTERPRISE )
- effectiveDetector List<Property Map>Rules 
- List of effective detector rules for the detector type for recipe after applying defaults
- id String
- The provider-assigned unique ID for this managed resource.
- owner String
- Owner of detector recipe
- state String
- The current lifecycle state of the resource
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds List<String>
- List of target IDs to which the recipe is attached
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
Look up Existing DetectorRecipe Resource
Get an existing DetectorRecipe resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DetectorRecipeState, opts?: CustomResourceOptions): DetectorRecipe@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        detector: Optional[str] = None,
        detector_recipe_type: Optional[str] = None,
        detector_rules: Optional[Sequence[DetectorRecipeDetectorRuleArgs]] = None,
        display_name: Optional[str] = None,
        effective_detector_rules: Optional[Sequence[DetectorRecipeEffectiveDetectorRuleArgs]] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        owner: Optional[str] = None,
        source_detector_recipe_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        target_ids: Optional[Sequence[str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> DetectorRecipefunc GetDetectorRecipe(ctx *Context, name string, id IDInput, state *DetectorRecipeState, opts ...ResourceOption) (*DetectorRecipe, error)public static DetectorRecipe Get(string name, Input<string> id, DetectorRecipeState? state, CustomResourceOptions? opts = null)public static DetectorRecipe get(String name, Output<String> id, DetectorRecipeState state, CustomResourceOptions options)resources:  _:    type: oci:CloudGuard:DetectorRecipe    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) Compartment OCID
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DetectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- DetectorRules List<DetectorRecipe Detector Rule> 
- (Updatable) Detector rules to override from source detector recipe
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EffectiveDetector List<DetectorRules Recipe Effective Detector Rule> 
- List of effective detector rules for the detector type for recipe after applying defaults
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- Owner string
- Owner of detector recipe
- SourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The current lifecycle state of the resource
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TargetIds List<string>
- List of target IDs to which the recipe is attached
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- CompartmentId string
- (Updatable) Compartment OCID
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DetectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- DetectorRules []DetectorRecipe Detector Rule Args 
- (Updatable) Detector rules to override from source detector recipe
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EffectiveDetector []DetectorRules Recipe Effective Detector Rule Args 
- List of effective detector rules for the detector type for recipe after applying defaults
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- Owner string
- Owner of detector recipe
- SourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The current lifecycle state of the resource
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TargetIds []string
- List of target IDs to which the recipe is attached
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- compartmentId String
- (Updatable) Compartment OCID
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- detectorRecipe StringType 
- Recipe type ( STANDARD, ENTERPRISE )
- detectorRules List<DetectorRecipe Detector Rule> 
- (Updatable) Detector rules to override from source detector recipe
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- effectiveDetector List<DetectorRules Recipe Effective Detector Rule> 
- List of effective detector rules for the detector type for recipe after applying defaults
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- owner String
- Owner of detector recipe
- sourceDetector StringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The current lifecycle state of the resource
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds List<String>
- List of target IDs to which the recipe is attached
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
- compartmentId string
- (Updatable) Compartment OCID
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector string
- Detector for the rule
- detectorRecipe stringType 
- Recipe type ( STANDARD, ENTERPRISE )
- detectorRules DetectorRecipe Detector Rule[] 
- (Updatable) Detector rules to override from source detector recipe
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- effectiveDetector DetectorRules Recipe Effective Detector Rule[] 
- List of effective detector rules for the detector type for recipe after applying defaults
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- owner string
- Owner of detector recipe
- sourceDetector stringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state string
- The current lifecycle state of the resource
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds string[]
- List of target IDs to which the recipe is attached
- timeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- compartment_id str
- (Updatable) Compartment OCID
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector str
- Detector for the rule
- detector_recipe_ strtype 
- Recipe type ( STANDARD, ENTERPRISE )
- detector_rules Sequence[DetectorRecipe Detector Rule Args] 
- (Updatable) Detector rules to override from source detector recipe
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- effective_detector_ Sequence[Detectorrules Recipe Effective Detector Rule Args] 
- List of effective detector rules for the detector type for recipe after applying defaults
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- owner str
- Owner of detector recipe
- source_detector_ strrecipe_ id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state str
- The current lifecycle state of the resource
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- target_ids Sequence[str]
- List of target IDs to which the recipe is attached
- time_created str
- The date and time the detector recipe was created Format defined by RFC3339.
- time_updated str
- The date and time the detector recipe was last updated Format defined by RFC3339.
- compartmentId String
- (Updatable) Compartment OCID
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- detectorRecipe StringType 
- Recipe type ( STANDARD, ENTERPRISE )
- detectorRules List<Property Map>
- (Updatable) Detector rules to override from source detector recipe
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- effectiveDetector List<Property Map>Rules 
- List of effective detector rules for the detector type for recipe after applying defaults
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- owner String
- Owner of detector recipe
- sourceDetector StringRecipe Id 
- The ID of the source detector recipe - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The current lifecycle state of the resource
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- targetIds List<String>
- List of target IDs to which the recipe is attached
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
Supporting Types
DetectorRecipeDetectorRule, DetectorRecipeDetectorRuleArgs        
- Details
DetectorRecipe Detector Rule Details 
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- DetectorRule stringId 
- (Updatable) Detector recipe rule ID
- CandidateResponder List<DetectorRules Recipe Detector Rule Candidate Responder Rule> 
- List of responder rules that can be used to remediate this detector rule
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntitiesMappings List<DetectorRecipe Detector Rule Entities Mapping> 
- Data source entities mapping for the detector rule
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- ManagedList List<string>Types 
- List of managed list types related to this rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- ResourceType string
- Resource type of the configuration to which the rule is applied
- ServiceType string
- Service type of the configuration to which the rule is applied
- State string
- The current lifecycle state of the resource
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- Details
DetectorRecipe Detector Rule Details 
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- DetectorRule stringId 
- (Updatable) Detector recipe rule ID
- CandidateResponder []DetectorRules Recipe Detector Rule Candidate Responder Rule 
- List of responder rules that can be used to remediate this detector rule
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Detector string
- Detector for the rule
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntitiesMappings []DetectorRecipe Detector Rule Entities Mapping 
- Data source entities mapping for the detector rule
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- ManagedList []stringTypes 
- List of managed list types related to this rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- ResourceType string
- Resource type of the configuration to which the rule is applied
- ServiceType string
- Service type of the configuration to which the rule is applied
- State string
- The current lifecycle state of the resource
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- details
DetectorRecipe Detector Rule Details 
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- detectorRule StringId 
- (Updatable) Detector recipe rule ID
- candidateResponder List<DetectorRules Recipe Detector Rule Candidate Responder Rule> 
- List of responder rules that can be used to remediate this detector rule
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings List<DetectorRecipe Detector Rule Entities Mapping> 
- Data source entities mapping for the detector rule
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList List<String>Types 
- List of managed list types related to this rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType String
- Resource type of the configuration to which the rule is applied
- serviceType String
- Service type of the configuration to which the rule is applied
- state String
- The current lifecycle state of the resource
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
- details
DetectorRecipe Detector Rule Details 
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- detectorRule stringId 
- (Updatable) Detector recipe rule ID
- candidateResponder DetectorRules Recipe Detector Rule Candidate Responder Rule[] 
- List of responder rules that can be used to remediate this detector rule
- dataSource stringId 
- The ID of the attached data source
- description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector string
- Detector for the rule
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings DetectorRecipe Detector Rule Entities Mapping[] 
- Data source entities mapping for the detector rule
- lifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList string[]Types 
- List of managed list types related to this rule
- recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType string
- Resource type of the configuration to which the rule is applied
- serviceType string
- Service type of the configuration to which the rule is applied
- state string
- The current lifecycle state of the resource
- timeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- details
DetectorRecipe Detector Rule Details 
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- detector_rule_ strid 
- (Updatable) Detector recipe rule ID
- candidate_responder_ Sequence[Detectorrules Recipe Detector Rule Candidate Responder Rule] 
- List of responder rules that can be used to remediate this detector rule
- data_source_ strid 
- The ID of the attached data source
- description str
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector str
- Detector for the rule
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entities_mappings Sequence[DetectorRecipe Detector Rule Entities Mapping] 
- Data source entities mapping for the detector rule
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managed_list_ Sequence[str]types 
- List of managed list types related to this rule
- recommendation str
- Recommendation for DetectorRecipeDetectorRule resource
- resource_type str
- Resource type of the configuration to which the rule is applied
- service_type str
- Service type of the configuration to which the rule is applied
- state str
- The current lifecycle state of the resource
- time_created str
- The date and time the detector recipe was created Format defined by RFC3339.
- time_updated str
- The date and time the detector recipe was last updated Format defined by RFC3339.
- details Property Map
- (Updatable) Parameters to be updated for a detector rule within a detector recipe.
- detectorRule StringId 
- (Updatable) Detector recipe rule ID
- candidateResponder List<Property Map>Rules 
- List of responder rules that can be used to remediate this detector rule
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- detector String
- Detector for the rule
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings List<Property Map>
- Data source entities mapping for the detector rule
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList List<String>Types 
- List of managed list types related to this rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType String
- Resource type of the configuration to which the rule is applied
- serviceType String
- Service type of the configuration to which the rule is applied
- state String
- The current lifecycle state of the resource
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
DetectorRecipeDetectorRuleCandidateResponderRule, DetectorRecipeDetectorRuleCandidateResponderRuleArgs              
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Id string
- OCID for detector recipe
- IsPreferred bool
- Is this the preferred state?
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Id string
- OCID for detector recipe
- IsPreferred bool
- Is this the preferred state?
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id String
- OCID for detector recipe
- isPreferred Boolean
- Is this the preferred state?
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id string
- OCID for detector recipe
- isPreferred boolean
- Is this the preferred state?
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id str
- OCID for detector recipe
- is_preferred bool
- Is this the preferred state?
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id String
- OCID for detector recipe
- isPreferred Boolean
- Is this the preferred state?
DetectorRecipeDetectorRuleDetails, DetectorRecipeDetectorRuleDetailsArgs          
- IsEnabled bool
- (Updatable) Enablement status of the detector rule
- RiskLevel string
- (Updatable) The risk level of the detector rule
- Condition string
- (Updatable) The base condition resource.
- Configurations
List<DetectorRecipe Detector Rule Details Configuration> 
- (Updatable) List of detector rule configurations
- DataSource stringId 
- (Updatable) The unique identifier of the attached data source
- Description string
- (Updatable) Description for the detector rule
- EntitiesMappings List<DetectorRecipe Detector Rule Details Entities Mapping> 
- (Updatable) Data source entities mapping for a detector rule
- IsConfiguration boolAllowed 
- Can the rule be configured?
- Labels List<string>
- (Updatable) User-defined labels for a detector rule
- Recommendation string
- (Updatable) Recommendation for the detector rule
- IsEnabled bool
- (Updatable) Enablement status of the detector rule
- RiskLevel string
- (Updatable) The risk level of the detector rule
- Condition string
- (Updatable) The base condition resource.
- Configurations
[]DetectorRecipe Detector Rule Details Configuration 
- (Updatable) List of detector rule configurations
- DataSource stringId 
- (Updatable) The unique identifier of the attached data source
- Description string
- (Updatable) Description for the detector rule
- EntitiesMappings []DetectorRecipe Detector Rule Details Entities Mapping 
- (Updatable) Data source entities mapping for a detector rule
- IsConfiguration boolAllowed 
- Can the rule be configured?
- Labels []string
- (Updatable) User-defined labels for a detector rule
- Recommendation string
- (Updatable) Recommendation for the detector rule
- isEnabled Boolean
- (Updatable) Enablement status of the detector rule
- riskLevel String
- (Updatable) The risk level of the detector rule
- condition String
- (Updatable) The base condition resource.
- configurations
List<DetectorRecipe Detector Rule Details Configuration> 
- (Updatable) List of detector rule configurations
- dataSource StringId 
- (Updatable) The unique identifier of the attached data source
- description String
- (Updatable) Description for the detector rule
- entitiesMappings List<DetectorRecipe Detector Rule Details Entities Mapping> 
- (Updatable) Data source entities mapping for a detector rule
- isConfiguration BooleanAllowed 
- Can the rule be configured?
- labels List<String>
- (Updatable) User-defined labels for a detector rule
- recommendation String
- (Updatable) Recommendation for the detector rule
- isEnabled boolean
- (Updatable) Enablement status of the detector rule
- riskLevel string
- (Updatable) The risk level of the detector rule
- condition string
- (Updatable) The base condition resource.
- configurations
DetectorRecipe Detector Rule Details Configuration[] 
- (Updatable) List of detector rule configurations
- dataSource stringId 
- (Updatable) The unique identifier of the attached data source
- description string
- (Updatable) Description for the detector rule
- entitiesMappings DetectorRecipe Detector Rule Details Entities Mapping[] 
- (Updatable) Data source entities mapping for a detector rule
- isConfiguration booleanAllowed 
- Can the rule be configured?
- labels string[]
- (Updatable) User-defined labels for a detector rule
- recommendation string
- (Updatable) Recommendation for the detector rule
- is_enabled bool
- (Updatable) Enablement status of the detector rule
- risk_level str
- (Updatable) The risk level of the detector rule
- condition str
- (Updatable) The base condition resource.
- configurations
Sequence[DetectorRecipe Detector Rule Details Configuration] 
- (Updatable) List of detector rule configurations
- data_source_ strid 
- (Updatable) The unique identifier of the attached data source
- description str
- (Updatable) Description for the detector rule
- entities_mappings Sequence[DetectorRecipe Detector Rule Details Entities Mapping] 
- (Updatable) Data source entities mapping for a detector rule
- is_configuration_ boolallowed 
- Can the rule be configured?
- labels Sequence[str]
- (Updatable) User-defined labels for a detector rule
- recommendation str
- (Updatable) Recommendation for the detector rule
- isEnabled Boolean
- (Updatable) Enablement status of the detector rule
- riskLevel String
- (Updatable) The risk level of the detector rule
- condition String
- (Updatable) The base condition resource.
- configurations List<Property Map>
- (Updatable) List of detector rule configurations
- dataSource StringId 
- (Updatable) The unique identifier of the attached data source
- description String
- (Updatable) Description for the detector rule
- entitiesMappings List<Property Map>
- (Updatable) Data source entities mapping for a detector rule
- isConfiguration BooleanAllowed 
- Can the rule be configured?
- labels List<String>
- (Updatable) User-defined labels for a detector rule
- recommendation String
- (Updatable) Recommendation for the detector rule
DetectorRecipeDetectorRuleDetailsConfiguration, DetectorRecipeDetectorRuleDetailsConfigurationArgs            
- ConfigKey string
- (Updatable) Unique identifier of the configuration
- Name string
- (Updatable) Configuration name
- DataType string
- (Updatable) Configuration data type
- Value string
- (Updatable) Configuration value
- Values
List<DetectorRecipe Detector Rule Details Configuration Value> 
- (Updatable) List of configuration values
- ConfigKey string
- (Updatable) Unique identifier of the configuration
- Name string
- (Updatable) Configuration name
- DataType string
- (Updatable) Configuration data type
- Value string
- (Updatable) Configuration value
- Values
[]DetectorRecipe Detector Rule Details Configuration Value 
- (Updatable) List of configuration values
- configKey String
- (Updatable) Unique identifier of the configuration
- name String
- (Updatable) Configuration name
- dataType String
- (Updatable) Configuration data type
- value String
- (Updatable) Configuration value
- values
List<DetectorRecipe Detector Rule Details Configuration Value> 
- (Updatable) List of configuration values
- configKey string
- (Updatable) Unique identifier of the configuration
- name string
- (Updatable) Configuration name
- dataType string
- (Updatable) Configuration data type
- value string
- (Updatable) Configuration value
- values
DetectorRecipe Detector Rule Details Configuration Value[] 
- (Updatable) List of configuration values
- config_key str
- (Updatable) Unique identifier of the configuration
- name str
- (Updatable) Configuration name
- data_type str
- (Updatable) Configuration data type
- value str
- (Updatable) Configuration value
- values
Sequence[DetectorRecipe Detector Rule Details Configuration Value] 
- (Updatable) List of configuration values
DetectorRecipeDetectorRuleDetailsConfigurationValue, DetectorRecipeDetectorRuleDetailsConfigurationValueArgs              
- ListType string
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- ManagedList stringType 
- (Updatable) Type of content in the managed list
- Value string
- (Updatable) Configuration value
- ListType string
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- ManagedList stringType 
- (Updatable) Type of content in the managed list
- Value string
- (Updatable) Configuration value
- listType String
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- managedList StringType 
- (Updatable) Type of content in the managed list
- value String
- (Updatable) Configuration value
- listType string
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- managedList stringType 
- (Updatable) Type of content in the managed list
- value string
- (Updatable) Configuration value
- list_type str
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- managed_list_ strtype 
- (Updatable) Type of content in the managed list
- value str
- (Updatable) Configuration value
- listType String
- (Updatable) Configuration list item type (CUSTOM or MANAGED)
- managedList StringType 
- (Updatable) Type of content in the managed list
- value String
- (Updatable) Configuration value
DetectorRecipeDetectorRuleDetailsEntitiesMapping, DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs              
- QueryField string
- (Updatable) The entity value mapped to a data source query
- DisplayName string
- (Updatable) Display name of the entity
- EntityType string
- (Updatable) Type of entity
- QueryField string
- (Updatable) The entity value mapped to a data source query
- DisplayName string
- (Updatable) Display name of the entity
- EntityType string
- (Updatable) Type of entity
- queryField String
- (Updatable) The entity value mapped to a data source query
- displayName String
- (Updatable) Display name of the entity
- entityType String
- (Updatable) Type of entity
- queryField string
- (Updatable) The entity value mapped to a data source query
- displayName string
- (Updatable) Display name of the entity
- entityType string
- (Updatable) Type of entity
- query_field str
- (Updatable) The entity value mapped to a data source query
- display_name str
- (Updatable) Display name of the entity
- entity_type str
- (Updatable) Type of entity
- queryField String
- (Updatable) The entity value mapped to a data source query
- displayName String
- (Updatable) Display name of the entity
- entityType String
- (Updatable) Type of entity
DetectorRecipeDetectorRuleEntitiesMapping, DetectorRecipeDetectorRuleEntitiesMappingArgs            
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType string
- Type of entity
- queryField string
- The entity value mapped to a data source query
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entity_type str
- Type of entity
- query_field str
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
DetectorRecipeEffectiveDetectorRule, DetectorRecipeEffectiveDetectorRuleArgs          
- CandidateResponder List<DetectorRules Recipe Effective Detector Rule Candidate Responder Rule> 
- List of responder rules that can be used to remediate this detector rule
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Details
List<DetectorRecipe Effective Detector Rule Detail> 
- Detailed information for a detector.
- Detector string
- Detector for the rule
- DetectorRule stringId 
- The unique identifier of the detector rule.
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntitiesMappings List<DetectorRecipe Effective Detector Rule Entities Mapping> 
- Data source entities mapping for the detector rule
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- ManagedList List<string>Types 
- List of managed list types related to this rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- ResourceType string
- Resource type of the configuration to which the rule is applied
- ServiceType string
- Service type of the configuration to which the rule is applied
- State string
- The current lifecycle state of the resource
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- CandidateResponder []DetectorRules Recipe Effective Detector Rule Candidate Responder Rule 
- List of responder rules that can be used to remediate this detector rule
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- Details
[]DetectorRecipe Effective Detector Rule Detail 
- Detailed information for a detector.
- Detector string
- Detector for the rule
- DetectorRule stringId 
- The unique identifier of the detector rule.
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntitiesMappings []DetectorRecipe Effective Detector Rule Entities Mapping 
- Data source entities mapping for the detector rule
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- ManagedList []stringTypes 
- List of managed list types related to this rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- ResourceType string
- Resource type of the configuration to which the rule is applied
- ServiceType string
- Service type of the configuration to which the rule is applied
- State string
- The current lifecycle state of the resource
- TimeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- TimeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- candidateResponder List<DetectorRules Recipe Effective Detector Rule Candidate Responder Rule> 
- List of responder rules that can be used to remediate this detector rule
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- details
List<DetectorRecipe Effective Detector Rule Detail> 
- Detailed information for a detector.
- detector String
- Detector for the rule
- detectorRule StringId 
- The unique identifier of the detector rule.
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings List<DetectorRecipe Effective Detector Rule Entities Mapping> 
- Data source entities mapping for the detector rule
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList List<String>Types 
- List of managed list types related to this rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType String
- Resource type of the configuration to which the rule is applied
- serviceType String
- Service type of the configuration to which the rule is applied
- state String
- The current lifecycle state of the resource
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
- candidateResponder DetectorRules Recipe Effective Detector Rule Candidate Responder Rule[] 
- List of responder rules that can be used to remediate this detector rule
- dataSource stringId 
- The ID of the attached data source
- description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- details
DetectorRecipe Effective Detector Rule Detail[] 
- Detailed information for a detector.
- detector string
- Detector for the rule
- detectorRule stringId 
- The unique identifier of the detector rule.
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings DetectorRecipe Effective Detector Rule Entities Mapping[] 
- Data source entities mapping for the detector rule
- lifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList string[]Types 
- List of managed list types related to this rule
- recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType string
- Resource type of the configuration to which the rule is applied
- serviceType string
- Service type of the configuration to which the rule is applied
- state string
- The current lifecycle state of the resource
- timeCreated string
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated string
- The date and time the detector recipe was last updated Format defined by RFC3339.
- candidate_responder_ Sequence[Detectorrules Recipe Effective Detector Rule Candidate Responder Rule] 
- List of responder rules that can be used to remediate this detector rule
- data_source_ strid 
- The ID of the attached data source
- description str
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- details
Sequence[DetectorRecipe Effective Detector Rule Detail] 
- Detailed information for a detector.
- detector str
- Detector for the rule
- detector_rule_ strid 
- The unique identifier of the detector rule.
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entities_mappings Sequence[DetectorRecipe Effective Detector Rule Entities Mapping] 
- Data source entities mapping for the detector rule
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managed_list_ Sequence[str]types 
- List of managed list types related to this rule
- recommendation str
- Recommendation for DetectorRecipeDetectorRule resource
- resource_type str
- Resource type of the configuration to which the rule is applied
- service_type str
- Service type of the configuration to which the rule is applied
- state str
- The current lifecycle state of the resource
- time_created str
- The date and time the detector recipe was created Format defined by RFC3339.
- time_updated str
- The date and time the detector recipe was last updated Format defined by RFC3339.
- candidateResponder List<Property Map>Rules 
- List of responder rules that can be used to remediate this detector rule
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- details List<Property Map>
- Detailed information for a detector.
- detector String
- Detector for the rule
- detectorRule StringId 
- The unique identifier of the detector rule.
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entitiesMappings List<Property Map>
- Data source entities mapping for the detector rule
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- managedList List<String>Types 
- List of managed list types related to this rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- resourceType String
- Resource type of the configuration to which the rule is applied
- serviceType String
- Service type of the configuration to which the rule is applied
- state String
- The current lifecycle state of the resource
- timeCreated String
- The date and time the detector recipe was created Format defined by RFC3339.
- timeUpdated String
- The date and time the detector recipe was last updated Format defined by RFC3339.
DetectorRecipeEffectiveDetectorRuleCandidateResponderRule, DetectorRecipeEffectiveDetectorRuleCandidateResponderRuleArgs                
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Id string
- OCID for detector recipe
- IsPreferred bool
- Is this the preferred state?
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- Id string
- OCID for detector recipe
- IsPreferred bool
- Is this the preferred state?
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id String
- OCID for detector recipe
- isPreferred Boolean
- Is this the preferred state?
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id string
- OCID for detector recipe
- isPreferred boolean
- Is this the preferred state?
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id str
- OCID for detector recipe
- is_preferred bool
- Is this the preferred state?
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- id String
- OCID for detector recipe
- isPreferred Boolean
- Is this the preferred state?
DetectorRecipeEffectiveDetectorRuleDetail, DetectorRecipeEffectiveDetectorRuleDetailArgs            
- Condition string
- The base condition resource.
- Configurations
List<DetectorRecipe Effective Detector Rule Detail Configuration> 
- List of detector rule configurations
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- EntitiesMappings List<DetectorRecipe Effective Detector Rule Detail Entities Mapping> 
- Data source entities mapping for the detector rule
- IsConfiguration boolAllowed 
- Can the rule be configured?
- IsEnabled bool
- Enablement status for the rule
- Labels List<string>
- User-defined labels for a detector rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- RiskLevel string
- The risk level for the rule
- Condition string
- The base condition resource.
- Configurations
[]DetectorRecipe Effective Detector Rule Detail Configuration 
- List of detector rule configurations
- DataSource stringId 
- The ID of the attached data source
- Description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- EntitiesMappings []DetectorRecipe Effective Detector Rule Detail Entities Mapping 
- Data source entities mapping for the detector rule
- IsConfiguration boolAllowed 
- Can the rule be configured?
- IsEnabled bool
- Enablement status for the rule
- Labels []string
- User-defined labels for a detector rule
- Recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- RiskLevel string
- The risk level for the rule
- condition String
- The base condition resource.
- configurations
List<DetectorRecipe Effective Detector Rule Detail Configuration> 
- List of detector rule configurations
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- entitiesMappings List<DetectorRecipe Effective Detector Rule Detail Entities Mapping> 
- Data source entities mapping for the detector rule
- isConfiguration BooleanAllowed 
- Can the rule be configured?
- isEnabled Boolean
- Enablement status for the rule
- labels List<String>
- User-defined labels for a detector rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- riskLevel String
- The risk level for the rule
- condition string
- The base condition resource.
- configurations
DetectorRecipe Effective Detector Rule Detail Configuration[] 
- List of detector rule configurations
- dataSource stringId 
- The ID of the attached data source
- description string
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- entitiesMappings DetectorRecipe Effective Detector Rule Detail Entities Mapping[] 
- Data source entities mapping for the detector rule
- isConfiguration booleanAllowed 
- Can the rule be configured?
- isEnabled boolean
- Enablement status for the rule
- labels string[]
- User-defined labels for a detector rule
- recommendation string
- Recommendation for DetectorRecipeDetectorRule resource
- riskLevel string
- The risk level for the rule
- condition str
- The base condition resource.
- configurations
Sequence[DetectorRecipe Effective Detector Rule Detail Configuration] 
- List of detector rule configurations
- data_source_ strid 
- The ID of the attached data source
- description str
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- entities_mappings Sequence[DetectorRecipe Effective Detector Rule Detail Entities Mapping] 
- Data source entities mapping for the detector rule
- is_configuration_ boolallowed 
- Can the rule be configured?
- is_enabled bool
- Enablement status for the rule
- labels Sequence[str]
- User-defined labels for a detector rule
- recommendation str
- Recommendation for DetectorRecipeDetectorRule resource
- risk_level str
- The risk level for the rule
- condition String
- The base condition resource.
- configurations List<Property Map>
- List of detector rule configurations
- dataSource StringId 
- The ID of the attached data source
- description String
- (Updatable) Detector recipe description. - Avoid entering confidential information. 
- entitiesMappings List<Property Map>
- Data source entities mapping for the detector rule
- isConfiguration BooleanAllowed 
- Can the rule be configured?
- isEnabled Boolean
- Enablement status for the rule
- labels List<String>
- User-defined labels for a detector rule
- recommendation String
- Recommendation for DetectorRecipeDetectorRule resource
- riskLevel String
- The risk level for the rule
DetectorRecipeEffectiveDetectorRuleDetailConfiguration, DetectorRecipeEffectiveDetectorRuleDetailConfigurationArgs              
- config_key str
- Unique identifier of the configuration
- data_type str
- Configuration data type
- name str
- Configuration name
- value str
- Configuration value
- values
Sequence[DetectorRecipe Effective Detector Rule Detail Configuration Value] 
- List of configuration values
DetectorRecipeEffectiveDetectorRuleDetailConfigurationValue, DetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs                
- ListType string
- Configuration list item type (CUSTOM or MANAGED)
- ManagedList stringType 
- Type of content in the managed list
- Value string
- Configuration value
- ListType string
- Configuration list item type (CUSTOM or MANAGED)
- ManagedList stringType 
- Type of content in the managed list
- Value string
- Configuration value
- listType String
- Configuration list item type (CUSTOM or MANAGED)
- managedList StringType 
- Type of content in the managed list
- value String
- Configuration value
- listType string
- Configuration list item type (CUSTOM or MANAGED)
- managedList stringType 
- Type of content in the managed list
- value string
- Configuration value
- list_type str
- Configuration list item type (CUSTOM or MANAGED)
- managed_list_ strtype 
- Type of content in the managed list
- value str
- Configuration value
- listType String
- Configuration list item type (CUSTOM or MANAGED)
- managedList StringType 
- Type of content in the managed list
- value String
- Configuration value
DetectorRecipeEffectiveDetectorRuleDetailEntitiesMapping, DetectorRecipeEffectiveDetectorRuleDetailEntitiesMappingArgs                
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType string
- Type of entity
- queryField string
- The entity value mapped to a data source query
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entity_type str
- Type of entity
- query_field str
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
DetectorRecipeEffectiveDetectorRuleEntitiesMapping, DetectorRecipeEffectiveDetectorRuleEntitiesMappingArgs              
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- DisplayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- EntityType string
- Type of entity
- QueryField string
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
- displayName string
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType string
- Type of entity
- queryField string
- The entity value mapped to a data source query
- display_name str
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entity_type str
- Type of entity
- query_field str
- The entity value mapped to a data source query
- displayName String
- (Updatable) Detector recipe display name. - Avoid entering confidential information. 
- entityType String
- Type of entity
- queryField String
- The entity value mapped to a data source query
Import
DetectorRecipes can be imported using the id, e.g.
$ pulumi import oci:CloudGuard/detectorRecipe:DetectorRecipe test_detector_recipe "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.