Skip to main content

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

NameTypeConstraintMandatoryDefault Value
fmcClass[fmc]No

fmc (existing)

NameTypeConstraintMandatoryDefault Value
domainsList[domains]No
smart_licenseStringmax: 255No
nameStringNo

domains (existing.fmc)

NameTypeConstraintMandatoryDefault Value
nameStringYes
devicesClass[devices]No
objectsClass[objects]No
policiesClass[policies]No

devices (existing.fmc.domains)

NameTypeConstraintMandatoryDefault Value
devicesList[devices]No
clustersList[clusters]No

objects (existing.fmc.domains)

NameTypeConstraintMandatoryDefault Value
hostsList[hosts]No
networksList[networks]No
rangesList[ranges]No
network_groupsList[network_groups]No
urlsList[urls]No
portsList[ports]No
port_groupsList[port_groups]No
dynamic_objectsList[dynamic_objects]No
sgtsList[sgts]No
security_zonesList[security_zones]No
standard_access_listsList[standard_access_lists]No
extended_access_listsList[extended_access_lists]No

policies (existing.fmc.domains)

NameTypeConstraintMandatoryDefault Value
access_policiesList[access_policies]No
ftd_nat_policiesList[ftd_nat_policies]No
ips_policiesList[ips_policies]No
file_policiesList[file_policies]No
prefilter_policiesList[prefilter_policies]No
network_analysis_policiesList[network_analysis_policies]No

devices (existing.fmc.domains.devices)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes
physical_interfacesList[physical_interfaces]No
ipv4_static_routesList[ipv4_static_routes]No
vnisList[vnis]No

clusters (existing.fmc.domains.devices)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes

hosts (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

networks (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

ranges (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

network_groups (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringmatches: ^[A-Za-z0-9-_\.]+$Yes

urls (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

ports (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

port_groups (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

dynamic_objects (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

sgts (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

security_zones (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

standard_access_lists (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

extended_access_lists (existing.fmc.domains.objects)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

access_policies (existing.fmc.domains.policies)

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

ftd_nat_policies (existing.fmc.domains.policies)

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

ips_policies (existing.fmc.domains.policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes

file_policies (existing.fmc.domains.policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes

prefilter_policies (existing.fmc.domains.policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes

network_analysis_policies (existing.fmc.domains.policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+ -]{1,64}$Yes

physical_interfaces (existing.fmc.domains.devices.devices)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes
subinterfacesList[subinterfaces]No

ipv4_static_routes (existing.fmc.domains.devices.devices)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$No

vnis (existing.fmc.domains.devices.devices)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$No

subinterfaces (existing.fmc.domains.devices.devices.physical_interfaces)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.+-]{1,64}$Yes

Example of the file:

existing:
fmc:
name: MyFMCName1
domains:
- name: Global
policies:
ips_policies:
- name: Balanced Security and Connectivity
objects:
networks:
- name: any-ipv4
ports:
- name: HTTP