/** * 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"; /** * A security policy (SecurityPolicy resource) defines security requirements * for resources in a security zone. If a security zone enables a security policy through * a security recipe (SecurityRecipe resource), then any action that would violate that * policy is blocked. * */ export interface SecurityPolicy { /** * Unique identifier that can\u2019t be changed after creation */ "id": string; /** * A shorter version of the security policy's name */ "friendlyName"?: string; /** * The security policy's display name */ "displayName"?: string; /** * The security policy's description */ "description"?: string; /** * The OCID of the security policy's compartment */ "compartmentId": string; /** * The owner of the security policy */ "owner": model.OwnerType; /** * The category of the security policy */ "category"?: string; /** * The list of services that the security policy protects */ "services"?: Array; /** * The time the security policy was created. An RFC3339 formatted datetime string. */ "timeCreated"?: Date; /** * The time the security policy was last updated. An RFC3339 formatted datetime string. */ "timeUpdated"?: Date; /** * The current lifecycle state of the security policy */ "lifecycleState"?: model.LifecycleState; /** * A message describing the current state in more detail. For example, this can be used to provide actionable information for a resource in a {@code Failed} state. */ "lifecycleDetails"?: string; /** * Locks associated with this resource. */ "locks"?: Array; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} *

Avoid entering confidential information. * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * System tags for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * System tags can be viewed by users, but can only be created by the system. *

Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any; }; }; } export declare namespace SecurityPolicy { function getJsonObj(obj: SecurityPolicy): object; function getDeserializedJsonObj(obj: SecurityPolicy): object; }