When you export a GCP scheduled discovery job, Cloud Discovery & Visibility (CDV) exports the file as an unencrypted JSON configuration file. The JSON code below illustrates the style and format of the exported file.
You can use an exported configuration file as a template that you edit to create new
scheduled discovery jobs that you can import into CDV. When doing so, note that all keys in
the options
section are required, though you can edit the values as
needed.
Attention: If you want to run visibility or discovery jobs in another CDV instance, BlueCat
recommends stopping any running scheduled discovery jobs in the old CDV instance before
importing and running the scheduled discovery jobs in the new CDV instance.
{
"Google Cloud Platform": [
{
"bam_configuration": "test",
"bam_url": "1.1.1.1",
"bam_username": "test",
"gcp_email": "test",
"gcp_project_id": "test",
"gcp_project_name": "test",
"id": 1,
"options": {
"authentication": {
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"client_email": "<client_email>",
"client_id": "104333924331389589395",
"client_x509_cert_url": "<client_x509_cert_url>",
"private_key": "<private_key_encryption>",
"private_key_id": "f69d3f09c46b70c13676fc523ca82f24431d9c5a",
"project_id": "<project_id>",
"token_uri": "https://oauth2.googleapis.com/token",
"type": "service_account"
},
"auto_create_subzone": false,
"bluecat_configuration": "",
"create_separate_configuration": false,
"device_external_view": "GCP Name Resolution External",
"device_internal_view": "GCP Name Resolution Internal",
"dns_private_view": "",
"dns_public_view": "",
"external_name_resolution": true,
"internal_name_resolution": true,
"load_balancers": true,
"override_configuration": false,
"private_dns_zones": false,
"private_endpoint_view": "GCP Private Service Connect View",
"private_endpoints": true,
"private_networks": true,
"public_dns_zones": false,
"public_networks": false,
"target_domain": "",
"virtual_machines": true,
"visibility": {
"bam_password": "<bam_password_encryption>",
"bam_username": "test",
"selective_deployment": false
}
},
"visibility_end_time": "10/11/2021 07:52:16",
"visibility_start_time": "10/11/2021 07:52:55",
"visibility_status": "running"
}
],
}