1160
Views
0
Helpful
1
Replies
Creating FMC portobjectgroups
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2019 06:54 AM
Hi,
Is it possible to create port object group and specify the value for the protocol port objects in the same request ?
for example, below is the basic request data for creating port object group:
Is there any way to create the group members in the same request ?
{ "name": "portgroup_obj1", "objects": [ { "type": "ICMPV4Object", "id": "ICMPV4ObjectUUID" }, { "id": "ICMPV6ObjectUUID", "type": "ICMPV6Object" }, { "id": "ProtocolPortObjectUUID", "type": "ProtocolPortObject" } ], "type": "PortObjectGroup" }
Labels:
- Labels:
-
Firewalls
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2019 07:07 PM
You can do this through a python script to initiate multiple requests in a
for loop to send the first request to create the object and upon 200OK you
can read the object to verify it and populate the ports.
If you use postman you can create object and assign ports in same post
request
for loop to send the first request to create the object and upon 200OK you
can read the object to verify it and populate the ports.
If you use postman you can create object and assign ports in same post
request