Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Import and Export CSV Files

You can export all the columns on the Addresses page to a comma-separated value (.csv) file. You can also import information from a CSV file.

Starting in Junos Space Security Director Release 20.3, while importing an address object, you can resolve object conflicts, if any. Junos Space Security Director uses object name as the unique identifier for the object (per domain). During import, all the Security Director objects and device objects are compared by name.

  • If the object name does not exist in Security Director, the object is added to Security Director.

  • If the object name exists in Security Director with the same content, the existing object in Security Director is used.

  • If the object name exists in Security Director with different content, the object conflict resolution screen is displayed.

Note:

Objects that are not linked to a policy are imported into Security Director and then removed from the device configuration as part of device update.

Import from a CSV file

To import configurations from a CSV file:

  1. Select Configure > Shared Objects > Addresses.

    The Addresses page is displayed.

  2. Right-click an address object and select Import from CSV. You can also select Import from CSV from the More list.

    The Addresses Import CSV Wizard page is displayed.

  3. Click Browse to locate the CSV file that you want to import and then click Upload to upload the file to the Security Director database.
    Note:

    To view a sample CSV file, click View sample CSV file.

  4. Click Next.
  5. Resolve object conflicts, if any.

    An object conflict occurs when the name of the object to be imported matches an existing object, but the definition of the object does not match. You can take the following actions for the conflicting objects:

    • Rename Object—Provide a new name to the conflicting object. "_1" is added by default to the name, or users can specify a new unique name. Device Preview or Update deletes the original object and adds the object with the new name.

    • Overwrite with Imported Value—Overwrite the existing object with the new object. The object is replaced in Security Director with the new object. The change appears in the next preview/update for all other devices that use this object.

    • Keep Existing Object—Keep the existing object and ignore the new object. The object in Security Director is used instead of the device object.

  6. Click Finish.

    A summary of configuration changes is displayed.

  7. Click OK to import the CSV file.

Example: During import, when object conflict occurs between the device and Security Director you must choose a conflict resolution as in Table 1.

Table 1: OCR While Importing Addresses to Security Director

Object Name

Object Type

Value

Imported Value

Conflict Resolution

New Object Name

Address1

Address

198.51.100.10

203.0.113.10

Keep Existing Object

Address1_1

Address2

Address

198.51.100.20

203.0.113.20

Overwrite with Imported value

Address2_1

Address3

Address

198.51.100.30

203.0.113.30

Rename Object

Address3_1

The object values and the result after resolving conflicts are listed in Table Table 2.

Table 2: After Importing Addresses to Security Director

Discovered Object Name in Security Director

Discovered Value in Security Director

Result

Address1

198.51.100.10

No change

Address2

203.0.113.20

Value changed

Address3

198.51.100.30

No change

Address3_1

203.0.113.30

Address3_1 created

Note:

Once the initial conflict is resolved, the object conflict resolution checks for further conflicts with the new name and definition until resolution is complete. If Security Director finds further conflicts, the Conflict Resolution page is refreshed to display the new conflicts.

Export to a CSV File

To export configurations to a CSV file:

  1. Select Configure > Shared Objects > Addresses.

    The Addresses page is displayed.

  2. Right-click the address object that you want to export and select Export to CSV. You can also select Export to CSV from the More list.

    The Export Addresses pop-up is displayed.

  3. Click Export All or Export Selected.

    The Addresses Export CSV Status page is displayed with the status of download percentage.

    When the CSV file is available, you can open or save the file.