ON THIS PAGE
Import and Export CSV Files
You can export all the columns on the Services 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, you can import service objects from a CSV file. While importing a service 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.
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:
Example: During import, when object conflict occurs between the device and Security Director you must choose a conflict resolution as in Table 1.
Object Name |
Object Type |
Value |
Imported Value |
Conflict Resolution |
New Object Name |
---|---|---|---|---|---|
Service1 |
Service |
Service_1, Protocol:TCP, Destination Port:25 |
Service_1, Protocol:TCP, Destination Port:26 |
Rename Object |
Service1_1 |
Service2 |
Service |
Service_2, Protocol:TCP, Destination Port:30 |
Service_2, Protocol:TCP, Destination Port:31 |
Overwrite with Imported value |
Service2_1 |
Service3 |
Service |
Service_3, Protocol:TCP, Destination Port:40 |
Service_3, Protocol:TCP, Destination Port:41 |
Keep Existing Object |
Service3_1 |
The object values and the result after resolving conflicts are listed in Table Table 2.
Discovered Object Name in Security Director |
Discovered Value in Security Director |
Result |
---|---|---|
Service1 |
Service_1, Protocol:TCP, Destination Port:25 |
No change |
Service2 |
Service_2, Protocol:TCP, Destination Port:31 |
Value changed |
Service3 |
Service_3, Protocol:TCP, Destination Port:40 |
No change |
Service1_1 |
Service_1, Protocol:TCP, Destination Port:26 |
Service1_1 created |
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: