Set up scheduled import jobs to pull in Kong Gateway data into your
Configuration Management Database (CMDB).
About this task
The playbook experience for onboarding connectors is activated with SGC Central in the CMDB Workspace. To configure the SGC Central application, see Configuring SGC Central and for more information on how to interact with a playbook, see Interact with Playbook.
Procedure
-
Navigate to .
-
In the CMDB Workspace, select SGC Central.
-
On the Overview page, select Create connection.
Tip: Alternatively, you can select Create
connection on the All connections page.
-
On the Create connection window, select the Kong connector type,
and then select Create connection.
-
Complete the initial prerequisites when setting up a connection for the first time
using a connector.
-
Select a template for the authentication type to create a connection.
-
In the Setup stage of the playbook, select the
Select alias template activity.
-
Select a template type.
-
Enter connection details and test the API connection for importing Kong Gateway data.
-
In the Setup stage of the playbook, select the
Configure and test connection activity.
-
On the form, fill in the fields.
-
Select Create and test connection.
-
Once the connection test is complete, select
Continue.
- Optional:
Set the configuration properties for the connection.
-
In the Setup stage of the playbook, select the
Set configuration properties activity.
-
In the Exclude workspaces field, enter the workspace
that must be excluded from import.
For multiple workspaces, separate them with commas. For example:
workspace1,workspace2. If you leave this field empty,
the data sources within the connector import data from all the
workspaces.
-
Select the Import tags check box, to ingest tags from the Kong Gateway service.
When selected, specify the key-value pair separator for tags in the Tags value separator field. If not selected, tags won't be fetched.
-
In the Tags value separator field, enter the separator
for key and value in tags.
For example, if the tag value separator is set to
=, the
tag
env=prod is saved with
env as the key and
prod as the value.
If left empty, no tags will be
ingested.
-
Select Continue.
-
Configure the import schedule to import data at regular intervals.
-
In the Setup stage of the playbook, select the
Configure import schedule activity.
-
Select Configure import schedule.
-
Expand the Parent scheduled data import within the Import schedules list to
select the SG-Kong Gateway import schedule.
-
In the Configure import schedule dialog box, select the
Active check box, and then fill in the run schedule
and time details.
-
Select Save.
Alternatively, select Execute Now to execute the
import schedule immediately.
-
Select Continue.
-
In the Setup stage of the playbook, select the
Confirm connection setup activity to check whether the
connection was configured.
What to do next
Select View all connections to review the connection details. The
configured connection appears in the Installed connections list.