Access Control Policy
FMCThis configuration covers Access Control Policy, Access Control Policy Rules and Access Control Policy Categories.
Location in GUI:
Policies » Access Control
Location in GUI:
Policies » Access Control
This resource covers Access Control Policy, Access Control Policy Rules and Access Control Policy Categories.
Diagram
Section titled “Diagram”Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (fmc.domains)
Section titled “policies (fmc.domains)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| access_control_policies | List | [access_control_policies] | No |
access_control_policies (fmc.domains.policies)
Section titled “access_control_policies (fmc.domains.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ -\.]{1,}$ | Yes | |
| description | String | max: 255 | No | |
| default_action | Choice | BLOCK, TRUST, PERMIT, NETWORK_DISCOVERY, INHERIT_FROM_PARENT | No | BLOCK |
| base_intrusion_policy | String | No | ||
| base_variable_set | String | No | ||
| log_connection_begin | Boolean | true, false | No | |
| log_connection_end | Boolean | true, false | No | |
| send_events_to_fmc | Boolean | true, false | No | false |
| send_syslog | Boolean | true, false | No | false |
| syslog_severity | Choice | ALERT, CRIT, DEBUG, EMERG, ERR, INFO, NOTICE, WARNING | No | |
| snmp_alert | String | No | ||
| syslog_alert | String | No | ||
| prefilter_policy | String | No | ||
| categories | List | [categories] | No | |
| access_rules | List | [access_rules] | No |
categories (fmc.domains.policies.access_control_policies)
Section titled “categories (fmc.domains.policies.access_control_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[^|,.$#;{}=<>]{1,29}$ | Yes | |
| section | Choice | mandatory, default | No |
categories (fmc.domains.policies.access_control_policies)
Section titled “categories (fmc.domains.policies.access_control_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ -]{1,50}$ | Yes | |
| section | Choice | mandatory, default | No |
access_rules (fmc.domains.policies.access_control_policies)
Section titled “access_rules (fmc.domains.policies.access_control_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | min: 1, max: 50 | Yes | |
| action | Choice | ALLOW, TRUST, BLOCK, MONITOR, BLOCK_RESET, BLOCK_INTERACTIVE, BLOCK_RESET_INTERACTIVE | Yes | |
| applications | List | String | No | |
| application_filter_objects | List | String | No | |
| category | String | Regex: ^[^|,.$#;{}=<>]{1,29}$ | No | |
| destination_dynamic_objects | List | String | No | |
| destination_geolocations | List | String | No | |
| destination_network_literals | List | String | No | |
| destination_network_objects | List | String | No | |
| destination_port_literals | List | [destination_port_literals] | No | |
| destination_port_objects | List | String | No | |
| destination_sgts | List | String | No | |
| destination_zones | List | String | No | |
| enabled | Boolean | true, false | No | true |
| endpoint_device_types | List | String | No | |
| file_policy | String | No | ||
| intrusion_policy | String | No | ||
| log_connection_begin | Boolean | true, false | No | |
| log_connection_end | Boolean | true, false | No | |
| log_files | Boolean | true, false | No | |
| section | Choice | mandatory, default | No | |
| send_events_to_fmc | Boolean | true, false | No | |
| send_syslog | Boolean | true, false | No | false |
| snmp_alert | String | No | ||
| source_dynamic_objects | List | String | No | |
| source_geolocations | List | String | No | |
| source_network_literals | List | String | No | |
| source_network_objects | List | String | No | |
| source_port_literals | List | [source_port_literals] | No | |
| source_port_objects | List | String | No | |
| source_sgts | List | String | No | |
| source_zones | List | String | No | |
| syslog_alert | String | No | ||
| syslog_severity | Choice | ALERT, CRIT, DEBUG, EMERG, ERR, INFO, NOTICE, WARNING | No | |
| url_objects | List | String | No | |
| url_literals | List | String | No | |
| variable_set | String | No | ||
| time_range | String | No | ||
| vlan_tag_objects | List | String | No | |
| vlan_tag_literals | List | [vlan_tag_literals] | No |
access_rules (fmc.domains.policies.access_control_policies)
Section titled “access_rules (fmc.domains.policies.access_control_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | min: 1, max: 50 | Yes | |
| action | Choice | ALLOW, TRUST, BLOCK, MONITOR, BLOCK_RESET, BLOCK_INTERACTIVE, BLOCK_RESET_INTERACTIVE | Yes | |
| applications | List | String | No | |
| application_filter_objects | List | String | No | |
| category | String | No | ||
| destination_dynamic_objects | List | String | No | |
| destination_network_literals | List | String | No | |
| destination_network_objects | List | String | No | |
| destination_port_literals | List | [destination_port_literals] | No | |
| destination_port_objects | List | String | No | |
| destination_sgts | List | String | No | |
| destination_zones | List | String | No | |
| enabled | Boolean | true, false | No | true |
| endpoint_device_types | List | String | No | |
| file_policy | String | No | ||
| intrusion_policy | String | No | ||
| log_connection_begin | Boolean | true, false | No | |
| log_connection_end | Boolean | true, false | No | |
| log_files | Boolean | true, false | No | |
| section | Choice | mandatory, default | No | |
| send_events_to_fmc | Boolean | true, false | No | |
| send_syslog | Boolean | true, false | No | false |
| snmp_alert | String | No | ||
| source_dynamic_objects | List | String | No | |
| source_network_literals | List | String | No | |
| source_network_objects | List | String | No | |
| source_port_literals | List | [source_port_literals] | No | |
| source_port_objects | List | String | No | |
| source_sgts | List | String | No | |
| source_zones | List | String | No | |
| syslog_alert | String | No | ||
| syslog_severity | Choice | ALERT, CRIT, DEBUG, EMERG, ERR, INFO, NOTICE, WARNING | No | |
| url_objects | List | String | No | |
| url_literals | List | String | No | |
| variable_set | String | No | ||
| time_range | String | No | ||
| vlan_tag_objects | List | String | No | |
| vlan_tag_literals | List | [vlan_tag_literals] | No |
destination_port_literals (fmc.domains.policies.access_control_policies.access_rules)
Section titled “destination_port_literals (fmc.domains.policies.access_control_policies.access_rules)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| protocol | Choice | ALL, ICMP, IGMP, TCP, UDP, RDP, GRE, ESP, AH, ETHERIP | Yes | |
| port | Any | String or Integer[min: 1, max: 65535] | No | |
| icmp_type | Any | Choice[Any] or Integer[min: 0, max: 41] | No | |
| icmp_code | Integer | min: 0, max: 16 | No |
destination_port_literals (fmc.domains.policies.access_control_policies.access_rules)
Section titled “destination_port_literals (fmc.domains.policies.access_control_policies.access_rules)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| protocol | Choice | TCP, UDP, ICMP, GRE | Yes | |
| port | Any | String or Integer[min: 1, max: 65535] | No | |
| icmp_type | Any | Choice[Any] or Integer[min: 0, max: 41] | No | |
| icmp_code | Integer | min: 0, max: 16 | No |
source_port_literals (fmc.domains.policies.access_control_policies.access_rules)
Section titled “source_port_literals (fmc.domains.policies.access_control_policies.access_rules)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| protocol | Choice | TCP, UDP | Yes | |
| port | Any | String or Integer[min: 1, max: 65535] | No |
source_port_literals (fmc.domains.policies.access_control_policies.access_rules)
Section titled “source_port_literals (fmc.domains.policies.access_control_policies.access_rules)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| protocol | Choice | TCP, UDP, ICMP, GRE | Yes | |
| port | Any | String or Integer[min: 1, max: 65535] | No | |
| icmp_type | Any | Choice[Any] or Integer[min: 0, max: 41] | No | |
| icmp_code | Integer | min: 0, max: 16 | No |
vlan_tag_literals (fmc.domains.policies.access_control_policies.access_rules)
Section titled “vlan_tag_literals (fmc.domains.policies.access_control_policies.access_rules)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| start_tag | Integer | min: 1, max: 4095 | Yes | |
| end_tag | Integer | min: 1, max: 4095 | No |
Examples
Section titled “Examples”Prerequisites:
existing: fmc: domains: - name: Global objects: file_types: - name: PDF file_categories: - name: PDF files policies: intrusion_policies: - name: Balanced Security and Connectivityfmc: domains: - name: Global objects: hosts: - name: MyHostName1 ip: 10.10.10.1 networks: - name: MyNetworkName1 prefix: 10.10.10.0/24 network_groups: - name: MyNetworkGroupName1 objects: - MyHostName1 - MyNetworkName1 literals: - 10.99.0.0/24 ports: - name: MyPortName1 port: 8080 protocol: TCP icmpv4s: - name: MyICMPv4Name1 icmp_type: 3 code: 2 port_groups: - name: MyPortGroupName1 objects: - MyPortName1 - MyICMPv4Name1 security_zones: - name: MySecurityZoneName1 - name: MySecurityZoneName2 time_ranges: - name: MyTimeRangeName1 start_time: "2025-02-13T10:00" end_time: "2025-02-21T20:00" recurrences: - recurrence_type: DAILY_INTERVAL daily_days: ["MON", "THU"] daily_start_time: "11:00" daily_end_time: "13:00" policies: file_policies: - name: MyFilePolicyName1 file_rules: - action: DETECT application_protocol: HTTP direction_of_transfer: DOWNLOAD file_categories: - PDF files - action: DETECT application_protocol: HTTP direction_of_transfer: UPLOAD file_types: - PDF intrusion_policies: - name: MyIntrusionPolicyName1 inspection_mode: DETECTION base_policy: Balanced Security and ConnectivityAccess Control Policy:
fmc: domains: - name: Global policies: access_control_policies: - name: MyAccessPolicyName1 default_action: BLOCK categories: - name: MyCategoryName1 section: mandatory access_rules: - name: MyAccessRuleName1 action: ALLOW category: MyCategoryName1 source_zones: - MySecurityZoneName1 destination_zones: - MySecurityZoneName2 source_network_objects: - MyNetworkName1 destination_network_objects: - MyHostName1 destination_port_objects: - MyPortName1 intrusion_policy: Balanced Security and Connectivity log_connection_begin: true log_connection_end: true log_files: false send_events_to_fmc: true time_range: MyTimeRangeName1 - name: MyAccessRuleName2 action: ALLOW category: MyCategoryName1 source_zones: - MySecurityZoneName1 destination_zones: - MySecurityZoneName1 source_network_objects: - MyNetworkGroupName1 destination_network_literals: - 10.20.30.0/24 destination_port_objects: - MyPortGroupName1 intrusion_policy: MyIntrusionPolicyName1 file_policy: MyFilePolicyName1 log_connection_begin: true log_connection_end: true log_files: false send_events_to_fmc: trueExamples
Section titled “Examples”Prerequisites:
existing: fmc: domains: - name: Global objects: file_types: - name: PDF file_categories: - name: PDF files policies: intrusion_policies: - name: Balanced Security and Connectivityfmc: domains: - name: Global objects: hosts: - name: MyHostName1 ip: 10.10.10.1 networks: - name: MyNetworkName1 prefix: 10.10.10.0/24 network_groups: - name: MyNetworkGroupName1 objects: - MyHostName1 - MyNetworkName1 literals: - 10.99.0.0/24 ports: - name: MyPortName1 port: 8080 protocol: TCP icmpv4s: - name: MyICMPv4Name1 icmp_type: 3 code: 2 port_groups: - name: MyPortGroupName1 objects: - MyPortName1 - MyICMPv4Name1 security_zones: - name: MySecurityZoneName1 - name: MySecurityZoneName2 time_ranges: - name: MyTimeRangeName1 start_time: "2025-02-13T10:00" end_time: "2025-02-21T20:00" recurrences: - recurrence_type: DAILY_INTERVAL daily_days: ["MON", "THU"] daily_start_time: "11:00" daily_end_time: "13:00" policies: file_policies: - name: MyFilePolicyName1 file_rules: - action: DETECT application_protocol: HTTP direction_of_transfer: DOWNLOAD file_categories: - PDF files - action: DETECT application_protocol: HTTP direction_of_transfer: UPLOAD file_types: - PDF intrusion_policies: - name: MyIntrusionPolicyName1 inspection_mode: DETECTION base_policy: Balanced Security and ConnectivityAccess Policy:
fmc: domains: - name: Global policies: access_control_policies: - name: MyAccessPolicyName1 default_action: BLOCK categories: - name: MyCategoryName1 section: mandatory access_rules: - name: MyAccessRuleName1 action: ALLOW category: MyCategoryName1 source_zones: - MySecurityZoneName1 destination_zones: - MySecurityZoneName2 source_network_objects: - MyNetworkName1 destination_network_objects: - MyHostName1 destination_port_objects: - MyPortName1 intrusion_policy: Balanced Security and Connectivity log_connection_begin: true log_connection_end: true log_files: false send_events_to_fmc: true time_range: MyTimeRangeName1 - name: MyAccessRuleName2 action: ALLOW category: MyCategoryName1 source_zones: - MySecurityZoneName1 destination_zones: - MySecurityZoneName1 source_network_objects: - MyNetworkGroupName1 destination_network_literals: - 10.20.30.0/24 destination_port_objects: - MyPortGroupName1 intrusion_policy: MyIntrusionPolicyName1 file_policy: MyFilePolicyName1 log_connection_begin: true log_connection_end: true log_files: false send_events_to_fmc: true