Publisher
cloudquery
Latest version
v1.7.18
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.18"
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 plugin requires read only admin permissions, which can be configured by adding the
admin
role and limiting it to be read only via the snc_read_only
role.
You can read more about configuring a read only role in the ServiceNow documentation.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.