go-panos icon indicating copy to clipboard operation
go-panos copied to clipboard

Tags not read from csv

Open jtryan opened this issue 4 years ago • 2 comments

jtryan avatar Jan 22 '21 13:01 jtryan

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 avatar Jan 22 '21 14:01 jtryan

@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!

scottdware avatar Jan 24 '21 14:01 scottdware