Back to source list
Official
Premium
ServiceNow
Sync from Servicenow to any destination
Publisher
cloudquery
Latest version
v1.7.8
Type
Source
Platforms
Date Published
Overview #
The CloudQuery ServiceNow plugin pulls configuration out of ServiceNow resources and loads it into any supported CloudQuery destination (e.g. PostgreSQL, BigQuery, Snowflake, and more).
Example Configuration #
kind: source
spec:
name: servicenow
path: cloudquery/servicenow
version: "v1.7.8"
tables:
- "now_cmdb_ci_*"
- "now_cmdb_rel_ci"
- "now_change_request"
- "now_incident"
- "now_sys_user*"
destinations: ["postgresql"]
# Learn more about the configuration options at https://cql.ink/servicenow_source
spec:
# required
instance: "${SERVICENOW_INSTANCE}"
username: "${SERVICENOW_USERNAME}"
password: "${SERVICENOW_PASSWORD}"
# optional
# table_options:
# table_name:
# query: "<QUERY STRING>"
Available Tables and Data #
All ServiceNow tables are available. Table names are prefixed with
now_
.Authentication #
In order to fetch information from ServiceNow,
cloudquery
needs to be authenticated. Either username/password or an access token is required for authentication.The minimal roles required for the plugin to sync tables are
admin
and snc_read_only
. These should give read only access to all tables.Configuration Reference #
This is the (nested) spec used by the ServiceNow source plugin.
instance
(string
) (required)Name or URL of your ServiceNow instance.auth_mode
(enum
) (optional) (default:basic
)Authentication mode to use. Possible values arebasic
andtoken
.username
(string
) (optional)Username to use for authentication. Only valid inbasic
auth mode.password
(string
) (optional)Password to use for authentication. Only valid inbasic
auth mode.access_token
(string
) (optional)Access token to use for authentication. Only valid intoken
auth mode.concurrency
(integer
) (optional) (default:100
)A best effort maximum number of Go routines to use. Lower this number to reduce memory usage.scheduler
(string
) (optional) (default:dfs
) The scheduler to use when determining the priority of resources to sync. Supported values aredfs
(depth-first search),round-robin
,shuffle
andshuffle-queue
.For more information about this, see performance tuning.discovery_concurrency
(integer
) (optional) (default:100
)Number of goroutines to use for discovering table schemas.table_options
(object
) (optional)Query parameters for each table.