go-panos
go-panos copied to clipboard
Tags not read from csv
After further testing the library does work with the firewall. My problem is that even though the docs say I can have a "Tags" field, the code does not have "tags" as a parameter.
As seen in address.go -
func (p *PaloAlto) CreateAddress(name, addrtype, address, description string, devicegroup ...string)
I am trying to import a large amount of IP addresses using 'CreateObjectsFromCsv()'. Is there a workaround?
@jtryan Thank you for catching this. I'll be sure to update it. Lately, a lot of my work around importing/exporting as been dealing with the following CLI tool:
https://github.com/scottdware/panco (https://panco.dev for full documentation)
Give that a try, as the features are more up-to-date. I will work at updating this library this week.
Thanks again!