ServiceNow CMDB CI relationship sync: faster, more complete →
Mods
ServiceNow

Policy: Kubernetes > ReplicaSet > ServiceNow > Configuration Item > Record

The policy facilitates the accurate representation of cloud resource within the ServiceNow environment, ensuring that critical data is effectively mapped and managed. Attribute of an Kubernetes > ReplicaSet is systematically mapped to a specific column in a ServiceNow table.

The policy allows enabling organizations to select and map only those attributes that are most relevant to their operational needs. It significantly reduces the manual effort involved in data transfer and minimizes the risk of errors, thereby enhancing the overall efficiency of data management.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Schema Type
object
Default template
annotations: {{ $.resource.annotations | dump | safe }}
available_replicas: {{ $.resource.available_replicas | dump | safe }}
cluster_name: {{ $.resource.metadata.kubernetes.clusterName | dump | safe }}
cluster_uid: {{ $.resource.metadata.kubernetes.clusterUid | dump | safe }}
creation_timestamp: {{ $.resource.creation_timestamp | dump | safe }}
fully_labeled_replicas: {{ $.resource.fully_labeled_replicas | dump | safe }}
labels: {{ $.resource.labels | dump | safe }}
name: {{ $.resource.name | dump | safe }}
namespace: {{ $.resource.namespace | dump | safe }}
owner_references: {{ $.resource.owner_references | dump | safe }}
ready_replicas: {{ $.resource.ready_replicas | dump | safe }}
replicas: {{ $.resource.replicas | dump | safe }}
selector: {{ $.resource.selector | dump | safe }}
selector_query: {{ $.resource.selector_query | dump | safe }}
status_replicas: {{ $.resource.status_replicas | dump | safe }}
template: {{ $.resource.template | dump | safe }}
uid: {{ $.resource.uid | dump | safe }}
Default template input
|
{
resource {
annotations: get(path:"annotations")
available_replicas: get(path:"available_replicas")
creation_timestamp: get(path:"creation_timestamp")
fully_labeled_replicas: get(path:"fully_labeled_replicas")
labels: get(path:"labels")
name: get(path:"name")
namespace: get(path:"namespace")
owner_references: get(path:"owner_references")
ready_replicas: get(path:"ready_replicas")
replicas: get(path:"replicas")
selector: get(path:"selector")
selector_query: get(path:"selector_query")
status_replicas: get(path:"status_replicas")
template: get(path:"template")
uid: get(path:"uid")
metadata
turbot {
akas
id
tags
title
}
}
}

Category

In Your Workspace

Developers