Skip to main content

Policy Objects and Groups

Location in Dashboard: Organization >> Configure >> Policy Objects

Diagram

Classes

organizations (meraki.domains)

NameTypeConstraintMandatoryDefault Value
policy_objectsList[policy_objects]No
policy_objects_groupsList[policy_objects_groups]No

policy_objects (meraki.domains.organizations)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
categoryChoiceadaptivePolicy, networkNo
typeChoiceadaptivePolicyIpv4Cidr, cidr, fqdn, ipAndMaskNo
cidrStringRegex: ^(?i:any|(\d{1,3}\.){3}\d{1,3}(\/\d{1,2})?)(,(any|(\d{1,3}\.){3}\d{1,3}(\/\d{1,2})?))*$No
fqdnStringmin: 1, max: 1024No
maskStringRegex: ^(255|254|252|248|240|224|192|128|0+)(\.0|\.128|\.192|\.224|\.240|\.248|\.252|\.254|\.255){0,3}$No
ipIPNo
group_namesListString[min: 1, max: 127]No

policy_objects_groups (meraki.domains.organizations)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
categoryChoiceNetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroupNo
object_namesListString[min: 1, max: 127]No

Config Sample

meraki:
domains:
- name: EMEA
administrator:
name: Dev CX Provider Admin
organizations:
- name: Dev
policy_objects:
- name: test cidr
category: network
type: cidr
cidr: 10.0.0.0/24
- name: test fqdn
category: network
type: fqdn
fqdn: www.cisco.com
policy_objects_groups:
- name: test cidr
category: NetworkObjectGroup
object_names:
- test cidr # This references the "test" policy object by name
- name: test fqdn
category: NetworkObjectGroup
object_names:
- test fqdn # This references the "test" policy object by name