: Create Objects for Use in Shared or Device Group Policy
Focus
Focus

Create Objects for Use in Shared or Device Group Policy

Table of Contents
End-of-Life (EoL)

Create Objects for Use in Shared or Device Group Policy

You can use an object in any policy rule that is in the Shared location, or in the same device group as the object, or in descendants of that device group (for details, see Device Group Objects).
Shared device group objects can be viewed and referenced in a specific device group. Changing the name of a Shared device group object in one device group changes the name of the Shared object in all device groups. This includes any configuration the Shared object is referenced, such as in Policy rules. Changing the name of a Shared device group object may cause the configuration push to managed firewalls to fail.
For example, you create a Shared object named ObjectA and create a Security policy rule in the DG1 device group where ObjectA is referenced. This configuration is pushed to your managed firewalls. Later in the DG1 device group, you change the name of ObjectA to ObjectB and try to push the configuration to your managed firewalls. This push fails because your managed firewalls have the Shared object with the name ObjectA as part of their configuration, and are expecting that configuration object to have the same name.
See Use Dynamic Address Groups in Policy to verify the number of supported registered IP addresses on Panorama if you intended to leverage dynamic address groups in order to create policies that automatically adapt to changes in your network.
  • Create a shared object.
    In this example, we add a shared object for URL Filtering categories for which we want to trigger alerts.
    1. Select the ObjectsSecurity ProfilesURL Filtering tab and click Add.
      The Objects tab appears only after you Add a Device Group (at least one).
    2. Enter a Name and a Description.
    3. Select Shared.
    4. The Disable Override option is cleared by default, which means you can override inherited instances of the object in all device groups. To disable overrides for the object, select the check box.
    5. In the Categories tab, select every Category for which you want notification.
    6. In the Action column, select Alert.
    7. Click OK to save your changes to the object.
    8. Select CommitCommit to Panorama and Commit your changes.
  • Create a device group object.
    In this example, we add an address object for specific web servers on your network.
    1. Select ObjectsAddresses and select the Device Group in which you will use the object.
    2. Click Add and enter a Name to identify the object.
    3. Be sure to leave the Shared option cleared.
    4. The Disable Override option is cleared by default, which means you can override inherited instances of the object in device groups that are descendants of the selected Device Group. To disable overrides for the object, select the Disable Override option.
    5. Select the Type of address object and the associated value. For example, select IP Range and enter the IP address range for the web servers.
    6. Click OK to save your changes to the object.
    7. Select CommitCommit and Push and then Commit and Push your changes to the Panorama configuration and to the device group where you added the object.
      When you activate an antivirus license on a firewall, a list of predefined IP lists are automatically added to the firewall. As a result, this reduces the total number of individual address objects, dynamic groups, external IP lists, predefined IP block lists, and external predefined IP lists you can push from Panorama.
  • View shared objects and device group objects in Panorama.
    In the pages of the Objects tab, the Location column indicates whether an object is shared or is specific to a device group.
    1. In the Objects tab, select the object type (ObjectsAddresses, in this example).
    2. Select the Device Group to which you added the object.
      The Objects tab only displays objects that are in the selected Device Group or are inherited from an ancestor device group or the Shared location.
    3. Verify that the device group object appears. Note that the device group name in the Location column matches the selection in the Device Group drop-down.