Skip to main content

Adaptive Policy Settings

Location in Dashboard: Organization >> Adaptive Policy

Diagram

Classes

adaptive_policy (meraki.domains.organizations)

NameTypeConstraintMandatoryDefault Value
aclsList[acls]No
groupsList[groups]No
policiesList[policies]No
settingsClass[settings]No

acls (meraki.domains.organizations.adaptive_policy)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
descriptionStringmin: 1, max: 1024No
rulesList[rules]No
ip_versionChoiceany, ipv4, ipv6No

groups (meraki.domains.organizations.adaptive_policy)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
sgtIntegermin: 0, max: 65535No
descriptionStringmin: 1, max: 1024No
policy_objectsList[policy_objects]No

policies (meraki.domains.organizations.adaptive_policy)

NameTypeConstraintMandatoryDefault Value
source_groupClass[source_group]No
destination_groupClass[destination_group]No
aclsList[acls]No
last_entry_ruleChoiceallow, default, denyNo
organization_nameStringmin: 1, max: 127Yes
nameStringmin: 1, max: 127Yes

settings (meraki.domains.organizations.adaptive_policy)

NameTypeConstraintMandatoryDefault Value
enabled_networksListString[min: 1, max: 127]No

rules (meraki.domains.organizations.adaptive_policy.acls)

NameTypeConstraintMandatoryDefault Value
policyChoiceallow, denyYes
protocolChoiceany, icmp, tcp, udpYes
logBooleantrue, falseNo
tcp_establishedBooleantrue, falseNo
source_portAnyInteger[min: 0, max: 65535] or String[matches: `(?:[1-9][0-9]3[1-5][0-9]46[0-4][0-9]3
destination_portAnyInteger[min: 0, max: 65535] or String[matches: `(?:[1-9][0-9]3[1-5][0-9]46[0-4][0-9]3

policy_objects (meraki.domains.organizations.adaptive_policy.groups)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No

source_group (meraki.domains.organizations.adaptive_policy.policies)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127Yes
sgtIntegermin: 0, max: 65535No

destination_group (meraki.domains.organizations.adaptive_policy.policies)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127Yes
sgtIntegermin: 0, max: 65535No

acls (meraki.domains.organizations.adaptive_policy.policies)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127Yes

Config Sample

meraki:
domains:
- name: EMEA
administrator:
name: Dev CX Provider Admin
organizations:
- name: Dev
adaptive_policy:
settings:
enabled_networks:
# Commented out due to missing licenses on Dashboard.
# - Dev-main-cx-provider
policies:
- name: Corp Policy
organization_name: Dev
source_group:
name: USERS
sgt: 30
destination_group:
name: IOT
sgt: 40
acls:
- name: Permit Corp
- name: Deny Corp
groups:
- name: USERS
sgt: 30
description: Corporate Users
# policy_objects:
# - name: Corp Policy
- name: IOT
sgt: 40
description: Corporate IOT Devices
# policy_objects:
# - name: Corp Policy
acls:
- name: Permit Corp
description: Permit Example
rules:
- policy: allow
protocol: tcp
source_port: "4000"
destination_port: "6000"
ip_version: ipv4
- name: Deny Corp
description: Deny Example
rules:
- policy: deny
protocol: tcp
source_port: "4001"
destination_port: "6001"
ip_version: ipv4