Configure a Remote Repository on the Production Machine
contentrepository dev-prod dev prod remote repository
repo Follow these steps to configure a remote repository on a production
To work with the remote repositories, you
must have at least two machines, one for your development environment and
the other for your production environment.
configuring the remote repository, review the following list of
Verify that the content that you want
already exists in the remote repository. You cannot edit content
in the production environment. All of the content is fully synchronized
with the remote repository.
Any content that exists
in the production environment, but not on the remote repository,
will be deleted
When working with remote repositories and upgrading to version
6.0, you must make sure to pull your classifiers and mappers from
the dev environment before upgrading your production environment.
Add Server Configuration
Add the following key and value.
Define the repository
Click the On/Off slider to enable the remote repositories.
Define the machine as the production environment.
Enter the URL and connection credentials to the repository. Only
SSH connections are supported.
If your SSH connection uses a port other than port 22 (the
default SSH port), you must include the ssh string and port number
in the url. In the following example, we use port 20017:
Select the active branch from which you pull content.
In the Discard server changes screen, you are presented
with content that exists in your production environment, but does
not exist on the remote repository. This includes integrations,
and their instances and classifiers.
in the relevant
field and click
. All of the content
that appears in this screen is discarded and permanently deleted.
Content from the remote repository is installed. This can
take several minutes depending on the amount of content in the remote
repository and your hardware configuration. In addition, your custom
content is automatically backed up to the Cortex XSOAR server any
time you change one of the remote repository settings. The backup
is located under
Pull Content from the Remote Repository
Once you push content from the Development machine to the
remote repository, it is available as an update for the production