kaisero / fireREST

Python library for interacting with Cisco Firepower Management Center REST API
GNU General Public License v3.0
70 stars 49 forks source link

wrong var used in get_syslogalert_id_by_name #5

Closed rnwolfe closed 4 years ago

rnwolfe commented 6 years ago

A problem with the same function referenced in #4; however, this seems to have been resolved in develop and not in master through the re-working of the function.

In master, this line should reference payload['id'] and not item['id'].

https://github.com/kaisero/fireREST/blob/816ecfde7ae1fbfd75aeef56449c02fe6e423d40/__init__.py#L353

kaisero commented 4 years ago

Thanks for the report. At some point last year I fixed this and pushed it to master, but failed to update this issue. Closing now.