We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Web Application Firewall

Using Config JSON with Checkpoints

  • Last updated on

Config JSON checkpoints on the Barracuda Web Application Firewall are JSON-formatted configuration snapshot at specific points in time. These checkpoints provide administrators with a human-readable configuration file that can be further modified to configure the Barracuda WAF. In addition, since these files are JSON formatted, it is possible to download them from the Barracuda WAF and store them in a version-controlled repository, such as Git or CVS.

The Barracuda Web Application Firewall provides a factory shipped default configuration JSON file (named “base_config”) that contains the factory-shipped configuration. When an administrator performs configuration changes to the WAF, they can create checkpoints. Administrators can also choose to create and download a Config diff against the changes since the last checkpoint or the base configuration.

Configuration JSON checkpoints are created and stored in the ADVANCED > Backups > Configuration Checkpoint section.

Using the GUI, the changes/differences of the checkpoints are exported using the following options:

  • Complete Configuration – choose this type of export if you want to export the entire WAF
  • Only Changes – choose this type of export if you want to export only the changes made to the WAF configuration in the selected checkpoint. The details of the changes are exported to a JSON file. This is the recommended option.

Creating Checkpoints

The Configuring Checkpoint section allows you to create and delete checkpoints.

Perform the following steps:

  1. Navigate to ADVANCED > Backups > Configuration Checkpoint.
  2. In the Name box, enter a name for the checkpoint.
    Note: The name can include alphanumeric characters, periods (.), hyphens (-) and underscores (_). Any other special characters such as space, semicolon, asterisk, etc. are not allowed.
  3. In the Comment box, provide a description for the checkpoint.
  4. Click Create Checkpoint. A checkpoint along with its timestamp when it was created is displayed in the table below. You can use this checkpoint when you want to export the details of the checkpoint to a JSON file.

Exporting Checkpoints

The Export WAF Configuration File section allows you to export the checkpoint.

  1. Navigate to ADVANCED > Backups > Export WAF Configuration File.
  2. Backup - Choose a type of export for exporting the configuration changes.
  • Complete Configuration - exports the entire configuration including the base configuration.
  • Only Changes: exports only the changes made to the configurations to a JSON file for the selected checkpoint.
    • Changes After - select the checkpoint you want to export from the dropdown list.
    • Date - displays the date and time when the checkpoint was created.
    • Comment - specify details about the checkpoint.
Last updated on