Skip to main content

Access Policy

Location in GUI: Policies » Access Control

Diagram

Classes

policies (fmc.domains)

NameTypeConstraintMandatoryDefault Value
access_policiesList[access_policies]No

access_policies (fmc.domains.policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_ -]{1,64}$Yes
descriptionStringmax: 255No
default_actionChoiceBLOCK, TRUST, PERMIT, NETWORK_DISCOVERY, INHERIT_FROM_PARENTNoBLOCK
base_ips_policyStringNo
send_events_to_fmcBooleantrue, falseNofalse
enable_syslogBooleantrue, falseNo
log_beginBooleantrue, falseNofalse
log_endBooleantrue, falseNofalse
syslog_config_idStringNo
access_rulesList[access_rules]No
categoriesList[categories]No

access_rules (fmc.domains.policies.access_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_ -]{1,50}$Yes
actionChoiceALLOW, TRUST, BLOCK, MONITOR, BLOCK_RESET, BLOCK_INTERACTIVE, BLOCK_RESET_INTERACTIVEYes
enabledBooleantrue, falseNotrue
categoryStringNo
destination_dynamic_objectsListStringNo
destination_network_objectsListStringNo
destination_network_literalsListStringNo
destination_port_objectsListStringNo
destination_port_literalsListStringNo
destination_sgtsListStringNo
destination_zonesListStringNo
enable_syslogBooleantrue, falseNofalse
file_policyStringNo
ips_policyStringNo
variable_setStringNo
vlan_tagsListStringNo
log_connection_beginBooleantrue, falseNo
log_connection_endBooleantrue, falseNo
log_filesBooleantrue, falseNo
new_commentsStringNo
sectionChoicemandatory, defaultNo
send_events_to_fmcBooleantrue, falseNo
source_dynamic_objectsListStringNo
source_network_objectsListStringNo
source_network_literalsListStringNo
source_port_objectsListStringNo
source_port_literalsListStringNo
source_sgtsListStringNo
source_zonesListStringNo
syslog_configStringNo
syslog_severityChoiceALERT, CRIT, DEBUG, EMERG, ERR, INFO, NOTICE, WARNINGNo
urlsListStringNo

categories (fmc.domains.policies.access_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_ -]{1,50}$Yes
sectionChoicemandatory, defaultNo

Examples

fmc:
domains:
- name: Global
policies:
access_policies:
- name: MyAccessPolicyName1
categories:
- name: MyCategoryName1
section: mandatory
access_rules:
- name: MyAccessRuleNAme1
action: ALLOW
category: MyCategoryName1
source_zones:
- outside
destination_zones:
- inside
source_networks:
- any-ipv4
destination_networks:
- Server_1
destination_ports:
- HTTP
ips_policy: MyIntrusionPolicyName1
log_connection_begin: true
log_connection_end: true
log_files: false
send_events_to_fmc: true