marksull / fmcapi

A Python package designed to help users of Cisco's FMC interface with its API.
BSD 3-Clause "New" or "Revised" License
81 stars 57 forks source link

adding acprule and using category #71

Closed MSD101 closed 4 years ago

MSD101 commented 4 years ago

Hello,

I have created the Category under the ACP and trying to add the rule in that category. Not sure if this feature is supported or not

I am using below to pass the category information

acprule1 = fmcapi.AccessRules(fmc=fmc1, acp_name=namer,catagory = 'testing')

but I see in debug "section":"Default","category":"--Undefined--".

Just wondering if anyone was able to post/put rules under the category?

Thanks for your help.

MSD101 commented 4 years ago

Found below link regarding the Access rules-Categories not supported with Rest API

https://community.cisco.com/t5/network-security/how-to-get-post-accessrule-categories/m-p/3380605#M9641

daxm commented 4 years ago

Good to know. I guess we will have to revisit in the next code release and see if it is working.

Should we close this issue for now?

MSD101 commented 4 years ago

Thanks Yes, we can close this issue.