Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace SecurityPolicy

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.

Properties

Optional category

category: undefined | string

The category of the security policy

compartmentId

compartmentId: string

The OCID of the security policy's compartment

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {@code {"foo-namespace": {"bar-key": "value"}}}

Optional description

description: undefined | string

The security policy's description

Optional displayName

displayName: undefined | string

The security policy's display name

Optional freeformTags

freeformTags: undefined | object

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.

Optional friendlyName

friendlyName: undefined | string

A shorter version of the security policy's name

id

id: string

Unique identifier that can\u2019t be changed after creation

Optional lifecycleDetails

lifecycleDetails: undefined | string

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.

Optional lifecycleState

lifecycleState: model.LifecycleState

The current lifecycle state of the security policy

Optional locks

Locks associated with this resource.

owner

owner: OwnerType

The owner of the security policy

Optional services

services: Array<string>

The list of services that the security policy protects

Optional systemTags

systemTags: undefined | object

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: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}

Optional timeCreated

timeCreated: Date

The time the security policy was created. An RFC3339 formatted datetime string.

Optional timeUpdated

timeUpdated: Date

The time the security policy was last updated. An RFC3339 formatted datetime string.

Functions

getDeserializedJsonObj

getJsonObj