name stringlengths 3 72 | description stringlengths 141 229 | ci_type stringlengths 11 38 | pattern_type stringclasses 4
values | pattern stringlengths 196 32k | pattern_commented stringlengths 393 48.2k |
|---|---|---|---|---|---|
Collect A10 Partition info | I would like for you to help me build a Pattern that helps achieve Discovery of Collect A10 Partition info. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect A10 Partition info"
id = "e3e97c7f1b891410eb04a86dee4bcb59"
description = "Collect Partition info"
step {
name = "Get Partition details"
runcmd_to_var {
cmd = "show partition"
var_names = "partition_info"
parsing_strategy = delimited_parsing {
exclude_lines_pattern = "Tota... | library {
name = "Collect A10 Partition info"
id = "e3e97c7f1b891410eb04a86dee4bcb59" // Unique identifier for the pattern
description = "Collect Partition info" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in... |
Kubernetes Node | I would like for you to help me build a Pattern that helps achieve Discovery of Kubernetes Node. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Kubernetes Node"
id = "e41944be9f1213002b9b92ec757fcf08"
description = ""
step {
name = "get nodes"
comment = "getting nodes from kubernetes api server"
custom_operation {
attributes {attribute {
name = "resource"
value = "nodes"
}}
sys_id_op = "354649149f7303002ae692ec75... | library {
name = "Kubernetes Node"
id = "e41944be9f1213002b9b92ec757fcf08" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "get nodes"... |
Tomcat fill tomcat connector | I would like for you to help me build a Pattern that helps achieve Discovery of Tomcat fill tomcat connector. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Tomcat fill tomcat connector"
id = "e443f7e613243200de495aff3244b0d2"
description = "null"
step {
name = "Get connectors from server.xml"
parse_text_file_to_var {
file_path = get_files_by_filter {
expression = concat {
get_attr {"install_directory"}
"/conf/server.xml"
}
... | library {
name = "Tomcat fill tomcat connector"
id = "e443f7e613243200de495aff3244b0d2" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Amazon LB Pool Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon LB Pool Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon LB Pool Tags"
id = "e4d07944dbcb44109149f2131f9619f1"
description = "Amazon LB Pool Tags"
step {
name = "Build lb_arn_parameter"
set_attr {
"lb_arn_parameter"
eval {"javascript: var target_group = ${cmdb_ci_lb_pool[*].object_id};
var rtrn = \"\";
for (var j = 0; j < target_group.... | library {
name = "Amazon LB Pool Tags"
id = "e4d07944dbcb44109149f2131f9619f1" // Unique identifier for the pattern
description = "Amazon LB Pool Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
Public IP Address Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Public IP Address Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Public IP Address Tags"
id = "e5569d33dbbec0109149f2131f961955"
description = "Public IP Address Tags"
step {
name = "Parse Public IP Address tags"
parse_var_to_var {
from_var_name = "addresses_rest"
to_var_names = table {
name = "cmdb_key_value"
col_names = "object_id","key","va... | library {
name = "Public IP Address Tags"
id = "e5569d33dbbec0109149f2131f961955" // Unique identifier for the pattern
description = "Public IP Address Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the... |
SNMP - CDP and LLDP | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - CDP and LLDP. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - CDP and LLDP"
id = "ea3f48e6db692200868a7c841f9619f1"
description = "null"
step {
name = "Create shouldDiscoverL2CacheProtocols"
comment = "Indicates whether we should run CDP\\LLDP partValue determined by cdpGlobalDeviceId & lldpLocSysNameDefault is \u201Cfalse\u201D"
set_attr {
"... | library {
name = "SNMP - CDP and LLDP"
id = "ea3f48e6db692200868a7c841f9619f1" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Cr... |
Netscaler SNMP queries for getting configuration | I would like for you to help me build a Pattern that helps achieve Discovery of Netscaler SNMP queries for getting configuration. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Netscaler SNMP queries for getting configuration"
id = "a7533f08fb5b3200a4e6710a51af8738"
description = "null"
step {
name = "Get Servers"
comment = "NetScaler servers information"
run_snmp_to_var {
snmp_object_ids = table {
name = "1.3.6.1.4.1.5951.4.1.2.2.1"
col_names = "1","2",... | library {
name = "Netscaler SNMP queries for getting configuration"
id = "a7533f08fb5b3200a4e6710a51af8738" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of action... |
Collect Azure Subscription Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Collect Azure Subscription Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect Azure Subscription Tags"
id = "8244bb5f1bcc05d0b17699798b4bcbe0"
description = "null"
step {
name = "get tags response"
custom_operation {
attributes {
attribute {
name = "url"
value = "https://management.azure.com/subscriptions?api-version=2020-01-01"
}
attrib... | library {
name = "Collect Azure Subscription Tags" // Script execution: Custom script to perform a specific action or collect data
id = "8244bb5f1bcc05d0b17699798b4bcbe0" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { ... |
Get MySql Health Report | I would like for you to help me build a Pattern that helps achieve Discovery of Get MySql Health Report. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get MySql Health Report"
id = "83ef8348db7f9810bbbd78fdaa9619d7"
description = "Get MySql Health Report"
step {
name = "filter system properties"
filter {
src_table_name = "sys_properties"
target_table_name = "sys_properties"
condition = all {
eq {
get_attr {"sys_properties[]... | library {
name = "Get MySql Health Report"
id = "83ef8348db7f9810bbbd78fdaa9619d7" // Unique identifier for the pattern
description = "Get MySql Health Report" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in t... |
Amazon AWS - Get Internet Gateways data | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Internet Gateways data. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Internet Gateways data"
id = "92642936733123004ad1d6dcb7f6a7d9"
description = "null"
step {
name = "Parse all gateways"
if {
condition = is_not_empty {get_attr {"igateway_rest"}}
on_true = parse_var_to_var {
from_var_name = "igateway_rest"
to_var_names = table {
... | library {
name = "Amazon AWS - Get Internet Gateways data"
id = "92642936733123004ad1d6dcb7f6a7d9" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
VPN Connection Tags | I would like for you to help me build a Pattern that helps achieve Discovery of VPN Connection Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "VPN Connection Tags"
id = "9cf6e640dbc784109149f2131f9619af"
description = "VPN Connection Tags"
step {
name = "extract tags"
parse_var_to_var {
from_var_name = "vpn_conn_rest"
to_var_names = table {
name = "cmdb_key_value"
col_names = "object_id","key","value"
}
parsing_st... | library {
name = "VPN Connection Tags"
id = "9cf6e640dbc784109149f2131f9619af" // Unique identifier for the pattern
description = "VPN Connection Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
Linux - Network ARP Tables | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Network ARP Tables. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Network ARP Tables"
id = "84538fe39f2032001d753758442e7086"
description = "null"
step {
name = "Get ARP details using iproute2"
runcmd_to_var {
cmd = "ip n | awk '{print $1,$3,$5}'"
var_names = table {
name = "ARP_table"
col_names = "ip","ifName","mac"
}
parsing_st... | library {
name = "Linux - Network ARP Tables"
id = "84538fe39f2032001d753758442e7086" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Azure Resource Group Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Resource Group Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Resource Group Tags"
id = "9c8cfa2ddbd91010b2a1f962759619ca"
description = "Azure Resource Group Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Resource Group Tags\");
var resource_table = new Pac... | library {
name = "Azure Resource Group Tags"
id = "9c8cfa2ddbd91010b2a1f962759619ca" // Unique identifier for the pattern
description = "Azure Resource Group Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions ... |
SNMP - Switching | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - Switching. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - Switching"
id = "8a93d76fdba52200868a7c841f9619be"
description = "null"
step {
name = "Get dot1dTpFdbTable"
comment = "mgmt.mib-2.dot1dBridge.dot1dTp.dot1dTpFdbTable
http://oid-info.com/get/1.3.6.1.2.1.17.4.3Represents forwarding table entries for dscy_swtch_fwd_rule & discovery_switch_... | library {
name = "SNMP - Switching"
id = "8a93d76fdba52200868a7c841f9619be" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get d... |
MS SQL Enrich Attribute Library | I would like for you to help me build a Pattern that helps achieve Discovery of MS SQL Enrich Attribute Library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "MS SQL Enrich Attribute Library"
id = "9c3db3fb51234dbabc963f7c35ddc3ab"
description = "null"
step {
name = "set port variable if empty"
set_attr {
"ms_port"
get_attr {"tcp_port"}
}
}
step {
name = "Port from last connection"
find_registry_val_to_var {
key_base_dir = "HKEY_LOC... | library {
name = "MS SQL Enrich Attribute Library"
id = "9c3db3fb51234dbabc963f7c35ddc3ab" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
RHV Create Service Account from Input Parameters | I would like for you to help me build a Pattern that helps achieve Discovery of RHV Create Service Account from Input Parameters. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "RHV Create Service Account from Input Parameters"
id = "84a49573db7c4050390390c7db961974"
description = ""
step {
name = "Create Service Account Table if doesn't exist"
if {
condition = is_empty {get_attr {"service_account[1].object_id"}}
on_true = parse_var_to_var {
from_var_name = ... | library {
name = "RHV Create Service Account from Input Parameters"
id = "84a49573db7c4050390390c7db961974" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in... |
Azure - parse response columns (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Azure - parse response columns (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure - parse response columns (LP)"
id = "84ecd7b9db911010b2a1f962759619f2"
description = "This pattern should be in sync with - Azure - parse response columns (LP) Global"
step {
name = "Parse response columns"
custom_operation {
attributes {
attribute {
name = "source"
valu... | library {
name = "Azure - parse response columns (LP)"
id = "84ecd7b9db911010b2a1f962759619f2" // Unique identifier for the pattern
description = "This pattern should be in sync with - Azure - parse response columns (LP) Global" // Script execution: Custom script to perform a specific action or collect data
step { ... |
Google VM - Get images | I would like for you to help me build a Pattern that helps achieve Discovery of Google VM - Get images. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google VM - Get images"
id = "9b0d950b0b072300a47f8e4335673a68"
description = "null"
step {
name = "Get OS templates"
comment = "pg - this data should not be needed if the pattern is triggered by event, as the table is not related to VM Instance."
if {
condition = is_empty {get_attr {"inp... | library {
name = "Google VM - Get images"
id = "9b0d950b0b072300a47f8e4335673a68" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Application and Network LB Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Application and Network LB Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Application and Network LB Tags"
id = "8a5a6493739733008c51d6dcb7f6a7d2"
description = "Application and Network LB Tags"
step {
name = "Build lb_arn_parameter"
set_attr {
"lb_arn_parameter"
eval {"javascript: var load_balancer = ${cmdb_ci_cloud_load_balancer[*].LoadBalancerArn};
var targ... | library {
name = "Application and Network LB Tags"
id = "8a5a6493739733008c51d6dcb7f6a7d2" // Unique identifier for the pattern
description = "Application and Network LB Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set... |
Create weblogic module connection on Unix if no connection created | I would like for you to help me build a Pattern that helps achieve Discovery of Create weblogic module connection on Unix if no connection created. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Create weblogic module connection on Unix if no connection created"
id = "93ae7ea8db96978419e5233c8a96191d"
description = "null"
step {
name = "verify we are runningh on Unix and dep_apps empty"
match {
all {
eq {
get_attr {"computer_system.osFamily"}
"UNIX"
}
is_empty... | library {
name = "Create weblogic module connection on Unix if no connection created"
id = "93ae7ea8db96978419e5233c8a96191d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single actio... |
Oracle lightweight | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle lightweight. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle lightweight"
id = "83ec904e9f673200472d5f9bc32e70ed"
description = ""
step {
name = "Match for process"
match {contains {
get_attr {"pre_cmdb_running_process[1].command"}
"tnslsnr"
}}
}
step {
name = "Set tcp_port from entry point"
set_attr {
"tcp_port"
get_attr {... | library {
name = "Oracle lightweight"
id = "83ec904e9f673200472d5f9bc32e70ed" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Match f... |
Oracle OCI - Sub Account Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle OCI - Sub Account Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle OCI - Sub Account Tags"
id = "83ec85ef1b9de8100735a9f36b4bcbdb"
description = "Oracle OCI - Sub Account Tags"
step {
name = "Parse Tags"
ref {refid = "0ad0a5751be960500735a9f36b4bcba6"}
}
step {
name = "Parse definedTags Tags"
ref {refid = "b5b342b11bdf345009b2ed34b24bcba5"}
}
s... | library {
name = "Oracle OCI - Sub Account Tags"
id = "83ec85ef1b9de8100735a9f36b4bcbdb" // Unique identifier for the pattern
description = "Oracle OCI - Sub Account Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of ... |
OpenStack Octavia | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Octavia. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Octavia"
id = "9d1acb24db810010bf2fe0a1ca961996"
description = "null"
step {
name = "Filter the Service publik links"
filter {
src_table_name = "links_public"
target_table_name = "links_lbaas"
condition = eq {
get_attr {"links_public[].type"}
"load-balancer"
}
}... | library {
name = "OpenStack Octavia"
id = "9d1acb24db810010bf2fe0a1ca961996" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Filt... |
IBM Get Private IP Address | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Get Private IP Address. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Get Private IP Address"
id = "9f0f95f1730323008c51d6dcb7f6a725"
description = "null"
step {
name = "List Private IP Adderesses"
custom_operation {
attributes {
attribute {
name = "url"
value = "https://api.softlayer.com/rest/v3/SoftLayer_Account/getObject?objectMask=mask[p... | library {
name = "IBM Get Private IP Address"
id = "9f0f95f1730323008c51d6dcb7f6a725" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
nam... |
Get and Set Serial number on A10 - SSH Commands | I would like for you to help me build a Pattern that helps achieve Discovery of Get and Set Serial number on A10 - SSH Commands. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get and Set Serial number on A10 - SSH Commands"
id = "9e66c4faf3a003004149423423612b28"
description = "Get and Set Serial number on A10 - SSH Commands"
step {
name = "Get Serial Number"
runcmd_to_var {
cmd = "show version | include Serial Number:"
var_names = "serial_number"
parsing_... | library {
name = "Get and Set Serial number on A10 - SSH Commands"
id = "9e66c4faf3a003004149423423612b28" // Unique identifier for the pattern
description = "Get and Set Serial number on A10 - SSH Commands" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: R... |
OpenStack Neutron | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Neutron. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Neutron"
id = "9e5fe5ccdb810010bf2fe0a1ca961937"
description = "null"
step {
name = "Filter the Service publik links"
filter {
src_table_name = "links_public"
target_table_name = "links_neutron"
condition = eq {
get_attr {"links_public[].type"}
"network"
}
}
}
... | library {
name = "OpenStack Neutron"
id = "9e5fe5ccdb810010bf2fe0a1ca961937" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Filt... |
Azure Classic LB Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Classic LB Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Classic LB Tags"
id = "825c9f61db9d1010b2a1f9627596198e"
description = "Azure Classic LB Tags"
step {
name = "Parse Tags"
set_attr {
"tmp"
eval {"javascript: var logger = Packages.com.snc.sw.log.DiscoLog.getLogger(\"Azure Classic LB Tags\");
var resource_table = new Packages.java.u... | library {
name = "Azure Classic LB Tags"
id = "825c9f61db9d1010b2a1f9627596198e" // Unique identifier for the pattern
description = "Azure Classic LB Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the p... |
Identification Simulation lib | I would like for you to help me build a Pattern that helps achieve Discovery of Identification Simulation lib. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Identification Simulation lib"
id = "9e2cd467fe42421bb25e9e5c01250dce"
description = "Identification Simulation library support"
step {
name = "set type"
set_attr {
"citype"
get_attr {"entry_point.targetlabel"}
}
}
step {
name = "set url"
set_attr {
"myurl"
get_attr {"entry... | library {
name = "Identification Simulation lib"
id = "9e2cd467fe42421bb25e9e5c01250dce" // Unique identifier for the pattern
description = "Identification Simulation library support" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single actio... |
Weblogic getting horizontal information | I would like for you to help me build a Pattern that helps achieve Discovery of Weblogic getting horizontal information. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Weblogic getting horizontal information"
id = "82fa8fda0ba00300783b8e4335673a3d"
description = "null"
step {
name = "parse config file"
if {
condition = eq {
get_attr {"RunMode"}
"horizontal"
}
on_true = parse_text_file_to_var {
file_path = get_files_by_filter {
expre... | library {
name = "Weblogic getting horizontal information"
id = "82fa8fda0ba00300783b8e4335673a3d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
Google Cloud Platform (GCP) - Get HTTP LB Pool member | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get HTTP LB Pool member. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Pool member"
id = "83599af2f304330059ec423423612b51"
description = "null"
step {
name = "Get List of instances - pool members per group instance"
comment = "Get List of instances - pool members per group instance.
The eval sends rest query for each in... | library {
name = "Google Cloud Platform (GCP) - Get HTTP LB Pool member"
id = "83599af2f304330059ec423423612b51" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of a... |
AIX - CPU | I would like for you to help me build a Pattern that helps achieve Discovery of AIX - CPU. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "AIX - CPU"
id = "8b62a9d09ffc32001d753758442e7005"
description = ""
step {
name = "Run AIX CPU script file"
custom_operation {
attributes {attribute {
name = "fileName"
value = "cpus.sh"
}}
sys_id_op = "68367a239fc13200e9123758442e7083"
to_var_names = "CpuOutput"
pars... | library {
name = "AIX - CPU"
id = "8b62a9d09ffc32001d753758442e7005" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Run AIX CPU scri... |
Oracle OCI - Subnet Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle OCI - Subnet Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle OCI - Subnet Tags"
id = "9d73f0291bed20500735a9f36b4bcb12"
description = "Oracle OCI - Subnet Tags"
step {
name = "Parse Tags"
ref {refid = "0ad0a5751be960500735a9f36b4bcba6"}
}
step {
name = "Parse definedTags Tags"
ref {refid = "b5b342b11bdf345009b2ed34b24bcba5"}
}
step {
na... | library {
name = "Oracle OCI - Subnet Tags"
id = "9d73f0291bed20500735a9f36b4bcb12" // Unique identifier for the pattern
description = "Oracle OCI - Subnet Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in... |
Amazon AWS - Get Classic LB (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Classic LB (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Classic LB (LP)"
id = "8aa6bc04db8b04109149f2131f9619de"
description = "null"
step {
name = "Get Classic Load Balancers rest response"
comment = "The API call describes the specified load balancers. If no load balancers are specified, the call describes all of the amazon accou... | library {
name = "Amazon AWS - Get Classic LB (LP)"
id = "8aa6bc04db8b04109149f2131f9619de" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern... |
Initial Linux and Windows env flags | I would like for you to help me build a Pattern that helps achieve Discovery of Initial Linux and Windows env flags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Initial Linux and Windows env flags"
id = "9d38c8b313d7fa00d4013192e144b0ed"
description = "null"
step {
name = "set linux_system_process to \"no\""
comment = "set linux_system_process flag to \"no\"."
if {
condition = eq {
get_attr {"computer_system.osFamily"}
"UNIX"
}
on_t... | library {
name = "Initial Linux and Windows env flags"
id = "9d38c8b313d7fa00d4013192e144b0ed" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patt... |
Get Oracle Instance size info | I would like for you to help me build a Pattern that helps achieve Discovery of Get Oracle Instance size info. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Oracle Instance size info"
id = "838bea1adb9bb74003a05561ca9619c4"
description = "Get Oracle Instance size info"
step {
name = "get process PID"
find_process_to_var {
process_id = get_attr {"process.pid"}
cmd_line = ""
working_dir = ""
parent_process_id = ""
ports = ""
va... | library {
name = "Get Oracle Instance size info"
id = "838bea1adb9bb74003a05561ca9619c4" // Unique identifier for the pattern
description = "Get Oracle Instance size info" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of ... |
Amazon AWS - Get VPN Gateways (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get VPN Gateways (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get VPN Gateways (LP)"
id = "8609401f23ed4134b34e0009d72dace5"
description = "null"
step {
name = "Describe VPN gateway"
comment = "AWS rest call to describe the information about the VPN gateways, parsed with the variable 'vpn_gtw_rest'."
if {
condition = is_empty {get_attr ... | library {
name = "Amazon AWS - Get VPN Gateways (LP)"
id = "8609401f23ed4134b34e0009d72dace5" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
Amazon Network Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon Network Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon Network Tags"
id = "9a6540efdbb680109149f2131f9619f6"
description = "Amazon Network Tags"
step {
name = "parse the tags info"
parse_var_to_var {
from_var_name = "rest_resp_network"
to_var_names = table {
name = "cmdb_key_value"
col_names = "key","value","object_id"
}
... | library {
name = "Amazon Network Tags"
id = "9a6540efdbb680109149f2131f9619f6" // Unique identifier for the pattern
description = "Amazon Network Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
Amazon AWS - Parse Virtual Server Images | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Parse Virtual Server Images. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Parse Virtual Server Images"
id = "9a316c46db2a5300d504788dbf9619e4"
description = "null"
step {
name = "Parse the images"
comment = "Filtering is added so that if the pattern is triggered by AWS Instance event, only the Instance resource would be populated/updated."
parse_var_t... | library {
name = "Amazon AWS - Parse Virtual Server Images"
id = "9a316c46db2a5300d504788dbf9619e4" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the... |
Populate WebLogic attributes if missing | I would like for you to help me build a Pattern that helps achieve Discovery of Populate WebLogic attributes if missing. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Populate WebLogic attributes if missing"
id = "9217cc521bd374509a186465604bcbf1"
description = "Populate WebLogic attributes if missing"
step {
name = "validate config.xml"
parse_text_file_to_var {
file_path = get_files_by_filter {
expression = get_attr {"config_file"}
foreach_attri... | library {
name = "Populate WebLogic attributes if missing" // Attribute collection: Collects specific attributes from the discovered CI
id = "9217cc521bd374509a186465604bcbf1" // Unique identifier for the pattern
description = "Populate WebLogic attributes if missing" // Attribute collection: Collects specific attri... |
Kubernetes Label | I would like for you to help me build a Pattern that helps achieve Discovery of Kubernetes Label. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Kubernetes Label"
id = "96c770fe9f5213002b9b92ec757fcf59"
description = "null"
step {
name = "union pods label and service labels in labels"
union {
table1_name = "pod_labels"
table2_name = "service_labels"
result_table_name = "cmdb_key_value"
}
}
step {
name = "add namespace l... | library {
name = "Kubernetes Label"
id = "96c770fe9f5213002b9b92ec757fcf59" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "union... |
Windows - Storage | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Storage. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Storage"
id = "87e5921edbc12200c06776231f96190a"
description = ""
step {
name = "******* Storage - Gathering Common Information *******"
comment = "Still have to implement PowerShell part of the discovery
Need to activate ServiceMapping to use upload file & then use \"Put file\" comm... | library {
name = "Windows - Storage"
id = "87e5921edbc12200c06776231f96190a" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "******* ... |
OpenStack Glance | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Glance. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Glance"
id = "94b8c179dbb00010bf2fe0a1ca961920"
description = "null"
step {
name = "Filter the Service publik links"
filter {
src_table_name = "links_public"
target_table_name = "links_glance"
condition = contains {
get_attr {"links_public[].type"}
"image"
}
}
... | library {
name = "OpenStack Glance"
id = "94b8c179dbb00010bf2fe0a1ca961920" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Filte... |
AIX - OS Patches | I would like for you to help me build a Pattern that helps achieve Discovery of AIX - OS Patches. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "AIX - OS Patches"
id = "96bf99509ffc32001d753758442e70f7"
description = ""
step {
name = "Get OS patches"
runcmd_to_var {
cmd = "instfix -i | grep AIX_ML"
var_names = table {
name = "OSpatches"
col_names = "patch"
}
parsing_strategy = delimited_parsing {
delimiters = " ... | library {
name = "AIX - OS Patches"
id = "96bf99509ffc32001d753758442e70f7" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get OS pa... |
sim mon lib | I would like for you to help me build a Pattern that helps achieve Discovery of sim mon lib. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "sim mon lib"
id = "89630abaefc445b8a437ba19a9a7e2fe"
description = "sim mon lib"
step {
name = "set latency"
set_attr {
"latency"
eval {"java.util.Random r = new java.util.Random(); return r.nextInt(100)+'';"}
}
}
step {
name = "sleep 2 sec"
set_attr {
"xxx"
eval {"sleep(12... | library {
name = "sim mon lib"
id = "89630abaefc445b8a437ba19a9a7e2fe" // Unique identifier for the pattern
description = "sim mon lib" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "set... |
Web Services Connection | I would like for you to help me build a Pattern that helps achieve Discovery of Web Services Connection. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Web Services Connection"
id = "89680abaefc31111a437ba19a9a7e2fe"
description = ""
step {
name = "find wsdl files"
if {
condition = neq {
get_attr {"computer_system.osFamily"}
"WINDOWS"
}
on_true = runcmd_to_var {
cmd = concat {
"find "
get_attr {"entry_point.dire... | library {
name = "Web Services Connection"
id = "89680abaefc31111a437ba19a9a7e2fe" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "fi... |
Oracle Jdbc Connection | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle Jdbc Connection. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fb"
description = "null"
step {
name = "find jdbc in all files"
set_attr {
"files"
eval {"return ctx.getCommandManager().scanDirectoriesForPattern(ctx,java.util.Collections.singletonList(${install_directory}),\"jdbc:oracle\"); ... | library {
name = "Oracle Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fb" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
DB2 Jdbc Connection | I would like for you to help me build a Pattern that helps achieve Discovery of DB2 Jdbc Connection. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "DB2 Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fc"
description = "null"
step {
name = "Validate we got no info from parent"
match {
all {
is_empty {get_attr {"jdbc_conns_mssql"}}
is_empty {get_attr {"jdbc_conns_mysql"}}
is_empty {get_attr {"jdbc_conns_oracle"}}
is_... | library {
name = "DB2 Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fc" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Va... |
MSSQL Jdbc Connection | I would like for you to help me build a Pattern that helps achieve Discovery of MSSQL Jdbc Connection. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "MSSQL Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fe"
description = "null"
step {
name = "Validate we got no info from parent"
match {
all {
is_empty {get_attr {"jdbc_conns_mssql"}}
is_empty {get_attr {"jdbc_conns_mysql"}}
is_empty {get_attr {"jdbc_conns_oracle"}}
i... | library {
name = "MSSQL Jdbc Connection"
id = "89680abaefc345b8a437ba19a9a7e2fe" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "... |
Google Cloud Platform (GCP) - Get TCP - UDP Cloud LB Pool | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - Get TCP - UDP Cloud LB Pool. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud LB Pool"
id = "95f8d1f6734033008c51d6dcb7f6a7db"
description = "null"
step {
name = "Get TCP - UDP Cloud Pool"
ref {refid = "654d99ed732433008c51d6dcb7f6a729"}
}
step {
name = "Get TCP - UDP Cloud Pool Manually"
ref {refid = "305d51217364... | library {
name = "Google Cloud Platform (GCP) - Get TCP - UDP Cloud LB Pool"
id = "95f8d1f6734033008c51d6dcb7f6a7db" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set ... |
RHV Prepare LDC and Service Account | I would like for you to help me build a Pattern that helps achieve Discovery of RHV Prepare LDC and Service Account. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "RHV Prepare LDC and Service Account"
id = "94c61211db450450688e75921f961932"
description = "null"
step {
name = "Create Service Account from Input Parameters"
ref {refid = "84a49573db7c4050390390c7db961974"}
}
step {
name = "Populate cmdb_ci_cloud_service_account"
if {
condition = all... | library {
name = "RHV Prepare LDC and Service Account"
id = "94c61211db450450688e75921f961932" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patt... |
Get Oracle Health Report | I would like for you to help me build a Pattern that helps achieve Discovery of Get Oracle Health Report. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Oracle Health Report"
id = "97371bc01b6f105468cb62ca234bcb8c"
description = "Get Oracle Health Report"
step {
name = "filter system properties"
filter {
src_table_name = "sys_properties"
target_table_name = "sys_properties"
condition = all {
eq {
get_attr {"sys_properties... | library {
name = "Get Oracle Health Report"
id = "97371bc01b6f105468cb62ca234bcb8c" // Unique identifier for the pattern
description = "Get Oracle Health Report" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in... |
Collect Azure DataBase Tags (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Collect Azure DataBase Tags (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect Azure DataBase Tags (LP)"
id = "9767585b87b4e9103e71b955dabb3583"
description = "Collect Azure DataBase Tags (LP)"
step {
name = "Parse DB server tags"
if {
condition = is_not_empty {get_attr {"resource_response"}}
on_true = set_attr {
"tmp"
eval {"javascript: var logger ... | library {
name = "Collect Azure DataBase Tags (LP)"
id = "9767585b87b4e9103e71b955dabb3583" // Unique identifier for the pattern
description = "Collect Azure DataBase Tags (LP)" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or s... |
Azure SQL Server License | I would like for you to help me build a Pattern that helps achieve Discovery of Azure SQL Server License. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure SQL Server License"
id = "899a62f91b6ed8d010a6dce7cc4bcba1"
description = "Azure SQL Server License"
step {
name = "Parse License"
custom_operation {
attributes {
attribute {
name = "source"
value = "resource_response"
}
attribute {
name = "source_column"
... | library {
name = "Azure SQL Server License"
id = "899a62f91b6ed8d010a6dce7cc4bcba1" // Unique identifier for the pattern
description = "Azure SQL Server License" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in... |
Fortinet Firewall Discovery | I would like for you to help me build a Pattern that helps achieve Discovery of Fortinet Firewall Discovery. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Fortinet Firewall Discovery"
id = "99dd5027dbab84147faf89584b961938"
description = "null"
step {
name = "Set Firewall Cluster Name"
run_snmp_to_var {
snmp_object_ids = "1.3.6.1.4.1.12356.101.13.1.7"
var_names = "firewallClusterName"
if_not_found_do = nop {}
cache_flag = 0
}
}
s... | library {
name = "Fortinet Firewall Discovery"
id = "99dd5027dbab84147faf89584b961938" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
na... |
Amazon AWS - Get Logical Datacenter | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Logical Datacenter. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Logical Datacenter"
id = "82142007db8623001348f1351d961943"
description = ""
step {
name = "Check if there are LDCs"
set_attr {
"is_ldc"
eval {"javascript: var ans = 'false';
if (${cmdb_ci_aws_datacenter}.size() > 0){
var first_region = ${cmdb_ci_aws_datacenter}.get(... | library {
name = "Amazon AWS - Get Logical Datacenter"
id = "82142007db8623001348f1351d961943" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Azure Subscription tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Subscription tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Subscription tags"
id = "952ca4ed97e291d019473d5e6253af7f"
description = "Azure Subscription tags"
step {
name = "get tags response"
custom_operation {
attributes {
attribute {
name = "url"
value = "https://management.azure.com/subscriptions?api-version=2020-01-01"
}... | library {
name = "Azure Subscription tags" // Script execution: Custom script to perform a specific action or collect data
id = "952ca4ed97e291d019473d5e6253af7f" // Unique identifier for the pattern
description = "Azure Subscription tags" // Script execution: Custom script to perform a specific action or collect da... |
Amazon AWS - Get Cloud Network customers gateway data | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Cloud Network customers gateway data. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Cloud Network customers gateway data"
id = "996c6517db2a1300d504788dbf961970"
description = "null"
step {
name = "Describe customer gateways"
comment = "AWS rest call 'describeCustomerGateways' for obtaining the data needed for populating data for the 'cmdb_ci_customer_gateway... | library {
name = "Amazon AWS - Get Cloud Network customers gateway data"
id = "996c6517db2a1300d504788dbf961970" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of a... |
Amazon AWS Serverless Database Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS Serverless Database Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS Serverless Database Tags"
id = "99bc249687d6dd107d1c7669cebb350d"
description = "Amazon AWS Serverless Database Tags"
step {
name = "Parse the tags"
custom_operation {
attributes {
attribute {
name = "source"
value = "DescribeDBClusters_response"
}
attribute... | library {
name = "Amazon AWS Serverless Database Tags"
id = "99bc249687d6dd107d1c7669cebb350d" // Unique identifier for the pattern
description = "Amazon AWS Serverless Database Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single actio... |
Amazon AWS - Get Virtual Server Network Interfaces | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Virtual Server Network Interfaces. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Virtual Server Network Interfaces"
id = "8794ac86db2a5300d504788dbf96197b"
description = "null"
step {
name = "Parse NICs"
if {
condition = is_not_empty {get_attr {"input_object_id"}}
on_true = parse_var_to_var {
from_var_name = "rest_resp_instance"
to_var_names ... | library {
name = "Amazon AWS - Get Virtual Server Network Interfaces"
id = "8794ac86db2a5300d504788dbf96197b" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of acti... |
Google GCP - Get HTTP LB Data | I would like for you to help me build a Pattern that helps achieve Discovery of Google GCP - Get HTTP LB Data. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google GCP - Get HTTP LB Data"
id = "89eec53ef340330059ec423423612ba3"
description = "null"
step {
name = "Validate initial data"
match {
is_not_empty {get_attr {"service_account"}}
terminate_op = terminate
terminate_msg = ""
}
}
step {
name = "Get UrlMap LB HTTP rest response"
... | library {
name = "Google GCP - Get HTTP LB Data"
id = "89eec53ef340330059ec423423612ba3" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Amazon AWS - Get Public IPs (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Public IPs (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Public IPs (LP)"
id = "93e60e5a5dea49979b43e967fefac4de"
description = "null"
step {
name = "Describe EIP addreses"
comment = "This step is a AWS rest call for obtaining all the Elastic IPs."
custom_operation {
attributes {
attribute {
name = "url"
value = c... | library {
name = "Amazon AWS - Get Public IPs (LP)"
id = "93e60e5a5dea49979b43e967fefac4de" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern... |
Extend Oracle Instance | I would like for you to help me build a Pattern that helps achieve Discovery of Extend Oracle Instance. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Extend Oracle Instance"
id = "9933b7581b811010bcef98e8bc4bcb19"
description = "Extend Oracle Instance"
step {
name = "verify HD mode"
match {
eq {
get_attr {"discovery_type"}
"horizontal"
}
terminate_op = graceful
terminate_msg = "Extend Oracle Instance section running for ... | library {
name = "Extend Oracle Instance"
id = "9933b7581b811010bcef98e8bc4bcb19" // Unique identifier for the pattern
description = "Extend Oracle Instance" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the... |
Linux - Cluster | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Cluster. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Cluster"
id = "98ab8ecf4f7a0b40a9f9011f0310c78d"
description = "null"
step {
name = "Linux - Red Hat Cluster"
ref {refid = "c4eabd514fe3c3c0a9f9011f0310c730"}
}
}
| library {
name = "Linux - Cluster"
id = "98ab8ecf4f7a0b40a9f9011f0310c78d" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Linux ... |
Oracle OCI - NIC Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Oracle OCI - NIC Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Oracle OCI - NIC Tags"
id = "982bddb01b8960100735a9f36b4bcb32"
description = "Oracle OCI - NIC Tags"
step {
name = "Oracle OCI - parse Tags"
ref {refid = "0ad0a5751be960500735a9f36b4bcba6"}
}
step {
name = "Parse definedTags Tags"
ref {refid = "b5b342b11bdf345009b2ed34b24bcba5"}
}
step... | library {
name = "Oracle OCI - NIC Tags"
id = "982bddb01b8960100735a9f36b4bcb32" // Unique identifier for the pattern
description = "Oracle OCI - NIC Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the p... |
Amazon AWS - Get Virtual Server Volumes | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get Virtual Server Volumes. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get Virtual Server Volumes"
id = "9803fc8adb6a5300d504788dbf961907"
description = "null"
step {
name = "Parse the Instance Volumes"
parse_var_to_var {
from_var_name = "rest_resp_instance"
to_var_names = table {
name = "instance_volumes"
col_names = "instanceid","voli... | library {
name = "Amazon AWS - Get Virtual Server Volumes"
id = "9803fc8adb6a5300d504788dbf961907" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the ... |
IBM Cloud Load Balancer Listeners | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Cloud Load Balancer Listeners. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Cloud Load Balancer Listeners"
id = "95b8b60ddb072300fc6f54dadc96199f"
description = "null"
step {
name = "Parse the Listeners"
if {
condition = is_not_empty {get_attr {"cloud_lb_response"}}
on_true = parse_var_to_var {
from_var_name = "cloud_lb_response"
to_var_names = table... | library {
name = "IBM Cloud Load Balancer Listeners"
id = "95b8b60ddb072300fc6f54dadc96199f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patter... |
Linux - Identity | I would like for you to help me build a Pattern that helps achieve Discovery of Linux - Identity. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Linux - Identity"
id = "a273cfe39f2032001d753758442e70b7"
description = ""
step {
name = "Linux - Hardware Information"
ref {refid = "c161cfa39f2032001d753758442e70f9"}
}
step {
name = "Linux - Network"
ref {refid = "0ae107e39f2032001d753758442e70ec"}
}
}
| library {
name = "Linux - Identity"
id = "a273cfe39f2032001d753758442e70b7" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Linux - H... |
Sybase Databases | I would like for you to help me build a Pattern that helps achieve Discovery of Sybase Databases. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Sybase Databases"
id = "8e20b7311b5fdd50ba82a8a9ab4bcb74"
description = "Sybase Databases"
step {
name = "Fill the cmdb_ci_db_syb_instance table"
comment = "Added via story DCBI-47165"
transform {
src_table_name = "cmdb_ci_db_syb_instance"
target_table_name = "cmdb_ci_db_syb_instance"
... | library {
name = "Sybase Databases"
id = "8e20b7311b5fdd50ba82a8a9ab4bcb74" // Unique identifier for the pattern
description = "Sybase Databases" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Classic ELB Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Classic ELB Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Classic ELB Tags"
id = "8e4ed497735733008c51d6dcb7f6a78a"
description = "Classic ELB Tags"
step {
name = "Build lb_names_parameter"
set_attr {
"lb_names_parameter"
eval {"javascript: var load_balancer = ${cmdb_ci_cloud_load_balancer[*].name};
var rtrn = \"\";
for (var i = 0; i < load_ba... | library {
name = "Classic ELB Tags"
id = "8e4ed497735733008c51d6dcb7f6a78a" // Unique identifier for the pattern
description = "Classic ELB Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Kubernetes Annotations | I would like for you to help me build a Pattern that helps achieve Discovery of Kubernetes Annotations. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Kubernetes Annotations"
id = "7d945f2fdbb17010082230d6f49619e8"
description = ""
step {
name = "add singress annotations to the cmdb_key_value table"
if {
condition = is_not_empty {get_attr {"ingress_annotations"}}
on_true = union {
table1_name = "cmdb_key_value"
table2_name = "i... | library {
name = "Kubernetes Annotations"
id = "7d945f2fdbb17010082230d6f49619e8" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "add... |
Hyper-V - Resource Pools | I would like for you to help me build a Pattern that helps achieve Discovery of Hyper-V - Resource Pools. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Hyper-V - Resource Pools"
id = "7d9ec0b59f6032001d753758442e70ba"
description = ""
step {
name = "Get virtual resource pool data from Msvm_ResourcePool (v2 namespace)"
comment = "https://msdn.microsoft.com/en-us/library/hh850201(v=vs.85).aspx"
if {
condition = eq {
get_attr {"isHyperV... | library {
name = "Hyper-V - Resource Pools"
id = "7d9ec0b59f6032001d753758442e70ba" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "G... |
Customer Gateway Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Customer Gateway Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Customer Gateway Tags"
id = "8f1d9688db4784109149f2131f9619f7"
description = "Customer Gateway Tags"
step {
name = "extract tags"
parse_var_to_var {
from_var_name = "cgateway_rest"
to_var_names = table {
name = "cmdb_key_value"
col_names = "key","value","object_id"
}
parsin... | library {
name = "Customer Gateway Tags"
id = "8f1d9688db4784109149f2131f9619f7" // Unique identifier for the pattern
description = "Customer Gateway Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the p... |
Google GCP - Get instances | I would like for you to help me build a Pattern that helps achieve Discovery of Google GCP - Get instances. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google GCP - Get instances"
id = "8c87c3920bc32300a47f8e4335673a3f"
description = ""
step {
name = "Count Selected LDCs"
set_attr {
"selectedLDCsInTheSchedule"
eval {"javascript: var rtrn = 0;
try {
var patternArr = ${cmdb_ci_google_datacenter};
rtrn = patternArr.size() + ''; // ... | library {
name = "Google GCP - Get instances"
id = "8c87c3920bc32300a47f8e4335673a3f" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Windows - Network | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Network. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Network"
id = "7dc49adadbc12200c06776231f96197d"
description = ""
step {
name = "Get routes data from Win32_IP4RouteTable"
comment = "https://msdn.microsoft.com/en-us/library/aa394162(v=vs.85).aspxLocalhost, broadcast & multicast addresses were removed"
run_wmi_query_to_var {
na... | library {
name = "Windows - Network"
id = "7dc49adadbc12200c06776231f96197d" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get rout... |
DB2 lightweight | I would like for you to help me build a Pattern that helps achieve Discovery of DB2 lightweight. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "DB2 lightweight"
id = "8fc635009fe33200472d5f9bc32e7087"
description = ""
step {
name = "Match process"
match {contains {
get_attr {"pre_cmdb_running_process[1].command"}
"db2sysc"
}}
}
step {
name = "Set tcp_port"
set_attr {
"tcp_port"
get_attr {"entry_point.port"}
}
... | library {
name = "DB2 lightweight"
id = "8fc635009fe33200472d5f9bc32e7087" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Match proc... |
Collect listener info | I would like for you to help me build a Pattern that helps achieve Discovery of Collect listener info. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Collect listener info"
id = "90eac2bedb021810a2713342399619c8"
description = ""
step {
name = "get listener process"
runcmd_to_var {
cmd = "ps -ef | grep tnslsnr | grep -v $$"
var_names = table {
name = "tnslsnr_info"
col_names = "home","name"
}
parsing_strategy = regex_par... | library {
name = "Collect listener info"
id = "90eac2bedb021810a2713342399619c8" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "get ... |
Amazon AWS - Get ACL (LP) | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - Get ACL (LP). \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - Get ACL (LP)"
id = "7d2f44a29018425690ef3ff4a12b6ad0"
description = "null"
step {
name = "Describe network ACL"
comment = "AWS rest call to describe network ACL information and parsing the data with the 'acl_rest' variable."
custom_operation {
attributes {
attribute {
... | library {
name = "Amazon AWS - Get ACL (LP)"
id = "7d2f44a29018425690ef3ff4a12b6ad0" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name... |
MSSQL for SAM customers | I would like for you to help me build a Pattern that helps achieve Discovery of MSSQL for SAM customers. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "MSSQL for SAM customers"
id = "a2df1e5b9f213200c7445f9bc32e7023"
description = "null"
step {
name = "get the users accessing the instance"
if {
condition = all {
is_not_empty {get_attr {"SAM_installed"}}
eq {
get_attr {"SAM_installed"}
"true"
}
eq {
get_attr {... | library {
name = "MSSQL for SAM customers"
id = "a2df1e5b9f213200c7445f9bc32e7023" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name =... |
Key Pair Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Key Pair Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Key Pair Tags"
id = "8dee4029db505450a480265d139619cf"
description = "Key Pair Tags"
step {
name = "Parse Key Pair Tags"
parse_var_to_var {
from_var_name = "key_pair_resp"
to_var_names = table {
name = "cmdb_key_value"
col_names = "key","value","object_id"
}
parsing_strateg... | library {
name = "Key Pair Tags"
id = "8dee4029db505450a480265d139619cf" // Unique identifier for the pattern
description = "Key Pair Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = ... |
Azure Application Gateway Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Azure Application Gateway Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Azure Application Gateway Tags"
id = "8ce285e91b582010f565437cbc4bcb4d"
description = "Azure Application Gateway Tags"
step {
name = "Parse the Tags"
if {
condition = is_not_empty {get_attr {"resource_response"}}
on_true = set_attr {
"tmp"
eval {"javascript: var logger = Packages... | library {
name = "Azure Application Gateway Tags"
id = "8ce285e91b582010f565437cbc4bcb4d" // Unique identifier for the pattern
description = "Azure Application Gateway Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set o... |
SAP Create Connections with WS Lib | I would like for you to help me build a Pattern that helps achieve Discovery of SAP Create Connections with WS Lib. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SAP Create Connections with WS Lib"
id = "a7367022b43946c48938f0eb8e2ff41c"
description = "null"
step {
name = "verify we have url in our EP"
match {
is_not_empty {get_attr {"entry_point.url"}}
terminate_op = terminate
}
}
step {
name = "set soap command to get db conns"
if {
... | library {
name = "SAP Create Connections with WS Lib"
id = "a7367022b43946c48938f0eb8e2ff41c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
Get Virtual Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Get Virtual Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Virtual Tags"
id = "a6eb77d7dbb680109149f2131f9619aa"
description = "Get Virtual Tags"
step {
name = "get vm tags"
parse_var_to_var {
from_var_name = "rest_resp_instance"
to_var_names = table {
name = "cmdb_key_value"
col_names = "key","value","object_id"
}
parsing_stra... | library {
name = "Get Virtual Tags"
id = "a6eb77d7dbb680109149f2131f9619aa" // Unique identifier for the pattern
description = "Get Virtual Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
n... |
Misc Software Inventory | I would like for you to help me build a Pattern that helps achieve Discovery of Misc Software Inventory. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Misc Software Inventory"
id = "7bb935371bfd59545301653de54bcb51"
description = "Misc Software Inventory"
step {
name = "set sudo"
if {
condition = is_empty {get_attr {"sudo"}}
on_true = set_attr {
"sudo"
eval {"return ${ctx}.getDiscoveryProvider(com.snc.sw.dto.ProviderType.SSH).g... | library {
name = "Misc Software Inventory"
id = "7bb935371bfd59545301653de54bcb51" // Unique identifier for the pattern
description = "Misc Software Inventory" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in t... |
Virtual Server Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Virtual Server Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Virtual Server Tags"
id = "7bd68878735f33008c51d6dcb7f6a7b0"
description = "Virtual Server Tags"
step {
name = "Parse VM Tags"
parse_var_to_var {
from_var_name = "rest_resp_instance"
to_var_names = table {
name = "cmdb_key_value"
col_names = "object_id","key","value"
}
pars... | library {
name = "Virtual Server Tags"
id = "7bd68878735f33008c51d6dcb7f6a7b0" // Unique identifier for the pattern
description = "Virtual Server Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the patte... |
SNMP - Classify Initialization | I would like for you to help me build a Pattern that helps achieve Discovery of SNMP - Classify Initialization. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SNMP - Classify Initialization"
id = "7c5b071ddba52200868a7c841f96194e"
description = "null"
step {
name = "Create isSwitch variable"
comment = "Indicates whether the IP we are trying to discover is a switch.Value determined by ciscoCommunityStringIndexing, dot1dBaseNumPorts & vtpVlanTableDefa... | library {
name = "SNMP - Classify Initialization"
id = "7c5b071ddba52200868a7c841f96194e" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
... |
Amazon AWS - get Classic LoadBalancer related items | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS - get Classic LoadBalancer related items. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS - get Classic LoadBalancer related items"
id = "a6b523efdb1a9300d504788dbf96197c"
description = "null"
step {
name = "Parse Subnets for Classic LBs"
comment = "We would create new table with just Load Balancer name and Subnet, where the name would be used for the relationship and Su... | library {
name = "Amazon AWS - get Classic LoadBalancer related items"
id = "a6b523efdb1a9300d504788dbf96197c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of act... |
Solaris serial number alignment | I would like for you to help me build a Pattern that helps achieve Discovery of Solaris serial number alignment. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Solaris serial number alignment"
id = "a6a2178c1bbb2110ea080d02604bcb2b"
description = "Solaris serial number alignment"
step {
name = "Process Serial number value"
set_attr {
"serial_value"
eval {"javascript: var rtrn = '';
var serial = ${cmdb_ci_solaris_server[1].serial_number};
try {... | library {
name = "Solaris serial number alignment"
id = "a6a2178c1bbb2110ea080d02604bcb2b" // Unique identifier for the pattern
description = "Solaris serial number alignment" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set... |
IBM Cloud Virtual Server Network Interface | I would like for you to help me build a Pattern that helps achieve Discovery of IBM Cloud Virtual Server Network Interface. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "IBM Cloud Virtual Server Network Interface"
id = "7bf18ddf1b9b23007aeb11fc2d4bcb77"
description = "null"
step {
name = "Fill nic Table"
if {
condition = is_not_empty {get_attr {"cmdb_ci_vm_instance[1].object_id"}}
on_true = parse_var_to_var {
from_var_name = "vm_json"
to_var_name... | library {
name = "IBM Cloud Virtual Server Network Interface"
id = "7bf18ddf1b9b23007aeb11fc2d4bcb77" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in t... |
Windows - Azure | I would like for you to help me build a Pattern that helps achieve Discovery of Windows - Azure. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Windows - Azure"
id = "8d921f99db593200c12ef9361d96194a"
description = ""
step {
name = "Create isAzure variable"
if {
condition = eq {
get_attr {"shouldDiscoverAzure"}
"true"
}
on_true = set_attr {
"isAzure"
"false"
}
on_false = nop {}
}
}
step {
name = "P... | library {
name = "Windows - Azure"
id = "8d921f99db593200c12ef9361d96194a" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Create isA... |
Amazon Owned Images | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon Owned Images. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon Owned Images"
id = "a5b9f10483813190789e4cf16daad3bc"
description = "null"
step {
name = "Extract AWS Host"
set_attr {
"awsHost"
eval {"javascript: rtrn = \"\";
var host = '';
var region = ${cmdb_ci_aws_datacenter[1].name};
var dc_url = ${service_account[1].datacenter_url};
try {... | library {
name = "Amazon Owned Images"
id = "a5b9f10483813190789e4cf16daad3bc" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Ex... |
Get Mongo Health Report | I would like for you to help me build a Pattern that helps achieve Discovery of Get Mongo Health Report. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Get Mongo Health Report"
id = "7cd8eb431bd0241068cb62ca234bcb20"
description = "Get Mongo Health Report"
step {
name = "filter system properties"
filter {
src_table_name = "sys_properties"
target_table_name = "sys_properties"
condition = all {
eq {
get_attr {"sys_properties[]... | library {
name = "Get Mongo Health Report"
id = "7cd8eb431bd0241068cb62ca234bcb20" // Unique identifier for the pattern
description = "Get Mongo Health Report" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in t... |
Amazon Application and Network LB Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon Application and Network LB Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon Application and Network LB Tags"
id = "7f8c78fbdbbac0109149f2131f96199c"
description = "Amazon Application and Network LB Tags"
step {
name = "Get LB Tags"
set_attr {
"lb_tags"
eval {"javascript: var rtn = \"\";
var load_balancer = ${cmdb_ci_cloud_load_balancer[*].LoadBa... | library {
name = "Amazon Application and Network LB Tags"
id = "7f8c78fbdbbac0109149f2131f96199c" // Unique identifier for the pattern
description = "Amazon Application and Network LB Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single... |
SAP DB Connection Library | I would like for you to help me build a Pattern that helps achieve Discovery of SAP DB Connection Library. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "SAP DB Connection Library"
id = "a2ce4b6431e14e0dbaa3460108b5b5f1"
description = "null"
step {
name = "get db host"
parse_text_file_to_var {
file_path = get_files_by_filter {
expression = concat {
get_attr {"config_directory"}
"DEFAULT.PFL"
}
foreach_attribute_name = "... | library {
name = "SAP DB Connection Library"
id = "a2ce4b6431e14e0dbaa3460108b5b5f1" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name... |
GCP Inventory Tags | I would like for you to help me build a Pattern that helps achieve Discovery of GCP Inventory Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "GCP Inventory Tags"
id = "8080ba782f2cb450ba0bae5df699b60c"
description = "null"
step {
name = "extract labels"
if {
condition = is_not_empty {get_attr {"bucket_file_inventory"}}
on_true = set_attr {
"label_count"
eval {"javascript: var ArrayList = Packages.java.util.ArrayList;
v... | library {
name = "GCP Inventory Tags"
id = "8080ba782f2cb450ba0bae5df699b60c" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "ext... |
UNIX - OS Uptime | I would like for you to help me build a Pattern that helps achieve Discovery of UNIX - OS Uptime. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "UNIX - OS Uptime"
id = "80d2cbe39f2032001d753758442e7092"
description = ""
step {
name = "Get uptime"
runcmd_to_var {
cmd = "uptime"
var_names = table {
name = "uptb"
col_names = "dy","hr","mn"
}
parsing_strategy = regex_parsing {regex = "(\\d+)\\s*days\\s+(\\d+)\\:(\\d*)"}... | library {
name = "UNIX - OS Uptime"
id = "80d2cbe39f2032001d753758442e7092" // Unique identifier for the pattern
description = "" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name = "Get uptim... |
OpenStack Octavia Listeners | I would like for you to help me build a Pattern that helps achieve Discovery of OpenStack Octavia Listeners. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "OpenStack Octavia Listeners"
id = "81ba48b4db850010bf2fe0a1ca961904"
description = "null"
step {
name = "Get listeners details"
comment = "https://<service:port>/v3.0/<project_id>/volumes/detail - throws error
https://<service:port>/v3/<project_id>/volumes/detail - works"
if {
condition ... | library {
name = "OpenStack Octavia Listeners"
id = "81ba48b4db850010bf2fe0a1ca961904" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
na... |
Amazon AWS Inventory Tags | I would like for you to help me build a Pattern that helps achieve Discovery of Amazon AWS Inventory Tags. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Amazon AWS Inventory Tags"
id = "a1a137f5dbf6330037b9ff041d961946"
description = "Amazon AWS Inventory Tags"
step {
name = "Filter only the Resource Types supporting Tags "
if {
condition = is_not_empty {get_attr {"pre_resource_whitelist"}}
on_true = filter {
src_table_name = "pre_r... | library {
name = "Amazon AWS Inventory Tags"
id = "a1a137f5dbf6330037b9ff041d961946" // Unique identifier for the pattern
description = "Amazon AWS Inventory Tags" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions ... |
Google Cloud Platform (GCP) - VM and license | I would like for you to help me build a Pattern that helps achieve Discovery of Google Cloud Platform (GCP) - VM and license. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Google Cloud Platform (GCP) - VM and license"
id = "a1a0edc083e0fd10789e4cf16daad390"
description = "Google Cloud Platform (GCP) - VM and license"
step {
name = "Parse License"
if {
condition = is_not_empty {get_attr {"vm_data"}}
on_true = custom_operation {
attributes {
attribu... | library {
name = "Google Cloud Platform (GCP) - VM and license"
id = "a1a0edc083e0fd10789e4cf16daad390" // Unique identifier for the pattern
description = "Google Cloud Platform (GCP) - VM and license" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represe... |
Coldfusion Unix commands | I would like for you to help me build a Pattern that helps achieve Discovery of Coldfusion Unix commands. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "Coldfusion Unix commands"
id = "a17c7b1a13851300f0287f176144b05f"
description = "null"
step {
name = "Set the privileged command to use"
if {
condition = not_contains {
get_attr {"computer_system.osFamily"}
"WINDOWS"
}
on_true = set_attr {
"sudo"
eval {"return ${ctx}.g... | library {
name = "Coldfusion Unix commands"
id = "a17c7b1a13851300f0287f176144b05f" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions in the pattern
name ... |
set name from process_name and daemon nice name | I would like for you to help me build a Pattern that helps achieve Discovery of set name from process_name and daemon nice name. \n CI Type: cmdb_ci_appl_generic\nPattern Type: 2 - Shared library | cmdb_ci_appl_generic | 2 - Shared library | library {
name = "set name from process_name and daemon nice name"
id = "91083d0c13677e00d4013192e144b0d8"
description = "null"
step {
name = "check and set if python process"
if {
condition = any {
eq {
get_attr {"process_name"}
"python"
}
eq {
get_attr {"process_name"}
"pyth... | library {
name = "set name from process_name and daemon nice name"
id = "91083d0c13677e00d4013192e144b0d8" // Unique identifier for the pattern
description = "null" // Script execution: Custom script to perform a specific action or collect data
step { // Step definition: Represents a single action or set of actions... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.