0

https://github.com/rnwolfe/fmc-tools/blob/master/export-acp-to-csv.py

I'm using the above script to export cisco fmc policies to csv, however, on policies where we have multiple destination/source network objects (10 or so), the script notes it as an error and returns "any" instead of a list of the individual objects.

I'm not sure if it's a timeout issue

1 Answers1

0

No enough data to understand reason of your problem. At a quick glance, you have KeyError in https://github.com/rnwolfe/fmc-tools/blob/master/export-acp-to-csv.py#L79 . Looks 'rule' has no key 'sourceNetworks' or 'objects'.

pyjedy
  • 389
  • 2
  • 9