Existing Configuration
You can use existing object, already configured on FMC and define them in data/*.yaml
folder, under existing
key.
Every object defined under existing
key, will be created as data.source
and cannot be modified.
Note: The file is build using objects from
schema
.
Diagram
Classes
existing
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
fmc | Class | [fmc] | No |
fmc (existing)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
domains | List | [domains] | No | |
smart_license | String | max: 255 | No | |
name | String | No |
domains (existing.fmc)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
devices | Class | [devices] | No | |
objects | Class | [objects] | No | |
policies | Class | [policies] | No |
devices (existing.fmc.domains)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
devices | List | [devices] | No | |
clusters | List | [clusters] | No | |
ha_pairs | List | [ha_pairs] | No |
objects (existing.fmc.domains)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
hosts | List | [hosts] | No | |
networks | List | [networks] | No | |
ranges | List | [ranges] | No | |
network_groups | List | [network_groups] | No | |
urls | List | [urls] | No | |
url_groups | List | [url_groups] | No | |
ports | List | [ports] | No | |
icmp_v4s | List | [icmp_v4s] | No | |
port_groups | List | [port_groups] | No | |
fqdns | List | [fqdns] | No | |
fqdn_groups | List | [fqdn_groups] | No | |
dynamic_objects | List | [dynamic_objects] | No | |
sgts | List | [sgts] | No | |
security_zones | List | [security_zones] | No | |
standard_acls | List | [standard_acls] | No | |
extended_acls | List | [extended_acls] | No | |
variable_sets | List | [variable_sets] | No | |
bfd_templates | List | [bfd_templates] | No | |
file_types | List | [file_types] | No | |
file_categories | List | [file_categories] | No |
policies (existing.fmc.domains)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
alerts | List | [alerts] | No | |
access_policies | List | [access_policies] | No | |
ftd_nat_policies | List | [ftd_nat_policies] | No | |
intrusion_policies | List | [intrusion_policies] | No | |
file_policies | List | [file_policies] | No | |
prefilter_policies | List | [prefilter_policies] | No | |
network_analysis_policies | List | [network_analysis_policies] | No |
devices (existing.fmc.domains.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes | |
vrfs | List | [vrfs] | No | |
bfds | List | [bfds] | No | |
bgp_general_settings | List | [bgp_general_settings] | No |
clusters (existing.fmc.domains.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
ha_pairs (existing.fmc.domains.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
hosts (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
networks (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
ranges (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
network_groups (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | matches: ^[A-Za-z0-9-_\.]+$ | Yes |
urls (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
url_groups (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
ports (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
icmp_v4s (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | max: 30 | Yes |
port_groups (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
fqdns (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
fqdn_groups (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
dynamic_objects (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
sgts (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
security_zones (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
standard_acls (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
extended_acls (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
variable_sets (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
bfd_templates (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
file_types (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes |
file_categories (existing.fmc.domains.objects)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes |
alerts (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
syslogs | List | [syslogs] | No | |
snmps | List | [snmps] | No |
access_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_ -]{1,64}$ | Yes |
ftd_nat_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_ -]{1,64}$ | Yes |
intrusion_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
file_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
prefilter_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
network_analysis_policies (existing.fmc.domains.policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
vrfs (existing.fmc.domains.devices.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes | |
ipv4_static_routes | List | [ipv4_static_routes] | No | |
physical_interfaces | List | [physical_interfaces] | No | |
etherchannel_interfaces | List | [etherchannel_interfaces] | No | |
sub_interfaces | List | [sub_interfaces] | No |
bfds (existing.fmc.domains.devices.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
interface_logical_name | String | Yes |
bgp_general_settings (existing.fmc.domains.devices.devices)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
as_number | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
syslogs (existing.fmc.domains.policies.alerts)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
snmps (existing.fmc.domains.policies.alerts)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+ -]{1,64}$ | Yes |
ipv4_static_routes (existing.fmc.domains.devices.devices.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | No |
physical_interfaces (existing.fmc.domains.devices.devices.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
etherchannel_interfaces (existing.fmc.domains.devices.devices.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
sub_interfaces (existing.fmc.domains.devices.devices.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.+-]{1,64}$ | Yes |
Example of the file:
existing:
fmc:
domains:
- name: Global
policies:
intrusion_policies:
- name: Balanced Security and Connectivity
objects:
networks:
- name: any-ipv4
ports:
- name: HTTP