{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-managed-list-schema.json",
  "title": "ManagedList",
  "description": "A managed list is a reusable list of parameters that makes it easier to set the scope for detector and responder rules. A ManagedList resource contains the reusable list of parameters, plus metadata for the list.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-cloudguard-api-openapi.yml#/components/schemas/ManagedList",
  "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": "Managed list description",
      "type": "string"
    },
    "displayName": {
      "description": "Managed list display name",
      "type": "string"
    },
    "feedProvider": {
      "description": "Provider of the managed list feed",
      "enum": [
        "CUSTOMER",
        "ORACLE"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/FeedProviderType"
    },
    "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"
    },
    "group": {
      "description": "Managed list type group",
      "type": "string"
    },
    "id": {
      "description": "Unique identifier that can't be changed after creation",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "isEditable": {
      "description": "Is this list editable?",
      "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.",
      "maxLength": 50,
      "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"
    },
    "lifecyleDetails": {
      "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. [DEPRECATE]",
      "type": "string"
    },
    "listItems": {
      "description": "List of items in the managed list",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "listType": {
      "description": "Type of information contained in the managed list",
      "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",
      "x-obmcs-top-level-enum": "#/definitions/ManagedListType"
    },
    "sourceManagedListId": {
      "description": "OCID of the source managed list",
      "type": "string"
    },
    "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"
    },
    "timeCreated": {
      "description": "The date and time the managed list was created. Format defined by RFC3339.",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The date and time the managed list was last updated. Format defined by RFC3339.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "id",
    "compartmentId",
    "displayName",
    "listType"
  ],
  "type": "object"
}