09-10-2024 02:41 PM
Hey everyone,
I am trying to import a json file that we obtained from Okta to list all their IPs into our FMCs and see if we can group them into an object. The json lists over 2,000 IPs that supposedly we need to whitelist. Is there a way to import the json into FMC 7.3?
Solved! Go to Solution.
09-11-2024 02:09 AM
If you have the IPs in a csv file then you can import them from there directly into the FMC. The format is NAME,DESCRIPTION,TYPE,VALUE,LOOKUP.
Sample data :
Object_1,inside edge host,Host,172.44.55.66,
Object_2,dns host range,Range,2.2.2.3-2.2.2.9,
Object_3,,FQDN,12,
The above is taken straight out of the FMC.
If this is not an option, then you would need to use API calls to import the objects. Depending on if you want to import these as individual object and then associate them with the object group, or if you just want to add them as "literals" into an object group. If you want to create objects for each entry, then this must be done first before adding them to the object group. Literals can be added without needing to be created first.
09-10-2024 05:27 PM
09-11-2024 02:09 AM
If you have the IPs in a csv file then you can import them from there directly into the FMC. The format is NAME,DESCRIPTION,TYPE,VALUE,LOOKUP.
Sample data :
Object_1,inside edge host,Host,172.44.55.66,
Object_2,dns host range,Range,2.2.2.3-2.2.2.9,
Object_3,,FQDN,12,
The above is taken straight out of the FMC.
If this is not an option, then you would need to use API calls to import the objects. Depending on if you want to import these as individual object and then associate them with the object group, or if you just want to add them as "literals" into an object group. If you want to create objects for each entry, then this must be done first before adding them to the object group. Literals can be added without needing to be created first.
09-11-2024 09:57 AM
This is the method I ended up using and just had to nest IPs into multiple groups then added to our primary group. That solved my issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide