{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-target-schema.json",
  "title": "Target",
  "description": "A target defines the scope of resources that Cloud Guard\nmonitors and the rules to be enforced in that monitoring. A Target resource\ncontains the settings for a specific target.\n",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-cloudguard-api-openapi.yml#/components/schemas/Target",
  "properties": {
    "compartmentId": {
      "description": "Compartment OCID where the resource is created",
      "type": "string"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only string, integer and boolean types are supported.\n\nAvoid entering confidential information.\n",
          "type": "object"
        },
        "description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n",
      "type": "object"
    },
    "description": {
      "description": "The target description",
      "type": "string"
    },
    "displayName": {
      "description": "Target display name",
      "type": "string"
    },
    "doesEmitProblemsToEvents": {
      "description": "Do problems in target's compartments emit OCI events?",
      "type": "boolean"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n\nAvoid entering confidential information.\n",
      "type": "object"
    },
    "id": {
      "description": "Unique identifier that can't be changed after creation",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "inheritedByCompartments": {
      "description": "List of inherited compartments",
      "items": {
        "maxLength": 255,
        "minLength": 1,
        "type": "string"
      },
      "type": "array"
    },
    "lifecycleDetails": {
      "description": "A message describing the current lifecycle state in more detail. For example, can be used to provide actionable information for a resource in Failed state.",
      "maxLength": 50,
      "minLength": 1,
      "type": "string"
    },
    "lifecycleState": {
      "description": "The current lifecycle state of the target",
      "enum": [
        "CREATING",
        "UPDATING",
        "ACTIVE",
        "INACTIVE",
        "DELETING",
        "DELETED",
        "FAILED"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/LifecycleState"
    },
    "lifecyleDetails": {
      "description": "A message describing the current lifecycle state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]",
      "type": "string"
    },
    "recipeCount": {
      "description": "Total number of recipes attached to target",
      "type": "integer"
    },
    "systemTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only the String type is supported.\n\nAvoid entering confidential information.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a namespace.\nExample: `{\"free-tier-retained\": \"true\"}`\n",
        "type": "object"
      },
      "description": "System tags for this resource. Each key is predefined and scoped to a namespace.\nFor more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).\nSystem tags can be viewed by users, but can only be created by the system.\n\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n",
      "type": "object"
    },
    "targetDetails": {
      "$ref": "#/$defs/TargetDetails"
    },
    "targetDetectorRecipes": {
      "description": "List of detector recipes attached to target",
      "items": {
        "$ref": "#/$defs/TargetDetectorRecipe"
      },
      "type": "array"
    },
    "targetResourceId": {
      "description": "Resource ID which the target uses to monitor",
      "type": "string"
    },
    "targetResourceType": {
      "description": "Type of target",
      "enum": [
        "COMPARTMENT",
        "ERPCLOUD",
        "HCMCLOUD",
        "FACLOUD",
        "SECURITY_ZONE"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/TargetResourceType"
    },
    "targetResponderRecipes": {
      "description": "List of responder recipes attached to target",
      "items": {
        "$ref": "#/$defs/TargetResponderRecipe"
      },
      "type": "array"
    },
    "timeCreated": {
      "description": "The date and time the target was created. Format defined by RFC3339.",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The date and time the target was last updated. Format defined by RFC3339.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "id",
    "compartmentId",
    "targetResourceId",
    "targetResourceType",
    "recipeCount"
  ],
  "$defs": {
    "AdditionalConfigPropertyDefinition": {
      "description": "Detector rule additional property field",
      "properties": {
        "key": {
          "description": "Name for Additional Property, for example, \"interpreter\", \"router\"",
          "type": "string"
        },
        "propertyType": {
          "description": "Property Type",
          "enum": [
            "HINT",
            "RANGE"
          ],
          "type": "string"
        },
        "value": {
          "description": "Value for Property Name, for example, \"generic\", \"cloudguard\"",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Condition": {
      "description": "The base condition resource.",
      "properties": {
        "kind": {
          "description": "Type of condition resource",
          "enum": [
            "COMPOSITE",
            "SIMPLE"
          ],
          "type": "string"
        }
      },
      "required": [
        "kind"
      ]
    },
    "ConditionGroup": {
      "description": "Details for a condition configured on a target.",
      "properties": {
        "compartmentId": {
          "description": "Compartment OCID associated with condition",
          "type": "string"
        },
        "condition": {
          "$ref": "#/$defs/Condition"
        }
      },
      "required": [
        "compartmentId",
        "condition"
      ],
      "type": "object"
    },
    "ConfigValue": {
      "description": "Details for a configuration value for a managed list.",
      "properties": {
        "listType": {
          "description": "Configuration list item type (CUSTOM or MANAGED)",
          "enum": [
            "MANAGED",
            "CUSTOM"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/ConfigurationListItemType"
        },
        "managedListType": {
          "description": "Type of content in the managed list",
          "type": "string"
        },
        "value": {
          "description": "Configuration value",
          "type": "string"
        }
      },
      "required": [
        "listType",
        "managedListType",
        "value"
      ],
      "type": "object"
    },
    "DetectorConfiguration": {
      "description": "Configuration details for a detector.",
      "properties": {
        "additionalProperties": {
          "description": "Map of additional property values for configuration",
          "items": {
            "$ref": "#/$defs/AdditionalConfigPropertyDefinition"
          },
          "type": "array"
        },
        "allowedValues": {
          "description": "Map of possible values for configuration",
          "items": {
            "$ref": "#/$defs/PropertyTuple"
          },
          "type": "array"
        },
        "allowedValuesDataType": {
          "description": "Map property Value data type",
          "type": "string"
        },
        "configKey": {
          "description": "Unique identifier of the configuration",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "dataType": {
          "description": "Configuration data type",
          "type": "string"
        },
        "name": {
          "description": "Configuration name",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "description": "Configuration value",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "values": {
          "description": "List of configuration values",
          "items": {
            "$ref": "#/$defs/ConfigValue"
          },
          "type": "array"
        }
      },
      "required": [
        "configKey",
        "name"
      ],
      "type": "object"
    },
    "EntitiesMapping": {
      "description": "Parameters for entities mapping to data source.",
      "properties": {
        "displayName": {
          "description": "Display name of the entity",
          "type": "string"
        },
        "entityType": {
          "description": "Type of entity",
          "enum": [
            "EXTERNAL_IP",
            "INTERNAL_IP",
            "TEXT",
            "JSON_LIST"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/EntityType"
        },
        "queryField": {
          "description": "The entity value mapped to a data source query",
          "type": "string"
        }
      },
      "required": [
        "queryField"
      ],
      "type": "object"
    },
    "MitreDetails": {
      "description": "MITRE ATT@CK framework details for the sighting type.",
      "properties": {
        "tacticDetails": {
          "$ref": "#/$defs/MitreTactic"
        },
        "techniqueDetails": {
          "$ref": "#/$defs/MitreTechnique"
        }
      },
      "type": "object"
    },
    "MitreTactic": {
      "description": "MITRE ATT@CK framework tactic",
      "properties": {
        "displayName": {
          "description": "The display name of MITRE ATT@CK framework tactic",
          "type": "string"
        },
        "id": {
          "description": "The unique identifier of MITRE ATT@CK framework tactic",
          "type": "string"
        }
      },
      "type": "object"
    },
    "MitreTechnique": {
      "description": "MITRE ATT@CK framework technique",
      "properties": {
        "displayName": {
          "description": "Display name of the MITRE ATT@CK framework technique",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier of the MITRE ATT@CK framework technique",
          "type": "string"
        }
      },
      "type": "object"
    },
    "PropertyTuple": {
      "description": "key and value pair for configuration values",
      "properties": {
        "key": {
          "description": "key",
          "type": "string"
        },
        "value": {
          "description": "value",
          "type": "string"
        }
      },
      "required": [
        "key",
        "value"
      ],
      "type": "object"
    },
    "ResourceLock": {
      "description": "Resource locks are used to prevent certain APIs from being called for the resource.\nA full lock prevents both updating the resource and deleting the resource. A delete\nlock prevents deleting the resource.\n",
      "properties": {
        "message": {
          "description": "A message added by the creator of the lock. This is typically used to give an\nindication of why the resource is locked.\n",
          "type": "string"
        },
        "relatedResourceId": {
          "description": "The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.\n",
          "type": "string"
        },
        "timeCreated": {
          "description": "When the lock was created, in the format defined by RFC 3339.",
          "format": "date-time",
          "type": "string"
        },
        "type": {
          "description": "Type of the lock.",
          "enum": [
            "FULL",
            "DELETE"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "ResponderConfiguration": {
      "description": "Details for a configuration to be applied to a responder.",
      "properties": {
        "configKey": {
          "description": "Unique identifier of the configuration",
          "type": "string"
        },
        "name": {
          "description": "Configuration name",
          "type": "string"
        },
        "value": {
          "description": "Configuration value",
          "type": "string"
        }
      },
      "required": [
        "configKey",
        "name",
        "value"
      ],
      "type": "object"
    },
    "ResponderRuleDetails": {
      "description": "Detailed information for a responder rule",
      "properties": {
        "condition": {
          "$ref": "#/$defs/Condition"
        },
        "configurations": {
          "description": "List of responder rule configurations",
          "items": {
            "$ref": "#/$defs/ResponderConfiguration"
          },
          "type": "array"
        },
        "isEnabled": {
          "description": "Enabled state for the responder rule",
          "type": "boolean"
        },
        "mode": {
          "description": "Execution mode for the responder rule",
          "enum": [
            "AUTOACTION",
            "USERACTION"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/ResponderModeTypes"
        }
      },
      "required": [
        "isEnabled"
      ],
      "type": "object"
    },
    "RuleType": {
      "description": "The detector rule types.",
      "properties": {
        "key": {
          "description": "The unique identifier of the detector rule type",
          "enum": [
            "CATEGORY"
          ],
          "type": "string"
        },
        "value": {
          "description": "Detector rule type value",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "key",
        "value"
      ],
      "type": "object"
    },
    "SightingType": {
      "description": "Information for a sighting type",
      "properties": {
        "additionalEntitiesMapping": {
          "description": "Data source additional entities mapping for a detector rule",
          "items": {
            "$ref": "#/$defs/EntitiesMapping"
          },
          "maxItems": 15,
          "minItems": 0,
          "type": "array"
        },
        "dataSourceId": {
          "description": "Unique identifier of the associated data source",
          "type": "string"
        },
        "description": {
          "description": "Description of the sighting type",
          "type": "string"
        },
        "displayName": {
          "description": "Display name of the sighting type",
          "type": "string"
        },
        "id": {
          "description": "The unique identifier of the sighting type",
          "type": "string"
        },
        "mitreDetails": {
          "$ref": "#/$defs/MitreDetails"
        },
        "mitreLink": {
          "description": "MITRE ATT@CK framework link for the sighting type",
          "type": "string"
        },
        "owner": {
          "description": "Owner type for the sighting type",
          "enum": [
            "CUSTOMER",
            "ORACLE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/OwnerType"
        },
        "tactic": {
          "description": "MITRE ATT@CK framework tactic for the sighting type",
          "type": "string"
        },
        "techniques": {
          "description": "List of MITRE ATT@CK framework techniques for the sighting type",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "timeCreated": {
          "description": "The date and time the sighting type was created. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the sighting type was updated. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    },
    "TargetDetails": {
      "description": "Details specific to the target type.",
      "properties": {
        "targetResourceType": {
          "description": "Target type, determined by the type of resource for which the target was created",
          "enum": [
            "COMPARTMENT",
            "ERPCLOUD",
            "HCMCLOUD",
            "FACLOUD",
            "SECURITY_ZONE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/TargetResourceType"
        }
      },
      "required": [
        "targetResourceType"
      ]
    },
    "TargetDetectorDetails": {
      "description": "Overriden settings of a detector rule in recipe attached to target.",
      "properties": {
        "conditionGroups": {
          "description": "Condition group corresponding to each compartment",
          "items": {
            "$ref": "#/$defs/ConditionGroup"
          },
          "type": "array"
        },
        "configurations": {
          "description": "List of detector rule configurations",
          "items": {
            "$ref": "#/$defs/DetectorConfiguration"
          },
          "type": "array"
        },
        "isConfigurationAllowed": {
          "description": "Configuration allowed or not",
          "type": "boolean"
        },
        "isEnabled": {
          "description": "Enablement state of the detector rule",
          "type": "boolean"
        },
        "labels": {
          "description": "User-defined labels for a detector rule",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "problemThreshold": {
          "description": "Point at which an elevated resource risk score creates a problem",
          "type": "integer"
        },
        "riskLevel": {
          "description": "The risk level of the detector rule",
          "enum": [
            "CRITICAL",
            "HIGH",
            "MEDIUM",
            "LOW",
            "MINOR"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/RiskLevel"
        },
        "sightingTypes": {
          "description": "List of sighting types",
          "items": {
            "$ref": "#/$defs/SightingType"
          },
          "type": "array"
        },
        "targetTypes": {
          "description": "List of target types for which the detector rule is applicable",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "isEnabled"
      ],
      "type": "object"
    },
    "TargetDetectorRecipe": {
      "description": "A TargetDetectorRecipe resource contains a specific instance of one of the\nsupported detector types (for example, activity, configuration, or threat)\nin which some settings can be modified specifically for a single target.\n\nA TargetDetectorRecipe resource:\n* Is effectively a copy of a DetectorRecipe resource in which users can make\nvery limited changes if it’s Oracle-managed, and more changes if it’s user-managed.\n* Is visible on the Cloud Guard Targets, Target Details page.\n* Is located in a specific OCI compartment.\n* Can be modified by users, programmatically or through the UI.\n* Changes that can be made here override any settings in the corresponding\nDetectorRecipe, of which the TargetDetectorRecipe resource is effectively a copy,\ncreated when the detector recipe is attached to the target.\n",
      "properties": {
        "compartmentId": {
          "description": "Compartment OCID of the detector recipe",
          "type": "string"
        },
        "description": {
          "description": "Detector recipe description.",
          "type": "string"
        },
        "detector": {
          "description": "Type of detector",
          "enum": [
            "IAAS_ACTIVITY_DETECTOR",
            "IAAS_CONFIGURATION_DETECTOR",
            "IAAS_THREAT_DETECTOR",
            "IAAS_LOGGING_DETECTOR",
            "IAAS_LOG_INSIGHT_DETECTOR",
            "SAAS_FA_ACTIVITY_DETECTOR",
            "IAAS_CONTAINER_SECURITY_DETECTOR"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/DetectorEnum"
        },
        "detectorRecipeId": {
          "description": "Unique identifier for of original Oracle-managed detector recipe on which the TargetDetectorRecipe is based",
          "type": "string"
        },
        "detectorRecipeType": {
          "description": "Recipe type ( STANDARD, ENTERPRISE )",
          "enum": [
            "LIMITED",
            "BASIC",
            "STANDARD",
            "ENTERPRISE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/DetectorRecipeEnum"
        },
        "detectorRules": {
          "description": "List of detector rules for the detector recipe - user input",
          "items": {
            "$ref": "#/$defs/TargetDetectorRecipeDetectorRule"
          },
          "type": "array"
        },
        "displayName": {
          "description": "Display name of the detector recipe",
          "type": "string"
        },
        "effectiveDetectorRules": {
          "description": "List of currently enabled detector rules for the detector type for recipe after applying defaults",
          "items": {
            "$ref": "#/$defs/TargetDetectorRecipeDetectorRule"
          },
          "type": "array"
        },
        "id": {
          "description": "OCID for the detector recipe",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "lifecycleState": {
          "description": "The current lifecycle state of the resource",
          "enum": [
            "CREATING",
            "UPDATING",
            "ACTIVE",
            "INACTIVE",
            "DELETING",
            "DELETED",
            "FAILED"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/LifecycleState"
        },
        "locks": {
          "description": "Locks associated with this resource.",
          "items": {
            "$ref": "#/$defs/ResourceLock"
          },
          "maxItems": 1,
          "type": "array"
        },
        "owner": {
          "description": "Owner of the detector recipe",
          "enum": [
            "CUSTOMER",
            "ORACLE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/OwnerType"
        },
        "sourceDataRetention": {
          "description": "The number of days for which source data is retained",
          "type": "integer"
        },
        "timeCreated": {
          "description": "The date and time the target detector recipe was created. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the target detector recipe was last updated. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "displayName",
        "compartmentId",
        "owner",
        "detector",
        "detectorRecipeId"
      ],
      "type": "object"
    },
    "TargetDetectorRecipeDetectorRule": {
      "description": "A TargetDetectorRecipeDetectorRule resource contains a specific instance of a\nsingle detector rule in one of the supported detector types (for example,\nactivity, configuration, or threat).\n\nA TargetDetectorRecipeDetectorRule resource:\n* Is effectively a copy of a DetectorRecipeRule resource (made when\na detector recipe is attached to a target) in which users can make\ncertain changes if it’s Oracle-managed, and other changes if it’s user-managed.\n* Is visible on the Cloud Guard Targets, Target Details page.\n* Is effectively located in a specific OCI compartment, through the\nThreatDetectorRecipe resource to which it belongs.\n* Can be modified by users, programmatically or through the UI.\n* Changes that can be made here apply locally, to resources in OCI compartments\nmapped to the target that attaches the associated detector recipe\n(in a TargetDetectorRecipe resource), and override any changes made in rules\nassociated with the corresponding DetectorRecipe resource.\n",
      "properties": {
        "dataSourceId": {
          "description": "The ID of the attached data source",
          "type": "string"
        },
        "description": {
          "description": "Description for TargetDetectorRecipeDetectorRule resource",
          "type": "string"
        },
        "details": {
          "$ref": "#/$defs/TargetDetectorDetails"
        },
        "detector": {
          "description": "Detector type for the rule",
          "enum": [
            "IAAS_ACTIVITY_DETECTOR",
            "IAAS_CONFIGURATION_DETECTOR",
            "IAAS_THREAT_DETECTOR",
            "IAAS_LOGGING_DETECTOR",
            "IAAS_LOG_INSIGHT_DETECTOR",
            "SAAS_FA_ACTIVITY_DETECTOR",
            "IAAS_CONTAINER_SECURITY_DETECTOR"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/DetectorEnum"
        },
        "detectorRuleId": {
          "description": "The unique identifier of the detector rule",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "displayName": {
          "description": "Display name for TargetDetectorRecipeDetectorRule resource",
          "type": "string"
        },
        "entitiesMappings": {
          "description": "Data source entities mapping for a detector rule",
          "items": {
            "$ref": "#/$defs/EntitiesMapping"
          },
          "type": "array"
        },
        "isCloneable": {
          "description": "Is the rule cloneable?",
          "type": "boolean"
        },
        "lifecycleDetails": {
          "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.",
          "type": "string"
        },
        "lifecycleState": {
          "description": "The current lifecycle state of the detector rule",
          "enum": [
            "CREATING",
            "UPDATING",
            "ACTIVE",
            "INACTIVE",
            "DELETING",
            "DELETED",
            "FAILED"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/LifecycleState"
        },
        "locks": {
          "description": "Locks associated with this resource.",
          "items": {
            "$ref": "#/$defs/ResourceLock"
          },
          "maxItems": 1,
          "type": "array"
        },
        "managedListTypes": {
          "description": "List of managed list types related to this rule",
          "items": {
            "enum": [
              "CIDR_BLOCK",
              "USERS",
              "GROUPS",
              "IPV4ADDRESS",
              "IPV6ADDRESS",
              "RESOURCE_OCID",
              "REGION",
              "COUNTRY",
              "STATE",
              "CITY",
              "TAGS",
              "GENERIC",
              "FUSION_APPS_ROLE",
              "FUSION_APPS_PERMISSION",
              "NAMESPACE_SELECTOR",
              "POD_RESOURCE_SELECTOR"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "recommendation": {
          "description": "Recommendation for TargetDetectorRecipeDetectorRule resource",
          "type": "string"
        },
        "resourceType": {
          "description": "The type of resource which is monitored by the detector rule.\nFor example, Instance, Database, VCN, Policy. To find the resource type for a\nparticular rule, see [Detector Recipe Reference]\n(/iaas/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).\n\nOr try [Detector Recipe Reference]\n(/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).\n",
          "type": "string"
        },
        "ruleType": {
          "description": "Rule category type",
          "items": {
            "$ref": "#/$defs/RuleType"
          },
          "type": "array"
        },
        "serviceType": {
          "description": "Service type of the configuration to which the rule is applied",
          "type": "string"
        },
        "sourceDetectorRuleId": {
          "description": "The unique identifier of the source detector rule",
          "type": "string"
        },
        "timeCreated": {
          "description": "The date and time the target detector recipe rule was created. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the target detector recipe rule was last updated. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "detectorRuleId",
        "serviceType",
        "resourceType",
        "detector"
      ],
      "type": "object"
    },
    "TargetResponderRecipe": {
      "description": "A TargetResponderRecipe resource contains a specific instance of one of the\nsupported detector types (for example, activity, configuration, or threat)\nin which some settings can be modified specifically for a single target.\n\nA TargetResponderRecipe resource:\n* Is effectively a copy of a ResponderRecipe resource in which users can make\nvery limited changes if it’s Oracle-managed, and more changes if it’s user-managed.\n* Is visible on the Cloud Guard Targets, Target Details page.\n* Is located in a specific OCI compartment.\n* Can be modified by users, programmatically or through the UI.\n* Changes that can be made here override any settings in the corresponding\nResponderRecipe, of which the TargetResponderRecipe resource is effectively a copy\nof the ResponderRecipe resource (effectively created when the detector recipe\nis attached to the target).\n",
      "properties": {
        "compartmentId": {
          "description": "Compartment OCID",
          "type": "string"
        },
        "description": {
          "description": "Target responder description",
          "type": "string"
        },
        "displayName": {
          "description": "Target responder recipe display name",
          "type": "string"
        },
        "effectiveResponderRules": {
          "description": "List of currently enabled responder rules for the responder type for recipe after applying defaults",
          "items": {
            "$ref": "#/$defs/TargetResponderRecipeResponderRule"
          },
          "type": "array"
        },
        "id": {
          "description": "Unique identifier of target responder recipe that can't be changed after creation",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "locks": {
          "description": "Locks associated with this resource.",
          "items": {
            "$ref": "#/$defs/ResourceLock"
          },
          "maxItems": 1,
          "type": "array"
        },
        "owner": {
          "description": "Owner of target responder recipe",
          "enum": [
            "CUSTOMER",
            "ORACLE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/OwnerType"
        },
        "responderRecipeId": {
          "description": "Unique identifier for the Oracle-managed responder recipe from which this recipe was cloned",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "responderRules": {
          "description": "List of responder rules associated with the recipe - user input",
          "items": {
            "$ref": "#/$defs/TargetResponderRecipeResponderRule"
          },
          "type": "array"
        },
        "timeCreated": {
          "description": "The date and time the target responder recipe rule was created. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the target responder recipe rule was last updated. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "id",
        "compartmentId",
        "responderRecipeId",
        "displayName",
        "description",
        "owner"
      ],
      "type": "object"
    },
    "TargetResponderRecipeResponderRule": {
      "description": "A TargetResponderRecipeResponderRule resource contains a specific instance of a\nsingle responder rule.\n\nA TargetResponderRecipeRule resource:\n* Is effectively a copy of a ResponderRecipeRule resource in which users can\nmake certain changes if it’s Oracle-managed, and other changes if it’s user-managed.\n* Is visible on the Cloud Guard Targets, Target Details page.\n* Is effectively located in a specific OCI compartment, through the\nThreatResponderRecipe resource to which it belongs.\n* Can be modified by users, programmatically or through the UI.\n* Changes that can be made here apply locally, to resources in OCI compartments mapped\nto the target that attaches the associated responder recipe (in a TargetResponderRecipe\nresource), and override any changes made in rules associated with the corresponding\nResponderRecipe resource.\n",
      "properties": {
        "compartmentId": {
          "description": "Compartment OCID",
          "type": "string"
        },
        "description": {
          "description": "Responder rule description",
          "type": "string"
        },
        "details": {
          "$ref": "#/$defs/ResponderRuleDetails"
        },
        "displayName": {
          "description": "Responder rule display name",
          "type": "string"
        },
        "lifecycleDetails": {
          "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.",
          "type": "string"
        },
        "lifecycleState": {
          "description": "The current lifecycle state of the responder rule",
          "enum": [
            "CREATING",
            "UPDATING",
            "ACTIVE",
            "INACTIVE",
            "DELETING",
            "DELETED",
            "FAILED"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/LifecycleState"
        },
        "policies": {
          "description": "List of policies",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "responderRuleId": {
          "description": "Unique identifier for the responder rule",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "supportedModes": {
          "description": "Supported execution modes for the responder rule",
          "items": {
            "enum": [
              "AUTOACTION",
              "USERACTION"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "timeCreated": {
          "description": "The date and time the target responder recipe rule was created. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the target responder recipe rule was last updated. Format defined by RFC3339.",
          "format": "date-time",
          "type": "string"
        },
        "type": {
          "description": "Type of responder",
          "enum": [
            "REMEDIATION",
            "NOTIFICATION"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/ResponderType"
        }
      },
      "required": [
        "responderRuleId",
        "compartmentId"
      ],
      "type": "object"
    }
  }
}