Skip to main content
Version: 3.2.0

amelookupreferences Command

Description

The amelookupreferences command is used to lookup referencing objects for an object.

Syntax

The required syntax is bold.

amelookupreferences

[tenant_uid=<tenant_uid>] [type=<type>] [object_name=<object_name>] [key=<key>]

Optional arguments

key
Syntax: key=<key> Description: The name of the key to lookup.

tenant_uid
Syntax: tenant_uid=<tenant_uid> Description: The name of the object to lookup.

object_name
Syntax: object_name=<object_name> Description: The ID of the tenant to lookup in.

type
Syntax: type=<type>
Description: The type of the object to lookup, one of "tenant", "template", "notification", "notification_target", "notification_template", "status_option", "resolution", "rule". Example: type="default,sec,ops"

Examples

  1. Get references for templates in tenant soc for object soc-high-general

| amelookupreferences type=template tenant_uid=soc object_name=soc-high-general

  1. Get references for notifications in tenant ops for object ops-mail

| amelookupreferences type=notification tenant_uid=ops object_name=ops-mail