/** * Cloud Guard and Security Zones API * Use the Cloud Guard and Security Zones API to automate processes that you would otherwise perform through the Cloud Guard Console or the Security Zones Console. For more information on these services, see the [Cloud Guard](https://docs.oracle.com/iaas/cloud-guard/home.htm) and [Security Zones](https://docs.oracle.com/iaas/security-zone/home.htm) documentation. **Note:** For Cloud Guard, you can perform Create, Update, and Delete operations only from the reporting region of your Cloud Guard tenancy. You can perform Read operations from any region. * OpenAPI spec version: 20200131 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Information for a detector rule (DetectorRule object). */ export interface DetectorRule { /** * The unique identifier of the detector rule */ "id": string; /** * Display name for the detector rule */ "displayName"?: string; /** * Description for the detector rule */ "description"?: string; /** * Recommendation for the detector rule */ "recommendation"?: string; /** * Detector recipe for the rule */ "detector": model.DetectorEnum; /** * Service type of the configuration to which the rule is applied */ "serviceType": string; /** * Resource type of the configuration to which the rule is applied */ "resourceType": string; "detectorDetails"?: model.DetectorDetails; /** * List of managed list types related to this rule */ "managedListTypes"?: Array; /** * List of responder rules that could be used to remediate a problem triggered by this detector rule */ "candidateResponderRules"?: Array; /** * The date and time the detector rule was created. Format defined by RFC3339. */ "timeCreated"?: Date; /** * The date and time the detector rule was updated. Format defined by RFC3339. */ "timeUpdated"?: Date; /** * The current state of the detector rule */ "lifecycleState"?: model.LifecycleState; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ "lifecycleDetails"?: string; /** * Locks associated with this resource. */ "locks"?: Array; } export declare namespace DetectorRule { enum ManagedListTypes { CidrBlock = "CIDR_BLOCK", Users = "USERS", Groups = "GROUPS", Ipv4Address = "IPV4ADDRESS", Ipv6Address = "IPV6ADDRESS", ResourceOcid = "RESOURCE_OCID", Region = "REGION", Country = "COUNTRY", State = "STATE", City = "CITY", Tags = "TAGS", Generic = "GENERIC", FusionAppsRole = "FUSION_APPS_ROLE", FusionAppsPermission = "FUSION_APPS_PERMISSION", NamespaceSelector = "NAMESPACE_SELECTOR", PodResourceSelector = "POD_RESOURCE_SELECTOR", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: DetectorRule): object; function getDeserializedJsonObj(obj: DetectorRule): object; }