Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Target

A target defines the scope of resources that Cloud Guard monitors and the rules to be enforced in that monitoring. A Target resource contains the settings for a specific target.

Properties

compartmentId

compartmentId: string

Compartment OCID where the resource is created

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 target description

Optional displayName

displayName: undefined | string

Target 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.

id

id: string

Unique identifier that can't be changed after creation

Optional inheritedByCompartments

inheritedByCompartments: Array<string>

List of inherited compartments

Optional lifecycleState

lifecycleState: model.LifecycleState

The current lifecycle state of the target

Optional lifecyleDetails

lifecyleDetails: undefined | string

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]

recipeCount

recipeCount: number

Total number of recipes attached to target Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

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 targetDetails

targetDetails: model.SecurityZoneTargetDetails

Optional targetDetectorRecipes

targetDetectorRecipes: Array<TargetDetectorRecipe>

List of detector recipes attached to target

targetResourceId

targetResourceId: string

Resource ID which the target uses to monitor

targetResourceType

targetResourceType: TargetResourceType

Type of target

Optional targetResponderRecipes

targetResponderRecipes: Array<TargetResponderRecipe>

List of responder recipes attached to target

Optional timeCreated

timeCreated: Date

The date and time the target was created. Format defined by RFC3339.

Optional timeUpdated

timeUpdated: Date

The date and time the target was last updated. Format defined by RFC3339.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Target): object

getJsonObj

  • getJsonObj(obj: Target): object